Commit 3e2376e
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- hugr-py
- src/hugr
4 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
3 | 24 | | |
4 | 25 | | |
5 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
0 commit comments