Skip to content

Commit

Permalink
chore: release v0.4.0 (#34)
Browse files Browse the repository at this point in the history
## 🤖 New release
* `tket-json-rs`: 0.3.1 -> 0.4.0 (⚠️ API breaking changes)

### ⚠️ `tket-json-rs` breaking changes

```
--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.30.0/src/lints/enum_missing.ron

Failed in:
  enum tket_json_rs::circuit_json::OpBox, previously in file /tmp/.tmpVNdz4z/tket-json-rs/src/circuit_json.rs:67
  enum tket_json_rs::circuit_json::ToffoliBoxSynthStrat, previously in file /tmp/.tmpVNdz4z/tket-json-rs/src/circuit_json.rs:302

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.30.0/src/lints/struct_missing.ron

Failed in:
  struct tket_json_rs::circuit_json::BoxID, previously in file /tmp/.tmpVNdz4z/tket-json-rs/src/circuit_json.rs:58
  struct tket_json_rs::circuit_json::PauliStabiliser, previously in file /tmp/.tmpVNdz4z/tket-json-rs/src/circuit_json.rs:51
```

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

<blockquote>

## 0.4.0 (2024-04-08)

### Bug Fixes

- Add missing OpTypes
([#37](#37))

### Miscellaneous Tasks

- [**breaking**] Update pyo3 to 0.21
([#33](#33))

### Refactor

- Move `OpBox` to a new module
([#35](#35))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Agustín Borgna <121866228+aborgna-q@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and aborgna-q authored Apr 8, 2024
1 parent eb525a1 commit 5ee17e1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Release notes

## 0.4.0 (2024-04-08)

This release adds various missing `OpType` definitions, and fixes some existing box definitions with incorrect parameters.

### Bug Fixes

- Add missing OpTypes ([#37](https://github.com/CQCL/tket-json-rs/pull/37))

### Miscellaneous Tasks

- [**breaking**] Update pyo3 to 0.21 ([#33](https://github.com/CQCL/tket-json-rs/pull/33))

### Refactor

- Move `OpBox` to a new module ([#35](https://github.com/CQCL/tket-json-rs/pull/35))


## 0.3.1 (2024-02-26)

### Features
Expand All @@ -26,4 +43,4 @@

## v0.1.0 (2023-08-18)

- Initial release.
- Initial release.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tket-json-rs"
version = "0.3.1"
version = "0.4.0"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.70"
Expand Down

0 comments on commit 5ee17e1

Please sign in to comment.