diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 9e4f1370..d14ac5d7 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { "tket2-py": "0.6.1", "tket2-eccs": "0.3.0", - "tket2-exts": "0.4.0" + "tket2-exts": "0.5.0" } diff --git a/tket2-exts/CHANGELOG.md b/tket2-exts/CHANGELOG.md index e2347059..7b28d6f5 100644 --- a/tket2-exts/CHANGELOG.md +++ b/tket2-exts/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.5.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.4.0...tket2-exts-v0.5.0) (2025-03-04) + + +### ⚠ BREAKING CHANGES + +* To be compatible with Guppy's convention of implicitly returning `self` as the second value of the tuple, the following signatures are updated: ```diff + - /// `fn random_int(RNGContext) -> (RNGContext, u32)` + + /// `fn random_int(RNGContext) -> (u32, RNGContext)` + +### Bug Fixes + +* remove type argument from `RNGContext` type, swap returns ([#786](https://github.com/CQCL/tket2/issues/786)) ([633ebd7](https://github.com/CQCL/tket2/commit/633ebd74d71ba81f5b71d6db757b08ea3c959a5d)) + ## [0.4.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.3.0...tket2-exts-v0.4.0) (2025-02-20) diff --git a/tket2-exts/pyproject.toml b/tket2-exts/pyproject.toml index d8d32648..535886dc 100644 --- a/tket2-exts/pyproject.toml +++ b/tket2-exts/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tket2-exts" -version = "0.4.0" +version = "0.5.0" requires-python = ">=3.10" description = "HUGR extension definitions for the tket2 compiler." license = { file = "LICENCE" } diff --git a/tket2-exts/src/tket2_exts/__init__.py b/tket2-exts/src/tket2_exts/__init__.py index f3714e69..5419d0e5 100644 --- a/tket2-exts/src/tket2_exts/__init__.py +++ b/tket2-exts/src/tket2_exts/__init__.py @@ -8,7 +8,7 @@ # This is updated by our release-please workflow, triggered by this # annotation: x-release-please-version -__version__ = "0.4.0" +__version__ = "0.5.0" @functools.cache