0.52.0 (2024-09-01)
⚠ BREAKING CHANGES
- Check unused generics are bound (noir-lang/noir#5840)
Features
- Add
Expr::as_assert
(noir-lang/noir#5857) (cf5b667) - Add
Expr::resolve
andTypedExpr::as_function_definition
(noir-lang/noir#5859) (cf5b667) - Add
FunctionDef::body
(noir-lang/noir#5825) (cf5b667) - Add
FunctionDef::has_named_attribute
(noir-lang/noir#5870) (cf5b667) - Add
Type::as_string
(noir-lang/noir#5871) (cf5b667) - Clarify state in Protogalaxy 3 (#8181) (4a9bb9d)
- LSP signature help for assert and assert_eq (noir-lang/noir#5862) (cf5b667)
- meta: Comptime keccak (noir-lang/noir#5854) (cf5b667)
- optimization: Avoid merging identical (by ID) arrays (noir-lang/noir#5853) (cf5b667)
- perf: Simplify poseidon2 cache zero-pad (noir-lang/noir#5869) (cf5b667)
- Populate epoch 0 from initial validator set (#8286) (cbdec54)
- Remove unnecessary copying of vector size during reversal (noir-lang/noir#5852) (cf5b667)
- Removing
is_dev_net
flag (#8275) (fc1f307) - Show backtrace on comptime assertion failures (noir-lang/noir#5842) (cf5b667)
- Simplify constant calls to
poseidon2_permutation
,schnorr_verify
andembedded_curve_add
(noir-lang/noir#5140) (cf5b667) - Sync from aztec-packages (noir-lang/noir#5790) (cf5b667)
- Warn on unused imports (noir-lang/noir#5847) (cf5b667)
Bug Fixes
- Check unused generics are bound (noir-lang/noir#5840) (cf5b667)
- Enforce parity of sequencer tx validation and node tx validation (#7951) (c7eaf92)
- Make simulations validate resulting tx by default (#8157) (f5e388d)
- nargo: Resolve Brillig assertion payloads (noir-lang/noir#5872) (cf5b667)
- Prevent honk proof from getting stale inputs on syncs (#8293) (2598108)
- Remove fee juice mint public (#8260) (2395af3)
- sha256: Add extra checks against message size when constructing msg blocks (noir-lang/noir#5861) (cf5b667)
- sha256: Fix upper bound when building msg block and delay final block compression under certain cases (noir-lang/noir#5838) (cf5b667)
- sha256: Perform compression per block and utilize ROM instead of RAM when setting up the message block (noir-lang/noir#5760) (cf5b667)
Miscellaneous
- Add documentation to
to_be_bytes
, etc. (noir-lang/noir#5843) (cf5b667) - Add missing cases to arithmetic generics (noir-lang/noir#5841) (cf5b667)
- Add test to reproduce #8306 (41d418c)
- Alert slack on Sepolia test (#8263) (6194b94)
- bb: Make compile on stock mac clang (#8278) (7af80ff)
- bb: More graceful pippenger on non-powers-of-2 (#8279) (104ea85)
- Bump noir-bignum to 0.3.2 (#8276) (4c6fe1a)
- ci: Try to debug 'command brotli not found' (#8305) (9ee8dd6)
- Don't require empty
Prover.toml
for programs with zero arguments but a return value (noir-lang/noir#5845) (cf5b667) - Fix a bunch of generics issues in aztec-nr (#8295) (6e84970)
- Fix more issues with generics (#8302) (4e2ce80)
- Fix warnings in
avm-transpiler
(#8307) (359fe05) - Introduce the Visitor pattern (noir-lang/noir#5868) (cf5b667)
- perf: Simplify poseidon2 algorithm (noir-lang/noir#5811) (cf5b667)
- perf: Update to stdlib keccak for reduced Brillig code size (noir-lang/noir#5827) (cf5b667)
- Redo typo PR by nnsW3 (noir-lang/noir#5834) (cf5b667)
- Renaming around Protogalaxy Prover (#8272) (be2169d)
- Replace relative paths to noir-protocol-circuits (56e3fbf)
- Replace relative paths to noir-protocol-circuits (1b245c4)
- Replace relative paths to noir-protocol-circuits (9c3bc43)
- revert: Earthfile accidental change (#8309) (2d3e0b6)
- Underconstrained check in parallel (noir-lang/noir#5848) (cf5b667)