Skip to content

Commit 3e2376e

Browse files
hugrbotaborgna-q
andauthored
chore(main): release hugr-py 0.12.0 (#2161)
🤖 I have created a release *beep* *boop* --- ## [0.12.0](hugr-py-v0.11.5...hugr-py-v0.12.0) (2025-05-16) ### ⚠ BREAKING CHANGES * Hugrs now define an `entrypoint` in addition to a module root. * `std.collections.array` is now a linear type, even if the contained elements are copyable. Use the new `std.collections.value_array` for an array with the previous copyable semantics. * `std.collections.array.get` now also returns the passed array as an extra output. * `ArrayOpBuilder` was moved from `hugr_core::std_extensions::collections::array::op_builder` to `hugr_core::std_extensions::collections::array`. * Functions that manipulate runtime extension sets have been removed from the Rust and Python code. Extension set parameters were removed from operations. * `values` field in `Extension` and `ExtensionValue` struct/class removed in rust and python. Use 0-input ops that return constant values. ### Features * Entrypoints in `hugr-py` ([#2148](#2148)) ([ef8ea5e](ef8ea5e)) * **hugr-py:** Add `to/from_bytes/str` to Hugr, using envelopes ([#2228](#2228)) ([9985143](9985143)) * Improved array lowering ([#2109](#2109)) ([1bc91c1](1bc91c1)) * Remove description on opaque ops. ([#2197](#2197)) ([f6163bf](f6163bf)) * remove ExtensionValue ([#2093](#2093)) ([70881b7](70881b7)) * Removed runtime extension sets. ([#2145](#2145)) ([cd7ef68](cd7ef68)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Agustín Borgna <[email protected]>
1 parent 9985143 commit 3e2376e

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"hugr-py": "0.11.5"
2+
"hugr-py": "0.12.0"
33
}

hugr-py/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## [0.12.0](https://github.com/CQCL/hugr/compare/hugr-py-v0.11.5...hugr-py-v0.12.0) (2025-05-16)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* Hugrs now define an `entrypoint` in addition to a module root.
9+
* `std.collections.array` is now a linear type, even if the contained elements are copyable. Use the new `std.collections.value_array` for an array with the previous copyable semantics.
10+
* `std.collections.array.get` now also returns the passed array as an extra output.
11+
* `ArrayOpBuilder` was moved from `hugr_core::std_extensions::collections::array::op_builder` to `hugr_core::std_extensions::collections::array`.
12+
* Functions that manipulate runtime extension sets have been removed from the Rust and Python code. Extension set parameters were removed from operations.
13+
* `values` field in `Extension` and `ExtensionValue` struct/class removed in rust and python. Use 0-input ops that return constant values.
14+
15+
### Features
16+
17+
* Entrypoints in `hugr-py` ([#2148](https://github.com/CQCL/hugr/issues/2148)) ([ef8ea5e](https://github.com/CQCL/hugr/commit/ef8ea5e0ac6f4ea8a3e4ba8f6d1a36e53227546e))
18+
* **hugr-py:** Add `to/from_bytes/str` to Hugr, using envelopes ([#2228](https://github.com/CQCL/hugr/issues/2228)) ([9985143](https://github.com/CQCL/hugr/commit/9985143bfb1d751911e519dd55890d179868524f))
19+
* Improved array lowering ([#2109](https://github.com/CQCL/hugr/issues/2109)) ([1bc91c1](https://github.com/CQCL/hugr/commit/1bc91c197519f4a81f5fff1bf9df5905a1d1559e))
20+
* Remove description on opaque ops. ([#2197](https://github.com/CQCL/hugr/issues/2197)) ([f6163bf](https://github.com/CQCL/hugr/commit/f6163bf09f208047bfa8fcf4069f2991f0434101))
21+
* remove ExtensionValue ([#2093](https://github.com/CQCL/hugr/issues/2093)) ([70881b7](https://github.com/CQCL/hugr/commit/70881b7c5a55613f0304f41ee7cae8236a8bd668))
22+
* Removed runtime extension sets. ([#2145](https://github.com/CQCL/hugr/issues/2145)) ([cd7ef68](https://github.com/CQCL/hugr/commit/cd7ef68120b5b903b12ac2fcbbf5fae812e3e70f))
23+
324
## [0.11.5](https://github.com/CQCL/hugr/compare/hugr-py-v0.11.4...hugr-py-v0.11.5) (2025-04-16)
425

526

hugr-py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hugr"
3-
version = "0.11.5"
3+
version = "0.12.0"
44
requires-python = ">=3.10"
55
description = "Quantinuum's common representation for quantum programs"
66
license = { file = "LICENCE" }

hugr-py/src/hugr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818

1919
# This is updated by our release-please workflow, triggered by this
2020
# annotation: x-release-please-version
21-
__version__ = "0.11.5"
21+
__version__ = "0.12.0"

0 commit comments

Comments
 (0)