diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4bf9416fa..1ec054379 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - "hugr-py": "0.13.1" + "hugr-py": "0.14.0" } \ No newline at end of file diff --git a/hugr-py/CHANGELOG.md b/hugr-py/CHANGELOG.md index dbfd3d4d6..503ace349 100644 --- a/hugr-py/CHANGELOG.md +++ b/hugr-py/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [0.14.0](https://github.com/CQCL/hugr/compare/hugr-py-v0.13.1...hugr-py-v0.14.0) (2025-10-13) + + +### ⚠ BREAKING CHANGES + +* BorrowArray::{borrow, is_borrowed} return types have been swapped such that the array is first. + +### Features + +* Add more options to `DotRenderer` config ([#2540](https://github.com/CQCL/hugr/issues/2540)) ([45f7573](https://github.com/CQCL/hugr/commit/45f7573fc0a863ea26d9e854a20482078bfdbd0c)) +* Allow importing from model data to python. ([#2581](https://github.com/CQCL/hugr/issues/2581)) ([4fb0a5e](https://github.com/CQCL/hugr/commit/4fb0a5e04b1f8f3ee2f062d505307a2698584534)) +* **py, core, llvm:** add `is_borrowed` op for BorrowArray ([#2610](https://github.com/CQCL/hugr/issues/2610)) ([1cd08ef](https://github.com/CQCL/hugr/commit/1cd08ef7538091b81c6442d014d5aa9a469eea38)), closes [#2569](https://github.com/CQCL/hugr/issues/2569) + + +### Bug Fixes + +* Preserve offset for CFG edges when serializing to JSON ([#2606](https://github.com/CQCL/hugr/issues/2606)) ([69a126d](https://github.com/CQCL/hugr/commit/69a126d8b24e1f03003417ae47fccc3dc9ae4f94)) + + +### Code Refactoring + +* consistent inout order in borrow array ([#2621](https://github.com/CQCL/hugr/issues/2621)) ([8fc59f3](https://github.com/CQCL/hugr/commit/8fc59f3ea36ed0c707cd21b4c936d79e1d6baae3)) + ## [0.13.1](https://github.com/CQCL/hugr/compare/hugr-py-v0.13.0...hugr-py-v0.13.1) (2025-08-18) diff --git a/hugr-py/pyproject.toml b/hugr-py/pyproject.toml index d9862fc8a..786b45428 100644 --- a/hugr-py/pyproject.toml +++ b/hugr-py/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hugr" -version = "0.13.1" +version = "0.14.0" requires-python = ">=3.10" 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 f95b4d80f..1a8519800 100644 --- a/hugr-py/src/hugr/__init__.py +++ b/hugr-py/src/hugr/__init__.py @@ -18,4 +18,4 @@ # This is updated by our release-please workflow, triggered by this # annotation: x-release-please-version -__version__ = "0.13.1" +__version__ = "0.14.0" diff --git a/uv.lock b/uv.lock index 9139226ad..0b0f518ab 100644 --- a/uv.lock +++ b/uv.lock @@ -349,7 +349,7 @@ wheels = [ [[package]] name = "hugr" -version = "0.13.1" +version = "0.14.0" source = { editable = "hugr-py" } dependencies = [ { name = "graphviz" },