From 2caa70d1b1548a66e039779211d59b7729e67c63 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 26 Sep 2023 15:58:57 +0100 Subject: [PATCH 1/2] chore(noir): Release (master) --- .release-please-manifest.json | 4 +- CHANGELOG.md | 40 +++++++++++++++++++ Cargo.toml | 2 +- acvm-repo/CHANGELOG.md | 7 ++++ acvm-repo/acir/Cargo.toml | 2 +- acvm-repo/acir_field/Cargo.toml | 2 +- acvm-repo/acvm/Cargo.toml | 2 +- acvm-repo/acvm_js/Cargo.toml | 2 +- acvm-repo/acvm_js/package.json | 2 +- .../barretenberg_blackbox_solver/Cargo.toml | 2 +- acvm-repo/blackbox_solver/Cargo.toml | 2 +- acvm-repo/brillig/Cargo.toml | 2 +- acvm-repo/brillig_vm/Cargo.toml | 2 +- acvm-repo/stdlib/Cargo.toml | 2 +- compiler/source-resolver/package.json | 2 +- compiler/wasm/package.json | 2 +- flake.nix | 2 +- tooling/noir_js/package.json | 2 +- tooling/noirc_abi_wasm/package.json | 2 +- 19 files changed, 65 insertions(+), 18 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3d706d13c51..ff1c2e30b3a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - ".": "0.13.0", - "acvm-repo": "0.27.0" + ".": "0.14.0", + "acvm-repo": "0.27.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e817961f51..b9aa0af38df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # Changelog +## [0.14.0](https://github.com/noir-lang/noir/compare/v0.13.0...v0.14.0) (2023-09-26) + + +### ⚠ BREAKING CHANGES + +* **noir_js:** Rename inner and outer proof methods ([#2845](https://github.com/noir-lang/noir/issues/2845)) +* `generateWitness` now returns a serialized witness file ([#2842](https://github.com/noir-lang/noir/issues/2842)) +* Issue an error when a module is declared twice & fix module search path ([#2801](https://github.com/noir-lang/noir/issues/2801)) +* Default integers to u64 ([#2764](https://github.com/noir-lang/noir/issues/2764)) + +### Features + +* **abi:** Throw errors rather than returning string from `noirc_abi_wasm` ([#2817](https://github.com/noir-lang/noir/issues/2817)) ([df7b42c](https://github.com/noir-lang/noir/commit/df7b42cd253d1b908a42c367b116813f9999d93b)) +* **acir:** Enable dynamic indices on non-homogenous arrays ([#2703](https://github.com/noir-lang/noir/issues/2703)) ([622d2e4](https://github.com/noir-lang/noir/commit/622d2e436992c23e6d0885b591bd1072ca57b307)) +* Default integers to u64 ([#2764](https://github.com/noir-lang/noir/issues/2764)) ([01cb041](https://github.com/noir-lang/noir/commit/01cb041a92ef6043dd5a160e0a56a63400801980)) +* Implement string escape sequences ([#2803](https://github.com/noir-lang/noir/issues/2803)) ([f7529b8](https://github.com/noir-lang/noir/commit/f7529b80f0958fd47a525f25a123f16438bbb892)) +* Remove redundant predicate from brillig quotients ([#2784](https://github.com/noir-lang/noir/issues/2784)) ([a8f18c5](https://github.com/noir-lang/noir/commit/a8f18c55b35f47c6fa3ebfebcd827aeb55e5c850)) +* **traits:** Implement trait bounds typechecker + monomorphizer passes ([#2717](https://github.com/noir-lang/noir/issues/2717)) ([5ca99b1](https://github.com/noir-lang/noir/commit/5ca99b128e9991b5272c00292208d85415e70edf)) + + +### Bug Fixes + +* **acvm:** Return false rather than panicking on invalid ECDSA signatures ([#2783](https://github.com/noir-lang/noir/issues/2783)) ([155abc0](https://github.com/noir-lang/noir/commit/155abc0d99fff41c79163c16bf297d41e5dff0fa)) +* Conditionally run the "Create or Update PR" step in acir artifacts rebuild workflow ([#2849](https://github.com/noir-lang/noir/issues/2849)) ([63da875](https://github.com/noir-lang/noir/commit/63da875a85a2ad4ad3038443ba52eb28ea44ad10)) +* Error message for assigning the wrong type is backwards [#2804](https://github.com/noir-lang/noir/issues/2804) ([#2805](https://github.com/noir-lang/noir/issues/2805)) ([b2d62bf](https://github.com/noir-lang/noir/commit/b2d62bff3b7958b3ed62c285a7ebd45045ac2e05)) +* Fix panic in some cases when calling a private function ([#2799](https://github.com/noir-lang/noir/issues/2799)) ([078d5df](https://github.com/noir-lang/noir/commit/078d5df691d4ea48e83c9530cd40b64917eba0a7)) +* Fix subtract with underflow in flattening pass ([#2796](https://github.com/noir-lang/noir/issues/2796)) ([f2ed505](https://github.com/noir-lang/noir/commit/f2ed5054b0b0335dd3ecb17369b0d2e6eafb1171)) +* **frontend:** Error on unsupported integer annotation ([#2778](https://github.com/noir-lang/noir/issues/2778)) ([90c3d8b](https://github.com/noir-lang/noir/commit/90c3d8baa3b7ae10bc99f6a767121f556ff75967)) +* Issue an error when a module is declared twice & fix module search path ([#2801](https://github.com/noir-lang/noir/issues/2801)) ([7f76910](https://github.com/noir-lang/noir/commit/7f76910ebbd20e3d7a1db7541f2b7f43cd9b546d)) +* Lack of cjs package version ([#2848](https://github.com/noir-lang/noir/issues/2848)) ([adc2d59](https://github.com/noir-lang/noir/commit/adc2d597536b52c690dceb14ea5f8e30a493452c)) +* Silence unused variable warnings in stdlib ([#2795](https://github.com/noir-lang/noir/issues/2795)) ([5747bfe](https://github.com/noir-lang/noir/commit/5747bfed256f9179321ec0bd1e02f5f82723a4c7)) +* Split conditional_regression tests ([#2774](https://github.com/noir-lang/noir/issues/2774)) ([8ed8832](https://github.com/noir-lang/noir/commit/8ed8832c7b475cd28ae697a09f1ad07c539736db)) +* **ssa:** Do not replace previously constrained values ([#2647](https://github.com/noir-lang/noir/issues/2647)) ([d528844](https://github.com/noir-lang/noir/commit/d5288449a10d162a0340818a6beab54dd985a11a)) + + +### Miscellaneous Chores + +* `generateWitness` now returns a serialized witness file ([#2842](https://github.com/noir-lang/noir/issues/2842)) ([57d3f37](https://github.com/noir-lang/noir/commit/57d3f376d9ceadb75caf37a2bfc0e9394f76bfe6)) +* **noir_js:** Rename inner and outer proof methods ([#2845](https://github.com/noir-lang/noir/issues/2845)) ([71dbbb8](https://github.com/noir-lang/noir/commit/71dbbb863a6f262da4804c17965ace627bf3a278)) + ## [0.13.0](https://github.com/noir-lang/noir/compare/v0.12.0...v0.13.0) (2023-09-21) diff --git a/Cargo.toml b/Cargo.toml index dbebed89e2c..cfce632e762 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ resolver = "2" [workspace.package] # x-release-please-start-version -version = "0.13.0" +version = "0.14.0" # x-release-please-end authors = ["The Noir Team "] edition = "2021" diff --git a/acvm-repo/CHANGELOG.md b/acvm-repo/CHANGELOG.md index 0833a3c1310..2a765e5dfe8 100644 --- a/acvm-repo/CHANGELOG.md +++ b/acvm-repo/CHANGELOG.md @@ -5,6 +5,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.27.1](https://github.com/noir-lang/noir/compare/v0.27.0...v0.27.1) (2023-09-26) + + +### Bug Fixes + +* **acvm:** Return false rather than panicking on invalid ECDSA signatures ([#2783](https://github.com/noir-lang/noir/issues/2783)) ([155abc0](https://github.com/noir-lang/noir/commit/155abc0d99fff41c79163c16bf297d41e5dff0fa)) + ## [0.27.0](https://github.com/noir-lang/acvm/compare/root-v0.26.1...root-v0.27.0) (2023-09-19) diff --git a/acvm-repo/acir/Cargo.toml b/acvm-repo/acir/Cargo.toml index 2d0b0c3dad1..8885b8060ac 100644 --- a/acvm-repo/acir/Cargo.toml +++ b/acvm-repo/acir/Cargo.toml @@ -2,7 +2,7 @@ name = "acir" description = "ACIR is the IR that the VM processes, it is analogous to LLVM IR" # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/acir_field/Cargo.toml b/acvm-repo/acir_field/Cargo.toml index 99454f7718d..bd1d32c6255 100644 --- a/acvm-repo/acir_field/Cargo.toml +++ b/acvm-repo/acir_field/Cargo.toml @@ -2,7 +2,7 @@ name = "acir_field" description = "The field implementation being used by ACIR." # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/acvm/Cargo.toml b/acvm-repo/acvm/Cargo.toml index 992c75aed51..06579838fe9 100644 --- a/acvm-repo/acvm/Cargo.toml +++ b/acvm-repo/acvm/Cargo.toml @@ -2,7 +2,7 @@ name = "acvm" description = "The virtual machine that processes ACIR given a backend/proof system." # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/acvm_js/Cargo.toml b/acvm-repo/acvm_js/Cargo.toml index 09f47b18edb..ebaf079d268 100644 --- a/acvm-repo/acvm_js/Cargo.toml +++ b/acvm-repo/acvm_js/Cargo.toml @@ -2,7 +2,7 @@ name = "acvm_js" description = "Typescript wrapper around the ACVM allowing execution of ACIR code" # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/acvm_js/package.json b/acvm-repo/acvm_js/package.json index 21f10ddd1cb..d509e55ecf9 100644 --- a/acvm-repo/acvm_js/package.json +++ b/acvm-repo/acvm_js/package.json @@ -1,6 +1,6 @@ { "name": "@noir-lang/acvm_js", - "version": "0.27.0", + "version": "0.27.1", "private": true, "repository": { "type": "git", diff --git a/acvm-repo/barretenberg_blackbox_solver/Cargo.toml b/acvm-repo/barretenberg_blackbox_solver/Cargo.toml index aa7a05867dd..5f232dc7e38 100644 --- a/acvm-repo/barretenberg_blackbox_solver/Cargo.toml +++ b/acvm-repo/barretenberg_blackbox_solver/Cargo.toml @@ -2,7 +2,7 @@ name = "barretenberg_blackbox_solver" description = "A wrapper around a barretenberg WASM binary to execute black box functions for which there is no rust implementation" # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/blackbox_solver/Cargo.toml b/acvm-repo/blackbox_solver/Cargo.toml index 766f3eb72f8..45145119443 100644 --- a/acvm-repo/blackbox_solver/Cargo.toml +++ b/acvm-repo/blackbox_solver/Cargo.toml @@ -2,7 +2,7 @@ name = "acvm_blackbox_solver" description = "A solver for the blackbox functions found in ACIR and Brillig" # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/brillig/Cargo.toml b/acvm-repo/brillig/Cargo.toml index 6ab1fadec3e..3ff38f40d70 100644 --- a/acvm-repo/brillig/Cargo.toml +++ b/acvm-repo/brillig/Cargo.toml @@ -2,7 +2,7 @@ name = "brillig" description = "Brillig is the bytecode ACIR uses for non-determinism." # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/brillig_vm/Cargo.toml b/acvm-repo/brillig_vm/Cargo.toml index d032f34c85e..098f8b473f6 100644 --- a/acvm-repo/brillig_vm/Cargo.toml +++ b/acvm-repo/brillig_vm/Cargo.toml @@ -2,7 +2,7 @@ name = "brillig_vm" description = "The virtual machine that processes Brillig bytecode, used to introduce non-determinism to the ACVM" # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/stdlib/Cargo.toml b/acvm-repo/stdlib/Cargo.toml index 59ec6d2c2ad..c132a4b4bdc 100644 --- a/acvm-repo/stdlib/Cargo.toml +++ b/acvm-repo/stdlib/Cargo.toml @@ -2,7 +2,7 @@ name = "acvm_stdlib" description = "The ACVM standard library." # x-release-please-start-version -version = "0.27.0" +version = "0.27.1" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/compiler/source-resolver/package.json b/compiler/source-resolver/package.json index 36331306c80..d7cc17e94b4 100644 --- a/compiler/source-resolver/package.json +++ b/compiler/source-resolver/package.json @@ -1,6 +1,6 @@ { "name": "@noir-lang/source-resolver", - "version": "0.13.0", + "version": "0.14.0", "license": "MIT", "main": "./lib-node/index_node.js", "types": "./types/index_node.d.ts", diff --git a/compiler/wasm/package.json b/compiler/wasm/package.json index 0dd1bdda8ae..c2f815abedc 100644 --- a/compiler/wasm/package.json +++ b/compiler/wasm/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.13.0", + "version": "0.14.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 0f5b6839987..fe422a02848 100644 --- a/flake.nix +++ b/flake.nix @@ -73,7 +73,7 @@ # Configuration shared between builds config = { # x-release-please-start-version - version = "0.13.0"; + version = "0.14.0"; # x-release-please-end src = pkgs.lib.cleanSourceWith { diff --git a/tooling/noir_js/package.json b/tooling/noir_js/package.json index dbb6dccaf75..0c381189467 100644 --- a/tooling/noir_js/package.json +++ b/tooling/noir_js/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.13.0", + "version": "0.14.0", "packageManager": "yarn@3.5.1", "license": "(MIT OR Apache-2.0)", "type": "module", diff --git a/tooling/noirc_abi_wasm/package.json b/tooling/noirc_abi_wasm/package.json index 6e9398b075a..af51188daee 100644 --- a/tooling/noirc_abi_wasm/package.json +++ b/tooling/noirc_abi_wasm/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.13.0", + "version": "0.14.0", "license": "(MIT OR Apache-2.0)", "files": [ "nodejs", From 9a0bc68b9aa647fdb5beb2932ff2e2f7eda991b4 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 26 Sep 2023 15:02:40 +0000 Subject: [PATCH 2/2] chore: Update lockfile --- Cargo.lock | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4cde0eb6796..7b44df9e29f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "acir" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acir_field", "bincode", @@ -20,7 +20,7 @@ dependencies = [ [[package]] name = "acir_field" -version = "0.27.0" +version = "0.27.1" dependencies = [ "ark-bls12-381", "ark-bn254", @@ -33,7 +33,7 @@ dependencies = [ [[package]] name = "acvm" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acir", "acvm_blackbox_solver", @@ -50,7 +50,7 @@ dependencies = [ [[package]] name = "acvm_blackbox_solver" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acir", "blake2", @@ -63,7 +63,7 @@ dependencies = [ [[package]] name = "acvm_js" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acvm", "barretenberg_blackbox_solver", @@ -84,7 +84,7 @@ dependencies = [ [[package]] name = "acvm_stdlib" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acir", ] @@ -208,7 +208,7 @@ dependencies = [ [[package]] name = "arena" -version = "0.13.0" +version = "0.14.0" dependencies = [ "generational-arena", ] @@ -440,7 +440,7 @@ dependencies = [ [[package]] name = "barretenberg_blackbox_solver" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acir", "acvm_blackbox_solver", @@ -562,7 +562,7 @@ dependencies = [ [[package]] name = "brillig" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acir_field", "serde", @@ -570,7 +570,7 @@ dependencies = [ [[package]] name = "brillig_vm" -version = "0.27.0" +version = "0.27.1" dependencies = [ "acir", "acvm_blackbox_solver", @@ -1503,7 +1503,7 @@ dependencies = [ [[package]] name = "fm" -version = "0.13.0" +version = "0.14.0" dependencies = [ "cfg-if", "codespan-reporting", @@ -2036,7 +2036,7 @@ dependencies = [ [[package]] name = "iter-extended" -version = "0.13.0" +version = "0.14.0" [[package]] name = "itertools" @@ -2237,7 +2237,7 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "nargo" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "base64", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "nargo_cli" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "assert_cmd", @@ -2302,7 +2302,7 @@ dependencies = [ [[package]] name = "nargo_toml" -version = "0.13.0" +version = "0.14.0" dependencies = [ "dirs", "fm", @@ -2328,7 +2328,7 @@ dependencies = [ [[package]] name = "noir_lsp" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "async-lsp", @@ -2351,7 +2351,7 @@ dependencies = [ [[package]] name = "noir_wasm" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "build-data", @@ -2370,7 +2370,7 @@ dependencies = [ [[package]] name = "noirc_abi" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "iter-extended", @@ -2387,7 +2387,7 @@ dependencies = [ [[package]] name = "noirc_abi_wasm" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "build-data", @@ -2404,7 +2404,7 @@ dependencies = [ [[package]] name = "noirc_driver" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "base64", @@ -2420,7 +2420,7 @@ dependencies = [ [[package]] name = "noirc_errors" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "chumsky", @@ -2433,7 +2433,7 @@ dependencies = [ [[package]] name = "noirc_evaluator" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "fxhash", @@ -2448,7 +2448,7 @@ dependencies = [ [[package]] name = "noirc_frontend" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "arena", @@ -2469,7 +2469,7 @@ dependencies = [ [[package]] name = "noirc_printable_type" -version = "0.13.0" +version = "0.14.0" dependencies = [ "acvm", "iter-extended",