From f54b58056622a6baa62d9f58c5ad90044dda09bf Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 16 May 2023 10:11:48 +0100 Subject: [PATCH 1/2] chore(noir): Release 0.6.0 --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- flake.nix | 2 +- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c554330a470..1a8724fe497 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## [0.6.0](https://github.com/noir-lang/noir/compare/v0.5.1...v0.6.0) (2023-05-16) + + +### ⚠ BREAKING CHANGES + +* Update to acvm 0.11.0 ([#1322](https://github.com/noir-lang/noir/issues/1322)) +* **parser:** deprecate `constrain` keyword for `assert` ([#1286](https://github.com/noir-lang/noir/issues/1286)) + +### Features + +* Enable `to_radix` for any field element ([#1343](https://github.com/noir-lang/noir/issues/1343)) ([c3bdec2](https://github.com/noir-lang/noir/commit/c3bdec294234e92a73f39720ec7202fbb17ddc79)) +* Enable dynamic arrays ([#1271](https://github.com/noir-lang/noir/issues/1271)) ([9f43450](https://github.com/noir-lang/noir/commit/9f434507fa431a9dbf4130374b866a5de6176d76)) +* Issue an error when attempting to use a `return` expression ([#1330](https://github.com/noir-lang/noir/issues/1330)) ([a6de557](https://github.com/noir-lang/noir/commit/a6de557e83eb6318d091e40553bb3e2b3823fdc5)) +* **nargo:** Remove usage of `CompiledProgram` in CLI code and use separate ABI/bytecode ([#1269](https://github.com/noir-lang/noir/issues/1269)) ([f144391](https://github.com/noir-lang/noir/commit/f144391b4295b127f3f422e862a087a90dac1dbf)) +* **ssa refactor:** experimental-ssa compiler flag ([#1289](https://github.com/noir-lang/noir/issues/1289)) ([afa6749](https://github.com/noir-lang/noir/commit/afa67494c564b68b667535f2d8ef234fbc4bec12)) +* **ssa refactor:** Implement dominator tree ([#1278](https://github.com/noir-lang/noir/issues/1278)) ([144ebf5](https://github.com/noir-lang/noir/commit/144ebf51522fb19847be28de5595247051fcd92e)) +* **ssa:** add block opcode ([#1291](https://github.com/noir-lang/noir/issues/1291)) ([951ad71](https://github.com/noir-lang/noir/commit/951ad71e0f8bc9a6e95ae21197854396ed7f6e78)) +* **stdlib:** add keccak256 foreign function ([#1249](https://github.com/noir-lang/noir/issues/1249)) ([260d87d](https://github.com/noir-lang/noir/commit/260d87d1ef86069a1fcf0f9b4969589273e381d1)) + + +### Bug Fixes + +* Fix issue with parsing nested generics ([#1319](https://github.com/noir-lang/noir/issues/1319)) ([36f5b8e](https://github.com/noir-lang/noir/commit/36f5b8e88fe8048ece1a54755789d56c8803b3ab)) +* Fix parser error preventing assignments to tuple fields ([#1318](https://github.com/noir-lang/noir/issues/1318)) ([460568e](https://github.com/noir-lang/noir/commit/460568e50a810f90db6559195492547095ab8c32)) +* Fix struct or tuple field assignment failing with generics ([#1317](https://github.com/noir-lang/noir/issues/1317)) ([d872890](https://github.com/noir-lang/noir/commit/d872890e408ada056e9aab84a7774dcaa2049324)), closes [#1315](https://github.com/noir-lang/noir/issues/1315) +* **stdlib:** support use of `to_bits` and `to_radix` for values >128 bits ([#1312](https://github.com/noir-lang/noir/issues/1312)) ([12f3e7e](https://github.com/noir-lang/noir/commit/12f3e7e5917fdcb6b8648032772a7541eaef4751)) + + +### Miscellaneous Chores + +* **parser:** deprecate `constrain` keyword for `assert` ([#1286](https://github.com/noir-lang/noir/issues/1286)) ([9740f54](https://github.com/noir-lang/noir/commit/9740f54c28f30ea9367897fa986d8aea1aba79f2)) +* Update to acvm 0.11.0 ([#1322](https://github.com/noir-lang/noir/issues/1322)) ([da47368](https://github.com/noir-lang/noir/commit/da473685524fc6e5e17f9c3eb95116378ac41fb8)) + ## [0.5.1](https://github.com/noir-lang/noir/compare/v0.5.0...v0.5.1) (2023-05-01) diff --git a/Cargo.toml b/Cargo.toml index 4169aa9b6eb..1b9b9d61f90 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ default-members = ["crates/nargo_cli"] [workspace.package] # x-release-please-start-version -version = "0.5.1" +version = "0.6.0" # x-release-please-end authors = ["The Noir Team "] edition = "2021" diff --git a/flake.nix b/flake.nix index 7109e266e0f..c15a1e51061 100644 --- a/flake.nix +++ b/flake.nix @@ -106,7 +106,7 @@ commonArgs = environment // { pname = "noir"; # x-release-please-start-version - version = "0.5.1"; + version = "0.6.0"; # x-release-please-end # Use our custom stdenv to build and test our Rust project From 5d0ada19a934377d61f4bcd69b1e3ed6e6985839 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 16 May 2023 09:13:26 +0000 Subject: [PATCH 2/2] chore: Update lockfile --- Cargo.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c7a30e3adc0..36e2539b098 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,7 +140,7 @@ checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" [[package]] name = "arena" -version = "0.5.1" +version = "0.6.0" dependencies = [ "generational-arena", ] @@ -1171,7 +1171,7 @@ dependencies = [ [[package]] name = "fm" -version = "0.5.1" +version = "0.6.0" dependencies = [ "cfg-if 1.0.0", "codespan-reporting 0.9.5", @@ -1648,7 +1648,7 @@ dependencies = [ [[package]] name = "iter-extended" -version = "0.5.1" +version = "0.6.0" [[package]] name = "itertools" @@ -1857,7 +1857,7 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "nargo" -version = "0.5.1" +version = "0.6.0" dependencies = [ "acvm", "iter-extended", @@ -1871,7 +1871,7 @@ dependencies = [ [[package]] name = "nargo_cli" -version = "0.5.1" +version = "0.6.0" dependencies = [ "acvm", "acvm-backend-barretenberg", @@ -1902,7 +1902,7 @@ dependencies = [ [[package]] name = "noir_wasm" -version = "0.5.1" +version = "0.6.0" dependencies = [ "acvm", "build-data", @@ -1918,7 +1918,7 @@ dependencies = [ [[package]] name = "noirc_abi" -version = "0.5.1" +version = "0.6.0" dependencies = [ "acvm", "iter-extended", @@ -1932,7 +1932,7 @@ dependencies = [ [[package]] name = "noirc_driver" -version = "0.5.1" +version = "0.6.0" dependencies = [ "acvm", "clap", @@ -1947,7 +1947,7 @@ dependencies = [ [[package]] name = "noirc_errors" -version = "0.5.1" +version = "0.6.0" dependencies = [ "chumsky", "codespan", @@ -1958,7 +1958,7 @@ dependencies = [ [[package]] name = "noirc_evaluator" -version = "0.5.1" +version = "0.6.0" dependencies = [ "acvm", "arena", @@ -1974,7 +1974,7 @@ dependencies = [ [[package]] name = "noirc_frontend" -version = "0.5.1" +version = "0.6.0" dependencies = [ "acvm", "arena",