diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 103347bbb..331a0a2ee 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - "hugr-py": "0.2.1" + "hugr-py": "0.3.0" } diff --git a/hugr-py/CHANGELOG.md b/hugr-py/CHANGELOG.md index 58dccf97e..a9d0a7b91 100644 --- a/hugr-py/CHANGELOG.md +++ b/hugr-py/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [0.3.0](https://github.com/CQCL/hugr/compare/hugr-py-v0.2.1...hugr-py-v0.3.0) (2024-06-05) + + +### ⚠ BREAKING CHANGES + +* Type::validate takes extra bool (allow_rowvars); renamed {FunctionType, PolyFuncType}::(validate=>validate_var_len). + +### Features + +* Allow "Row Variables" declared as List<Type> ([#804](https://github.com/CQCL/hugr/issues/804)) ([3ea4834](https://github.com/CQCL/hugr/commit/3ea4834dd00466e3c106917c1e09c0c5b74c5826)) +* **hugr-py:** builder ops separate from serialised ops ([#1140](https://github.com/CQCL/hugr/issues/1140)) ([342eda3](https://github.com/CQCL/hugr/commit/342eda34c1f3b4ea4423268e935af44af07c976f)) +* **hugr-py:** python hugr builder ([#1098](https://github.com/CQCL/hugr/issues/1098)) ([23408b5](https://github.com/CQCL/hugr/commit/23408b5bbb9666002a58bf88a2a33cca0a484b30)) + + +### Bug Fixes + +* **py:** get rid of pydantic config deprecation warnings ([#1084](https://github.com/CQCL/hugr/issues/1084)) ([52fcb9d](https://github.com/CQCL/hugr/commit/52fcb9dc88e95e9660fc291181a37dc9d1802a3d)) + ## [0.2.1](https://github.com/CQCL/hugr/compare/hugr-py-v0.2.0...hugr-py-v0.2.1) (2024-05-20) ### ⚠ BREAKING CHANGES diff --git a/hugr-py/pyproject.toml b/hugr-py/pyproject.toml index 0c55a9476..3d0f5c103 100644 --- a/hugr-py/pyproject.toml +++ b/hugr-py/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ "Topic :: Scientific/Engineering", ] name = "hugr" -version = "0.2.1" +version = "0.3.0" description = "Quantinuum's common representation for quantum programs" #keywords = [] authors = ["TKET development team "] diff --git a/hugr-py/src/hugr/__init__.py b/hugr-py/src/hugr/__init__.py index 7b63396f5..be107b627 100644 --- a/hugr-py/src/hugr/__init__.py +++ b/hugr-py/src/hugr/__init__.py @@ -4,7 +4,7 @@ # This is updated by our release-please workflow, triggered by this # annotation: x-release-please-version -__version__ = "0.2.1" +__version__ = "0.3.0" def it_works() -> str: