diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7d3d91604..9c7d2fb4b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - "hugr-py": "0.8.1" + "hugr-py": "0.9.0" } diff --git a/hugr-py/CHANGELOG.md b/hugr-py/CHANGELOG.md index bd6f39fa8..163e6f596 100644 --- a/hugr-py/CHANGELOG.md +++ b/hugr-py/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [0.9.0](https://github.com/CQCL/hugr/compare/hugr-py-v0.8.1...hugr-py-v0.9.0) (2024-10-14) + + +### ⚠ BREAKING CHANGES + +* `Package` moved to new `hugr.package` module +* The `length` op in the std `collections` extensions now also returns the list. + +### Features + +* `instantiate` method for `OpDef` ([#1576](https://github.com/CQCL/hugr/issues/1576)) ([36548ab](https://github.com/CQCL/hugr/commit/36548ab4e377ca9074a80355fabd51693d89c649)), closes [#1512](https://github.com/CQCL/hugr/issues/1512) +* define wrappers around package that point to internals ([#1573](https://github.com/CQCL/hugr/issues/1573)) ([f74dbf3](https://github.com/CQCL/hugr/commit/f74dbf333fb69b2965cc38c513ad8dfbdfcb0e3c)) +* to/from json for extension/package ([#1575](https://github.com/CQCL/hugr/issues/1575)) ([f8bf61a](https://github.com/CQCL/hugr/commit/f8bf61aa54dd2424c42ecba7d1ae41b1d35f7f9d)), closes [#1523](https://github.com/CQCL/hugr/issues/1523) + + +### Bug Fixes + +* Make list length op give back the list ([#1547](https://github.com/CQCL/hugr/issues/1547)) ([cf31698](https://github.com/CQCL/hugr/commit/cf31698113ea02e2d13596638b1fe0f4f118a601)) + ## [0.8.1](https://github.com/CQCL/hugr/compare/hugr-py-v0.8.0...hugr-py-v0.8.1) (2024-09-04) diff --git a/hugr-py/pyproject.toml b/hugr-py/pyproject.toml index 2766b4bbd..b7ed4714f 100644 --- a/hugr-py/pyproject.toml +++ b/hugr-py/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hugr" -version = "0.8.1" +version = "0.9.0" requires-python = ">=3.10,<3.14" description = "Quantinuum's common representation for quantum programs" license = { file = "LICENCE" } diff --git a/hugr-py/src/hugr/__init__.py b/hugr-py/src/hugr/__init__.py index e8a4a75fa..1088736a9 100644 --- a/hugr-py/src/hugr/__init__.py +++ b/hugr-py/src/hugr/__init__.py @@ -16,4 +16,4 @@ # This is updated by our release-please workflow, triggered by this # annotation: x-release-please-version -__version__ = "0.8.1" +__version__ = "0.9.0" diff --git a/uv.lock b/uv.lock index e0d9030b4..9dc359a56 100644 --- a/uv.lock +++ b/uv.lock @@ -262,7 +262,7 @@ wheels = [ [[package]] name = "hugr" -version = "0.8.1" +version = "0.9.0" source = { editable = "hugr-py" } dependencies = [ { name = "graphviz" },