Skip to content

Commit

Permalink
chore(main): release hugr-py 0.2.1 (#1040)
Browse files Browse the repository at this point in the history
🤖 I have created a release *beep* *boop*
---

##
[0.2.1](hugr-py-v0.2.0...hugr-py-v0.2.1)
(2024-05-20)

### ⚠ BREAKING CHANGES

* New serialisation schema
* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
* Many uses of `Const` now use `Value`.

### Features

* Add serialization schema for metadata
([#1038](#1038))
([19bac62](19bac62))
* Add LoadFunction node
([#947](#947))
([81e9602](81e9602))
* Encoder metadata in serialized hugr
([#955](#955))
([0a44d48](0a44d48))
* Implement `CustomConst` serialization
([#1005](#1005))
([c45e6fc](c45e6fc))
* Revert the removal of `Value`
([#967](#967))
([0c354b6](0c354b6))
* Set default value for `Conditional.sum_rows`
([#934](#934))
([d69198e](d69198e))


### Bug Fixes

* `OpDef` serialization
([#1013](#1013))
([3d8f6f6](3d8f6f6))
* input_port_types and other helper functions on pydantic schema
([#958](#958))
([8651839](8651839))
* Remove insert_port_types for LoadFunction
([#993](#993))
([acca7bf](acca7bf))
* Serialisation for `Type`, `PolyFuncType`, and `Value`
([#968](#968))
([d913f40](d913f40))
* Serialization for `Op`s
([#997](#997))
([9ce6e49](9ce6e49))
* set `[build-system]` in `hugr-py/pyproject.toml`
([#1022](#1022))
([b9c3ee4](b9c3ee4))


### Code Refactoring

* rename `Const::const_type` and `Value::const_type` to
`Const::get_type` and `Value::get_type`. These now match several other
`get_type` functions ([#1005](#1005))
([c45e6fc](c45e6fc))

---
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]>
Co-authored-by: doug-q <[email protected]>
Co-authored-by: Douglas Wilson <[email protected]>
  • Loading branch information
4 people authored May 20, 2024
1 parent 0171ccd commit bcffabd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"hugr-py": "0.2.0a1"
"hugr-py": "0.2.1"
}
4 changes: 2 additions & 2 deletions hugr-py/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Changelog

## [0.2.0a1](https://github.com/CQCL/hugr/compare/hugr-py-v0.1.0...hugr-py-v0.2.0a1) (2024-05-13)

## [0.2.1](https://github.com/CQCL/hugr/compare/hugr-py-v0.2.0...hugr-py-v0.2.1) (2024-05-20)

### ⚠ BREAKING CHANGES

Expand All @@ -11,6 +10,7 @@

### Features

* Add serialization schema for metadata ([#1038](https://github.com/CQCL/hugr/issues/1038)) ([19bac62](https://github.com/CQCL/hugr/commit/19bac6210aa8c495679bd7c783751e9cde744c61))
* Add LoadFunction node ([#947](https://github.com/CQCL/hugr/issues/947)) ([81e9602](https://github.com/CQCL/hugr/commit/81e9602a47eddadc1c11d74ca7bda3b194d24f00))
* Encoder metadata in serialized hugr ([#955](https://github.com/CQCL/hugr/issues/955)) ([0a44d48](https://github.com/CQCL/hugr/commit/0a44d487b73f58674eb5884c72479a03e924bef0))
* Implement `CustomConst` serialization ([#1005](https://github.com/CQCL/hugr/issues/1005)) ([c45e6fc](https://github.com/CQCL/hugr/commit/c45e6fc67334768ea55c4bd5223af0b7b0cc47ec))
Expand Down
2 changes: 1 addition & 1 deletion hugr-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifiers = [
"Topic :: Scientific/Engineering",
]
name = "hugr"
version = "0.2.0a1"
version = "0.2.1"
description = "Quantinuum's common representation for quantum programs"
#keywords = []
authors = ["TKET development team <[email protected]>"]
Expand Down

0 comments on commit bcffabd

Please sign in to comment.