Skip to content

Commit

Permalink
chore: release (#733)
Browse files Browse the repository at this point in the history
## 🤖 New release
* `tket2`: 0.7.0 -> 0.7.1 (✓ API compatible changes)
* `tket2-hseries`: 0.7.1 -> 0.8.0 (⚠️ API breaking changes)

### ⚠️ `tket2-hseries` breaking changes

```
--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.38.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant QSystemOp::Rz 2 -> 3 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:88
  variant QSystemOp::PhasedX 3 -> 4 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:89
  variant QSystemOp::ZZMax 4 -> 5 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:90
  variant QSystemOp::ZZPhase 5 -> 6 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:91
  variant QSystemOp::TryQAlloc 6 -> 7 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:92
  variant QSystemOp::QFree 7 -> 8 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:93
  variant QSystemOp::Reset 8 -> 9 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:94
  variant QSystemOp::MeasureReset 9 -> 10 in /tmp/.tmp2ye8Ro/tket2/tket2-hseries/src/extension/qsystem.rs:95
```

<details><summary><i><b>Changelog</b></i></summary><p>

## `tket2`
<blockquote>

##
[0.7.1](tket2-v0.7.0...tket2-v0.7.1)
- 2025-01-10

### Bug Fixes

- remove unicode pi symbols in rotation extension (#743)
</blockquote>

## `tket2-hseries`
<blockquote>

##
[0.8.0](tket2-hseries-v0.7.1...tket2-hseries-v0.8.0)
- 2025-01-10

### New Features

- *(tket2-hseries)* [**breaking**] Redefine `QSystemOp::LazyMeasure` and
introduce `QSystemOp::LazyMeasureReset` (#741)
- *(tket2-hseries)* Lazify more flavours of measure ops (#742)
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
  • Loading branch information
hugrbot authored Jan 10, 2025
1 parent f83db21 commit 19c99de
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions tket2-hseries/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.0](https://github.com/CQCL/tket2/compare/tket2-hseries-v0.7.1...tket2-hseries-v0.8.0) - 2025-01-10

### New Features

- *(tket2-hseries)* [**breaking**] Redefine `QSystemOp::LazyMeasure` and introduce `QSystemOp::LazyMeasureReset` (#741)
- *(tket2-hseries)* Lazify more flavours of measure ops (#742)

## [0.7.1](https://github.com/CQCL/tket2/compare/tket2-hseries-v0.7.0...tket2-hseries-v0.7.1) - 2024-12-18

### New Features
Expand Down
4 changes: 2 additions & 2 deletions tket2-hseries/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tket2-hseries"
version = "0.7.1"
version = "0.8.0"
edition.workspace = true
rust-version.workspace = true

Expand All @@ -23,7 +23,7 @@ required-features = ["cli"]

[dependencies]
hugr.workspace = true
tket2 = { path = "../tket2", version = "0.7.0" }
tket2 = { path = "../tket2", version = "0.7.1" }
lazy_static.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion tket2-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test = false
bench = false

[dependencies]
tket2 = { path = "../tket2", version = "0.7.0", features = [
tket2 = { path = "../tket2", version = "0.7.1", features = [
"portmatching",
"binary-eccs",
] }
Expand Down
6 changes: 6 additions & 0 deletions tket2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.1](https://github.com/CQCL/tket2/compare/tket2-v0.7.0...tket2-v0.7.1) - 2025-01-10

### Bug Fixes

- remove unicode pi symbols in rotation extension (#743)

## [0.7.0](https://github.com/CQCL/tket2/compare/tket2-v0.6.0...tket2-v0.7.0) - 2024-12-16

### ⚠ BREAKING CHANGES
Expand Down
2 changes: 1 addition & 1 deletion tket2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tket2"
version = "0.7.0"
version = "0.7.1"
edition = { workspace = true }
rust-version = { workspace = true }

Expand Down

0 comments on commit 19c99de

Please sign in to comment.