diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a30d3e16ba7..8f269310c5d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - ".": "0.31.0", - "acvm-repo": "0.47.0" + ".": "0.32.0", + "acvm-repo": "0.48.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 30678c05fb1..1e32f8364a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,137 @@ # Changelog +## [0.32.0](https://github.com/noir-lang/noir/compare/v0.31.0...v0.32.0) (2024-07-18) + + +### ⚠ BREAKING CHANGES + +* constant inputs for blackbox (https://github.com/AztecProtocol/aztec-packages/pull/7222) +* error on too large integer value ([#5371](https://github.com/noir-lang/noir/issues/5371)) +* rename struct-specific TypeDefinition -> StructDefinition ([#5356](https://github.com/noir-lang/noir/issues/5356)) +* **frontend:** Explicit numeric generics and type kinds ([#5155](https://github.com/noir-lang/noir/issues/5155)) + +### Features + +* `mod.nr` entrypoint ([#5039](https://github.com/noir-lang/noir/issues/5039)) ([076fe0a](https://github.com/noir-lang/noir/commit/076fe0a11869f6975d214c5b9a5ed1e8f7cdbded)) +* `static_assert` builtin ([#5342](https://github.com/noir-lang/noir/issues/5342)) ([ef44270](https://github.com/noir-lang/noir/commit/ef4427051eebf323462cbb1fed205e8b555712a1)) +* Add `map`, `fold`, `reduce`, `any`, and `all` for slices ([#5331](https://github.com/noir-lang/noir/issues/5331)) ([03e25b4](https://github.com/noir-lang/noir/commit/03e25b4577349859c85203fadafc3c63aa4e4dd0)) +* Add CLI argument for debugging comptime blocks ([#5192](https://github.com/noir-lang/noir/issues/5192)) ([0b74a18](https://github.com/noir-lang/noir/commit/0b74a18537b84a0f774d54518fd938f8c11e1baf)) +* Add comptime support for `modulus_*` compiler builtins ([#5530](https://github.com/noir-lang/noir/issues/5530)) ([5bbce79](https://github.com/noir-lang/noir/commit/5bbce7977f72b07336bc8ef09f6acff687f1644a)) +* Add debug codelens action ([#5474](https://github.com/noir-lang/noir/issues/5474)) ([6bcdac4](https://github.com/noir-lang/noir/commit/6bcdac428a48083c9b0d85d42b4d8635a182fda1)) +* Add fuzzer for Noir programs ([#5251](https://github.com/noir-lang/noir/issues/5251)) ([e100017](https://github.com/noir-lang/noir/commit/e1000176a31140b2abd79c47653cbc4bb1a6808a)) +* Add gate profiler for noir circuits (https://github.com/AztecProtocol/aztec-packages/pull/7004) ([083070e](https://github.com/noir-lang/noir/commit/083070e83e916b68799358b119a9f843223f2686)) +* Add more slice methods to the stdlib ([#5424](https://github.com/noir-lang/noir/issues/5424)) ([4020e77](https://github.com/noir-lang/noir/commit/4020e77145b99861b8bd6027a6823ccf2c39271f)) +* Add opcodes flamegraph and refactor gates flamegraph (https://github.com/AztecProtocol/aztec-packages/pull/7282) ([32029f9](https://github.com/noir-lang/noir/commit/32029f91f6aae4d2f6b08b4ea40481f5837e50bc)) +* Add support for fieldable in events (https://github.com/AztecProtocol/aztec-packages/pull/7310) ([3f71169](https://github.com/noir-lang/noir/commit/3f71169ef4ef8ea8a3dcf355bf360195bfa6772c)) +* Add support for usage of `super` in import paths ([#5502](https://github.com/noir-lang/noir/issues/5502)) ([256509e](https://github.com/noir-lang/noir/commit/256509e5083895b6115b110aedd5a97bd9e74fc0)) +* Add support for wildcard types ([#5275](https://github.com/noir-lang/noir/issues/5275)) ([7445efb](https://github.com/noir-lang/noir/commit/7445efb05165bf7df2f9dfe325abbc42f839364c)) +* Add TraitConstraint type ([#5499](https://github.com/noir-lang/noir/issues/5499)) ([30cb65a](https://github.com/noir-lang/noir/commit/30cb65a12668d192f8da940c32961210a05a962f)) +* Add unquote function ([#5497](https://github.com/noir-lang/noir/issues/5497)) ([2947aba](https://github.com/noir-lang/noir/commit/2947ababcbcc7cbe5d99f6a8ed0dc6ad756ebeb8)) +* Allow arguments to attribute functions ([#5494](https://github.com/noir-lang/noir/issues/5494)) ([a33cafc](https://github.com/noir-lang/noir/commit/a33cafcb7e175ad8b3b80b8c9419a32e009ec702)) +* Allow comptime attributes on traits & functions ([#5496](https://github.com/noir-lang/noir/issues/5496)) ([b59a29e](https://github.com/noir-lang/noir/commit/b59a29e5b246121a4d81e4894a4b10f5df4dd5cf)) +* Apply `no_predicates` in stdlib ([#5454](https://github.com/noir-lang/noir/issues/5454)) ([24d26c0](https://github.com/noir-lang/noir/commit/24d26c05705fabca81b19d789203ebb6fc22ff32)) +* Build releases for `aarch64-unknown-linux-gnu` target ([#5289](https://github.com/noir-lang/noir/issues/5289)) ([f35614a](https://github.com/noir-lang/noir/commit/f35614a43cf8c5cfb244d9f6ffc9d63282a63e6d)) +* Build simple dictionary from inspecting ACIR program ([#5264](https://github.com/noir-lang/noir/issues/5264)) ([508e677](https://github.com/noir-lang/noir/commit/508e677cf2c66ac3427932a18f1661f5f4dc4202)) +* Constant inputs for blackbox (https://github.com/AztecProtocol/aztec-packages/pull/7222) ([fb97bb9](https://github.com/noir-lang/noir/commit/fb97bb9b795c9d7af395b82fd6f0ea8111d59c11)) +* Detect subgraphs that are completely independent from inputs or outputs ([#5402](https://github.com/noir-lang/noir/issues/5402)) ([7ea83a9](https://github.com/noir-lang/noir/commit/7ea83a9de4d3096d27e79faf5d8081b9e9108c4a)) +* Disable nargo color output if stderr is tty ([#5346](https://github.com/noir-lang/noir/issues/5346)) ([554dd6b](https://github.com/noir-lang/noir/commit/554dd6b01b1d3417448d8ecc95165fd0c3ca36e9)) +* Error on too large integer value ([#5371](https://github.com/noir-lang/noir/issues/5371)) ([0c4fffa](https://github.com/noir-lang/noir/commit/0c4fffa86f6605e8f16f973ad42c6927a03fc3cc)) +* **frontend:** Explicit numeric generics and type kinds ([#5155](https://github.com/noir-lang/noir/issues/5155)) ([d4e03d0](https://github.com/noir-lang/noir/commit/d4e03d07bb00d1ba0f8f43bd0dd9e967a10a28b9)) +* **frontend:** Where clause on impl ([#5320](https://github.com/noir-lang/noir/issues/5320)) ([cf938bc](https://github.com/noir-lang/noir/commit/cf938bc06b7015dae94847f146dc7fd38055f064)) +* Handle ACIR calls in the debugger ([#5051](https://github.com/noir-lang/noir/issues/5051)) ([0541568](https://github.com/noir-lang/noir/commit/0541568b4c209927a70778b895e8f1e50d9b6543)) +* Implement comptime support for `array_len` builtin ([#5272](https://github.com/noir-lang/noir/issues/5272)) ([c91186a](https://github.com/noir-lang/noir/commit/c91186a5c0d9e84767f160e6acd63672b23e8f52)) +* Implement comptime support for `as_slice` builtin ([#5276](https://github.com/noir-lang/noir/issues/5276)) ([9db65d8](https://github.com/noir-lang/noir/commit/9db65d8706ac8b67921f2a73163ab8bee3dfb4e8)) +* Implement trait dispatch in the comptime interpreter ([#5376](https://github.com/noir-lang/noir/issues/5376)) ([8aa5b2e](https://github.com/noir-lang/noir/commit/8aa5b2e4cc69ca6ac1077e8e08c28e9cb30ffb51)) +* Insert trait impls into the program from type annotations ([#5327](https://github.com/noir-lang/noir/issues/5327)) ([efdd818](https://github.com/noir-lang/noir/commit/efdd818a1fc52f31bda4e4519a4ba42887cec87a)) +* Let `should_fail_with` check that the failure reason contains the expected message ([#5319](https://github.com/noir-lang/noir/issues/5319)) ([cb9db55](https://github.com/noir-lang/noir/commit/cb9db55dcf87a45356af362f6f90681dd0e00212)) +* Let LSP always work in a Noir workspace if there's any ([#5461](https://github.com/noir-lang/noir/issues/5461)) ([e0d7833](https://github.com/noir-lang/noir/commit/e0d78334e4b7c7cdd2e4778c3f13dd12ddbef59c)) +* Lsp "find all references" ([#5395](https://github.com/noir-lang/noir/issues/5395)) ([ce1994c](https://github.com/noir-lang/noir/commit/ce1994ca87cb47ec22aa95e566a4e18f0c931ea1)) +* Lsp "go to definition" for modules ([#5406](https://github.com/noir-lang/noir/issues/5406)) ([3e7f1f2](https://github.com/noir-lang/noir/commit/3e7f1f28e5836b164bebdc3bad20d8d91dccd211)) +* LSP document symbol ([#5532](https://github.com/noir-lang/noir/issues/5532)) ([1fabcde](https://github.com/noir-lang/noir/commit/1fabcde195f3965c6b8701eb4e1fed49ec1bde4b)) +* LSP hover ([#5491](https://github.com/noir-lang/noir/issues/5491)) ([010c835](https://github.com/noir-lang/noir/commit/010c835e4ebfdf49ea4e9326abafcdeb587153b6)) +* LSP inlay hints for let and global ([#5510](https://github.com/noir-lang/noir/issues/5510)) ([43f5b8d](https://github.com/noir-lang/noir/commit/43f5b8d8eba5011b163e30a09ad743f893aa841a)) +* Lsp rename struct ([#5380](https://github.com/noir-lang/noir/issues/5380)) ([ee8b0cd](https://github.com/noir-lang/noir/commit/ee8b0cdbc919fbf924c5d42067c0f18db8def2bf)) +* Lsp rename/find-all-references for globals ([#5415](https://github.com/noir-lang/noir/issues/5415)) ([fa9b444](https://github.com/noir-lang/noir/commit/fa9b4446f96155fc08d8087444fc856e86e7ab62)) +* Lsp rename/find-all-references for local variables ([#5439](https://github.com/noir-lang/noir/issues/5439)) ([bb6913a](https://github.com/noir-lang/noir/commit/bb6913ac53620fabd73e24ca1a2b1369225903ec)) +* Lsp rename/find-all-references for struct members ([#5443](https://github.com/noir-lang/noir/issues/5443)) ([a6d213d](https://github.com/noir-lang/noir/commit/a6d213d41aa5a8e31a1d6210f2ea98a501b8f67d)) +* Lsp rename/find-all-references for traits ([#5409](https://github.com/noir-lang/noir/issues/5409)) ([bf3a75a](https://github.com/noir-lang/noir/commit/bf3a75a3f9c6926baaa1408767dd929de2f8a8f9)) +* Lsp rename/find-all-references for type aliases ([#5414](https://github.com/noir-lang/noir/issues/5414)) ([24c621f](https://github.com/noir-lang/noir/commit/24c621fa96783373ab81da66cb6076e130c4a3a5)) +* **lsp:** Allow function rename ([#4294](https://github.com/noir-lang/noir/issues/4294)) ([3d86dc6](https://github.com/noir-lang/noir/commit/3d86dc6118d083c686b1061a52eb4f113e9a9f7c)) +* Make macros operate on token streams instead of AST nodes ([#5301](https://github.com/noir-lang/noir/issues/5301)) ([7689d59](https://github.com/noir-lang/noir/commit/7689d59aa12003994cea6a3ff4bf87484e41aa6b)) +* **nargo:** Default expression width field in `Nargo.toml` ([#5505](https://github.com/noir-lang/noir/issues/5505)) ([dea6b32](https://github.com/noir-lang/noir/commit/dea6b323fe8db636f5991cfc206ea9222addca30)) +* **optimization:** Deduplicate more instructions ([#5457](https://github.com/noir-lang/noir/issues/5457)) ([c47242a](https://github.com/noir-lang/noir/commit/c47242ab624f4a1d564b3b62bc84a1b4bb5bd549)) +* Prefix operator overload trait dispatch ([#5423](https://github.com/noir-lang/noir/issues/5423)) ([a3bb09e](https://github.com/noir-lang/noir/commit/a3bb09ebe2df473d4a34a34fbfc3966ffbc630cb)) +* Remove duplicated array reads at constant indices ([#5445](https://github.com/noir-lang/noir/issues/5445)) ([82a67a0](https://github.com/noir-lang/noir/commit/82a67a0e9554afeadb1839e6511794b41960f241)) +* Remove redundant `EnableSideEffects` instructions ([#5440](https://github.com/noir-lang/noir/issues/5440)) ([e153ecb](https://github.com/noir-lang/noir/commit/e153ecbe068f5974d5836aedebb8a41c5620d5f7)) +* Rename struct-specific TypeDefinition -> StructDefinition ([#5356](https://github.com/noir-lang/noir/issues/5356)) ([7ffccf7](https://github.com/noir-lang/noir/commit/7ffccf7f060aee30b08ef7fda75d8695f047abd8)) +* Run `comptime` code from annotations on a type definition ([#5256](https://github.com/noir-lang/noir/issues/5256)) ([6cbe6a0](https://github.com/noir-lang/noir/commit/6cbe6a0c830b2992666e0f9bdbc8f66ec41eed84)) +* Skip reading values immediately after it being written into an array ([#5449](https://github.com/noir-lang/noir/issues/5449)) ([141ecdd](https://github.com/noir-lang/noir/commit/141ecddf79b27244a52097577395c7b41cd4d331)) +* **stdlib:** Update stdlib to use explicit numeric generics ([#5306](https://github.com/noir-lang/noir/issues/5306)) ([8456185](https://github.com/noir-lang/noir/commit/8456185078c90cfcb8e63caf147ea6cdbbd786af)) +* Sync from aztec-packages ([#5347](https://github.com/noir-lang/noir/issues/5347)) ([47b621f](https://github.com/noir-lang/noir/commit/47b621fcb8a971b353ce5bda3a506da5504ae9a3)) +* Sync from aztec-packages ([#5377](https://github.com/noir-lang/noir/issues/5377)) ([7b77bbf](https://github.com/noir-lang/noir/commit/7b77bbfc19c51829814149e623257a3424d8e8c2)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7257) ([32029f9](https://github.com/noir-lang/noir/commit/32029f91f6aae4d2f6b08b4ea40481f5837e50bc)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7288) ([322f863](https://github.com/noir-lang/noir/commit/322f86392a899fa6e1765cb30b72768211605a9f)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7308) ([322f863](https://github.com/noir-lang/noir/commit/322f86392a899fa6e1765cb30b72768211605a9f)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7332) ([3f71169](https://github.com/noir-lang/noir/commit/3f71169ef4ef8ea8a3dcf355bf360195bfa6772c)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7352) ([98e72ac](https://github.com/noir-lang/noir/commit/98e72acd72e9a01376cf69d20c539ba9dbe0942b)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7392) ([fb97bb9](https://github.com/noir-lang/noir/commit/fb97bb9b795c9d7af395b82fd6f0ea8111d59c11)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7400) ([fb97bb9](https://github.com/noir-lang/noir/commit/fb97bb9b795c9d7af395b82fd6f0ea8111d59c11)) +* Unquote multiple items from annotations ([#5441](https://github.com/noir-lang/noir/issues/5441)) ([be8eac6](https://github.com/noir-lang/noir/commit/be8eac6ff44dac442df9b09de1fd2269a6371d56)) +* Use runtime loops for brillig array initialization ([#5243](https://github.com/noir-lang/noir/issues/5243)) ([0bd22bb](https://github.com/noir-lang/noir/commit/0bd22bb460ff0bf134ce3acf79e018c1e360d31c)) + + +### Bug Fixes + +* Account for the expected kind when resolving turbofish generics ([#5448](https://github.com/noir-lang/noir/issues/5448)) ([82c335d](https://github.com/noir-lang/noir/commit/82c335d3e36365695eccc1c4af63e58dd0633328)) +* Add more thorough check for whether a type is valid when passing it from constrained code to unconstrained code ([#5009](https://github.com/noir-lang/noir/issues/5009)) ([318314d](https://github.com/noir-lang/noir/commit/318314d6dd35674328f534ebd882d4b0e66eab24)) +* Address compiler warnings coming from stdlib ([#5351](https://github.com/noir-lang/noir/issues/5351)) ([758a905](https://github.com/noir-lang/noir/commit/758a905fc740971c995151bfb5f997bcc080397c)) +* Allow importing notes from other contracts and inject them in the macros (https://github.com/AztecProtocol/aztec-packages/pull/7349) ([98e72ac](https://github.com/noir-lang/noir/commit/98e72acd72e9a01376cf69d20c539ba9dbe0942b)) +* Avoid duplicating constant arrays ([#5287](https://github.com/noir-lang/noir/issues/5287)) ([3ef3645](https://github.com/noir-lang/noir/commit/3ef36458fef36b2a2f6cf99b35a43339f3721b27)) +* Avoid panic in type system ([#5332](https://github.com/noir-lang/noir/issues/5332)) ([52d48ff](https://github.com/noir-lang/noir/commit/52d48ff1cf1415fa87fbaf76249b2e0d042de8bd)) +* Avoid unnecessarily splitting expressions with multiplication terms with a shared term ([#5291](https://github.com/noir-lang/noir/issues/5291)) ([19884f1](https://github.com/noir-lang/noir/commit/19884f161dfc7d7ce75dd2c404b8ef39cdad2240)) +* Change panic to error in interpreter ([#5446](https://github.com/noir-lang/noir/issues/5446)) ([d44f882](https://github.com/noir-lang/noir/commit/d44f882be094bf492b1742370fd3896b0c371f59)) +* Complete call stacks with no_predicates ([#5418](https://github.com/noir-lang/noir/issues/5418)) ([df73fe2](https://github.com/noir-lang/noir/commit/df73fe2f345422516bfa01462c0c76d3b924b772)) +* Correct range for overlfowing/underflowing integer assignment ([#5416](https://github.com/noir-lang/noir/issues/5416)) ([30c50f5](https://github.com/noir-lang/noir/commit/30c50f52a6d58163e39006b73f4eb5003afc239b)) +* Correctly detect signed/unsigned integer overflows/underflows ([#5375](https://github.com/noir-lang/noir/issues/5375)) ([0603bd3](https://github.com/noir-lang/noir/commit/0603bd39bff1183725e9aeeaba678c421c7b1daf)) +* **docs:** Fix broken docs link to gihtub ([#5398](https://github.com/noir-lang/noir/issues/5398)) ([70ebf60](https://github.com/noir-lang/noir/commit/70ebf607e566a95ff7eb2c7a0eee7c36465ba5b4)) +* Don't benchmark the "prove" command as it doesn't exist anymore ([#5323](https://github.com/noir-lang/noir/issues/5323)) ([3bb3b03](https://github.com/noir-lang/noir/commit/3bb3b03aedab9c7abfeb3d3141e04b07b7aeeffb)) +* Don't lazily elaborate functions ([#5282](https://github.com/noir-lang/noir/issues/5282)) ([0ea608f](https://github.com/noir-lang/noir/commit/0ea608f10bdeb26df7dfc17b1a0bad5db1967be8)) +* Don't panic when using undefined variables in the interpreter ([#5381](https://github.com/noir-lang/noir/issues/5381)) ([94d209a](https://github.com/noir-lang/noir/commit/94d209acb70064d5f8a5d427bade18d3cd975be0)) +* Don't type error when calling certain trait impls in the interpreter ([#5471](https://github.com/noir-lang/noir/issues/5471)) ([299703c](https://github.com/noir-lang/noir/commit/299703cf4b87a84257f48f059eb58135ad36265d)) +* Error on empty function bodies ([#5519](https://github.com/noir-lang/noir/issues/5519)) ([6a7f593](https://github.com/noir-lang/noir/commit/6a7f593a04ee1caefd6a19a5cba1c0dbeee22ee1)) +* Error when a local function is called in a comptime context ([#5334](https://github.com/noir-lang/noir/issues/5334)) ([7cd4a4d](https://github.com/noir-lang/noir/commit/7cd4a4d1cde4446c8ace7439ce9f8d42ded70869)) +* Fix incorrect return type being applied to stdlib functions `modulus_be_bytes()`, `modulus_be_bits()`, etc. ([#5278](https://github.com/noir-lang/noir/issues/5278)) ([91a9b72](https://github.com/noir-lang/noir/commit/91a9b725cdb75c08cde888f49e7b8d11257e5de6)) +* Fix issue with unresolved results ([#5453](https://github.com/noir-lang/noir/issues/5453)) ([c4154cb](https://github.com/noir-lang/noir/commit/c4154cbb0e8e56d351d012eb284c34424821e25a)) +* Fix tokenization of unquoted types in macros ([#5326](https://github.com/noir-lang/noir/issues/5326)) ([6673c8b](https://github.com/noir-lang/noir/commit/6673c8b7068a3cd5d5914e1b0ecb9457a7e26bab)) +* Fix usage of `#[abi(tag)]` attribute with elaborator ([#5298](https://github.com/noir-lang/noir/issues/5298)) ([64dd48a](https://github.com/noir-lang/noir/commit/64dd48a19060ccce8758851ea7bcec1f287f1156)) +* Go to definition from `use` statement ([#5390](https://github.com/noir-lang/noir/issues/5390)) ([53bae3b](https://github.com/noir-lang/noir/commit/53bae3b99b2aec0b7d5c65d4f9f60e2eafdd2b1f)) +* Go to definition from aliased use ([#5396](https://github.com/noir-lang/noir/issues/5396)) ([90b135c](https://github.com/noir-lang/noir/commit/90b135c44bdf91603f2e2cdf0ab6f168087bab36)) +* Handle struct with nested arrays in oracle return values ([#5244](https://github.com/noir-lang/noir/issues/5244)) ([a30814f](https://github.com/noir-lang/noir/commit/a30814f1f767bf874cd7e2969f5061c68f16b9a7)) +* ICE when using a comptime let variable in runtime code ([#5391](https://github.com/noir-lang/noir/issues/5391)) ([9fb7e4d](https://github.com/noir-lang/noir/commit/9fb7e4d306041edc5158e2dffd71a19ccc578ac2)) +* Ignore calls to `Intrinsic::AsWitness` during brillig codegen ([#5350](https://github.com/noir-lang/noir/issues/5350)) ([9c11fd2](https://github.com/noir-lang/noir/commit/9c11fd264451a3d2b8617ee5e47e6db3fcb148d8)) +* Implement generic functions in the interpreter ([#5330](https://github.com/noir-lang/noir/issues/5330)) ([d8b9870](https://github.com/noir-lang/noir/commit/d8b9870a991b724ec337b58380b50464ba274d8a)) +* Included argshash computation in public call_interfaces and cleanup (https://github.com/AztecProtocol/aztec-packages/pull/7354) ([98e72ac](https://github.com/noir-lang/noir/commit/98e72acd72e9a01376cf69d20c539ba9dbe0942b)) +* Lsp find struct reference in return locations and paths ([#5404](https://github.com/noir-lang/noir/issues/5404)) ([e1bcb73](https://github.com/noir-lang/noir/commit/e1bcb73f8c2e2c6786faeb18b8ce070a2400635d)) +* Lsp hover wasn't always working ([#5515](https://github.com/noir-lang/noir/issues/5515)) ([951e821](https://github.com/noir-lang/noir/commit/951e821a585fe7e0697291cadd4d3c3aa49fd8e4)) +* Lsp struct rename/reference difference ([#5411](https://github.com/noir-lang/noir/issues/5411)) ([580c16d](https://github.com/noir-lang/noir/commit/580c16dd61b044c7ebfb31958822c23ea9b20ed2)) +* Move BigInt modulus checks to runtime in brillig ([#5374](https://github.com/noir-lang/noir/issues/5374)) ([741d339](https://github.com/noir-lang/noir/commit/741d33991f8e2918bf092c354ca56047e0274533)) +* Mutability in the comptime interpreter ([#5517](https://github.com/noir-lang/noir/issues/5517)) ([8cab4ac](https://github.com/noir-lang/noir/commit/8cab4ac0c0275fae691731b6d774e51b633f9478)) +* **nargo_fmt:** Account for spaces before the generic list of a function ([#5303](https://github.com/noir-lang/noir/issues/5303)) ([ec728dd](https://github.com/noir-lang/noir/commit/ec728dd909fce33ab712116f61d672b1ee552fc4)) +* Never panic in LSP inlay hints ([#5534](https://github.com/noir-lang/noir/issues/5534)) ([6b11445](https://github.com/noir-lang/noir/commit/6b11445d9913e2953a96d09f86826aa652a233c4)) +* Prevent `no_predicates` from removing predicates in calling function ([#5452](https://github.com/noir-lang/noir/issues/5452)) ([66244b6](https://github.com/noir-lang/noir/commit/66244b6e5b505f692c7e9a41bdc061c77fd1284d)) +* Remove compile-time error for invalid indices ([#5466](https://github.com/noir-lang/noir/issues/5466)) ([323e0c9](https://github.com/noir-lang/noir/commit/323e0c9d31cdec7d6bef76a418d1b663d9640143)) +* Remove panics in the interpreter when a builtin fails to type check ([#5382](https://github.com/noir-lang/noir/issues/5382)) ([c8161c8](https://github.com/noir-lang/noir/commit/c8161c81a3c6599a3b0380f4c80c730a41a75f22)) +* Replace expects in interpreter with errors ([#5383](https://github.com/noir-lang/noir/issues/5383)) ([ac738b2](https://github.com/noir-lang/noir/commit/ac738b21bc19181b021f909a8e60752dff5ac713)) +* Replace panic in monomorphization with an error ([#5305](https://github.com/noir-lang/noir/issues/5305)) ([49e1b0c](https://github.com/noir-lang/noir/commit/49e1b0c0d45565f3e87469b77f2fef0c283f6ea1)) +* Replace std::HashMap with FxHashMap to fix frontend indeterminism ([#5385](https://github.com/noir-lang/noir/issues/5385)) ([9501495](https://github.com/noir-lang/noir/commit/95014950a9685ee8fdae69457cfe45d6c509172a)) +* Revert PR [#5449](https://github.com/noir-lang/noir/issues/5449) ([#5548](https://github.com/noir-lang/noir/issues/5548)) ([a213c15](https://github.com/noir-lang/noir/commit/a213c15275892581e5d8f7235baf08a6cb137da4)) +* Run macro processors in the elaborator ([#5472](https://github.com/noir-lang/noir/issues/5472)) ([89642c2](https://github.com/noir-lang/noir/commit/89642c220791b2b91bd350960ed6a822103ccca7)) +* Runtime brillig bigint id assignment ([#5369](https://github.com/noir-lang/noir/issues/5369)) ([a8928dd](https://github.com/noir-lang/noir/commit/a8928ddcffcae15babf7aa5aff0e462e4549552e)) +* Skip emission of brillig calls which will never be executed ([#5314](https://github.com/noir-lang/noir/issues/5314)) ([b859ef9](https://github.com/noir-lang/noir/commit/b859ef90af9944a83f197c26408a55988b143e0e)) +* Truncate flamegraph text to the right (https://github.com/AztecProtocol/aztec-packages/pull/7333) ([3f71169](https://github.com/noir-lang/noir/commit/3f71169ef4ef8ea8a3dcf355bf360195bfa6772c)) +* Update `in_contract` flag before handling function metadata in elaborator ([#5292](https://github.com/noir-lang/noir/issues/5292)) ([4c4ea2d](https://github.com/noir-lang/noir/commit/4c4ea2df0163d4989c922c6a1377e04c2cd0540c)) +* Use proper serialization in `AbiValue` ([#5270](https://github.com/noir-lang/noir/issues/5270)) ([d08b7b9](https://github.com/noir-lang/noir/commit/d08b7b93a981f2e01a3d9754b194c5565ad3a7c2)) + ## [0.31.0](https://github.com/noir-lang/noir/compare/v0.30.0...v0.31.0) (2024-06-17) diff --git a/Cargo.toml b/Cargo.toml index 8cd5defa121..718cae636d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ resolver = "2" [workspace.package] # x-release-please-start-version -version = "0.31.0" +version = "0.32.0" # x-release-please-end authors = ["The Noir Team "] edition = "2021" diff --git a/acvm-repo/CHANGELOG.md b/acvm-repo/CHANGELOG.md index 4db36aadec9..971f8ae0448 100644 --- a/acvm-repo/CHANGELOG.md +++ b/acvm-repo/CHANGELOG.md @@ -5,6 +5,139 @@ 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.48.0](https://github.com/noir-lang/noir/compare/v0.47.0...v0.48.0) (2024-07-18) + + +### ⚠ BREAKING CHANGES + +* constant inputs for blackbox (https://github.com/AztecProtocol/aztec-packages/pull/7222) +* add session id to foreign call RPC requests ([#5205](https://github.com/noir-lang/noir/issues/5205)) +* restrict noir word size to u32 ([#5180](https://github.com/noir-lang/noir/issues/5180)) +* switch `bb` over to read ACIR from nargo artifacts (https://github.com/AztecProtocol/aztec-packages/pull/6283) +* specify databus arrays for BB (https://github.com/AztecProtocol/aztec-packages/pull/6239) +* remove `Opcode::Brillig` from ACIR (https://github.com/AztecProtocol/aztec-packages/pull/5995) +* AES blackbox (https://github.com/AztecProtocol/aztec-packages/pull/6016) +* Bit shift is restricted to u8 right operand ([#4907](https://github.com/noir-lang/noir/issues/4907)) +* contract interfaces and better function calls (https://github.com/AztecProtocol/aztec-packages/pull/5687) +* change backend width to 4 (https://github.com/AztecProtocol/aztec-packages/pull/5374) +* Use fixed size arrays in black box functions where sizes are known (https://github.com/AztecProtocol/aztec-packages/pull/5620) +* trap with revert data (https://github.com/AztecProtocol/aztec-packages/pull/5732) +* **acir:** BrilligCall opcode (https://github.com/AztecProtocol/aztec-packages/pull/5709) +* remove fixed-length keccak256 (https://github.com/AztecProtocol/aztec-packages/pull/5617) +* storage_layout and `#[aztec(storage)]` (https://github.com/AztecProtocol/aztec-packages/pull/5387) +* **acir:** Add predicate to call opcode (https://github.com/AztecProtocol/aztec-packages/pull/5616) +* contract_abi-exports (https://github.com/AztecProtocol/aztec-packages/pull/5386) +* Brillig typed memory (https://github.com/AztecProtocol/aztec-packages/pull/5395) +* **acir:** Program and witness stack structure (https://github.com/AztecProtocol/aztec-packages/pull/5149) +* automatic NoteInterface and NoteGetterOptions auto select (https://github.com/AztecProtocol/aztec-packages/pull/4508) +* Acir call opcode (https://github.com/AztecProtocol/aztec-packages/pull/4773) +* Support contracts with no constructor (https://github.com/AztecProtocol/aztec-packages/pull/5175) +* Internal as a macro (https://github.com/AztecProtocol/aztec-packages/pull/4898) + +### Features + +* `multi_scalar_mul` blackbox func (https://github.com/AztecProtocol/aztec-packages/pull/6097) ([73a635e](https://github.com/noir-lang/noir/commit/73a635e5086cf3407f9846ce39807cd15b4e485a)) +* `variable_base_scalar_mul` blackbox func (https://github.com/AztecProtocol/aztec-packages/pull/6039) ([73a635e](https://github.com/noir-lang/noir/commit/73a635e5086cf3407f9846ce39807cd15b4e485a)) +* Acir call opcode (https://github.com/AztecProtocol/aztec-packages/pull/4773) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* **acir_gen:** Brillig stdlib ([#4848](https://github.com/noir-lang/noir/issues/4848)) ([0c8175c](https://github.com/noir-lang/noir/commit/0c8175cb539efd9427c73ae5af0d48abe688ebab)) +* **acir_gen:** Fold attribute at compile-time and initial non inlined ACIR (https://github.com/AztecProtocol/aztec-packages/pull/5341) ([a0f7474](https://github.com/noir-lang/noir/commit/a0f7474ae6bd74132efdb945d2eb2383f3913cce)) +* **acir:** Add predicate to call opcode (https://github.com/AztecProtocol/aztec-packages/pull/5616) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* **acir:** BrilligCall opcode (https://github.com/AztecProtocol/aztec-packages/pull/5709) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* **acir:** Program and witness stack structure (https://github.com/AztecProtocol/aztec-packages/pull/5149) ([13eb71b](https://github.com/noir-lang/noir/commit/13eb71b8de44eb6aad9c37943ad06fc73db589f5)) +* Activate return_data in ACIR opcodes ([#5080](https://github.com/noir-lang/noir/issues/5080)) ([c9fda3c](https://github.com/noir-lang/noir/commit/c9fda3c7fd4575bfe7d457e8d4230e071f0129a0)) +* **acvm_js:** Execute program ([#4694](https://github.com/noir-lang/noir/issues/4694)) ([386f6d0](https://github.com/noir-lang/noir/commit/386f6d0a5822912db878285cb001032a7c0ff622)) +* **acvm:** Execute multiple circuits (https://github.com/AztecProtocol/aztec-packages/pull/5380) ([a0f7474](https://github.com/noir-lang/noir/commit/a0f7474ae6bd74132efdb945d2eb2383f3913cce)) +* Add CMOV instruction to brillig and brillig gen (https://github.com/AztecProtocol/aztec-packages/pull/5308) ([13eb71b](https://github.com/noir-lang/noir/commit/13eb71b8de44eb6aad9c37943ad06fc73db589f5)) +* Add native rust implementation of schnorr signature verification ([#5053](https://github.com/noir-lang/noir/issues/5053)) ([fab1c35](https://github.com/noir-lang/noir/commit/fab1c3567d731ea7902635a7a020a8d14f94fd27)) +* Add native rust implementations of pedersen functions ([#4871](https://github.com/noir-lang/noir/issues/4871)) ([fb039f7](https://github.com/noir-lang/noir/commit/fb039f74df23aea39bc0593a5d538d82b4efadf0)) +* Add return values to aztec fns (https://github.com/AztecProtocol/aztec-packages/pull/5389) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* Add session id to foreign call RPC requests ([#5205](https://github.com/noir-lang/noir/issues/5205)) ([14adafc](https://github.com/noir-lang/noir/commit/14adafc965fa9c833e096ec037e086aae67703ad)) +* AES blackbox (https://github.com/AztecProtocol/aztec-packages/pull/6016) ([73a635e](https://github.com/noir-lang/noir/commit/73a635e5086cf3407f9846ce39807cd15b4e485a)) +* Automatic NoteInterface and NoteGetterOptions auto select (https://github.com/AztecProtocol/aztec-packages/pull/4508) ([13eb71b](https://github.com/noir-lang/noir/commit/13eb71b8de44eb6aad9c37943ad06fc73db589f5)) +* **avm:** Brillig CONST of size > u128 (https://github.com/AztecProtocol/aztec-packages/pull/5217) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* **avm:** Integrate AVM with initializers (https://github.com/AztecProtocol/aztec-packages/pull/5469) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* Bit shift is restricted to u8 right operand ([#4907](https://github.com/noir-lang/noir/issues/4907)) ([c4b0369](https://github.com/noir-lang/noir/commit/c4b03691feca17ef268acab523292f3051f672ea)) +* Brillig heterogeneous memory cells (https://github.com/AztecProtocol/aztec-packages/pull/5608) ([305bcdc](https://github.com/noir-lang/noir/commit/305bcdcbd01cb84dbaac900f14cb6cf867f83bda)) +* Brillig IR refactor (https://github.com/AztecProtocol/aztec-packages/pull/5233) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* Brillig pointer codegen and execution (https://github.com/AztecProtocol/aztec-packages/pull/5737) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Brillig typed memory (https://github.com/AztecProtocol/aztec-packages/pull/5395) ([0bc18c4](https://github.com/noir-lang/noir/commit/0bc18c4f78171590dd58bded959f68f53a44cc8c)) +* Change backend width to 4 (https://github.com/AztecProtocol/aztec-packages/pull/5374) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Check initializer msg.sender matches deployer from address preimage (https://github.com/AztecProtocol/aztec-packages/pull/5222) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* Constant inputs for blackbox (https://github.com/AztecProtocol/aztec-packages/pull/7222) ([fb97bb9](https://github.com/noir-lang/noir/commit/fb97bb9b795c9d7af395b82fd6f0ea8111d59c11)) +* Contract interfaces and better function calls (https://github.com/AztecProtocol/aztec-packages/pull/5687) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Contract_abi-exports (https://github.com/AztecProtocol/aztec-packages/pull/5386) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* Dynamic assertion payloads v2 (https://github.com/AztecProtocol/aztec-packages/pull/5949) ([73a635e](https://github.com/noir-lang/noir/commit/73a635e5086cf3407f9846ce39807cd15b4e485a)) +* Handle `BrilligCall` opcodes in the debugger ([#4897](https://github.com/noir-lang/noir/issues/4897)) ([b380dc4](https://github.com/noir-lang/noir/commit/b380dc44de5c9f8de278ece3d531ebbc2c9238ba)) +* Impl of missing functionality in new key store (https://github.com/AztecProtocol/aztec-packages/pull/5750) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Increase default expression width to 4 ([#4995](https://github.com/noir-lang/noir/issues/4995)) ([f01d309](https://github.com/noir-lang/noir/commit/f01d3090759a5ff0f1f83c5616d22890c6bd76be)) +* Initial Earthly CI (https://github.com/AztecProtocol/aztec-packages/pull/5069) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* Internal as a macro (https://github.com/AztecProtocol/aztec-packages/pull/4898) ([5f57ebb](https://github.com/noir-lang/noir/commit/5f57ebb7ff4b810802f90699a10f4325ef904f2e)) +* Make ACVM generic across fields ([#5114](https://github.com/noir-lang/noir/issues/5114)) ([70f374c](https://github.com/noir-lang/noir/commit/70f374c06642962d8f2b95b80f8c938fcf7761d7)) +* Move abi demonomorphizer to noir_codegen and use noir_codegen in protocol types (https://github.com/AztecProtocol/aztec-packages/pull/6302) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Move to_radix to a blackbox (https://github.com/AztecProtocol/aztec-packages/pull/6294) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* **nargo:** Handle call stacks for multiple Acir calls ([#4711](https://github.com/noir-lang/noir/issues/4711)) ([5b23171](https://github.com/noir-lang/noir/commit/5b231714740447d82cde7cdbe65d4a8b46a31df4)) +* **nargo:** Hidden option to show contract artifact paths written by `nargo compile` (https://github.com/AztecProtocol/aztec-packages/pull/6131) ([ff67e14](https://github.com/noir-lang/noir/commit/ff67e145d086bf6fdf58fb5e57927033e52e03d3)) +* New brillig field operations and refactor of binary operations (https://github.com/AztecProtocol/aztec-packages/pull/5208) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* Parsing non-string assertion payloads in noir js (https://github.com/AztecProtocol/aztec-packages/pull/6079) ([73a635e](https://github.com/noir-lang/noir/commit/73a635e5086cf3407f9846ce39807cd15b4e485a)) +* Private Kernel Recursion (https://github.com/AztecProtocol/aztec-packages/pull/6278) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Proper padding in ts AES and constrained AES in body and header computations (https://github.com/AztecProtocol/aztec-packages/pull/6269) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Remove conditional compilation of `bn254_blackbox_solver` ([#5058](https://github.com/noir-lang/noir/issues/5058)) ([9420d7c](https://github.com/noir-lang/noir/commit/9420d7c2ba6bbbf5ecb9a066837c505310955b6c)) +* Remove external blackbox solver from acir simulator (https://github.com/AztecProtocol/aztec-packages/pull/6586) ([a40a9a5](https://github.com/noir-lang/noir/commit/a40a9a55571deed386688fb84260bdf2794d4d38)) +* Restore hashing args via slice for performance (https://github.com/AztecProtocol/aztec-packages/pull/5539) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* Restrict noir word size to u32 ([#5180](https://github.com/noir-lang/noir/issues/5180)) ([bdb2bc6](https://github.com/noir-lang/noir/commit/bdb2bc608ea8fd52d46545a38b68dd2558b28110)) +* Separate runtimes of SSA functions before inlining ([#5121](https://github.com/noir-lang/noir/issues/5121)) ([69eca9b](https://github.com/noir-lang/noir/commit/69eca9b8671fa54192bef814dd584fdb5387a5f7)) +* Set aztec private functions to be recursive (https://github.com/AztecProtocol/aztec-packages/pull/6192) ([73a635e](https://github.com/noir-lang/noir/commit/73a635e5086cf3407f9846ce39807cd15b4e485a)) +* Signed integer division and modulus in brillig gen (https://github.com/AztecProtocol/aztec-packages/pull/5279) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* **simulator:** Fetch return values at circuit execution (https://github.com/AztecProtocol/aztec-packages/pull/5642) ([305bcdc](https://github.com/noir-lang/noir/commit/305bcdcbd01cb84dbaac900f14cb6cf867f83bda)) +* Specify databus arrays for BB (https://github.com/AztecProtocol/aztec-packages/pull/6239) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Storage_layout and `#[aztec(storage)]` (https://github.com/AztecProtocol/aztec-packages/pull/5387) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* Support contracts with no constructor (https://github.com/AztecProtocol/aztec-packages/pull/5175) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* Switch `bb` over to read ACIR from nargo artifacts (https://github.com/AztecProtocol/aztec-packages/pull/6283) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Sync from aztec-packages ([#4483](https://github.com/noir-lang/noir/issues/4483)) ([fe8f277](https://github.com/noir-lang/noir/commit/fe8f2776ccfde29209a2c3fc162311c99e4f59be)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5234) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5286) ([c3c9e19](https://github.com/noir-lang/noir/commit/c3c9e19a20d61272a04b95fd6c7d34cc4cb96e45)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5572) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5619) ([2bd006a](https://github.com/noir-lang/noir/commit/2bd006ae07499e8702b0fa9565855f0a5ef1a589)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5697) ([305bcdc](https://github.com/noir-lang/noir/commit/305bcdcbd01cb84dbaac900f14cb6cf867f83bda)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5794) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5814) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5935) ([1b867b1](https://github.com/noir-lang/noir/commit/1b867b121fba5db3087ca845b4934e6732b23fd1)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5955) ([1b867b1](https://github.com/noir-lang/noir/commit/1b867b121fba5db3087ca845b4934e6732b23fd1)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5999) ([1b867b1](https://github.com/noir-lang/noir/commit/1b867b121fba5db3087ca845b4934e6732b23fd1)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/6280) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/6332) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/6573) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7392) ([fb97bb9](https://github.com/noir-lang/noir/commit/fb97bb9b795c9d7af395b82fd6f0ea8111d59c11)) +* Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/7400) ([fb97bb9](https://github.com/noir-lang/noir/commit/fb97bb9b795c9d7af395b82fd6f0ea8111d59c11)) +* ToRadix BB + avm transpiler support (https://github.com/AztecProtocol/aztec-packages/pull/6330) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Trap with revert data (https://github.com/AztecProtocol/aztec-packages/pull/5732) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Use fixed size arrays in black box functions where sizes are known (https://github.com/AztecProtocol/aztec-packages/pull/5620) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Variable length returns (https://github.com/AztecProtocol/aztec-packages/pull/5633) ([305bcdc](https://github.com/noir-lang/noir/commit/305bcdcbd01cb84dbaac900f14cb6cf867f83bda)) + + +### Bug Fixes + +* **acvm:** Mark outputs of Opcode::Call solvable ([#4708](https://github.com/noir-lang/noir/issues/4708)) ([8fea405](https://github.com/noir-lang/noir/commit/8fea40576f262bd5bb588923c0660d8967404e56)) +* Add support for nested arrays returned by oracles ([#5132](https://github.com/noir-lang/noir/issues/5132)) ([f846879](https://github.com/noir-lang/noir/commit/f846879dd038328bd0a1d39a72b448ef52a1002b)) +* Avoid huge unrolling in hash_args (https://github.com/AztecProtocol/aztec-packages/pull/5703) ([305bcdc](https://github.com/noir-lang/noir/commit/305bcdcbd01cb84dbaac900f14cb6cf867f83bda)) +* Avoid unnecessarily splitting expressions with multiplication terms with a shared term ([#5291](https://github.com/noir-lang/noir/issues/5291)) ([19884f1](https://github.com/noir-lang/noir/commit/19884f161dfc7d7ce75dd2c404b8ef39cdad2240)) +* Catch panics from EC point creation (e.g. the point is at infinity) ([#4790](https://github.com/noir-lang/noir/issues/4790)) ([645dba1](https://github.com/noir-lang/noir/commit/645dba192f16ef34018828186ffb297422a8dc73)) +* Check for public args in aztec functions (https://github.com/AztecProtocol/aztec-packages/pull/6355) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) +* Don't reuse brillig with slice arguments (https://github.com/AztecProtocol/aztec-packages/pull/5800) ([0f9ae0a](https://github.com/noir-lang/noir/commit/0f9ae0ac1d68714b56ba4524aedcc67212494f1b)) +* Handle struct with nested arrays in oracle return values ([#5244](https://github.com/noir-lang/noir/issues/5244)) ([a30814f](https://github.com/noir-lang/noir/commit/a30814f1f767bf874cd7e2969f5061c68f16b9a7)) +* Issue 4682 and add solver for unconstrained bigintegers ([#4729](https://github.com/noir-lang/noir/issues/4729)) ([e4d33c1](https://github.com/noir-lang/noir/commit/e4d33c126a2795d9aaa6048d4e91b64cb4bbe4f2)) +* Move BigInt modulus checks to runtime in brillig ([#5374](https://github.com/noir-lang/noir/issues/5374)) ([741d339](https://github.com/noir-lang/noir/commit/741d33991f8e2918bf092c354ca56047e0274533)) +* Noir test incorrect reporting (https://github.com/AztecProtocol/aztec-packages/pull/4925) ([5f57ebb](https://github.com/noir-lang/noir/commit/5f57ebb7ff4b810802f90699a10f4325ef904f2e)) +* Proper field inversion for bigints ([#4802](https://github.com/noir-lang/noir/issues/4802)) ([b46d0e3](https://github.com/noir-lang/noir/commit/b46d0e39f4252f8bbaa987f88d112e4c233b3d61)) +* Runtime brillig bigint id assignment ([#5369](https://github.com/noir-lang/noir/issues/5369)) ([a8928dd](https://github.com/noir-lang/noir/commit/a8928ddcffcae15babf7aa5aff0e462e4549552e)) +* Temporarily revert to_radix blackbox (https://github.com/AztecProtocol/aztec-packages/pull/6304) ([436bbda](https://github.com/noir-lang/noir/commit/436bbdaadb2a294b94f93e53d7d3cad3859c7e46)) + + +### Miscellaneous Chores + +* Remove `Opcode::Brillig` from ACIR (https://github.com/AztecProtocol/aztec-packages/pull/5995) ([73a635e](https://github.com/noir-lang/noir/commit/73a635e5086cf3407f9846ce39807cd15b4e485a)) +* Remove fixed-length keccak256 (https://github.com/AztecProtocol/aztec-packages/pull/5617) ([305bcdc](https://github.com/noir-lang/noir/commit/305bcdcbd01cb84dbaac900f14cb6cf867f83bda)) + ## [0.47.0](https://github.com/noir-lang/noir/compare/v0.46.0...v0.47.0) (2024-06-17) diff --git a/acvm-repo/acir/Cargo.toml b/acvm-repo/acir/Cargo.toml index 7a8f10c98ef..68c28dccc66 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.47.0" +version = "0.48.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 303d7b6471f..3696423979b 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.47.0" +version = "0.48.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 892575902a4..5b6397a1011 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.47.0" +version = "0.48.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 e457b6391ab..10ab2f62fdd 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.47.0" +version = "0.48.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 6085bc0563e..fe192471744 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.47.0", + "version": "0.48.0", "publishConfig": { "access": "public" }, diff --git a/acvm-repo/blackbox_solver/Cargo.toml b/acvm-repo/blackbox_solver/Cargo.toml index 06bd3ceabef..c390c811788 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.47.0" +version = "0.48.0" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/acvm-repo/bn254_blackbox_solver/Cargo.toml b/acvm-repo/bn254_blackbox_solver/Cargo.toml index cc2d15aaa86..6129adada75 100644 --- a/acvm-repo/bn254_blackbox_solver/Cargo.toml +++ b/acvm-repo/bn254_blackbox_solver/Cargo.toml @@ -2,7 +2,7 @@ name = "bn254_blackbox_solver" description = "Solvers for black box functions which are specific for the bn254 curve" # x-release-please-start-version -version = "0.47.0" +version = "0.48.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 7c1965c8f3e..7c962964303 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.47.0" +version = "0.48.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 d048d625083..68ac094bac8 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.47.0" +version = "0.48.0" # x-release-please-end authors.workspace = true edition.workspace = true diff --git a/compiler/wasm/package.json b/compiler/wasm/package.json index 49956d79882..f9606003c7a 100644 --- a/compiler/wasm/package.json +++ b/compiler/wasm/package.json @@ -3,7 +3,7 @@ "contributors": [ "The Noir Team " ], - "version": "0.31.0", + "version": "0.32.0", "license": "(MIT OR Apache-2.0)", "main": "dist/main.js", "types": "./dist/types/src/index.d.cts", diff --git a/tooling/noir_codegen/package.json b/tooling/noir_codegen/package.json index eb9694a3b0c..fab6b8466d9 100644 --- a/tooling/noir_codegen/package.json +++ b/tooling/noir_codegen/package.json @@ -3,7 +3,7 @@ "contributors": [ "The Noir Team " ], - "version": "0.31.0", + "version": "0.32.0", "packageManager": "yarn@3.5.1", "license": "(MIT OR Apache-2.0)", "type": "module", diff --git a/tooling/noir_js/package.json b/tooling/noir_js/package.json index 3bb2ab5826f..a1b2e175688 100644 --- a/tooling/noir_js/package.json +++ b/tooling/noir_js/package.json @@ -3,7 +3,7 @@ "contributors": [ "The Noir Team " ], - "version": "0.31.0", + "version": "0.32.0", "packageManager": "yarn@3.5.1", "license": "(MIT OR Apache-2.0)", "type": "module", diff --git a/tooling/noir_js_backend_barretenberg/package.json b/tooling/noir_js_backend_barretenberg/package.json index 12793d70545..06c40d59a6a 100644 --- a/tooling/noir_js_backend_barretenberg/package.json +++ b/tooling/noir_js_backend_barretenberg/package.json @@ -3,7 +3,7 @@ "contributors": [ "The Noir Team " ], - "version": "0.31.0", + "version": "0.32.0", "packageManager": "yarn@3.5.1", "license": "(MIT OR Apache-2.0)", "type": "module", diff --git a/tooling/noir_js_types/package.json b/tooling/noir_js_types/package.json index 0de1a1fd4be..8548486d58c 100644 --- a/tooling/noir_js_types/package.json +++ b/tooling/noir_js_types/package.json @@ -4,7 +4,7 @@ "The Noir Team " ], "packageManager": "yarn@3.5.1", - "version": "0.31.0", + "version": "0.32.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://noir-lang.org/", "repository": { diff --git a/tooling/noirc_abi_wasm/package.json b/tooling/noirc_abi_wasm/package.json index b33bb159fcd..05588da37a4 100644 --- a/tooling/noirc_abi_wasm/package.json +++ b/tooling/noirc_abi_wasm/package.json @@ -3,7 +3,7 @@ "contributors": [ "The Noir Team " ], - "version": "0.31.0", + "version": "0.32.0", "license": "(MIT OR Apache-2.0)", "homepage": "https://noir-lang.org/", "repository": {