From eb14a200da7458f35082b68200bc7e5bb4f57f32 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Thu, 7 Sep 2023 12:37:35 +0100 Subject: [PATCH 1/2] chore(noir): Release 0.11.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- crates/wasm/package.json | 2 +- flake.nix | 2 +- 5 files changed, 49 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ae11ed3c59f..78e7f271d7f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.10.5" + ".": "0.11.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 730637b27d1..e8f0d9b20a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,50 @@ # Changelog +## [0.11.0](https://github.com/noir-lang/noir/compare/v0.10.5...v0.11.0) (2023-09-07) + + +### ⚠ BREAKING CHANGES + +* **stdlib:** Rename `fixed_base_scalar_mul` to be more descriptive ([#2488](https://github.com/noir-lang/noir/issues/2488)) +* ACVM 0.24 ([#2504](https://github.com/noir-lang/noir/issues/2504)) +* Update to `acvm-backend-barretenberg` v0.12.0 ([#2377](https://github.com/noir-lang/noir/issues/2377)) +* **abi:** Replace struct name with fully qualified struct path ([#2374](https://github.com/noir-lang/noir/issues/2374)) +* Remove keys from preprocessed artifacts ([#2283](https://github.com/noir-lang/noir/issues/2283)) + +### Features + +* Add `nargo backend ls` and `nargo backend use` command to switch between backends ([#2552](https://github.com/noir-lang/noir/issues/2552)) ([7471147](https://github.com/noir-lang/noir/commit/7471147e4239410557f2f98d6e5102d8090dd09c)) +* Add `noirc_abi_wasm` crate for ABI encoding in JS ([#1945](https://github.com/noir-lang/noir/issues/1945)) ([669e0da](https://github.com/noir-lang/noir/commit/669e0dab56f7368e805aaf651eb4052f476029e4)) +* Add support for brillig call stacks in runtime errors ([#2549](https://github.com/noir-lang/noir/issues/2549)) ([a077391](https://github.com/noir-lang/noir/commit/a07739112ca8928d2211dd09adf89692d8b429d0)) +* Apply optimizations to unconstrained code ([#2348](https://github.com/noir-lang/noir/issues/2348)) ([8e0f6c4](https://github.com/noir-lang/noir/commit/8e0f6c4e1004d50b6392941ccf72a78f3a5870da)) +* **aztec_noir:** Abstract kernel return types ([#2521](https://github.com/noir-lang/noir/issues/2521)) ([2668ac2](https://github.com/noir-lang/noir/commit/2668ac2a8380ac362de34e7b8f1c231608d3606a)) +* **nargo:** Add commands to install and uninstall custom backends. ([#2575](https://github.com/noir-lang/noir/issues/2575)) ([28a413c](https://github.com/noir-lang/noir/commit/28a413c5b6a92cbfdb94eca5787e7369ef03f4a3)) +* **nargo:** Add hidden option to produce JSON output from `nargo info` ([#2542](https://github.com/noir-lang/noir/issues/2542)) ([14d31a5](https://github.com/noir-lang/noir/commit/14d31a543e0dd53476d35a0f32b048323f277f7c)) +* Pull `Language` and `Opcode` support from backend ([#2563](https://github.com/noir-lang/noir/issues/2563)) ([2d0a5e4](https://github.com/noir-lang/noir/commit/2d0a5e447b02b11426ad80b64fba817dfce38e44)) +* **ssa:** Replace values which have previously been constrained with simplified value ([#2483](https://github.com/noir-lang/noir/issues/2483)) ([9be750a](https://github.com/noir-lang/noir/commit/9be750a713485ff84b111128db62b56fc0d0c5a5)) +* **stdlib:** Grumpkin scalar multiplication API ([#2586](https://github.com/noir-lang/noir/issues/2586)) ([dc34bc4](https://github.com/noir-lang/noir/commit/dc34bc46a7ee1ac7f1bcfbcdcbaccd4680a4ca31)) +* Support for optional assertion messages ([#2491](https://github.com/noir-lang/noir/issues/2491)) ([5f78772](https://github.com/noir-lang/noir/commit/5f78772fefdc84b67f28fe8b671a56e280313f38)) + + +### Bug Fixes + +* Allow usage of decimal string encoding for fields larger than a `i128` ([#2547](https://github.com/noir-lang/noir/issues/2547)) ([d73f30e](https://github.com/noir-lang/noir/commit/d73f30e9ce53acd0866281f331bd2ee8ff6112bd)) +* **aztec_noir:** Fix compilation of `aztec_library.rs` ([#2567](https://github.com/noir-lang/noir/issues/2567)) ([a8d0328](https://github.com/noir-lang/noir/commit/a8d03285e0c54fae525b3019dd7cc4807c6437c8)) +* **aztec_noir:** Generalise loop to not always inject a hasher instance ([#2529](https://github.com/noir-lang/noir/issues/2529)) ([9fe4cfd](https://github.com/noir-lang/noir/commit/9fe4cfd05b46d1d8867bc2583a11da32480366fc)) +* Black box func slice handling ([#2562](https://github.com/noir-lang/noir/issues/2562)) ([c67cd7d](https://github.com/noir-lang/noir/commit/c67cd7df9b5b47a554cc35a50f5bb80d1a4a12f0)) +* Initialize structs during def collection, not name resolution ([#2528](https://github.com/noir-lang/noir/issues/2528)) ([f170529](https://github.com/noir-lang/noir/commit/f170529bfcd9044bc685ed0f49af27c2e527964b)) +* Make def collector ordering more deterministic ([#2515](https://github.com/noir-lang/noir/issues/2515)) ([d49e0af](https://github.com/noir-lang/noir/commit/d49e0affa00fd29e7e5033ef464dbdd217980c8e)) +* Modulo with divisor of zero should fail constraints ([#2578](https://github.com/noir-lang/noir/issues/2578)) ([fe6e2e6](https://github.com/noir-lang/noir/commit/fe6e2e6775a9b1b9fbcab96947fa6047eb80371e)) + + +### Miscellaneous Chores + +* **abi:** Replace struct name with fully qualified struct path ([#2374](https://github.com/noir-lang/noir/issues/2374)) ([0920dd0](https://github.com/noir-lang/noir/commit/0920dd03d67c50da36bfb87db2e50f6a4aa155bd)) +* ACVM 0.24 ([#2504](https://github.com/noir-lang/noir/issues/2504)) ([f06fbdb](https://github.com/noir-lang/noir/commit/f06fbdb37d77b4e17d4f8eec103a93848b013963)) +* Remove keys from preprocessed artifacts ([#2283](https://github.com/noir-lang/noir/issues/2283)) ([4554287](https://github.com/noir-lang/noir/commit/45542870c85ff59487ad14c25f3e1d6692623644)) +* **stdlib:** Rename `fixed_base_scalar_mul` to be more descriptive ([#2488](https://github.com/noir-lang/noir/issues/2488)) ([6efc007](https://github.com/noir-lang/noir/commit/6efc007d3f53cf0ab52491e73c7bb9e2520938e0)) +* Update to `acvm-backend-barretenberg` v0.12.0 ([#2377](https://github.com/noir-lang/noir/issues/2377)) ([1467275](https://github.com/noir-lang/noir/commit/1467275666a01fe1dfdaf54527440df06303eb93)) + ## [0.10.5](https://github.com/noir-lang/noir/compare/v0.10.4...v0.10.5) (2023-08-30) diff --git a/Cargo.toml b/Cargo.toml index 5ecf465ef05..771029a6121 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ resolver = "2" [workspace.package] # x-release-please-start-version -version = "0.10.5" +version = "0.11.0" # x-release-please-end authors = ["The Noir Team "] edition = "2021" diff --git a/crates/wasm/package.json b/crates/wasm/package.json index a7408d034d6..62e442b541b 100644 --- a/crates/wasm/package.json +++ b/crates/wasm/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.10.5", + "version": "0.11.0", "license": "(MIT OR Apache-2.0)", "main": "./nodejs/noir_wasm.js", "types": "./web/noir_wasm.d.ts", diff --git a/flake.nix b/flake.nix index 14782b86768..985af5d3e43 100644 --- a/flake.nix +++ b/flake.nix @@ -134,7 +134,7 @@ sharedArgs = { # x-release-please-start-version - version = "0.10.5"; + version = "0.11.0"; # x-release-please-end src = pkgs.lib.cleanSourceWith { From 673f3c8e8bae477dab5b1a981db7ef7dfbccf62e Mon Sep 17 00:00:00 2001 From: kevaundray Date: Thu, 7 Sep 2023 11:40:47 +0000 Subject: [PATCH 2/2] chore: Update lockfile --- Cargo.lock | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c1bbafd63b7..cbfb3ecffe5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -217,7 +217,7 @@ dependencies = [ [[package]] name = "arena" -version = "0.10.5" +version = "0.11.0" dependencies = [ "generational-arena", ] @@ -1437,7 +1437,7 @@ dependencies = [ [[package]] name = "fm" -version = "0.10.5" +version = "0.11.0" dependencies = [ "cfg-if", "codespan-reporting", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "iter-extended" -version = "0.10.5" +version = "0.11.0" [[package]] name = "itertools" @@ -2183,7 +2183,7 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "nargo" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "base64", @@ -2201,7 +2201,7 @@ dependencies = [ [[package]] name = "nargo_cli" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "acvm-backend-barretenberg", @@ -2244,7 +2244,7 @@ dependencies = [ [[package]] name = "nargo_toml" -version = "0.10.5" +version = "0.11.0" dependencies = [ "dirs", "fm", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "noir_lsp" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "async-lsp", @@ -2291,7 +2291,7 @@ dependencies = [ [[package]] name = "noir_wasm" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "build-data", @@ -2309,7 +2309,7 @@ dependencies = [ [[package]] name = "noirc_abi" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "iter-extended", @@ -2326,7 +2326,7 @@ dependencies = [ [[package]] name = "noirc_abi_wasm" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "build-data", @@ -2343,7 +2343,7 @@ dependencies = [ [[package]] name = "noirc_driver" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "base64", @@ -2358,7 +2358,7 @@ dependencies = [ [[package]] name = "noirc_errors" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "chumsky", @@ -2371,7 +2371,7 @@ dependencies = [ [[package]] name = "noirc_evaluator" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "fxhash", @@ -2386,7 +2386,7 @@ dependencies = [ [[package]] name = "noirc_frontend" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "arena", @@ -2407,7 +2407,7 @@ dependencies = [ [[package]] name = "noirc_printable_type" -version = "0.10.5" +version = "0.11.0" dependencies = [ "acvm", "iter-extended",