diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8032c17e87a..ed21d28cb51 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.12.0" + ".": "0.13.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 749c7cfd0a9..7e817961f51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## [0.13.0](https://github.com/noir-lang/noir/compare/v0.12.0...v0.13.0) (2023-09-21) + + +### ⚠ BREAKING CHANGES + +* constrain is now a hard error ([#2758](https://github.com/noir-lang/noir/issues/2758)) + +### Features + +* Add `pub` modifier ([#2754](https://github.com/noir-lang/noir/issues/2754)) ([dda964e](https://github.com/noir-lang/noir/commit/dda964e82e170a59c328908117677c16f691be7b)) +* Add support for attributes on structs ([#2733](https://github.com/noir-lang/noir/issues/2733)) ([7b3df8e](https://github.com/noir-lang/noir/commit/7b3df8e8be11fe4288ed865951ef88566160f4af)) +* Add wrapping functions in stdlib and use them in relevant test cases ([#2725](https://github.com/noir-lang/noir/issues/2725)) ([49ab121](https://github.com/noir-lang/noir/commit/49ab121ef21819e028d407999a689b92c67d8df7)) +* **aztec-noir:** Abstract storage ([#2750](https://github.com/noir-lang/noir/issues/2750)) ([5481344](https://github.com/noir-lang/noir/commit/5481344feaa0403e1f6a499ff1e8e4dbbd0297aa)) +* Constrain is now a hard error ([#2758](https://github.com/noir-lang/noir/issues/2758)) ([388a2b1](https://github.com/noir-lang/noir/commit/388a2b1659b2a07bde1bc376fc4669f855780858)) +* Refine Noir.js API ([#2732](https://github.com/noir-lang/noir/issues/2732)) ([e79f1ed](https://github.com/noir-lang/noir/commit/e79f1ed357bf7002f14001689fb4b33e0346e679)) +* Short-circuit compilation and read build artifacts from file if program is unchanged ([#2743](https://github.com/noir-lang/noir/issues/2743)) ([87fea4b](https://github.com/noir-lang/noir/commit/87fea4b447596bdd11ab461f847e03d4f1cc45f2)) +* Signed arithmetic ([#2748](https://github.com/noir-lang/noir/issues/2748)) ([a84216d](https://github.com/noir-lang/noir/commit/a84216dd23513b008739ae0a749e48d0dd262a28)) +* **traits:** Implement trait bounds def collector + resolver passes ([#2716](https://github.com/noir-lang/noir/issues/2716)) ([e3d18bb](https://github.com/noir-lang/noir/commit/e3d18bb9889d84fa78eecf3783bac446eac5adef)) +* **traits:** Type checking for Trait impl method signatures ([#2652](https://github.com/noir-lang/noir/issues/2652)) ([8617008](https://github.com/noir-lang/noir/commit/8617008d572c22fd9c830c233bfc0088fe0bafe4)) +* Variable liveness analysis for brillig ([#2715](https://github.com/noir-lang/noir/issues/2715)) ([ddb05ab](https://github.com/noir-lang/noir/commit/ddb05ab8d30ea2b60c06f3cd7d36d5bf1b21b3ef)) + + +### Bug Fixes + +* Add error message for a contract package with no contracts ([#2762](https://github.com/noir-lang/noir/issues/2762)) ([9701a0c](https://github.com/noir-lang/noir/commit/9701a0cc2cde3b3e8fa55c3f8d09343f8861f2f8)) +* Check for literal overflows in expressions ([#2742](https://github.com/noir-lang/noir/issues/2742)) ([4009f30](https://github.com/noir-lang/noir/commit/4009f30e18b17b5e7ef5af324bb9eaea5ed3780a)) +* Keep the correct type for bitshift ([#2739](https://github.com/noir-lang/noir/issues/2739)) ([04fc2ea](https://github.com/noir-lang/noir/commit/04fc2ea5bc2490cdd2cb4ec90e34986fa91f43d4)) +* Make `Vec::get` accept immutable `Vec`s ([#2776](https://github.com/noir-lang/noir/issues/2776)) ([f168a54](https://github.com/noir-lang/noir/commit/f168a5407b303d2e13d5975e9dc18ec13ff68c5f)) +* Nightly js test ([#2740](https://github.com/noir-lang/noir/issues/2740)) ([36dcd48](https://github.com/noir-lang/noir/commit/36dcd4883313faabefe201be3645dcad79dc7970)) + ## [0.12.0](https://github.com/noir-lang/noir/compare/v0.11.1...v0.12.0) (2023-09-15) diff --git a/Cargo.lock b/Cargo.lock index 3464172b513..4f852ca3cf8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -189,7 +189,7 @@ dependencies = [ [[package]] name = "arena" -version = "0.12.0" +version = "0.13.0" dependencies = [ "generational-arena", ] @@ -1457,7 +1457,7 @@ dependencies = [ [[package]] name = "fm" -version = "0.12.0" +version = "0.13.0" dependencies = [ "cfg-if", "codespan-reporting", @@ -1990,7 +1990,7 @@ dependencies = [ [[package]] name = "iter-extended" -version = "0.12.0" +version = "0.13.0" [[package]] name = "itertools" @@ -2185,7 +2185,7 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "nargo" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "base64", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "nargo_cli" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "assert_cmd", @@ -2250,7 +2250,7 @@ dependencies = [ [[package]] name = "nargo_toml" -version = "0.12.0" +version = "0.13.0" dependencies = [ "dirs", "fm", @@ -2276,7 +2276,7 @@ dependencies = [ [[package]] name = "noir_lsp" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "async-lsp", @@ -2299,7 +2299,7 @@ dependencies = [ [[package]] name = "noir_wasm" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "build-data", @@ -2318,7 +2318,7 @@ dependencies = [ [[package]] name = "noirc_abi" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "iter-extended", @@ -2335,7 +2335,7 @@ dependencies = [ [[package]] name = "noirc_abi_wasm" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "build-data", @@ -2352,7 +2352,7 @@ dependencies = [ [[package]] name = "noirc_driver" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "base64", @@ -2368,7 +2368,7 @@ dependencies = [ [[package]] name = "noirc_errors" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "chumsky", @@ -2381,7 +2381,7 @@ dependencies = [ [[package]] name = "noirc_evaluator" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "fxhash", @@ -2396,7 +2396,7 @@ dependencies = [ [[package]] name = "noirc_frontend" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "arena", @@ -2417,7 +2417,7 @@ dependencies = [ [[package]] name = "noirc_printable_type" -version = "0.12.0" +version = "0.13.0" dependencies = [ "acvm", "iter-extended", diff --git a/Cargo.toml b/Cargo.toml index d7df1363921..e8458ed9f83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ resolver = "2" [workspace.package] # x-release-please-start-version -version = "0.12.0" +version = "0.13.0" # x-release-please-end authors = ["The Noir Team "] edition = "2021" diff --git a/compiler/source-resolver/package.json b/compiler/source-resolver/package.json index 7295343b163..a4bbb85907b 100644 --- a/compiler/source-resolver/package.json +++ b/compiler/source-resolver/package.json @@ -1,6 +1,6 @@ { "name": "@noir-lang/source-resolver", - "version": "0.12.0", + "version": "0.13.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 4c2b2181d2a..ca36cac6b8a 100644 --- a/compiler/wasm/package.json +++ b/compiler/wasm/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.12.0", + "version": "0.13.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 d4d1f4c54fa..14e21a417cb 100644 --- a/flake.nix +++ b/flake.nix @@ -73,7 +73,7 @@ # Configuration shared between builds config = { # x-release-please-start-version - version = "0.12.0"; + version = "0.13.0"; # x-release-please-end src = pkgs.lib.cleanSourceWith { diff --git a/tooling/noir_js/package.json b/tooling/noir_js/package.json index 5fd66672f0f..0168e381dce 100644 --- a/tooling/noir_js/package.json +++ b/tooling/noir_js/package.json @@ -3,7 +3,7 @@ "collaborators": [ "The Noir Team " ], - "version": "0.12.0", + "version": "0.13.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 c56eb2178bb..3d7db8b062f 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.12.0", + "version": "0.13.0", "license": "(MIT OR Apache-2.0)", "files": [ "nodejs",