Skip to content

Commit

Permalink
chore(release/hugr-py-0.2.0-pre): release hugr-py 0.2.0-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 10, 2024
1 parent 9e4dfdf commit e2f3b7b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 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.1.0"
"hugr-py": "0.2.0-pre"
}
34 changes: 34 additions & 0 deletions hugr-py/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

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


### ⚠ BREAKING CHANGES

* `OpDef` serialization.
* New serialisation schema.
* Serialization for `Op`s.
* roundtrip serialisation against both strict and lax schemas.
* Serialisation for `Type`, `PolyFuncType`, and `Value`.
* revert the removal of `Value`

### Features

* 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. ([c45e6fc](https://github.com/CQCL/hugr/commit/c45e6fc67334768ea55c4bd5223af0b7b0cc47ec))
* revert the removal of `Value` ([0c354b6](https://github.com/CQCL/hugr/commit/0c354b6e07ae1aafee17e412fe54f7b3db321beb))
* Set default value for `Conditional.sum_rows`. ([d69198e](https://github.com/CQCL/hugr/commit/d69198eb57bf77f32538e1ba8de1f308815a067d))


### Bug Fixes

* `OpDef` serialization. ([3d8f6f6](https://github.com/CQCL/hugr/commit/3d8f6f6a655f8af7f8fc2929f9bd7d3031b403f5))
* input_port_types and other helper functions on pydantic schema ([#958](https://github.com/CQCL/hugr/issues/958)) ([8651839](https://github.com/CQCL/hugr/commit/86518390296bd93ca2fc65eccf158e21625b9073))
* Remove insert_port_types for LoadFunction ([#993](https://github.com/CQCL/hugr/issues/993)) ([acca7bf](https://github.com/CQCL/hugr/commit/acca7bfb4a074c7feb3b4b5758f589941632bc5a))
* Serialisation for `Type`, `PolyFuncType`, and `Value`. ([d913f40](https://github.com/CQCL/hugr/commit/d913f406478a9f884bffef2002a02d423796b4e9))
* Serialization for `Op`s. ([9ce6e49](https://github.com/CQCL/hugr/commit/9ce6e49d1d0c8c200b9b78ebe35a0a3257009ca1))


### Tests

* roundtrip serialisation against both strict and lax schemas. ([954b2cb](https://github.com/CQCL/hugr/commit/954b2cb4e18903b43c6eadc5a5d9f0e0d40d56e5))

## 0.1.0 (2024-04-15)

This first release includes a pydantic model for the hugr serialization format version 1.
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.1.0"
version = "0.2.0-pre"
description = "Quantinuum's common representation for quantum programs"
#keywords = []
authors = ["TKET development team <tket-support@cambridgequantum.com>"]
Expand Down
2 changes: 1 addition & 1 deletion hugr-py/src/hugr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
representation.
"""

__version__ = "0.1.0"
__version__ = "0.2.0-pre"


def it_works() -> str:
Expand Down

0 comments on commit e2f3b7b

Please sign in to comment.