From a52f52c3c537731ede8bc9c6adf8aeb105d2fea1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:06:11 +0000 Subject: [PATCH 1/2] chore: release Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- hugr/CHANGELOG.md | 18 ++++++++++++++++++ hugr/Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 2c3f93f42..8e80c9a75 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 0.3.0-alpha.2 (2024-04-15) + +### Documentation + +- Specify direct children in `HugrView::children` ([#921](https://github.com/CQCL/hugr/pull/921)) +- Add logo svg to readme and spec ([#925](https://github.com/CQCL/hugr/pull/925)) + +### Features + +- [**breaking**] No polymorphic closures ([#906](https://github.com/CQCL/hugr/pull/906)) +- [**breaking**] Flatten `LeafOp` ([#922](https://github.com/CQCL/hugr/pull/922)) + +### Refactor + +- Combine ExtensionSolutions (no separate closure) ([#884](https://github.com/CQCL/hugr/pull/884)) +- [**breaking**] Merge `CustomOp` and `ExternalOp`. ([#923](https://github.com/CQCL/hugr/pull/923)) + + ## Unreleased (xxxx-xx-xx) This release includes multiple breaking changes to the API, including the rename of the crate from `quantinuum_hugr` to `hugr`. diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index bfea1df1d..47b4eb875 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.3.0-alpha.1" +version = "0.3.0-alpha.2" edition = { workspace = true } rust-version = { workspace = true } From 2cfa7b36f064765867973c009356f4229f03d0e7 Mon Sep 17 00:00:00 2001 From: Agustin Borgna Date: Mon, 15 Apr 2024 11:36:18 +0100 Subject: [PATCH 2/2] 0.3.0 --- hugr/CHANGELOG.md | 33 +++++++++++++++------------------ hugr/Cargo.toml | 2 +- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/hugr/CHANGELOG.md b/hugr/CHANGELOG.md index 8e80c9a75..94525e742 100644 --- a/hugr/CHANGELOG.md +++ b/hugr/CHANGELOG.md @@ -1,26 +1,17 @@ # Changelog -## 0.3.0-alpha.2 (2024-04-15) +## 0.3.0 (2024-04-15) -### Documentation +### Main changes -- Specify direct children in `HugrView::children` ([#921](https://github.com/CQCL/hugr/pull/921)) -- Add logo svg to readme and spec ([#925](https://github.com/CQCL/hugr/pull/925)) +This release includes a long list of breaking changes to the API. -### Features - -- [**breaking**] No polymorphic closures ([#906](https://github.com/CQCL/hugr/pull/906)) -- [**breaking**] Flatten `LeafOp` ([#922](https://github.com/CQCL/hugr/pull/922)) - -### Refactor - -- Combine ExtensionSolutions (no separate closure) ([#884](https://github.com/CQCL/hugr/pull/884)) -- [**breaking**] Merge `CustomOp` and `ExternalOp`. ([#923](https://github.com/CQCL/hugr/pull/923)) - - -## Unreleased (xxxx-xx-xx) - -This release includes multiple breaking changes to the API, including the rename of the crate from `quantinuum_hugr` to `hugr`. +- The crate was renamed from `quantinuum_hugr` to `hugr`. +- The API has been simplified, flattening structures and reworking unnecessarily + fallible operations where possible. +- Includes version `1` of the hugr serialization schema. Older pre-v1 serialized + hugrs are no longer supported. Starting with `v1`, backward compatibility for + loading older versions will be maintained. ### New Contributors @@ -36,6 +27,8 @@ This release includes multiple breaking changes to the API, including the rename - HUGR spec copyediting ([#843](https://github.com/CQCL/hugr/pull/843)) - Add builder module docs + example ([#853](https://github.com/CQCL/hugr/pull/853)) - Add note on serialized hugr node order ([#849](https://github.com/CQCL/hugr/pull/849)) +- Specify direct children in `HugrView::children` ([#921](https://github.com/CQCL/hugr/pull/921)) +- Add logo svg to readme and spec ([#925](https://github.com/CQCL/hugr/pull/925)) ### Features @@ -55,6 +48,8 @@ This release includes multiple breaking changes to the API, including the rename - [**breaking**] Return the type of FuncDecl in `HugrView::get_function_type` ([#880](https://github.com/CQCL/hugr/pull/880)) - [**breaking**] Merge `Value` into `Const` ([#881](https://github.com/CQCL/hugr/pull/881)) - Replace `Tuple` with unary sums ([#891](https://github.com/CQCL/hugr/pull/891)) +- [**breaking**] No polymorphic closures ([#906](https://github.com/CQCL/hugr/pull/906)) +- [**breaking**] Flatten `LeafOp` ([#922](https://github.com/CQCL/hugr/pull/922)) ### Performance @@ -66,6 +61,8 @@ This release includes multiple breaking changes to the API, including the rename - Remove clone in `ExtensionSet::union` ([#859](https://github.com/CQCL/hugr/pull/859)) - Extension Inference: make fewer things public, rm Meta::new ([#883](https://github.com/CQCL/hugr/pull/883)) - [**breaking**] Return impl trait in Rewrite trait ([#889](https://github.com/CQCL/hugr/pull/889)) +- Combine ExtensionSolutions (no separate closure) ([#884](https://github.com/CQCL/hugr/pull/884)) +- [**breaking**] Merge `CustomOp` and `ExternalOp`. ([#923](https://github.com/CQCL/hugr/pull/923)) ## 0.2.0 (2024-02-20) diff --git a/hugr/Cargo.toml b/hugr/Cargo.toml index 47b4eb875..ee189e58b 100644 --- a/hugr/Cargo.toml +++ b/hugr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hugr" -version = "0.3.0-alpha.2" +version = "0.3.0" edition = { workspace = true } rust-version = { workspace = true }