From aa8e1f3144d2931ad5c6d4c2ae757c94719514f3 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 3 Oct 2023 16:11:36 +0100 Subject: [PATCH] chore: Release Noir(0.16.0) (#2908) --- .release-please-manifest.json | 4 +- CHANGELOG.md | 27 +++++++++++ Cargo.lock | 48 +++++++++---------- Cargo.toml | 2 +- acvm-repo/CHANGELOG.md | 17 +++++++ 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 +- 20 files changed, 86 insertions(+), 42 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 77620acf99b..d085bb9234a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - ".": "0.15.0", - "acvm-repo": "0.27.4" + ".": "0.16.0", + "acvm-repo": "0.28.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dea0d8c70b8..b9bea13b5e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [0.16.0](https://github.com/noir-lang/noir/compare/v0.15.0...v0.16.0) (2023-10-03) + + +### ⚠ BREAKING CHANGES + +* Maintain shape of foreign call arguments ([#2935](https://github.com/noir-lang/noir/issues/2935)) + +### Features + +* **abi:** Tuples as inputs/outputs to main ([#2899](https://github.com/noir-lang/noir/issues/2899)) ([d8bd78f](https://github.com/noir-lang/noir/commit/d8bd78f60c447bb8488a844d779e8aaf4150afe7)) +* **acvm_js:** Export black box solver functions ([#2812](https://github.com/noir-lang/noir/issues/2812)) ([da8a98e](https://github.com/noir-lang/noir/commit/da8a98ed312fe69cb0bdb8f9d0a70ee7a981398f)) +* Add bb interface implementation ([#2902](https://github.com/noir-lang/noir/issues/2902)) ([fe92dc0](https://github.com/noir-lang/noir/commit/fe92dc0df57b2cbc0e7b8cd1f3a91cba6b0f3049)) +* Add noir types package ([#2893](https://github.com/noir-lang/noir/issues/2893)) ([e8fc868](https://github.com/noir-lang/noir/commit/e8fc8687e6dd89295fd023201443f1197963a243)) +* Dynamic indexing of non-homogenous slices ([#2883](https://github.com/noir-lang/noir/issues/2883)) ([72c3661](https://github.com/noir-lang/noir/commit/72c3661c86712b99236eafaac99f76f13d42b9d9)) +* Maintain shape of foreign call arguments ([#2935](https://github.com/noir-lang/noir/issues/2935)) ([f7869e6](https://github.com/noir-lang/noir/commit/f7869e6fb492b617e776e538ac4babfa56261d26)) +* Oracle mocker for nargo test ([#2928](https://github.com/noir-lang/noir/issues/2928)) ([0dd1e77](https://github.com/noir-lang/noir/commit/0dd1e77c0e625805e15fa56b4738c93ebae19b6d)) +* **ssa:** Multiple slice mergers ([#2753](https://github.com/noir-lang/noir/issues/2753)) ([8f76fe5](https://github.com/noir-lang/noir/commit/8f76fe5819e95ed111587090e15add48a2b4e859)) +* **traits:** Multi module support for traits ([#2844](https://github.com/noir-lang/noir/issues/2844)) ([4deb07f](https://github.com/noir-lang/noir/commit/4deb07f80ce110187b66a46dd5624af3b8df3dbd)) + + +### Bug Fixes + +* Fix should_fail_with ([#2940](https://github.com/noir-lang/noir/issues/2940)) ([4f07b84](https://github.com/noir-lang/noir/commit/4f07b84458dba97530d8179a3b9b19101b472616)) +* Force recompilation when `output_debug` flag is set. ([#2898](https://github.com/noir-lang/noir/issues/2898)) ([9854416](https://github.com/noir-lang/noir/commit/9854416f5ac03c9da6538edc6a0a540ccccb4b61)) +* Improve error message when multiplying unit values ([#2950](https://github.com/noir-lang/noir/issues/2950)) ([57b7c55](https://github.com/noir-lang/noir/commit/57b7c55e7005876dc2e070c64e1b8115ca8a4242)) +* **println:** Enable printing of arrays/strings >2 in fmt strings ([#2947](https://github.com/noir-lang/noir/issues/2947)) ([309fa70](https://github.com/noir-lang/noir/commit/309fa70823535c5340f986a17f4ddddcb8723bb8)) + ## [0.15.0](https://github.com/noir-lang/noir/compare/v0.14.1...v0.15.0) (2023-09-28) diff --git a/Cargo.lock b/Cargo.lock index 3b28ca0d846..dbc8d3bc0ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "acir" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acir_field", "bincode", @@ -19,7 +19,7 @@ dependencies = [ [[package]] name = "acir_field" -version = "0.27.4" +version = "0.28.0" dependencies = [ "ark-bls12-381", "ark-bn254", @@ -32,7 +32,7 @@ dependencies = [ [[package]] name = "acvm" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acir", "acvm_blackbox_solver", @@ -49,7 +49,7 @@ dependencies = [ [[package]] name = "acvm_blackbox_solver" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acir", "blake2", @@ -62,7 +62,7 @@ dependencies = [ [[package]] name = "acvm_js" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acvm", "barretenberg_blackbox_solver", @@ -83,7 +83,7 @@ dependencies = [ [[package]] name = "acvm_stdlib" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acir", ] @@ -207,7 +207,7 @@ dependencies = [ [[package]] name = "arena" -version = "0.15.0" +version = "0.16.0" dependencies = [ "generational-arena", ] @@ -439,7 +439,7 @@ dependencies = [ [[package]] name = "barretenberg_blackbox_solver" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acir", "acvm_blackbox_solver", @@ -561,7 +561,7 @@ dependencies = [ [[package]] name = "brillig" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acir_field", "serde", @@ -569,7 +569,7 @@ dependencies = [ [[package]] name = "brillig_vm" -version = "0.27.4" +version = "0.28.0" dependencies = [ "acir", "acvm_blackbox_solver", @@ -1502,7 +1502,7 @@ dependencies = [ [[package]] name = "fm" -version = "0.15.0" +version = "0.16.0" dependencies = [ "codespan-reporting", "iter-extended", @@ -2033,7 +2033,7 @@ dependencies = [ [[package]] name = "iter-extended" -version = "0.15.0" +version = "0.16.0" [[package]] name = "itertools" @@ -2234,7 +2234,7 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "nargo" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "base64", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "nargo_cli" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "assert_cmd", @@ -2299,7 +2299,7 @@ dependencies = [ [[package]] name = "nargo_toml" -version = "0.15.0" +version = "0.16.0" dependencies = [ "dirs", "fm", @@ -2325,7 +2325,7 @@ dependencies = [ [[package]] name = "noir_lsp" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "async-lsp", @@ -2348,7 +2348,7 @@ dependencies = [ [[package]] name = "noir_wasm" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "build-data", @@ -2368,7 +2368,7 @@ dependencies = [ [[package]] name = "noirc_abi" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "iter-extended", @@ -2385,7 +2385,7 @@ dependencies = [ [[package]] name = "noirc_abi_wasm" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "build-data", @@ -2402,7 +2402,7 @@ dependencies = [ [[package]] name = "noirc_driver" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "base64", @@ -2418,7 +2418,7 @@ dependencies = [ [[package]] name = "noirc_errors" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "chumsky", @@ -2431,7 +2431,7 @@ dependencies = [ [[package]] name = "noirc_evaluator" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "fxhash", @@ -2446,7 +2446,7 @@ dependencies = [ [[package]] name = "noirc_frontend" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "arena", @@ -2467,7 +2467,7 @@ dependencies = [ [[package]] name = "noirc_printable_type" -version = "0.15.0" +version = "0.16.0" dependencies = [ "acvm", "iter-extended", diff --git a/Cargo.toml b/Cargo.toml index 9c1c1486aa0..dcd2c20d195 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ resolver = "2" [workspace.package] # x-release-please-start-version -version = "0.15.0" +version = "0.16.0" # x-release-please-end authors = ["The Noir Team "] edition = "2021" diff --git a/acvm-repo/CHANGELOG.md b/acvm-repo/CHANGELOG.md index 70e998bf036..60bdba65a38 100644 --- a/acvm-repo/CHANGELOG.md +++ b/acvm-repo/CHANGELOG.md @@ -5,6 +5,23 @@ 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.28.0](https://github.com/noir-lang/noir/compare/v0.27.4...v0.28.0) (2023-10-03) + + +### ⚠ BREAKING CHANGES + +* Maintain shape of foreign call arguments ([#2935](https://github.com/noir-lang/noir/issues/2935)) + +### Features + +* **acvm_js:** Export black box solver functions ([#2812](https://github.com/noir-lang/noir/issues/2812)) ([da8a98e](https://github.com/noir-lang/noir/commit/da8a98ed312fe69cb0bdb8f9d0a70ee7a981398f)) +* Maintain shape of foreign call arguments ([#2935](https://github.com/noir-lang/noir/issues/2935)) ([f7869e6](https://github.com/noir-lang/noir/commit/f7869e6fb492b617e776e538ac4babfa56261d26)) + + +### 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.4](https://github.com/noir-lang/noir/compare/v0.27.3...v0.27.4) (2023-09-28) diff --git a/acvm-repo/acir/Cargo.toml b/acvm-repo/acir/Cargo.toml index b4cd24701db..8490426c9b9 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.4" +version = "0.28.0" # 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 dded63cdd72..7d059e9e4be 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.4" +version = "0.28.0" # 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 a4fdc3e2b2b..f51bb627fd9 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.4" +version = "0.28.0" # 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 fd828864285..28d99d243d1 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.4" +version = "0.28.0" # 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 1d4edb182b1..2ec8e8333a8 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.4", + "version": "0.28.0", "repository": { "type": "git", "url": "https://github.com/noir-lang/acvm.git" diff --git a/acvm-repo/barretenberg_blackbox_solver/Cargo.toml b/acvm-repo/barretenberg_blackbox_solver/Cargo.toml index c595def2902..a76d6313b4e 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.4" +version = "0.28.0" # 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 f92c75e78d4..2e09452c492 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.4" +version = "0.28.0" # 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 a0fa1f52281..c0f230ba55b 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.4" +version = "0.28.0" # 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 b406e57a23b..46d29935685 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.4" +version = "0.28.0" # 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 b397fe124e0..e675e7b284c 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.4" +version = "0.28.0" # 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 51180e82d37..a198914849c 100644 --- a/compiler/source-resolver/package.json +++ b/compiler/source-resolver/package.json @@ -1,6 +1,6 @@ { "name": "@noir-lang/source-resolver", - "version": "0.15.0", + "version": "0.16.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 ade2be689a7..2e6a453d7bd 100644 --- a/compiler/wasm/package.json +++ b/compiler/wasm/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.15.0", + "version": "0.16.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 9b3d22b8167..0a9bf65322d 100644 --- a/flake.nix +++ b/flake.nix @@ -73,7 +73,7 @@ # Configuration shared between builds config = { # x-release-please-start-version - version = "0.15.0"; + version = "0.16.0"; # x-release-please-end src = pkgs.lib.cleanSourceWith { diff --git a/tooling/noir_js/package.json b/tooling/noir_js/package.json index 8d43e00c266..9063d013599 100644 --- a/tooling/noir_js/package.json +++ b/tooling/noir_js/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.15.0", + "version": "0.16.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 725d737959d..788c825bb58 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.15.0", + "version": "0.16.0", "license": "(MIT OR Apache-2.0)", "files": [ "nodejs",