diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 494b3eaf7d8..dd3cffc8169 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,7 +1,7 @@ { - ".": "0.44.0", + ".": "0.45.0", "yarn-project/cli": "0.35.1", - "yarn-project/aztec": "0.44.0", - "barretenberg": "0.44.0", - "barretenberg/ts": "0.44.0" + "yarn-project/aztec": "0.45.0", + "barretenberg": "0.45.0", + "barretenberg/ts": "0.45.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b8a47f59285..62393bd37a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,164 @@ # Changelog +## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/aztec-packages-v0.44.0...aztec-packages-v0.45.0) (2024-07-02) + + +### ⚠ BREAKING CHANGES + +* error on too large integer value (https://github.com/noir-lang/noir/pull/5371) +* rename struct-specific TypeDefinition -> StructDefinition (https://github.com/noir-lang/noir/pull/5356) +* extend storage read oracle to receive address and block number ([#7243](https://github.com/AztecProtocol/aztec-packages/issues/7243)) +* split storage access oracles ([#7237](https://github.com/AztecProtocol/aztec-packages/issues/7237)) +* remove `dep::` prefix (https://github.com/noir-lang/noir/pull/4946) + +### Features + +* `mod.nr` entrypoint (https://github.com/noir-lang/noir/pull/5039) ([bb5cbab](https://github.com/AztecProtocol/aztec-packages/commit/bb5cbab945cfd61f6a0da79f8874a0fcdc59361a)) +* `static_assert` builtin (https://github.com/noir-lang/noir/pull/5342) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* Add `map`, `fold`, `reduce`, `any`, and `all` for slices (https://github.com/noir-lang/noir/pull/5331) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Add `set` and `set_unchecked` methods to `Vec` and `BoundedVec` (https://github.com/noir-lang/noir/pull/5241) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Add BoundedVec::map (https://github.com/noir-lang/noir/pull/5250) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Add fuzzer for Noir programs (https://github.com/noir-lang/noir/pull/5251) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Add new lenses for encryted notes ([#7238](https://github.com/AztecProtocol/aztec-packages/issues/7238)) ([c07cf2c](https://github.com/AztecProtocol/aztec-packages/commit/c07cf2cf2b004dba46a3138a1f64f207b6ee537f)) +* Add outgoing keys support to getEvents ([#7239](https://github.com/AztecProtocol/aztec-packages/issues/7239)) ([77c304e](https://github.com/AztecProtocol/aztec-packages/commit/77c304ee70de3cf47f68b45c35c776a31d61af46)) +* Add support for wildcard types (https://github.com/noir-lang/noir/pull/5275) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* **avm:** Calldata gadget preliminaries ([#7227](https://github.com/AztecProtocol/aztec-packages/issues/7227)) ([79e8588](https://github.com/AztecProtocol/aztec-packages/commit/79e85883c90465cf2ff6e1a2d7af0e5d4d3e111c)) +* Build simple dictionary from inspecting ACIR program (https://github.com/noir-lang/noir/pull/5264) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Constant Honk proof sizes ([#6954](https://github.com/AztecProtocol/aztec-packages/issues/6954)) ([17c8d3a](https://github.com/AztecProtocol/aztec-packages/commit/17c8d3a00f3a2e500d5caa1fb438504bcd357e8a)) +* Disable nargo color output if stderr is tty (https://github.com/noir-lang/noir/pull/5346) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* **docs:** Macros explainer ([#7172](https://github.com/AztecProtocol/aztec-packages/issues/7172)) ([bb2ebfc](https://github.com/AztecProtocol/aztec-packages/commit/bb2ebfce8edae9e851c7c8fb9eb1d50673f4bec6)) +* Error on too large integer value (https://github.com/noir-lang/noir/pull/5371) ([bb5cbab](https://github.com/AztecProtocol/aztec-packages/commit/bb5cbab945cfd61f6a0da79f8874a0fcdc59361a)) +* Example of private token transfer event ([#7242](https://github.com/AztecProtocol/aztec-packages/issues/7242)) ([99ce26f](https://github.com/AztecProtocol/aztec-packages/commit/99ce26f568b5210ac800889b28d396aa9c9d7e3e)) +* **experimental:** Implement macro calls & splicing into `Expr` values (https://github.com/noir-lang/noir/pull/5203) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Extend storage read oracle to receive address and block number ([#7243](https://github.com/AztecProtocol/aztec-packages/issues/7243)) ([153b201](https://github.com/AztecProtocol/aztec-packages/commit/153b2010c5d79f308779370d240dfaa2a086ca3c)) +* **frontend:** Explicit numeric generics and type kinds (https://github.com/noir-lang/noir/pull/5155) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* **frontend:** Where clause on impl (https://github.com/noir-lang/noir/pull/5320) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Function selector opcode in AVM ([#7244](https://github.com/AztecProtocol/aztec-packages/issues/7244)) ([dde47e9](https://github.com/AztecProtocol/aztec-packages/commit/dde47e927ebe5606a272a35dd8c4f4876369b244)) +* Implement comptime support for `array_len` builtin (https://github.com/noir-lang/noir/pull/5272) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Implement comptime support for `as_slice` builtin (https://github.com/noir-lang/noir/pull/5276) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Insert trait impls into the program from type annotations (https://github.com/noir-lang/noir/pull/5327) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Let `should_fail_with` check that the failure reason contains the expected message (https://github.com/noir-lang/noir/pull/5319) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Make macros operate on token streams instead of AST nodes (https://github.com/noir-lang/noir/pull/5301) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Private refunds ([#7226](https://github.com/AztecProtocol/aztec-packages/issues/7226)) ([6fafff6](https://github.com/AztecProtocol/aztec-packages/commit/6fafff6e0ccda9d1e07beb5a5e8638f75b0345c2)) +* Remove `dep::` prefix (https://github.com/noir-lang/noir/pull/4946) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Remove event selector in logs from public context ([#7192](https://github.com/AztecProtocol/aztec-packages/issues/7192)) ([646d45a](https://github.com/AztecProtocol/aztec-packages/commit/646d45a0cb92634909fb38d0478181c8d1d814af)) +* Rename struct-specific TypeDefinition -> StructDefinition (https://github.com/noir-lang/noir/pull/5356) ([bb5cbab](https://github.com/AztecProtocol/aztec-packages/commit/bb5cbab945cfd61f6a0da79f8874a0fcdc59361a)) +* Run `comptime` code from annotations on a type definition (https://github.com/noir-lang/noir/pull/5256) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Split storage access oracles ([#7237](https://github.com/AztecProtocol/aztec-packages/issues/7237)) ([51f7d65](https://github.com/AztecProtocol/aztec-packages/commit/51f7d65d69eede9508f44224db554d5185298509)) +* **stdlib:** Update stdlib to use explicit numeric generics (https://github.com/noir-lang/noir/pull/5306) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Store shared mutable hash ([#7169](https://github.com/AztecProtocol/aztec-packages/issues/7169)) ([868606e](https://github.com/AztecProtocol/aztec-packages/commit/868606e6c2c7b71043eabec7cc7b1eb8240fe4b3)) +* Sync from aztec-packages (https://github.com/noir-lang/noir/pull/5242) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Sync from aztec-packages (https://github.com/noir-lang/noir/pull/5340) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Sync from aztec-packages (https://github.com/noir-lang/noir/pull/5347) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* Sync from aztec-packages (https://github.com/noir-lang/noir/pull/5377) ([bb5cbab](https://github.com/AztecProtocol/aztec-packages/commit/bb5cbab945cfd61f6a0da79f8874a0fcdc59361a)) +* TXE fixes to avm opcodes and missing oracles, forced ci failure ([#7252](https://github.com/AztecProtocol/aztec-packages/issues/7252)) ([de303e2](https://github.com/AztecProtocol/aztec-packages/commit/de303e22e1a1a1115da444cabbe6155833b207b4)) +* Unconstrained variants for event emission ([#7251](https://github.com/AztecProtocol/aztec-packages/issues/7251)) ([6d093e3](https://github.com/AztecProtocol/aztec-packages/commit/6d093e3cb3ed2b81eebf2a7d923f7487b95749cd)) +* Unify unencrypted log emission and decoding ([#7232](https://github.com/AztecProtocol/aztec-packages/issues/7232)) ([354dba2](https://github.com/AztecProtocol/aztec-packages/commit/354dba2ae23a33419360e0983e325ce76939872d)) +* Update rebuild script ([#7225](https://github.com/AztecProtocol/aztec-packages/issues/7225)) ([af59247](https://github.com/AztecProtocol/aztec-packages/commit/af592474c1d57c9d7886763d04afeb793f98efe3)) +* Use runtime loops for brillig array initialization (https://github.com/noir-lang/noir/pull/5243) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Wonky rollups ([#7189](https://github.com/AztecProtocol/aztec-packages/issues/7189)) ([1de3746](https://github.com/AztecProtocol/aztec-packages/commit/1de3746bb691e2e26e9f5c7a90b4437d4433cd48)) + + +### Bug Fixes + +* Add more thorough check for whether a type is valid when passing it from constrained code to unconstrained code (https://github.com/noir-lang/noir/pull/5009) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Add support for nested arrays returned by oracles (https://github.com/noir-lang/noir/pull/5132) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Address compiler warnings coming from stdlib (https://github.com/noir-lang/noir/pull/5351) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* Avoid duplicating constant arrays (https://github.com/noir-lang/noir/pull/5287) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Avoid panic in type system (https://github.com/noir-lang/noir/pull/5332) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Avoid unnecessarily splitting expressions with multiplication terms with a shared term (https://github.com/noir-lang/noir/pull/5291) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Benchmark prover e2e test with proving ([#7175](https://github.com/AztecProtocol/aztec-packages/issues/7175)) ([431c14c](https://github.com/AztecProtocol/aztec-packages/commit/431c14ccca8bcbdeba51061cad6f6e01f054dd86)) +* Devnet deployment issues ([#7197](https://github.com/AztecProtocol/aztec-packages/issues/7197)) ([9cf4904](https://github.com/AztecProtocol/aztec-packages/commit/9cf49048eefd1f02d22c6b4a8db100b863f39f84)) +* Disable `if` optimization (https://github.com/noir-lang/noir/pull/5240) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* **docs:** Check for already deployed account contracts in token bridge tutorial ([#7234](https://github.com/AztecProtocol/aztec-packages/issues/7234)) ([d9efaf7](https://github.com/AztecProtocol/aztec-packages/commit/d9efaf792b921bdabcfc24bea150130c59b3644c)) +* **docs:** Historical reference library updates ([#7166](https://github.com/AztecProtocol/aztec-packages/issues/7166)) ([b3409c4](https://github.com/AztecProtocol/aztec-packages/commit/b3409c48b5d116698a67b4ceb52bd2fb4ee3c8ad)) +* Don't benchmark the "prove" command as it doesn't exist anymore (https://github.com/noir-lang/noir/pull/5323) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Don't lazily elaborate functions (https://github.com/noir-lang/noir/pull/5282) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* **elaborator:** Fix duplicate methods error (https://github.com/noir-lang/noir/pull/5225) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* **elaborator:** Fix regression introduced by lazy-global changes (https://github.com/noir-lang/noir/pull/5223) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Error when a local function is called in a comptime context (https://github.com/noir-lang/noir/pull/5334) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Fix authwit package ([#7204](https://github.com/AztecProtocol/aztec-packages/issues/7204)) ([98ccd41](https://github.com/AztecProtocol/aztec-packages/commit/98ccd4152ae8ed3e187f4bd8e18927d70627ff04)) +* Fix incorrect return type being applied to stdlib functions `modulus_be_bytes()`, `modulus_be_bits()`, etc. (https://github.com/noir-lang/noir/pull/5278) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Fix tokenization of unquoted types in macros (https://github.com/noir-lang/noir/pull/5326) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Fix usage of `#[abi(tag)]` attribute with elaborator (https://github.com/noir-lang/noir/pull/5298) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Handle struct with nested arrays in oracle return values (https://github.com/noir-lang/noir/pull/5244) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Ignore calls to `Intrinsic::AsWitness` during brillig codegen (https://github.com/noir-lang/noir/pull/5350) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* Implement generic functions in the interpreter (https://github.com/noir-lang/noir/pull/5330) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* **nargo_fmt:** Account for spaces before the generic list of a function (https://github.com/noir-lang/noir/pull/5303) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Replace panic in monomorphization with an error (https://github.com/noir-lang/noir/pull/5305) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Reran pil->cpp codegen & encode_and_encrypt_event_with_randomness fix ([#7247](https://github.com/AztecProtocol/aztec-packages/issues/7247)) ([fa15a45](https://github.com/AztecProtocol/aztec-packages/commit/fa15a450408181ffc50946ee56c4ae0fd8c5a61f)) +* Runtime brillig bigint id assignment (https://github.com/noir-lang/noir/pull/5369) ([bb5cbab](https://github.com/AztecProtocol/aztec-packages/commit/bb5cbab945cfd61f6a0da79f8874a0fcdc59361a)) +* Skip emission of brillig calls which will never be executed (https://github.com/noir-lang/noir/pull/5314) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* TS LSP being slow ([#7181](https://github.com/AztecProtocol/aztec-packages/issues/7181)) ([e934e87](https://github.com/AztecProtocol/aztec-packages/commit/e934e872d5a2fb3ca46646436de25777a33c4737)) +* Update `in_contract` flag before handling function metadata in elaborator (https://github.com/noir-lang/noir/pull/5292) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Use proper serialization in `AbiValue` (https://github.com/noir-lang/noir/pull/5270) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) + + +### Miscellaneous + +* `static_assert` error message fix and split into is-dynamic and is-false (https://github.com/noir-lang/noir/pull/5353) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* Add back Pedersen blackbox functions (revert PR 5221) (https://github.com/noir-lang/noir/pull/5318) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Add log_hash as input in log emission in private context ([#7249](https://github.com/AztecProtocol/aztec-packages/issues/7249)) ([8b3dfe9](https://github.com/AztecProtocol/aztec-packages/commit/8b3dfe9dabc19e24f759b1a6c8ed14e2d9874149)) +* Add no predicate to poseidon2 (https://github.com/noir-lang/noir/pull/5252) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Add no-predicate to hash implementations (https://github.com/noir-lang/noir/pull/5253) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Add property tests for ABI encoding (https://github.com/noir-lang/noir/pull/5216) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Address TODO in `compat.nr` (https://github.com/noir-lang/noir/pull/5339) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* **avm-transpiler:** Better error messages ([#7217](https://github.com/AztecProtocol/aztec-packages/issues/7217)) ([27051ad](https://github.com/AztecProtocol/aztec-packages/commit/27051ad988b98d1b4a60064b2492cd987b1df7ac)) +* **avm:** Remove trailing minus zero in codegen ([#7185](https://github.com/AztecProtocol/aztec-packages/issues/7185)) ([f3c8166](https://github.com/AztecProtocol/aztec-packages/commit/f3c81661688cc04b64a389d8fd72484ca8580a05)) +* Avoid building contracts when producing gates report ([#7136](https://github.com/AztecProtocol/aztec-packages/issues/7136)) ([25507e6](https://github.com/AztecProtocol/aztec-packages/commit/25507e63e6a629a8a16ad47434141a95bbb0e102)) +* Bump `bb` to 0.43.0 (https://github.com/noir-lang/noir/pull/5321) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Bundle SSA Evaluator Options (https://github.com/noir-lang/noir/pull/5317) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* **ci:** Trigger a noir sync every morning at 8am ([#7280](https://github.com/AztecProtocol/aztec-packages/issues/7280)) ([412c016](https://github.com/AztecProtocol/aztec-packages/commit/412c0160073d642056855c649d9c59ad1ae100f3)) +* Copy across typo PR script from aztec-packages (https://github.com/noir-lang/noir/pull/5235) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Create separate crate just for noir artifacts (https://github.com/noir-lang/noir/pull/5162) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* **docs:** Fixing trailing slash issue (https://github.com/noir-lang/noir/pull/5233) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Fix examples (https://github.com/noir-lang/noir/pull/5357) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* Fix migration notes ([#7279](https://github.com/AztecProtocol/aztec-packages/issues/7279)) ([51d93eb](https://github.com/AztecProtocol/aztec-packages/commit/51d93eb3020ea8f8902c814d0f8dd74640535a90)) +* Fix negative tests in AVM circuit for context input lookups ([#7261](https://github.com/AztecProtocol/aztec-packages/issues/7261)) ([ad2f654](https://github.com/AztecProtocol/aztec-packages/commit/ad2f654eb2589dff118c3e104c4f91825ee7f739)) +* Fixing all relative paths (https://github.com/noir-lang/noir/pull/5220) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Generate PIL constants from via constants gen ([#7258](https://github.com/AztecProtocol/aztec-packages/issues/7258)) ([244ef7e](https://github.com/AztecProtocol/aztec-packages/commit/244ef7e5a6871443444df88c28a1c2a7430d6db1)) +* Gets rid of unencrypted emit in private_context ([#7236](https://github.com/AztecProtocol/aztec-packages/issues/7236)) ([3e6d88e](https://github.com/AztecProtocol/aztec-packages/commit/3e6d88e53c3e4c0777e152393d5310b5607baa0a)) +* Improve authwit comments/docs ([#7180](https://github.com/AztecProtocol/aztec-packages/issues/7180)) ([051ab9e](https://github.com/AztecProtocol/aztec-packages/commit/051ab9e3d4eda170c775f683762c81b6876c61ca)) +* Misc cleanup in simulator ([#7203](https://github.com/AztecProtocol/aztec-packages/issues/7203)) ([eb00830](https://github.com/AztecProtocol/aztec-packages/commit/eb00830fce7afae60447bec5383349d7f490e4d7)) +* Optimize the elaborator (https://github.com/noir-lang/noir/pull/5230) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Parse macros (https://github.com/noir-lang/noir/pull/5229) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Pedersen commitment in Noir (https://github.com/noir-lang/noir/pull/5221) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Pedersen hash in Noir (https://github.com/noir-lang/noir/pull/5217) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Private tail circuits ([#7148](https://github.com/AztecProtocol/aztec-packages/issues/7148)) ([9e67e7d](https://github.com/AztecProtocol/aztec-packages/commit/9e67e7d8c47004763df8fdbee9f278a75db193a0)) +* Pull out change to expression splitting from sync PR ([#7215](https://github.com/AztecProtocol/aztec-packages/issues/7215)) ([b4f50a5](https://github.com/AztecProtocol/aztec-packages/commit/b4f50a5bf03babd83c1f467d2792b50e334bf5a7)) +* Pull out foreign call nested array changes ([#7216](https://github.com/AztecProtocol/aztec-packages/issues/7216)) ([1faaaf5](https://github.com/AztecProtocol/aztec-packages/commit/1faaaf53bb7461d1806a79822ded1ecefe01b59b)) +* Pull out noir-lang/noir[#5120](https://github.com/AztecProtocol/aztec-packages/issues/5120) ([#7205](https://github.com/AztecProtocol/aztec-packages/issues/7205)) ([c5dc094](https://github.com/AztecProtocol/aztec-packages/commit/c5dc0946f4d300df5c6a70026e102de8e69f020b)) +* Pull out pedersen generator builtin from sync PR ([#7210](https://github.com/AztecProtocol/aztec-packages/issues/7210)) ([412f02e](https://github.com/AztecProtocol/aztec-packages/commit/412f02eb05321db1bbc60902e31ab50d743541d6)) +* Pull out SSA changes from sync PR ([#7209](https://github.com/AztecProtocol/aztec-packages/issues/7209)) ([141e137](https://github.com/AztecProtocol/aztec-packages/commit/141e137b06b7f9aa324705e716aac2157312aacb)) +* Push code related to ABI gen into `noirc_driver` (https://github.com/noir-lang/noir/pull/5218) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Redo typo PR by dropbigfish (https://github.com/noir-lang/noir/pull/5234) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Reduce note and nullifier constants ([#7255](https://github.com/AztecProtocol/aztec-packages/issues/7255)) ([4637304](https://github.com/AztecProtocol/aztec-packages/commit/463730458de2397d66ec90fedfeee61700c426a4)) +* Refactor test case generation in build.rs (https://github.com/noir-lang/noir/pull/5280) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Refactor to use `mod.nr` support ([#7259](https://github.com/AztecProtocol/aztec-packages/issues/7259)) ([cda45db](https://github.com/AztecProtocol/aztec-packages/commit/cda45dba624e519ace66fd2e75b85d29a0f6eb9f)) +* Release Noir(0.31.0) (https://github.com/noir-lang/noir/pull/5166) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Remove `is_unconstrained_fn` field from elaborator (https://github.com/noir-lang/noir/pull/5335) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Remove 4738 ref ([#7254](https://github.com/AztecProtocol/aztec-packages/issues/7254)) ([97d997c](https://github.com/AztecProtocol/aztec-packages/commit/97d997c851fe319f864e2826903ffa7d8677d701)) +* Remove a log file ([#7201](https://github.com/AztecProtocol/aztec-packages/issues/7201)) ([83bb218](https://github.com/AztecProtocol/aztec-packages/commit/83bb2180cfacd33298b5b3346140453566f3cf8e)) +* Remove commented code ([#7231](https://github.com/AztecProtocol/aztec-packages/issues/7231)) ([2740d60](https://github.com/AztecProtocol/aztec-packages/commit/2740d600c0d4a18ce90df24e334e572a80233832)) +* Remove panic for unimplemented trait dispatch (https://github.com/noir-lang/noir/pull/5329) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Replace `is_bn254` implementation to not rely on truncation of literals (https://github.com/noir-lang/noir/pull/5247) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Replace `regression_5202` with more manageably sized program (https://github.com/noir-lang/noir/pull/5345) ([eb9e9f6](https://github.com/AztecProtocol/aztec-packages/commit/eb9e9f6f2b3952760822faaacb7e851e936e0800)) +* Replace cached `in_contract` with `in_contract()` method (https://github.com/noir-lang/noir/pull/5324) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Replace logical operators with bitwise in `DebugToString` (https://github.com/noir-lang/noir/pull/5236) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Replace relative paths to noir-protocol-circuits ([e83b07b](https://github.com/AztecProtocol/aztec-packages/commit/e83b07bf813001c144c61c61174c6adf816cc991)) +* Replace relative paths to noir-protocol-circuits ([eca8587](https://github.com/AztecProtocol/aztec-packages/commit/eca858775f8f84455cc0a20d9f9fb828cf342b68)) +* Replace relative paths to noir-protocol-circuits ([b9ddf43](https://github.com/AztecProtocol/aztec-packages/commit/b9ddf43faa0184692917d543e39507192b2ac64b)) +* Replace relative paths to noir-protocol-circuits ([6f817e8](https://github.com/AztecProtocol/aztec-packages/commit/6f817e86b61aea78d9f4132ecf4c3ed2f96b4e5c)) +* Replace relative paths to noir-protocol-circuits ([f9bf0a4](https://github.com/AztecProtocol/aztec-packages/commit/f9bf0a4d8ea7591abbb092f1a44b3ff6bcab7af7)) +* Replicate noir-lang/noir[#4946](https://github.com/AztecProtocol/aztec-packages/issues/4946) ([#7202](https://github.com/AztecProtocol/aztec-packages/issues/7202)) ([b5c07d8](https://github.com/AztecProtocol/aztec-packages/commit/b5c07d8507c783ebb440cb32a897416627b71ec1)) +* Simplify compilation flow to write to file immediately (https://github.com/noir-lang/noir/pull/5265) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Split off fuzzer, abi changes and `noirc_artifacts` from sync ([#7208](https://github.com/AztecProtocol/aztec-packages/issues/7208)) ([255d752](https://github.com/AztecProtocol/aztec-packages/commit/255d752594dd5372c75934a784e995ae4899e431)) +* Thread generics through ACIR/brillig gen (https://github.com/noir-lang/noir/pull/5120) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) +* Use `push_err` more in elaborator (https://github.com/noir-lang/noir/pull/5336) ([f2abb4e](https://github.com/AztecProtocol/aztec-packages/commit/f2abb4e9deb05437666db9c27cd0d49c2ec9ac3d)) +* Use options.limit as upper limit for note-getter loop ([#7253](https://github.com/AztecProtocol/aztec-packages/issues/7253)) ([8ff669b](https://github.com/AztecProtocol/aztec-packages/commit/8ff669b63f302447e099dc52dea248c2ca914043)) +* Use prefix op_ for every instruction in avm_trace.hpp ([#7214](https://github.com/AztecProtocol/aztec-packages/issues/7214)) ([7ed7558](https://github.com/AztecProtocol/aztec-packages/commit/7ed75586cd5deb8aff3730a80cb29c642495bbff)) +* Use the elaborator by default (https://github.com/noir-lang/noir/pull/5246) ([ed815a3](https://github.com/AztecProtocol/aztec-packages/commit/ed815a3713fc311056a8bd0a616945f12d9be2a8)) + ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/aztec-packages-v0.43.0...aztec-packages-v0.44.0) (2024-06-26) diff --git a/barretenberg/CHANGELOG.md b/barretenberg/CHANGELOG.md index f82b81a6403..e8d8c48a043 100644 --- a/barretenberg/CHANGELOG.md +++ b/barretenberg/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg-v0.44.0...barretenberg-v0.45.0) (2024-07-02) + + +### Features + +* **avm:** Calldata gadget preliminaries ([#7227](https://github.com/AztecProtocol/aztec-packages/issues/7227)) ([79e8588](https://github.com/AztecProtocol/aztec-packages/commit/79e85883c90465cf2ff6e1a2d7af0e5d4d3e111c)) +* Constant Honk proof sizes ([#6954](https://github.com/AztecProtocol/aztec-packages/issues/6954)) ([17c8d3a](https://github.com/AztecProtocol/aztec-packages/commit/17c8d3a00f3a2e500d5caa1fb438504bcd357e8a)) +* Function selector opcode in AVM ([#7244](https://github.com/AztecProtocol/aztec-packages/issues/7244)) ([dde47e9](https://github.com/AztecProtocol/aztec-packages/commit/dde47e927ebe5606a272a35dd8c4f4876369b244)) +* Update rebuild script ([#7225](https://github.com/AztecProtocol/aztec-packages/issues/7225)) ([af59247](https://github.com/AztecProtocol/aztec-packages/commit/af592474c1d57c9d7886763d04afeb793f98efe3)) + + +### Bug Fixes + +* Benchmark prover e2e test with proving ([#7175](https://github.com/AztecProtocol/aztec-packages/issues/7175)) ([431c14c](https://github.com/AztecProtocol/aztec-packages/commit/431c14ccca8bcbdeba51061cad6f6e01f054dd86)) +* Reran pil->cpp codegen & encode_and_encrypt_event_with_randomness fix ([#7247](https://github.com/AztecProtocol/aztec-packages/issues/7247)) ([fa15a45](https://github.com/AztecProtocol/aztec-packages/commit/fa15a450408181ffc50946ee56c4ae0fd8c5a61f)) + + +### Miscellaneous + +* **avm:** Remove trailing minus zero in codegen ([#7185](https://github.com/AztecProtocol/aztec-packages/issues/7185)) ([f3c8166](https://github.com/AztecProtocol/aztec-packages/commit/f3c81661688cc04b64a389d8fd72484ca8580a05)) +* Fix negative tests in AVM circuit for context input lookups ([#7261](https://github.com/AztecProtocol/aztec-packages/issues/7261)) ([ad2f654](https://github.com/AztecProtocol/aztec-packages/commit/ad2f654eb2589dff118c3e104c4f91825ee7f739)) +* Generate PIL constants from via constants gen ([#7258](https://github.com/AztecProtocol/aztec-packages/issues/7258)) ([244ef7e](https://github.com/AztecProtocol/aztec-packages/commit/244ef7e5a6871443444df88c28a1c2a7430d6db1)) +* Reduce note and nullifier constants ([#7255](https://github.com/AztecProtocol/aztec-packages/issues/7255)) ([4637304](https://github.com/AztecProtocol/aztec-packages/commit/463730458de2397d66ec90fedfeee61700c426a4)) +* Use prefix op_ for every instruction in avm_trace.hpp ([#7214](https://github.com/AztecProtocol/aztec-packages/issues/7214)) ([7ed7558](https://github.com/AztecProtocol/aztec-packages/commit/7ed75586cd5deb8aff3730a80cb29c642495bbff)) + ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg-v0.43.0...barretenberg-v0.44.0) (2024-06-26) diff --git a/barretenberg/cpp/CMakeLists.txt b/barretenberg/cpp/CMakeLists.txt index 0cf0428926c..b50fe6e67e1 100644 --- a/barretenberg/cpp/CMakeLists.txt +++ b/barretenberg/cpp/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.24 FATAL_ERROR) project( Barretenberg DESCRIPTION "BN254 elliptic curve library, and PLONK SNARK prover" - VERSION 0.44.0 # x-release-please-version + VERSION 0.45.0 # x-release-please-version LANGUAGES CXX C ) # Insert version into `bb` config file diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index f6c47dcb0b6..ad1af151b02 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.44.0...barretenberg.js-v0.45.0) (2024-07-02) + + +### Miscellaneous + +* **barretenberg.js:** Synchronize aztec-packages versions + ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.43.0...barretenberg.js-v0.44.0) (2024-06-26) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index b2abae237ca..5bec49f0d07 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -1,6 +1,6 @@ { "name": "@aztec/bb.js", - "version": "0.44.0", + "version": "0.45.0", "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/barretenberg/ts", "license": "MIT", "type": "module", diff --git a/yarn-project/aztec/CHANGELOG.md b/yarn-project/aztec/CHANGELOG.md index 6e136a83b4f..58f934bc1ad 100644 --- a/yarn-project/aztec/CHANGELOG.md +++ b/yarn-project/aztec/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/aztec-package-v0.44.0...aztec-package-v0.45.0) (2024-07-02) + + +### Bug Fixes + +* Devnet deployment issues ([#7197](https://github.com/AztecProtocol/aztec-packages/issues/7197)) ([9cf4904](https://github.com/AztecProtocol/aztec-packages/commit/9cf49048eefd1f02d22c6b4a8db100b863f39f84)) + ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/aztec-package-v0.43.0...aztec-package-v0.44.0) (2024-06-26) diff --git a/yarn-project/aztec/package.json b/yarn-project/aztec/package.json index 419bb3e89b8..e6dead0b690 100644 --- a/yarn-project/aztec/package.json +++ b/yarn-project/aztec/package.json @@ -1,6 +1,6 @@ { "name": "@aztec/aztec", - "version": "0.44.0", + "version": "0.45.0", "type": "module", "exports": { ".": "./dest/index.js"