Releases: noir-lang/noir
Releases · noir-lang/noir
nightly-2024-12-26
chore: add `rollup_root` and `rollup_block_merge` to tracked protocol…
nightly-2024-12-25
chore: add `rollup_root` and `rollup_block_merge` to tracked protocol…
nightly-2024-12-24
chore: add `rollup_root` and `rollup_block_merge` to tracked protocol…
v1.0.0-beta.1
1.0.0-beta.1 (2024-12-20)
⚠ BREAKING CHANGES
- stdlib: Remove Schnorr (#6749)
- remove SchnorrVerify opcode (AztecProtocol/aztec-packages#9897)
- several format string fixes and improvements (#6703)
- remove
ec
module from stdlib (#6612) - Disallow
#[export]
on associated methods (#6626)
Features
nargo test -q
(ornargo test --format terse
) (#6776) (919149d)std::hint::black_box
function. (#6529) (237e8fa)- Add
(x | 1)
optimization for booleans (#6795) (feec2a1) - Add
BoundedVec::from_parts
andBoundedVec::from_parts_unchecked
(#6691) (768aa7c) - Add
nargo test --format json
(#6796) (eb975ab) - Add a warning when using unsafe blocks without safety comments (#6860) (5c00a79)
- Add memory report into the CI (#6630) (6acef6d)
- Allow filtering which SSA passes are printed (#6636) (50f4aa7)
- Allow ignoring test failures from foreign calls (#6660) (e3a0914)
- Better error message when trying to invoke struct function field (#6661) (ea7c04a)
- ci: Initial compilation report on test_programs (#6731) (b3c04f0)
- cli: Run command on the package closest to the current directory (#6752) (f45b354)
- cli: Verify
return
against ABI andProver.toml
(#6765) (5795a09) - comptime: Implement blackbox functions in comptime interpreter (#6551) (10a9f81)
- Configurable external check failures (#6810) (73ccd45)
- Flatten nested if-else statements with equivalent conditions (#6875) (1a0a5f6)
- Improve parser recovery of constructor field with '::' instead of ':' (#6701) (c400543)
- Order attribute execution by their source ordering (#6326) (852155d)
- perf: Track last loads per block in mem2reg and remove them if possible (#6088) (624ae6c)
- Reduce memory consumption by storing array length as
u32
during SSA (#6606) (6196d05) - Replace
eval_global_as_array_length
with type/interpreter evaluation (#6469) (ddb4673) - Replace quadratic removal of
rc
instructions (#6705) (7619da5) - Replace quadratic removal of rc instructions (AztecProtocol/aztec-packages#10416) (66d3275)
- Revert changes to
ValueMerger
andInstruction::IfElse
(#6673) (f81244c) - Several
nargo test
improvements (#6728) (1b0dd41) - Show printable byte arrays as byte strings in SSA (#6709) (fc11b63)
- Simplify
jmpif
s by reversing branches if condition is negated (#5891) (ba7a568) - ssa: Bring back tracking of RC instructions during DIE (#6783) (bc03152)
- ssa: Deduplicate intrinsics with predicates (#6615) (53f16c7)
- ssa: Hoist MakeArray instructions during loop invariant code motion (#6782) (b88db67)
- ssa: Hoisting of array get using known induction variable maximum (#6639) (26d2351)
- ssa: Implement missing brillig constraints SSA check (#6658) (c5a4caf)
- ssa: Option to set the maximum acceptable Brillig bytecode increase in unrolling (#6641) (4ff3081)
- ssa: Simplify array get from set that writes to the same dynamic index (#6684) (304403f)
- Sync from aztec-packages (#6634) (aa143a7)
- Sync from aztec-packages (#6656) (594aad2)
- Sync from aztec-packages (#6824) (b3bca76)
- Sync from noir (AztecProtocol/aztec-packages#10307) (66d3275)
- test: Check that
nargo::ops::transform_program
is idempotent (#6694) (9f3e0e6) - tooling: Skip program transformation when loaded from cache (#6689) (7feb658)
- Warn on unnecessary unsafe blocks (#6867) (a97402a)
Bug Fixes
- Allow empty loop headers (#6736) (332ba79)
- Allow multiple
_
parameters, and disallow_
as an expression you can read from (#6657) (d80a9d7) - Always return an array of
u8
s when simplifyingIntrinsic::ToRadix
calls (#6663) (59c0c35) - Correct signed integer handling in
noirc_abi
(#6638) (ecaf63d) - Correct types returne...
nightly-2024-12-23
chore: Release Noir(1.0.0-beta.1) (#6622)
nightly-2024-12-22
chore: Release Noir(1.0.0-beta.1) (#6622)
nightly-2024-12-21
chore: Release Noir(1.0.0-beta.1) (#6622)
nightly-2024-12-20: chore: quick docs fix for #6839 (#6840)
Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
nightly-2024-12-19
fix: detect cycles in globals (#6859)
nightly-2024-12-18: feat: configurable external check failures (#6810)
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>