Releases: noir-lang/noir
Releases · noir-lang/noir
nightly-2025-02-17
fix: format global attributes (#7401)
nightly-2025-02-16
fix: format global attributes (#7401)
nightly-2025-02-15
fix: format global attributes (#7401)
nightly-2025-02-14
fix: give "correct" error when trying to use AsTraitPath (#7360)
nightly-2025-02-13
feat: `FunctionDefinition::as_typed_expr` (#7358)
nightly-2025-02-12
fix: incorrect secondary file in LSP errors (#7347)
v1.0.0-beta.2
1.0.0-beta.2 (2025-02-10)
⚠ BREAKING CHANGES
- check abi integer input is within signed range (#7316)
loop
statements (only frontend) (#7092)- Include kind in
StructDefinition::generics
and fix derivation of Eq in structs with numeric generics (#7076) - Handle generic fields in
StructDefinition::fields
and move old functionality toStructDefinition::fields_as_written
(#7067) - disallow calling unconstrained functions outside of
unsafe
blocks and passing unconstrained functions in place of constrained functions (#6938) - Disable mocks in
execute
(#6869) - require trait primitive functions/calls to have their trait in scope (#6901)
- Reserve
enum
andmatch
keywords (#6961) - require trait method calls (
foo.bar()
) to have the trait in scope (imported) (#6895) - type-check trait default methods (#6645)
- update
aes128_encrypt
to return an array (#6973) - turn TypeIsMorePrivateThenItem into an error (#6953)
- turn CannotReexportItemWithLessVisibility into an error (#6952)
- Switch to using
jsonrpsee
for foreign calls; refactorrun_test
; foreign call layering (#6849)
Features
--pedantic-solving
flag (#6716) (5b9a113)assert
andassert_eq
are now expressions (#7313) (9ae3c6c)loop
keyword in runtime and comptime code (#7096) (c4f183c)loop
must have at least onebreak
(#7126) (8804f0a)loop
statements (only frontend) (#7092) (48e613e)- Add
ConstrainNotEqual
instruction (#7032) (51180b9) - Add
noir-inspector
(#7136) (a0704aa) - Allow associated types to be ellided from trait constraints (#7026) (aa7b91c)
- Allow resolved types in constructors (#7223) (6d319af)
- Allow specifying multiple patterns in nargo test (#7186) (bd44e40)
- Auto-import traits when suggesting trait methods (#7037) (a9acf5a)
- Avoid generating a new witness when checking if linear expression is zero (#7031) (14c9237)
- Avoid inserting
inc_rc
instructions into ACIR (#7036) (2d316c2) - brillig: Set global memory size at program compile time (#7151) (7f9525d)
- brillig: SSA globals code gen (#7021) (82cb900)
- cli: Add CLI option to filter by contract function name (#7018) (fc5848c)
- comptime: Implement to_be_bits and to_le_bits in the interpreter (#7008) (a7eea81)
- Disable mocks in
execute
(#6869) (e71fcdf) - Disallow calling unconstrained functions outside of
unsafe
blocks and passing unconstrained functions in place of constrained functions (#6938) (2732947) - Don't report warnings for dependencies (#6926) (7cc8dbf)
- Don't simplify SSA instructions when creating them from a string (#6948) (da94c2b)
- experimental: Construct enum variants in expressions (#7174) (e338952)
- experimental: Implement enum tag constants (#7183) (0c6c637)
- experimental: Implement zeroed for enums (#7252) (b410f56)
- experimental: Parse match expressions (#7243) (97073b2)
- experimental: Support enums in comptime code (#7194) (4fe4cc6)
- experimental: Try to infer lambda argument types inside calls (#7088) (a3b823c)
- Handle generic fields in
StructDefinition::fields
and move old functionality toStructDefinition::fields_as_written
(#7067) (14a7e37) - Impl Default for U128 (#6984) (3c488f4)
- Infer lambda parameter types from return type and let type (#7267) (05dc343)
- Inline simple functions (#7160) (c17e228)
- Lock on Nargo.toml on several nargo commands (#6941) (54d81ca)
- LSP autocomplete module declaration (#7154) (1f1e750)
- LSP chain inlay hints (#7152) (1927bda)
- LSP: Auto-import trait reexport if trait is not visible (#7079) (197b02a)
- LSP: Code action to import trait in a method call (#7066) (3b8d1da)
- LSP: Suggest enum variants without parameters (#7261) (fc75298)
- LSP: Suggest trait methods from where clauses (#6915) (21eef0d)
- lsp: Use trait method docs for trait impl method docs on hover (#7003) (4d38a88)
- optimization: Add purity analysis to SSA (#7197) ([9f21824](https://github.co...
nightly-2025-02-11
chore: remove some unused types and functions in the AST (#7339)
nightly-2025-02-10
fix: avoid stack overflow on many comments in a row (#7325)
nightly-2025-02-09
fix: avoid stack overflow on many comments in a row (#7325)