diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6bed8a5067f..be422feb198 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { - ".": "0.21.0", - "barretenberg": "0.21.0", - "barretenberg/ts": "0.21.0" + ".": "0.22.0", + "barretenberg": "0.22.0", + "barretenberg/ts": "0.22.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index f5528b86d2d..af8ca58e48a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,131 @@ # Changelog +## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/aztec-packages-v0.21.0...aztec-packages-v0.22.0) (2024-02-06) + + +### ⚠ BREAKING CHANGES + +* rename bigint_neg into bigint_sub ([#4420](https://github.com/AztecProtocol/aztec-packages/issues/4420)) +* Add expression width into acir ([#4014](https://github.com/AztecProtocol/aztec-packages/issues/4014)) +* Use NoteSerialize and NoteDeserialize traits for note specific serialization ([#4383](https://github.com/AztecProtocol/aztec-packages/issues/4383)) +* Unencrypted logs are not strings ([#4392](https://github.com/AztecProtocol/aztec-packages/issues/4392)) +* init storage macro ([#4200](https://github.com/AztecProtocol/aztec-packages/issues/4200)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) +* introduce compute_note_hash_for_(consumption/insertion) ([#4344](https://github.com/AztecProtocol/aztec-packages/issues/4344)) +* replace Note::compute_note_hash with Note::compute_note_content_hash ([#4342](https://github.com/AztecProtocol/aztec-packages/issues/4342)) +* Include contract class id in deployment info ([#4223](https://github.com/AztecProtocol/aztec-packages/issues/4223)) +* Serialize, Deserialize and NoteInterface as Traits ([#4135](https://github.com/AztecProtocol/aztec-packages/issues/4135)) + +### Features + +* Add aztec node to client execution and nuke state info provider [#4320](https://github.com/AztecProtocol/aztec-packages/issues/4320) ([#4401](https://github.com/AztecProtocol/aztec-packages/issues/4401)) ([2dec0cc](https://github.com/AztecProtocol/aztec-packages/commit/2dec0cc4bf5bc592443d65e3a9923fc2a4f076a3)) +* Add bit size to const opcode ([#4385](https://github.com/AztecProtocol/aztec-packages/issues/4385)) ([b2a000e](https://github.com/AztecProtocol/aztec-packages/commit/b2a000e5f366721b514653456db804a704242b20)) +* Add expression width into acir ([#4014](https://github.com/AztecProtocol/aztec-packages/issues/4014)) ([f09e8fc](https://github.com/AztecProtocol/aztec-packages/commit/f09e8fc3fdaf9a0e5b9f927e345bf9e819e2024c)) +* Add meta_hwm to PrivateCircuitPublicInputs ([#4341](https://github.com/AztecProtocol/aztec-packages/issues/4341)) ([4f248b5](https://github.com/AztecProtocol/aztec-packages/commit/4f248b55af8119ed588754dff3cf14eb0559c8d2)) +* Add poseidon2 hashing to native transcript ([#3718](https://github.com/AztecProtocol/aztec-packages/issues/3718)) ([afcfa71](https://github.com/AztecProtocol/aztec-packages/commit/afcfa71da760680dfe02c39cf2de068a4297b3e7)) +* Adding slitherin detectors ([#4246](https://github.com/AztecProtocol/aztec-packages/issues/4246)) ([7cdc186](https://github.com/AztecProtocol/aztec-packages/commit/7cdc18692313017a70b9c8d761b7540eb96a9369)) +* Allow using of current block in inclusion proofs ([#4285](https://github.com/AztecProtocol/aztec-packages/issues/4285)) ([728c5ac](https://github.com/AztecProtocol/aztec-packages/commit/728c5ac5dd534ce28c2ac84a8f720ea85c36308c)), closes [#4274](https://github.com/AztecProtocol/aztec-packages/issues/4274) +* **avm-transpiler:** Brillig to AVM transpiler ([#4227](https://github.com/AztecProtocol/aztec-packages/issues/4227)) ([c366c6e](https://github.com/AztecProtocol/aztec-packages/commit/c366c6e6d5c9f28a5dc92a303dcab4a23fb2d84e)) +* **avm:** Add command to call avm proving in bb binary ([#4369](https://github.com/AztecProtocol/aztec-packages/issues/4369)) ([4f6d607](https://github.com/AztecProtocol/aztec-packages/commit/4f6d607d7dce36819d84ba6ce69bbd57e0ad79a0)), closes [#4039](https://github.com/AztecProtocol/aztec-packages/issues/4039) +* **avm:** Add revert tracking to the journal ([#4349](https://github.com/AztecProtocol/aztec-packages/issues/4349)) ([1615803](https://github.com/AztecProtocol/aztec-packages/commit/161580312a753fb2f0507c11fb10d895b5073e3e)) +* **avm:** Back in avm context with macro - refactor context ([#4438](https://github.com/AztecProtocol/aztec-packages/issues/4438)) ([ccf9b17](https://github.com/AztecProtocol/aztec-packages/commit/ccf9b17495ec46df6494fa93e1c848c87a05d071)) +* **avm:** Complete SET instruction ([#4378](https://github.com/AztecProtocol/aztec-packages/issues/4378)) ([013891f](https://github.com/AztecProtocol/aztec-packages/commit/013891fc3a65066a315652ad0ac41a9622b59573)) +* **avm:** Implement avm state getter opcodes within noir contracts ([#4402](https://github.com/AztecProtocol/aztec-packages/issues/4402)) ([9f2a6eb](https://github.com/AztecProtocol/aztec-packages/commit/9f2a6eb80f796a9be1c9c5b6a143dc70e5ec3c43)) +* **avm:** Implement serialization for all existing operations ([#4338](https://github.com/AztecProtocol/aztec-packages/issues/4338)) ([13e0683](https://github.com/AztecProtocol/aztec-packages/commit/13e0683034e3a7ec02f73be36c82e5b3a9fe7151)) +* **avm:** Keep history of reads and writes in journal ([#4315](https://github.com/AztecProtocol/aztec-packages/issues/4315)) ([cdf1baf](https://github.com/AztecProtocol/aztec-packages/commit/cdf1baf017c4833bc621ba4dd3681dd1a745e259)) +* **aztec-nr:** Initial work for aztec public vm macro ([#4400](https://github.com/AztecProtocol/aztec-packages/issues/4400)) ([0024590](https://github.com/AztecProtocol/aztec-packages/commit/00245900d1cc7511f3fa71fe461944fbe7094d5a)) +* **bb:** Wasmtime and remote benchmarking ([#4204](https://github.com/AztecProtocol/aztec-packages/issues/4204)) ([fd27808](https://github.com/AztecProtocol/aztec-packages/commit/fd27808721b1f32b4828db5465b502cca2f1ce6c)) +* Contract class registerer contract ([#4403](https://github.com/AztecProtocol/aztec-packages/issues/4403)) ([d953090](https://github.com/AztecProtocol/aztec-packages/commit/d953090ca9eba0184d10c0b8ddbc60998bc155f0)), closes [#4069](https://github.com/AztecProtocol/aztec-packages/issues/4069) [#4070](https://github.com/AztecProtocol/aztec-packages/issues/4070) +* Crude stable var implementation ([#4289](https://github.com/AztecProtocol/aztec-packages/issues/4289)) ([5f9eee4](https://github.com/AztecProtocol/aztec-packages/commit/5f9eee48579a507512612e283b4106ddf9d72555)) +* **docs:** Docs deeper dive into unconstrained functions ([#4233](https://github.com/AztecProtocol/aztec-packages/issues/4233)) ([6af548e](https://github.com/AztecProtocol/aztec-packages/commit/6af548e369d5d20bcbd08d346f5c6f89b7363f39)) +* Emit single functions from class registerer ([#4429](https://github.com/AztecProtocol/aztec-packages/issues/4429)) ([19e03ad](https://github.com/AztecProtocol/aztec-packages/commit/19e03adc71ab7561d33dc9d75b9bdb7c19883fc9)), closes [#4427](https://github.com/AztecProtocol/aztec-packages/issues/4427) +* Extend Historical Access APIs [#4179](https://github.com/AztecProtocol/aztec-packages/issues/4179) ([#4375](https://github.com/AztecProtocol/aztec-packages/issues/4375)) ([c918d8d](https://github.com/AztecProtocol/aztec-packages/commit/c918d8d1a6ba306afd2feab97ddb8527b76d1a82)) +* Folding `GoblinUltra` instances in ProtoGalaxy ([#4340](https://github.com/AztecProtocol/aztec-packages/issues/4340)) ([8569e7c](https://github.com/AztecProtocol/aztec-packages/commit/8569e7c091c3db424a3f1c70b0749489d8574ad2)) +* Hashing output of `serialize()` in noir + more tests ([#4365](https://github.com/AztecProtocol/aztec-packages/issues/4365)) ([5a71bb9](https://github.com/AztecProtocol/aztec-packages/commit/5a71bb95a57bf22189e2611035e5f1faae92426b)) +* Implementation for bigint opcodes ([#4288](https://github.com/AztecProtocol/aztec-packages/issues/4288)) ([b61dace](https://github.com/AztecProtocol/aztec-packages/commit/b61dacee47f57a8fce6657f28b64e7a3128d0dba)) +* Improve ivc bench ([#4242](https://github.com/AztecProtocol/aztec-packages/issues/4242)) ([9d28354](https://github.com/AztecProtocol/aztec-packages/commit/9d28354ecefc9f7db71c7d2f40da7eae30e133c5)) +* Include contract class id in deployment info ([#4223](https://github.com/AztecProtocol/aztec-packages/issues/4223)) ([0ed4126](https://github.com/AztecProtocol/aztec-packages/commit/0ed41261ae43e21f695c35ad753e07adfaaa55f9)), closes [#4054](https://github.com/AztecProtocol/aztec-packages/issues/4054) +* Init storage macro ([#4200](https://github.com/AztecProtocol/aztec-packages/issues/4200)) ([11d9697](https://github.com/AztecProtocol/aztec-packages/commit/11d9697f8c1248e92341638a5587c7e24b09425a)) +* Memory only brillig ([#4215](https://github.com/AztecProtocol/aztec-packages/issues/4215)) ([018177b](https://github.com/AztecProtocol/aztec-packages/commit/018177bc757cce3258c153a56f1f7a871fec681c)) +* Nullified note retrieval in get_notes and view_notes ([#4238](https://github.com/AztecProtocol/aztec-packages/issues/4238)) ([8d02eb7](https://github.com/AztecProtocol/aztec-packages/commit/8d02eb71c96eb01726ec828e0e6934d0f30121ed)) +* Private calls and initialization of undeployed contracts ([#4362](https://github.com/AztecProtocol/aztec-packages/issues/4362)) ([f31c181](https://github.com/AztecProtocol/aztec-packages/commit/f31c181f187c2aca90c91834a434b7d2e563af84)), closes [#4057](https://github.com/AztecProtocol/aztec-packages/issues/4057) [#4058](https://github.com/AztecProtocol/aztec-packages/issues/4058) [#4059](https://github.com/AztecProtocol/aztec-packages/issues/4059) +* Sequencer processes transactions in phases ([#4345](https://github.com/AztecProtocol/aztec-packages/issues/4345)) ([78cc709](https://github.com/AztecProtocol/aztec-packages/commit/78cc709ea5f9fc137472a76e5155216ca439d292)) +* Unencrypted logs are not strings ([#4392](https://github.com/AztecProtocol/aztec-packages/issues/4392)) ([25a7ea7](https://github.com/AztecProtocol/aztec-packages/commit/25a7ea76effa98b09051cde383fdcce95e314166)) +* Verify function against contract class id in private kernel ([#4337](https://github.com/AztecProtocol/aztec-packages/issues/4337)) ([e1d832d](https://github.com/AztecProtocol/aztec-packages/commit/e1d832dbf6bf06b192538bc768871848484a4f14)), closes [#4056](https://github.com/AztecProtocol/aztec-packages/issues/4056) + + +### Bug Fixes + +* **avm-transpiler:** Avm-transpiler bootstrap by tying down rust version ([#4347](https://github.com/AztecProtocol/aztec-packages/issues/4347)) ([09d0730](https://github.com/AztecProtocol/aztec-packages/commit/09d0730bad4be2f4954cbb6d27538f7860d0f21f)) +* **avm-transpiler:** Bump rust toolchain version for transpiler ([#4356](https://github.com/AztecProtocol/aztec-packages/issues/4356)) ([75e30b9](https://github.com/AztecProtocol/aztec-packages/commit/75e30b999feeda0f7526669f3f0f08ca6c4acac2)) +* **avm:** Fix SendL2ToL1Message implementation ([#4367](https://github.com/AztecProtocol/aztec-packages/issues/4367)) ([ee560c3](https://github.com/AztecProtocol/aztec-packages/commit/ee560c32873a085a68288357471b1a54d8cb9c6f)) +* Aztec binary fixes ([#4273](https://github.com/AztecProtocol/aztec-packages/issues/4273)) ([84e1f7d](https://github.com/AztecProtocol/aztec-packages/commit/84e1f7dd0e005351bb742b015270ab2fd575136d)) +* Bb build ([#4317](https://github.com/AztecProtocol/aztec-packages/issues/4317)) ([82f5f03](https://github.com/AztecProtocol/aztec-packages/commit/82f5f03acdaee8e23b149369cb9e6f89f257b757)) +* Load contract artifact from json ([#4352](https://github.com/AztecProtocol/aztec-packages/issues/4352)) ([47a0a79](https://github.com/AztecProtocol/aztec-packages/commit/47a0a79f6beaa241eafc94fcae84103488a9dcef)) +* Mac build ([#4336](https://github.com/AztecProtocol/aztec-packages/issues/4336)) ([aeb4cf0](https://github.com/AztecProtocol/aztec-packages/commit/aeb4cf0d9cec6127cac947c4f0de8e853b2f34e0)) +* **noir-contracts:** Disable transpilation for now ([#4372](https://github.com/AztecProtocol/aztec-packages/issues/4372)) ([37662b7](https://github.com/AztecProtocol/aztec-packages/commit/37662b78da3811fd5d5f4d4d33d69d4c5fd873e3)) +* Nr codegen to use new protocol types path ([#4353](https://github.com/AztecProtocol/aztec-packages/issues/4353)) ([84e63b1](https://github.com/AztecProtocol/aztec-packages/commit/84e63b12dcc45130ddef499dca383b09c9844b8b)), closes [#4193](https://github.com/AztecProtocol/aztec-packages/issues/4193) +* Relative LogFn import ([#4328](https://github.com/AztecProtocol/aztec-packages/issues/4328)) ([1faead5](https://github.com/AztecProtocol/aztec-packages/commit/1faead5bf5e07417e2d4452a2e3ff096a273a41a)) +* Release the size of goblin translator ([#4259](https://github.com/AztecProtocol/aztec-packages/issues/4259)) ([6e1d958](https://github.com/AztecProtocol/aztec-packages/commit/6e1d958badafdbe4abdc0c221047186c5da69be4)) +* Transpiler build ([#4386](https://github.com/AztecProtocol/aztec-packages/issues/4386)) ([032ddc5](https://github.com/AztecProtocol/aztec-packages/commit/032ddc53840e79b3f324b99b82f0aebfa3c83bfe)) + + +### Miscellaneous + +* `PublicCircuitPublicInputs` and `PrivateCircuitPublicInputs` cleanup ([#4360](https://github.com/AztecProtocol/aztec-packages/issues/4360)) ([b92d690](https://github.com/AztecProtocol/aztec-packages/commit/b92d6904fc9ad2cda30de1245fd546e00a5523e1)) +* `toFields()`/`fromFields(...)` methods in more classes ([#4335](https://github.com/AztecProtocol/aztec-packages/issues/4335)) ([433b9eb](https://github.com/AztecProtocol/aztec-packages/commit/433b9ebdb505b21bef40c174e4feec0e6ca211e8)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +* Add bigint solver in ACVM and add a unit test for bigints in Noir ([#4415](https://github.com/AztecProtocol/aztec-packages/issues/4415)) ([e4a2fe9](https://github.com/AztecProtocol/aztec-packages/commit/e4a2fe906f5e02ebcc1fc7a8b7a5d96f3b11fcb5)) +* Add bootstrap_cache for avm-transpiler ([#4357](https://github.com/AztecProtocol/aztec-packages/issues/4357)) ([bfebebb](https://github.com/AztecProtocol/aztec-packages/commit/bfebebb89fc9a9b87f19237642cec9a221abf712)) +* Add disclaimer ([#4393](https://github.com/AztecProtocol/aztec-packages/issues/4393)) ([6895f52](https://github.com/AztecProtocol/aztec-packages/commit/6895f522220ee689acb178a9ee6271b132fd6cd0)) +* Add migration note for serialization change ([#4414](https://github.com/AztecProtocol/aztec-packages/issues/4414)) ([968a3a0](https://github.com/AztecProtocol/aztec-packages/commit/968a3a0734c202cccec5f322a0dd272f66cbeb1c)) +* **avm:** Make interpreter a function not a class ([#4272](https://github.com/AztecProtocol/aztec-packages/issues/4272)) ([14e8c5c](https://github.com/AztecProtocol/aztec-packages/commit/14e8c5c325ad8459e3c81cc7e443ca277dd072a9)) +* **avm:** Refactor AVM Simulator and fix issues ([#4424](https://github.com/AztecProtocol/aztec-packages/issues/4424)) ([a6179bd](https://github.com/AztecProtocol/aztec-packages/commit/a6179bdb52070d71dd04a3721f987a89920f4d98)) +* Call stack item cleanup ([#4381](https://github.com/AztecProtocol/aztec-packages/issues/4381)) ([341b0a1](https://github.com/AztecProtocol/aztec-packages/commit/341b0a177f35d2e46d9f3e011f1543a20628244b)) +* Check loading Nargo artifacts works in the cli ([#4355](https://github.com/AztecProtocol/aztec-packages/issues/4355)) ([43b58b3](https://github.com/AztecProtocol/aztec-packages/commit/43b58b346cd788cc4bfa187626bf53b518ad5bb4)) +* Cleanup + various doc improvements ([#4282](https://github.com/AztecProtocol/aztec-packages/issues/4282)) ([648229c](https://github.com/AztecProtocol/aztec-packages/commit/648229c24e01b2eeeeb0b361b65c0d62c0adf8ea)), closes [#4264](https://github.com/AztecProtocol/aztec-packages/issues/4264) +* Collapse bb::honk ([#4318](https://github.com/AztecProtocol/aztec-packages/issues/4318)) ([5853af4](https://github.com/AztecProtocol/aztec-packages/commit/5853af448a86ed02901609f4786e86fe1651880e)) +* Consistent naming of serialization method ([#4379](https://github.com/AztecProtocol/aztec-packages/issues/4379)) ([148d5dc](https://github.com/AztecProtocol/aztec-packages/commit/148d5dc754329eabcc42430b4ee06993ec2d4224)) +* Do not run forge fmt because not everyone has forge installed ([#4430](https://github.com/AztecProtocol/aztec-packages/issues/4430)) ([ecb6c3f](https://github.com/AztecProtocol/aztec-packages/commit/ecb6c3fdff93e8c194acaef9de45d8e740a14bb0)) +* **docs:** Update broken link ref in slow_updates_tree.md ([#4339](https://github.com/AztecProtocol/aztec-packages/issues/4339)) ([2599d7f](https://github.com/AztecProtocol/aztec-packages/commit/2599d7f1ea3f616375a7d439c8bde016b6f2b876)) +* Eth address tech debt cleanup ([#4442](https://github.com/AztecProtocol/aztec-packages/issues/4442)) ([153989f](https://github.com/AztecProtocol/aztec-packages/commit/153989f636b0b76522597fdf60e1f2af9e318b10)) +* Extract merge from UC and simplify ([#4343](https://github.com/AztecProtocol/aztec-packages/issues/4343)) ([54fd794](https://github.com/AztecProtocol/aztec-packages/commit/54fd7949cdbb0e213c37ce331f7546e2827f4c17)) +* Fix bb wasm build when using remote cache ([#4397](https://github.com/AztecProtocol/aztec-packages/issues/4397)) ([14e57cb](https://github.com/AztecProtocol/aztec-packages/commit/14e57cb285571208c5f88f0eaf500b1e7859ef04)) +* Fix clippy warnings in `avm-transpiler` ([#4416](https://github.com/AztecProtocol/aztec-packages/issues/4416)) ([e54ecd2](https://github.com/AztecProtocol/aztec-packages/commit/e54ecd25ad375901eee859f4a85745b5047c190f)) +* Git subrepo commit (merge) noir ([#4321](https://github.com/AztecProtocol/aztec-packages/issues/4321)) ([348d18a](https://github.com/AztecProtocol/aztec-packages/commit/348d18aa3c864fc80fc791029b2d91ee9e7e33d4)) +* Git subrepo pull (merge) noir ([#4331](https://github.com/AztecProtocol/aztec-packages/issues/4331)) ([683f782](https://github.com/AztecProtocol/aztec-packages/commit/683f782e08b007f82505c19f093eed12cd5f48eb)) +* Implementing `deserialize()` in Noir structs ([#4384](https://github.com/AztecProtocol/aztec-packages/issues/4384)) ([e63bbae](https://github.com/AztecProtocol/aztec-packages/commit/e63bbaefebb9f0048eb9b2c80ea392bfd86831c1)) +* Introduce compute_note_hash_for_(consumption/insertion) ([#4344](https://github.com/AztecProtocol/aztec-packages/issues/4344)) ([26a0d49](https://github.com/AztecProtocol/aztec-packages/commit/26a0d49de177a1e7faecc4dede453de4c46808bb)) +* Optimize prove_note_validity [#4418](https://github.com/AztecProtocol/aztec-packages/issues/4418) ([#4426](https://github.com/AztecProtocol/aztec-packages/issues/4426)) ([4de2540](https://github.com/AztecProtocol/aztec-packages/commit/4de25403b4bbdabbd0bfef84ae8a685be682bf84)) +* Poseidon2 hash uses span instead of vector ([#4003](https://github.com/AztecProtocol/aztec-packages/issues/4003)) ([f63e7a9](https://github.com/AztecProtocol/aztec-packages/commit/f63e7a94b1ba555eecbe08b7114e8b6ad0b82bc0)) +* Reenable private kernel function tree checks ([#4358](https://github.com/AztecProtocol/aztec-packages/issues/4358)) ([e7db0da](https://github.com/AztecProtocol/aztec-packages/commit/e7db0da2a055567e859b347bba30c3cc18f32f68)) +* Remove hardcoded storage slot values ([#4398](https://github.com/AztecProtocol/aztec-packages/issues/4398)) ([d2294a4](https://github.com/AztecProtocol/aztec-packages/commit/d2294a4d58e76a7bc9be8f153b47a5a5d5d87db1)) +* Rename bigint_neg into bigint_sub ([#4420](https://github.com/AztecProtocol/aztec-packages/issues/4420)) ([57824fe](https://github.com/AztecProtocol/aztec-packages/commit/57824feff268153a7a33b90a3dc68d5bc98a2471)) +* Replace Note::compute_note_hash with Note::compute_note_content_hash ([#4342](https://github.com/AztecProtocol/aztec-packages/issues/4342)) ([8368659](https://github.com/AztecProtocol/aztec-packages/commit/836865983c2a0bc6878bde1e30dca56f97f9e1a2)) +* Replace relative paths to noir-protocol-circuits ([23de650](https://github.com/AztecProtocol/aztec-packages/commit/23de6504f02b0f93799f57d41b5b4e005e227228)) +* Replace relative paths to noir-protocol-circuits ([b8d427f](https://github.com/AztecProtocol/aztec-packages/commit/b8d427fbd735f586c2ea4101e00aa57bc24814aa)) +* Replace relative paths to noir-protocol-circuits ([113dec1](https://github.com/AztecProtocol/aztec-packages/commit/113dec1c00293b79aacc506dd6cdfd976a46bcc7)) +* Replace relative paths to noir-protocol-circuits ([a79093b](https://github.com/AztecProtocol/aztec-packages/commit/a79093bc9c43efd6c8e1c4c2ceb19d39284e914e)) +* Replace relative paths to noir-protocol-circuits ([808b4eb](https://github.com/AztecProtocol/aztec-packages/commit/808b4eb21b74df2b352b571f2f93e949036bd626)) +* Serialize, Deserialize and NoteInterface as Traits ([#4135](https://github.com/AztecProtocol/aztec-packages/issues/4135)) ([9e6605c](https://github.com/AztecProtocol/aztec-packages/commit/9e6605cf7cc6e778b681e4e0c39788ab58249f55)) +* Simpler noir sync ([#4376](https://github.com/AztecProtocol/aztec-packages/issues/4376)) ([665b35e](https://github.com/AztecProtocol/aztec-packages/commit/665b35ea1f667be057df3d6bb2ca26beb8f3b461)) +* Surpress chained macro warning ([#4396](https://github.com/AztecProtocol/aztec-packages/issues/4396)) ([5e9c790](https://github.com/AztecProtocol/aztec-packages/commit/5e9c79057ff7e372c71e221756fc7577aa06baeb)) +* Switch to macos-14 for m1 runners ([#3456](https://github.com/AztecProtocol/aztec-packages/issues/3456)) ([ca5b6f8](https://github.com/AztecProtocol/aztec-packages/commit/ca5b6f8b23adf78dbc8c76f08514edeaa3eebfab)) +* Testing `toFields()` length ([#4364](https://github.com/AztecProtocol/aztec-packages/issues/4364)) ([5d3fce3](https://github.com/AztecProtocol/aztec-packages/commit/5d3fce35a51151eddde6982913c5d4bd865e450d)) +* Typing contents of `MessageLoadOracleInputs` ([#4351](https://github.com/AztecProtocol/aztec-packages/issues/4351)) ([433babd](https://github.com/AztecProtocol/aztec-packages/commit/433babdadfc3fa5e14634e43aafb9efd9c3c2313)) +* Update docs on comparators ([#4281](https://github.com/AztecProtocol/aztec-packages/issues/4281)) ([cc2ce9c](https://github.com/AztecProtocol/aztec-packages/commit/cc2ce9c012a11206bd2528771774aa817fa7a922)) +* Updating block hash to be header.hash() ([#4286](https://github.com/AztecProtocol/aztec-packages/issues/4286)) ([d4125e1](https://github.com/AztecProtocol/aztec-packages/commit/d4125e12459a0375e9fa2cb8b83f700654219cea)) +* Use NoteSerialize and NoteDeserialize traits for note specific serialization ([#4383](https://github.com/AztecProtocol/aztec-packages/issues/4383)) ([14dd0b8](https://github.com/AztecProtocol/aztec-packages/commit/14dd0b885721d4b9024ceb6569e929269ec9ad23)) + + +### Documentation + +* Add simple api description for note_getter_options.status ([#4329](https://github.com/AztecProtocol/aztec-packages/issues/4329)) ([cc17afe](https://github.com/AztecProtocol/aztec-packages/commit/cc17afe73da1f2cad18080797f30210908caa7f6)) +* Document stable public state usage ([#4324](https://github.com/AztecProtocol/aztec-packages/issues/4324)) ([13f709b](https://github.com/AztecProtocol/aztec-packages/commit/13f709b2b94d17af34da2e609c2b764977eb5d6b)), closes [#4325](https://github.com/AztecProtocol/aztec-packages/issues/4325) +* Minor quickstart fixes ([#4330](https://github.com/AztecProtocol/aztec-packages/issues/4330)) ([f85a870](https://github.com/AztecProtocol/aztec-packages/commit/f85a87084e3fdba20b6f74d7e53b2e95925e8548)) +* Update contract deployment section in YP ([#4290](https://github.com/AztecProtocol/aztec-packages/issues/4290)) ([e99a882](https://github.com/AztecProtocol/aztec-packages/commit/e99a882fcc69041a34ecd7febafe46d661b76094)) +* **yp:** AVM circuit - user memory section ([#4323](https://github.com/AztecProtocol/aztec-packages/issues/4323)) ([8928fb1](https://github.com/AztecProtocol/aztec-packages/commit/8928fb1f46ce6403eb425548d254e8cfbb6ae6a9)), closes [#4043](https://github.com/AztecProtocol/aztec-packages/issues/4043) + ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/aztec-packages-v0.20.0...aztec-packages-v0.21.0) (2024-01-30) diff --git a/barretenberg/CHANGELOG.md b/barretenberg/CHANGELOG.md index 351958744a9..104b0b51d63 100644 --- a/barretenberg/CHANGELOG.md +++ b/barretenberg/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg-v0.21.0...barretenberg-v0.22.0) (2024-02-06) + + +### ⚠ BREAKING CHANGES + +* rename bigint_neg into bigint_sub ([#4420](https://github.com/AztecProtocol/aztec-packages/issues/4420)) +* Add expression width into acir ([#4014](https://github.com/AztecProtocol/aztec-packages/issues/4014)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) + +### Features + +* Add bit size to const opcode ([#4385](https://github.com/AztecProtocol/aztec-packages/issues/4385)) ([b2a000e](https://github.com/AztecProtocol/aztec-packages/commit/b2a000e5f366721b514653456db804a704242b20)) +* Add expression width into acir ([#4014](https://github.com/AztecProtocol/aztec-packages/issues/4014)) ([f09e8fc](https://github.com/AztecProtocol/aztec-packages/commit/f09e8fc3fdaf9a0e5b9f927e345bf9e819e2024c)) +* Add poseidon2 hashing to native transcript ([#3718](https://github.com/AztecProtocol/aztec-packages/issues/3718)) ([afcfa71](https://github.com/AztecProtocol/aztec-packages/commit/afcfa71da760680dfe02c39cf2de068a4297b3e7)) +* **avm:** Add command to call avm proving in bb binary ([#4369](https://github.com/AztecProtocol/aztec-packages/issues/4369)) ([4f6d607](https://github.com/AztecProtocol/aztec-packages/commit/4f6d607d7dce36819d84ba6ce69bbd57e0ad79a0)), closes [#4039](https://github.com/AztecProtocol/aztec-packages/issues/4039) +* **avm:** Back in avm context with macro - refactor context ([#4438](https://github.com/AztecProtocol/aztec-packages/issues/4438)) ([ccf9b17](https://github.com/AztecProtocol/aztec-packages/commit/ccf9b17495ec46df6494fa93e1c848c87a05d071)) +* **bb:** Wasmtime and remote benchmarking ([#4204](https://github.com/AztecProtocol/aztec-packages/issues/4204)) ([fd27808](https://github.com/AztecProtocol/aztec-packages/commit/fd27808721b1f32b4828db5465b502cca2f1ce6c)) +* Folding `GoblinUltra` instances in ProtoGalaxy ([#4340](https://github.com/AztecProtocol/aztec-packages/issues/4340)) ([8569e7c](https://github.com/AztecProtocol/aztec-packages/commit/8569e7c091c3db424a3f1c70b0749489d8574ad2)) +* Implementation for bigint opcodes ([#4288](https://github.com/AztecProtocol/aztec-packages/issues/4288)) ([b61dace](https://github.com/AztecProtocol/aztec-packages/commit/b61dacee47f57a8fce6657f28b64e7a3128d0dba)) +* Improve ivc bench ([#4242](https://github.com/AztecProtocol/aztec-packages/issues/4242)) ([9d28354](https://github.com/AztecProtocol/aztec-packages/commit/9d28354ecefc9f7db71c7d2f40da7eae30e133c5)) +* Memory only brillig ([#4215](https://github.com/AztecProtocol/aztec-packages/issues/4215)) ([018177b](https://github.com/AztecProtocol/aztec-packages/commit/018177bc757cce3258c153a56f1f7a871fec681c)) + + +### Bug Fixes + +* Bb build ([#4317](https://github.com/AztecProtocol/aztec-packages/issues/4317)) ([82f5f03](https://github.com/AztecProtocol/aztec-packages/commit/82f5f03acdaee8e23b149369cb9e6f89f257b757)) +* Mac build ([#4336](https://github.com/AztecProtocol/aztec-packages/issues/4336)) ([aeb4cf0](https://github.com/AztecProtocol/aztec-packages/commit/aeb4cf0d9cec6127cac947c4f0de8e853b2f34e0)) +* Release the size of goblin translator ([#4259](https://github.com/AztecProtocol/aztec-packages/issues/4259)) ([6e1d958](https://github.com/AztecProtocol/aztec-packages/commit/6e1d958badafdbe4abdc0c221047186c5da69be4)) + + +### Miscellaneous + +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +* Collapse bb::honk ([#4318](https://github.com/AztecProtocol/aztec-packages/issues/4318)) ([5853af4](https://github.com/AztecProtocol/aztec-packages/commit/5853af448a86ed02901609f4786e86fe1651880e)) +* Extract merge from UC and simplify ([#4343](https://github.com/AztecProtocol/aztec-packages/issues/4343)) ([54fd794](https://github.com/AztecProtocol/aztec-packages/commit/54fd7949cdbb0e213c37ce331f7546e2827f4c17)) +* Fix bb wasm build when using remote cache ([#4397](https://github.com/AztecProtocol/aztec-packages/issues/4397)) ([14e57cb](https://github.com/AztecProtocol/aztec-packages/commit/14e57cb285571208c5f88f0eaf500b1e7859ef04)) +* Poseidon2 hash uses span instead of vector ([#4003](https://github.com/AztecProtocol/aztec-packages/issues/4003)) ([f63e7a9](https://github.com/AztecProtocol/aztec-packages/commit/f63e7a94b1ba555eecbe08b7114e8b6ad0b82bc0)) +* Rename bigint_neg into bigint_sub ([#4420](https://github.com/AztecProtocol/aztec-packages/issues/4420)) ([57824fe](https://github.com/AztecProtocol/aztec-packages/commit/57824feff268153a7a33b90a3dc68d5bc98a2471)) + ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg-v0.20.0...barretenberg-v0.21.0) (2024-01-30) diff --git a/barretenberg/cpp/CMakeLists.txt b/barretenberg/cpp/CMakeLists.txt index 056233c1c14..575ff89de28 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.21.0 # x-release-please-version + VERSION 0.22.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 300ec84bb10..f28f6739c55 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.21.0...barretenberg.js-v0.22.0) (2024-02-06) + + +### ⚠ BREAKING CHANGES + +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) + +### Miscellaneous + +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) + ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.20.0...barretenberg.js-v0.21.0) (2024-01-30) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index cb561061d12..84e94bacc60 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -1,6 +1,6 @@ { "name": "@aztec/bb.js", - "version": "0.21.0", + "version": "0.22.0", "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/barretenberg/ts", "license": "MIT", "type": "module",