0.20.0 (2023-12-01)
- avoid integer overflows (#2713)
- return Pedersen structure in stdlib (#3190)
- noir-wasm outputs debug symbols (#3317)
- move mimc to hash submodule (#3361)
- bump MSRV to 1.71.1 (#3353)
- Add semver checks for the compiler version in Nargo.toml (#3336)
- Move circuit serialization circuit into acir (#3345)
- change stdlib function
pedersen
topedersen_commitment
(#3341) - expose pedersen hash in acir and bb solver (#3269)
- Switch to new pedersen implementation (#3151)
- Pass ACIR to ACVM by reference rather than passing ownership (#2872)
- Make for loops a statement (#2975)
- traits: trait functions with a default implementation must not be followed by a semicolon (#2987)
- wasm: improve and simplify wasm compiler interface (#2976)
- wasm: update wasm artifacts to match cli artifacts (#2973)
- Maintain shape of foreign call arguments (#2935)
- update to
bb
version 0.7.3 (#2729) - noir_js: Rename inner and outer proof methods (#2845)
generateWitness
now returns a serialized witness file (#2842)- Issue an error when a module is declared twice & fix module search path (#2801)
- Default integers to u64 (#2764)
compute_note_hash_and_nullifier
check (#3216) (4963c6c)- abi: Throw errors rather than returning string from
noirc_abi_wasm
(#2817) (df7b42c) - abi: Tuples as inputs/outputs to main (#2899) (d8bd78f)
- acir: Enable dynamic indices on non-homogenous arrays (#2703) (622d2e4)
- acir: Handle dynamic array operations for nested slices (#3187) (e026319)
- acir: Set dynamic array values (#3054) (e871866)
- acvm_js: Export black box solver functions (#2812) (da8a98e)
- acvm: Separate ACVM optimizations and transformations (#2979) (5865d1a)
- Add --check option to nargo fmt for dry-run formatting verification (#3530) (4469707)
- Add
destroy
method toNoir
(#3105) (7e40274) - Add
execute
method toNoir
class (#3081) (17bdd7e) - Add
FieldElement::from<usize>
implementation (#3647) (8b7c5aa) - Add
noir_codegen
package (#3392) (6c4cd4d) - Add ACIR serializer C++ codegen (#2961) (7556982)
- Add an options object to
BarretenbergBackend
constructor (#3105) (7e40274) - Add aztec selectors for event structs (#2983) (982380e)
- Add bb interface implementation (#2902) (fe92dc0)
- Add check for overlapping generic traits (#3307) (8cf81b6)
- Add conditional compilation of methods based on the underlying field being used (#3045) (2e008e2)
- Add crate for pub modifier (#3271) (e7a1a1a)
- Add debugger commands to introspect (and modify) the current state (#3391) (9e1ad85)
- Add experimental REPL-based debugger (#2995) (281c696)
- Add exports of JS black box solvers to noirJS (#3295) (8369871)
- Add generic count check for trait methods (#3382) (a9f9717)
- Add JS types for ABI and input maps (#3023) (599e7a1)
- Add LSP command to profile opcodes in vscode (#3496) (6fbf77a)
- Add lsp formatting (#3433) (286c876)
- Add noir types package (#2893) (e8fc868)
- Add package version to Nargo.toml metadata (#3427) (9e1717c)
- Add profile info print out (#3425) (a8b5fa8)
- Add semver checks for the compiler version in Nargo.toml (#3336) (0e530cf)
- Add special case for boolean AND in acir-gen (#3615) (824039b)
- Add support for tuple values in
noir_codegen
(#3592) (346d75f) - Allow a trait to be implemented multiple times for the same struct (#3292) (51831df)
- Allow providing custom foreign call executors to
execute_circuit
(#3506) (d27db33) - Allow traits to have generic functions (#3365) (0f9af65)
- Avoid integer overflows (#2713) (7d7d632)
- Aztec-packages (#3599) (2cd6dc3)
- Aztec-packages (#3626) (e0a96ea)
- Cache debug artifacts (#3133) (c5a6229)
- Check where clauses when searching for trait impls (#3407) (84c6604)
- Codegen typed interfaces for functions in
noir_codegen
(#3533) (290c463) - Compile without a backend (#3437) (d69cf5d)
- Complex slice inputs for dynamic slice builtins (#3617) (8b23b34)
- Contract events in artifacts (#2873) (4765c82)
- Copy on write optimization for brillig (#3522) (da29c02)
- Data bus (#3508) (6b0bdbc)
- debugger: Highlight current src code loc (#3174) (6b87582)
- debugger: Print limited source code context (#3217) (dcda1c7)
- Default integers to u64 (#2764) (01cb041)
- Dynamic indexing of non-homogenous slices (#2883) (72c3661)
- Enable the
fmt
command in the help menu (#3328) (63d414c) - Expand trait impl overlap check to cover generic types (#3320) (a01549b)
- Export
CompiledCircuit
from codegened TS (#3589) (e06c675) - Expose pedersen hash in acir and bb solver (#3269) (0108b6c)
- Extract Brillig VM to allow step debugging (#3259) (f6431f9)
- Format infix expressions (#3001) (7926ada)
- formatter: Add formatter support for array literals (#3061) (a535321)
- Handle constant index operations on simple slices (#3464) (7ae12f8)
- Handle warnings in evaluator (#3205) (5cfd156)
- Implement
bound_constraint_with_offset
in terms ofAcirVar
s (#3233) (8d89cb5) - Implement automatic dereferencing for index expressions (#3082) (8221bfd)
- Implement automatic dereferencing for indexing lvalues (#3083) (6e2b70a)
- Implement euclidean division and signed division in terms of
AcirVar
s (#3230) (b8b7782) - Implement impl specialization (#3087) (44716fa)
- Implement integer printing (#3577) (6601408)
- Implement raw string literals (#3556) (87a302f)
- Implement string escape sequences (#2803) (f7529b8)
- Implement where clauses on impls (#3324) (4c3d1de)
- lsp: Add "info" codelens (#2982) (80770d9)
- lsp: Add goto definition for functions (#3656) (7bb7356)
- Maintain shape of foreign call arguments (#2935) (f7869e6)
- Make generic impls callable (#3297) (8d9b738)
- Manage breakpoints and allow restarting a debugging session (#3325) (f502108)
- Nargo test runtime callstacks and assert messages without string matching (#2953) (1b6a4e6)
- noir_js: Allow providing foreign call handlers in noirJS (#3294) (c76b0f8)
- Noir-wasm outputs debug symbols (#3317) (f9933fa)
- Noir-wasm takes dependency graph (#3213) (a2c8ebd)
- Old docs issues (#3195) (26746c5)
- Optimize euclidean division acir-gen (#3121) (2c175c0)
- Oracle mocker for nargo test (#2928) (0dd1e77)
- Pass ACIR to ACVM by reference rather than passing ownership (#2872) (b3a9c34)
- Pass brillig bytecode to VM by reference (#3030) (4ee290b)
- Perform compile-time euclidean division on constants (#3231) (3866d7e)
- Prevent unnecessary witness creation in euclidean division (#2980) (c6f660e)
- Properly track equivalence of witnesses generated for black box functions (#3428) (20b70c2)
- Provide formatting subcommand (#2640) (a38b15f)
- Publish aztec build of noir_wasm (#3049) (3b51f4d)
- Refactor debugger and separate core from UI (#3308) (8466810)
- Remove redundant predicate from brillig quotients (#2784) (a8f18c5)
- Remove type arrays for flat slices (#3466) (8225b2b)
- Remove unnecessary truncation of boolean multiplication (#3122) (39dbcf1)
- Replace boolean range constraints with arithmetic opcodes (#3234) (949222c)
- Return compilation errors from noir_wasm (#3091) (55f63c9)
- Return Pedersen structure in stdlib (#3190) (be30d59)
- Reuse witnesses more when interacting with memory (#3658) (5a4a73d)
- Reuse witnesses which have been assigned constant values during ACIR gen (#3137) (9eb43e2)
- Save Brillig execution state in ACVM (#3026) (88682da)
- Send and receive unflattened public inputs to backend (#3543) (a7bdc67)
- Solve
fixed_base_scalar_mul
black box functions in rust (#3153) (1c1afbc) - ssa: Multiple slice mergers (#2753) (8f76fe5)
- stdlib: Optimize constraint counts in sha256/sha512 (#3253) (d3be552)
- Switch to new pedersen implementation (#3151) (35fb3f7)
- traits: Add impl Trait as function return type #2397 (#3176) (4cb2024)
- traits: Add trait impl for buildin types (#2964) (2c87b27)
- traits: Added checks for duplicated trait associated items (types, consts, functions) (#2927) (d49492c)
- traits: Allow multiple traits to share the same associated function name and to be implemented for the same type (#3126) (004f8dd)
- traits: Implement trait bounds typechecker + monomorphizer passes (#2717) (5ca99b1)
- traits: Improve support for traits static method resolution (#2958) (0d0d8f7)
- traits: Multi module support for traits (#2844) (4deb07f)
- Use ranges instead of a vector for input witness (#3314) (b12b7ec)
- wasm: Improve and simplify wasm compiler interface (#2976) (1b5124b)
- wasm: Update wasm artifacts to match cli artifacts (#2973) (ce16c0b)
- "Missing trait impl" error in trait dispatch (#3440) (52daaec)
compute_note_hash_and_nullifier
compiler check (#3351) (4e2d35f)- 3275: Activate brillig modulo test with negative integers (#3318) (31c493c)
- 3300: Cache warnings into debug artefacts (#3313) (cb5a15b)
- ACIR optimizer should update assertion messages (#3010) (758b6b6)
- acvm: Return false rather than panicking on invalid ECDSA signatures (#2783) (155abc0)
- Add
pub
modifier to grumpkin functions (#3036) (f8990d7) - Add compiler error message for invalid input types (#3220) (989e80d)
- Add size checks to integer literals (#3236) (7f8fe8c)
- Adding proving key initialization (#3322) (3383740)
- Allow
where
clause on all functions and improve error message (#3465) (1647e33) - Allow constructors in parentheses in
if
conditions andfor
ranges (#3219) (ad192d1) - Allow two
TypeVariable::Constant(N)
to unify even if their constants are not equal (#3225) (cc4ca4b) - Apply predicate to over/underflow checks (#3494) (fc3edf7)
- aztec_nr: Serialise arrays of structs (#3401) (e979a58)
- Change non-constant argument errors from
to_be_radix
from ICE to proper error (#3048) (19ce286) - Check for overflow with hexadecimal inputs (#3004) (db1e736)
- Compiler version error message (#3558) (026a358)
- Complete debug metadata (#3228) (2f6509d)
- Conditionally run the "Create or Update PR" step in acir artifacts rebuild workflow (#2849) (63da875)
- Corrected the formatting of error message parameters in index out of bounds error (#3630) (3bba386)
- debugger: Step through foreign calls and breakpoints inside Brillig blocks (#3511) (5d77d7a)
- Determinism of fallback transformer (#3100) (12daad1)
- Disable modulo for fields (#3009) (7e68976)
- Disallow returning constant values (#2978) (79c2e88)
- Do not perform dead instruction elimination on mod,div unless rhs is constant (#3141) (af3d771)
- Do not simply divisions (#3664) (e5b981b)
- Docker builds (#3620) (f3eac52)
- docs: Update
editUrl
path for docusaurus (#3184) (4646a93) - Download expected
bb
version if installed backend has version mismatch (#3150) (3f03435) - Error message for assigning the wrong type is backwards #2804 (#2805) (b2d62bf)
- Finer bit size in bound constrain (#2869) (68385e2)
- Fix aztec library after nargo fmt (#3014) (f43083c)
- Fix crash when using undeclared traits (#3509) (8bb095a)
- Fix lexer error formatting (#3274) (74bd517)
- Fix method
program_counter
, change method signature (#3012) (5ea522b) - Fix panic in some cases when calling a private function (#2799) (078d5df)
- Fix panic when using repeated arrays which define variables (#3221) (c4faf3a)
- Fix should_fail_with (#2940) (4f07b84)
- Fix subtract with underflow in flattening pass (#2796) (f2ed505)
- Fixing versioning workflow (#3296) (3d5e43a)
- Flatten public inputs according to their index in numerial rather than ascii order (#3605) (a1f6343)
- Follow dependencies when looking for a struct (#3405) (561b1b8)
- Force recompilation when
output_debug
flag is set. (#2898) (9854416) - frontend: Error on unsupported integer annotation (#2778) (90c3d8b)
- Impl methods are no longer placed in contracts (#3255) (b673b07)
- Improve error message when multiplying unit values (#2950) (57b7c55)
- Include .nr and .sol files in builds (#3039) (ae8d0e9)
- Issue an error when a module is declared twice & fix module search path (#2801) (7f76910)
- Lack of cjs package version (#2848) (adc2d59)
- Make for loops a statement (#2975) (0e266eb)
- Match rust behaviour for left-shift overflow (#3518) (2d7ceb1)
- Minor problems with
aztec
publishing (#3095) (0fc8f20) - Move mimc to hash submodule (#3361) (3ec29f1)
- Overflow checks for constant folding (#3420) (b7a6383)
- Parse parenthesized lvalues (#3058) (50ca58c)
- Prevent duplicated assert message transformation (#3038) (082a6d0)
- Prevent mutating immutable bindings to mutable types (#3075) (d5ee20e)
- println: Enable printing of arrays/strings >2 in fmt strings (#2947) (309fa70)
- Recompile artefacts from a different noir version (#3248) (7347b27)
- Remove cast for field comparisons in brillig (#2874) (1fc1fdb)
- Remove duplication of code to load stdlib files (#2868) (b694aab)
- Remove quotes from println output (#3574) (127b6aa)
- Remove sha2_block test (#3360) (a48c03b)
- Restrict fill_internal_slices pass to acir functions (#3634) (0cad9aa)
- Return error rather than panicking on unreadable circuits (#3179) (d4f61d3)
- Show println output before an error occurs in
nargo execute
(#3211) (2f0b80d) - Silence unused variable warnings in stdlib (#2795) (5747bfe)
- Somewhat reduce mem2reg memory usage (#3572) (9b9ed89)
- Split conditional_regression tests (#2774) (8ed8832)
- ssa: Do not replace previously constrained values (#2647) (d528844)
- traits: Trait functions with a default implementation must not be followed by a semicolon (#2987) (a3593c0)
- Transform hir before type checks (#2994) (a29b568)
- Update link to recursion example (#3224) (10eae15)
- Use 128 bits for constant bit shift (#3586) (2ca9b05)
- Use pedersen_hash for merkle tree (#3357) (6b74d31)
- Verify impls arising from function calls exist (#3472) (d7f919d)
generateWitness
now returns a serialized witness file (#2842) (57d3f37)- Bump MSRV to 1.71.1 (#3353) (78f2127)
- Change stdlib function
pedersen
topedersen_commitment
(#3341) (964b777) - Move circuit serialization circuit into acir (#3345) (122119b)
- noir_js: Rename inner and outer proof methods (#2845) (71dbbb8)
- Update to
bb
version 0.7.3 (#2729) (fce68d1)
0.19.5 (2023-12-01)
- Add
FieldElement::from<usize>
implementation (#3647) (8b7c5aa) - Add package version to Nargo.toml metadata (#3427) (9e1717c)
- Add special case for boolean AND in acir-gen (#3615) (824039b)
- Aztec-packages (#3599) (2cd6dc3)
- Aztec-packages (#3626) (e0a96ea)
- Complex slice inputs for dynamic slice builtins (#3617) (8b23b34)
- Copy on write optimization for brillig (#3522) (da29c02)
- Data bus (#3508) (6b0bdbc)
- Implement integer printing (#3577) (6601408)
- Implement raw string literals (#3556) (87a302f)
- lsp: Add goto definition for functions (#3656) (7bb7356)
- Reuse witnesses more when interacting with memory (#3658) (5a4a73d)
- Corrected the formatting of error message parameters in index out of bounds error (#3630) (3bba386)
- Do not simply divisions (#3664) (e5b981b)
- Docker builds (#3620) (f3eac52)
- Flatten public inputs according to their index in numerial rather than ascii order (#3605) (a1f6343)
- Restrict fill_internal_slices pass to acir functions (#3634) (0cad9aa)
0.19.4 (2023-11-28)
- Add --check option to nargo fmt for dry-run formatting verification (#3530) (4469707)
- Add support for tuple values in
noir_codegen
(#3592) (346d75f) - Codegen typed interfaces for functions in
noir_codegen
(#3533) (290c463) - Export
CompiledCircuit
from codegened TS (#3589) (e06c675) - Remove type arrays for flat slices (#3466) (8225b2b)
- Send and receive unflattened public inputs to backend (#3543) (a7bdc67)
- Compiler version error message (#3558) (026a358)
- Remove quotes from println output (#3574) (127b6aa)
- Somewhat reduce mem2reg memory usage (#3572) (9b9ed89)
- Use 128 bits for constant bit shift (#3586) (2ca9b05)
0.19.3 (2023-11-22)
- Add debugger commands to introspect (and modify) the current state (#3391) (9e1ad85)
- Add LSP command to profile opcodes in vscode (#3496) (6fbf77a)
- Add lsp formatting (#3433) (286c876)
- Allow providing custom foreign call executors to
execute_circuit
(#3506) (d27db33) - Compile without a backend (#3437) (d69cf5d)
- Enable the
fmt
command in the help menu (#3328) (63d414c) - Handle constant index operations on simple slices (#3464) (7ae12f8)
- "Missing trait impl" error in trait dispatch (#3440) (52daaec)
- Adding proving key initialization (#3322) (3383740)
- Allow
where
clause on all functions and improve error message (#3465) (1647e33) - Apply predicate to over/underflow checks (#3494) (fc3edf7)
- debugger: Step through foreign calls and breakpoints inside Brillig blocks (#3511) (5d77d7a)
- Fix crash when using undeclared traits (#3509) (8bb095a)
- Match rust behaviour for left-shift overflow (#3518) (2d7ceb1)
- Verify impls arising from function calls exist (#3472) (d7f919d)
0.19.2 (2023-11-07)
0.19.1 (2023-11-07)
- acir: Handle dynamic array operations for nested slices (#3187) (e026319)
- Properly track equivalence of witnesses generated for black box functions (#3428) (20b70c2)
- Use ranges instead of a vector for input witness (#3314) (b12b7ec)
- Follow dependencies when looking for a struct (#3405) (561b1b8)
- Overflow checks for constant folding (#3420) (b7a6383)
0.19.0 (2023-11-02)
- avoid integer overflows (#2713)
- return Pedersen structure in stdlib (#3190)
- noir-wasm outputs debug symbols (#3317)
- move mimc to hash submodule (#3361)
- bump MSRV to 1.71.1 (#3353)
- Add semver checks for the compiler version in Nargo.toml (#3336)
- Move circuit serialization circuit into acir (#3345)
- change stdlib function
pedersen
topedersen_commitment
(#3341)
compute_note_hash_and_nullifier
check (#3216) (4963c6c)- Add
noir_codegen
package (#3392) (6c4cd4d) - Add check for overlapping generic traits (#3307) (8cf81b6)
- Add exports of JS black box solvers to noirJS (#3295) (8369871)
- Add generic count check for trait methods (#3382) (a9f9717)
- Add semver checks for the compiler version in Nargo.toml (#3336) (0e530cf)
- Allow a trait to be implemented multiple times for the same struct (#3292) (51831df)
- Allow traits to have generic functions (#3365) (0f9af65)
- Avoid integer overflows (#2713) (7d7d632)
- Check where clauses when searching for trait impls (#3407) (84c6604)
- Expand trait impl overlap check to cover generic types (#3320) (a01549b)
- Extract Brillig VM to allow step debugging (#3259) (f6431f9)
- Handle warnings in evaluator (#3205) (5cfd156)
- Implement where clauses on impls (#3324) (4c3d1de)
- Make generic impls callable (#3297) (8d9b738)
- Manage breakpoints and allow restarting a debugging session (#3325) (f502108)
- noir_js: Allow providing foreign call handlers in noirJS (#3294) (c76b0f8)
- Noir-wasm outputs debug symbols (#3317) (f9933fa)
- Perform compile-time euclidean division on constants (#3231) (3866d7e)
- Refactor debugger and separate core from UI (#3308) (8466810)
- Return Pedersen structure in stdlib (#3190) (be30d59)
compute_note_hash_and_nullifier
compiler check (#3351) (4e2d35f)- 3275: Activate brillig modulo test with negative integers (#3318) (31c493c)
- 3300: Cache warnings into debug artefacts (#3313) (cb5a15b)
- aztec_nr: Serialise arrays of structs (#3401) (e979a58)
- Fixing versioning workflow (#3296) (3d5e43a)
- Move mimc to hash submodule (#3361) (3ec29f1)
- Remove sha2_block test (#3360) (a48c03b)
- Use pedersen_hash for merkle tree (#3357) (6b74d31)
- Bump MSRV to 1.71.1 (#3353) (78f2127)
- Change stdlib function
pedersen
topedersen_commitment
(#3341) (964b777) - Move circuit serialization circuit into acir (#3345) (122119b)
0.18.0 (2023-10-25)
- Add crate for pub modifier (#3271) (e7a1a1a)
- Cache debug artifacts (#3133) (c5a6229)
- debugger: Print limited source code context (#3217) (dcda1c7)
- Expose pedersen hash in acir and bb solver (#3269) (0108b6c)
- Implement
bound_constraint_with_offset
in terms ofAcirVar
s (#3233) (8d89cb5) - Implement euclidean division and signed division in terms of
AcirVar
s (#3230) (b8b7782) - Noir-wasm takes dependency graph (#3213) (a2c8ebd)
- Replace boolean range constraints with arithmetic opcodes (#3234) (949222c)
- stdlib: Optimize constraint counts in sha256/sha512 (#3253) (d3be552)
- Switch to new pedersen implementation (#3151) (35fb3f7)
- Add size checks to integer literals (#3236) (7f8fe8c)
- Fix lexer error formatting (#3274) (74bd517)
- Impl methods are no longer placed in contracts (#3255) (b673b07)
- Recompile artefacts from a different noir version (#3248) (7347b27)
- Show println output before an error occurs in
nargo execute
(#3211) (2f0b80d)
0.17.0 (2023-10-20)
- Pass ACIR to ACVM by reference rather than passing ownership (#2872)
- Make for loops a statement (#2975)
- traits: trait functions with a default implementation must not be followed by a semicolon (#2987)
- wasm: improve and simplify wasm compiler interface (#2976)
- wasm: update wasm artifacts to match cli artifacts (#2973)
- acir: Set dynamic array values (#3054) (e871866)
- acvm: Separate ACVM optimizations and transformations (#2979) (5865d1a)
- Add
destroy
method toNoir
(#3105) (7e40274) - Add
execute
method toNoir
class (#3081) (17bdd7e) - Add ACIR serializer C++ codegen (#2961) (7556982)
- Add an options object to
BarretenbergBackend
constructor (#3105) (7e40274) - Add aztec selectors for event structs (#2983) (982380e)
- Add conditional compilation of methods based on the underlying field being used (#3045) (2e008e2)
- Add experimental REPL-based debugger (#2995) (281c696)
- Add JS types for ABI and input maps (#3023) (599e7a1)
- debugger: Highlight current src code loc (#3174) (6b87582)
- Format infix expressions (#3001) (7926ada)
- formatter: Add formatter support for array literals (#3061) (a535321)
- Implement automatic dereferencing for index expressions (#3082) (8221bfd)
- Implement automatic dereferencing for indexing lvalues (#3083) (6e2b70a)
- Implement impl specialization (#3087) (44716fa)
- lsp: Add "info" codelens (#2982) (80770d9)
- Nargo test runtime callstacks and assert messages without string matching (#2953) (1b6a4e6)
- Old docs issues (#3195) (26746c5)
- Optimize euclidean division acir-gen (#3121) (2c175c0)
- Pass ACIR to ACVM by reference rather than passing ownership (#2872) (b3a9c34)
- Pass brillig bytecode to VM by reference (#3030) (4ee290b)
- Prevent unnecessary witness creation in euclidean division (#2980) (c6f660e)
- Provide formatting subcommand (#2640) (a38b15f)
- Publish aztec build of noir_wasm (#3049) (3b51f4d)
- Remove unnecessary truncation of boolean multiplication (#3122) (39dbcf1)
- Return compilation errors from noir_wasm (#3091) (55f63c9)
- Reuse witnesses which have been assigned constant values during ACIR gen (#3137) (9eb43e2)
- Save Brillig execution state in ACVM (#3026) (88682da)
- Solve
fixed_base_scalar_mul
black box functions in rust (#3153) (1c1afbc) - traits: Add impl Trait as function return type #2397 (#3176) (4cb2024)
- traits: Add trait impl for buildin types (#2964) (2c87b27)
- traits: Added checks for duplicated trait associated items (types, consts, functions) (#2927) (d49492c)
- traits: Allow multiple traits to share the same associated function name and to be implemented for the same type (#3126) (004f8dd)
- traits: Improve support for traits static method resolution (#2958) (0d0d8f7)
- wasm: Improve and simplify wasm compiler interface (#2976) (1b5124b)
- wasm: Update wasm artifacts to match cli artifacts (#2973) (ce16c0b)
- ACIR optimizer should update assertion messages (#3010) (758b6b6)
- Add
pub
modifier to grumpkin functions (#3036) (f8990d7) - Add compiler error message for invalid input types (#3220) (989e80d)
- Allow constructors in parentheses in
if
conditions andfor
ranges (#3219) (ad192d1) - Allow two
TypeVariable::Constant(N)
to unify even if their constants are not equal (#3225) (cc4ca4b) - Change non-constant argument errors from
to_be_radix
from ICE to proper error (#3048) (19ce286) - Check for overflow with hexadecimal inputs (#3004) (db1e736)
- Complete debug metadata (#3228) (2f6509d)
- Determinism of fallback transformer (#3100) (12daad1)
- Disable modulo for fields (#3009) (7e68976)
- Disallow returning constant values (#2978) (79c2e88)
- Do not perform dead instruction elimination on mod,div unless rhs is constant (#3141) (af3d771)
- docs: Update
editUrl
path for docusaurus (#3184) (4646a93) - Download expected
bb
version if installed backend has version mismatch (#3150) (3f03435) - Fix aztec library after nargo fmt (#3014) (f43083c)
- Fix method
program_counter
, change method signature (#3012) (5ea522b) - Fix panic when using repeated arrays which define variables (#3221) (c4faf3a)
- Include .nr and .sol files in builds (#3039) (ae8d0e9)
- Make for loops a statement (#2975) (0e266eb)
- Minor problems with
aztec
publishing (#3095) (0fc8f20) - Parse parenthesized lvalues (#3058) (50ca58c)
- Prevent duplicated assert message transformation (#3038) (082a6d0)
- Prevent mutating immutable bindings to mutable types (#3075) (d5ee20e)
- Return error rather than panicking on unreadable circuits (#3179) (d4f61d3)
- traits: Trait functions with a default implementation must not be followed by a semicolon (#2987) (a3593c0)
- Transform hir before type checks (#2994) (a29b568)
- Update link to recursion example (#3224) (10eae15)
0.16.0 (2023-10-03)
- Maintain shape of foreign call arguments (#2935)
- abi: Tuples as inputs/outputs to main (#2899) (d8bd78f)
- acvm_js: Export black box solver functions (#2812) (da8a98e)
- Add bb interface implementation (#2902) (fe92dc0)
- Add noir types package (#2893) (e8fc868)
- Dynamic indexing of non-homogenous slices (#2883) (72c3661)
- Maintain shape of foreign call arguments (#2935) (f7869e6)
- Oracle mocker for nargo test (#2928) (0dd1e77)
- ssa: Multiple slice mergers (#2753) (8f76fe5)
- traits: Multi module support for traits (#2844) (4deb07f)
- Fix should_fail_with (#2940) (4f07b84)
- Force recompilation when
output_debug
flag is set. (#2898) (9854416) - Improve error message when multiplying unit values (#2950) (57b7c55)
- println: Enable printing of arrays/strings >2 in fmt strings (#2947) (309fa70)
0.15.0 (2023-09-28)
- update to
bb
version 0.7.3 (#2729)
0.14.1 (2023-09-27)
- Remove cast for field comparisons in brillig (#2874) (1fc1fdb)
- Remove duplication of code to load stdlib files (#2868) (b694aab)
0.14.0 (2023-09-26)
- noir_js: Rename inner and outer proof methods (#2845)
generateWitness
now returns a serialized witness file (#2842)- Issue an error when a module is declared twice & fix module search path (#2801)
- Default integers to u64 (#2764)
- abi: Throw errors rather than returning string from
noirc_abi_wasm
(#2817) (df7b42c) - acir: Enable dynamic indices on non-homogenous arrays (#2703) (622d2e4)
- Default integers to u64 (#2764) (01cb041)
- Implement string escape sequences (#2803) (f7529b8)
- Remove redundant predicate from brillig quotients (#2784) (a8f18c5)
- traits: Implement trait bounds typechecker + monomorphizer passes (#2717) (5ca99b1)
- acvm: Return false rather than panicking on invalid ECDSA signatures (#2783) (155abc0)
- Conditionally run the "Create or Update PR" step in acir artifacts rebuild workflow (#2849) (63da875)
- Error message for assigning the wrong type is backwards #2804 (#2805) (b2d62bf)
- Fix panic in some cases when calling a private function (#2799) (078d5df)
- Fix subtract with underflow in flattening pass (#2796) (f2ed505)
- frontend: Error on unsupported integer annotation (#2778) (90c3d8b)
- Issue an error when a module is declared twice & fix module search path (#2801) (7f76910)
- Lack of cjs package version (#2848) (adc2d59)
- Silence unused variable warnings in stdlib (#2795) (5747bfe)
- Split conditional_regression tests (#2774) (8ed8832)
- ssa: Do not replace previously constrained values (#2647) (d528844)
generateWitness
now returns a serialized witness file (#2842) (57d3f37)- noir_js: Rename inner and outer proof methods (#2845) (71dbbb8)
0.13.0 (2023-09-21)
- constrain is now a hard error (#2758)
- Add
pub
modifier (#2754) (dda964e) - Add support for attributes on structs (#2733) (7b3df8e)
- Add wrapping functions in stdlib and use them in relevant test cases (#2725) (49ab121)
- aztec-noir: Abstract storage (#2750) (5481344)
- Constrain is now a hard error (#2758) (388a2b1)
- Refine Noir.js API (#2732) (e79f1ed)
- Short-circuit compilation and read build artifacts from file if program is unchanged (#2743) (87fea4b)
- Signed arithmetic (#2748) (a84216d)
- traits: Implement trait bounds def collector + resolver passes (#2716) (e3d18bb)
- traits: Type checking for Trait impl method signatures (#2652) (8617008)
- Variable liveness analysis for brillig (#2715) (ddb05ab)
- Add error message for a contract package with no contracts (#2762) (9701a0c)
- Check for literal overflows in expressions (#2742) (4009f30)
- Keep the correct type for bitshift (#2739) (04fc2ea)
- Make
Vec::get
accept immutableVec
s (#2776) (f168a54) - Nightly js test (#2740) (36dcd48)
0.12.0 (2023-09-15)
- Change
noir-lang/noir-source-resolver
tonoir-lang/source-resolver
(#2718) - use american spelling of "serialize" in stdlib (#2675)
- Restrict packages to contain at most a single contract (#2668)
- use two limbs for scalar mul (#2602)
- Add initial version of noir.js (#2681) (e1687c9)
- Allow methods defined in a contract to be non-entry points (#2687) (2103b2f)
- Compile circuits and query circuit sizes in parallel for
nargo info
(#2665) (f173c05) - Compile workspace packages in parallel (#2612) (16e5e4d)
- Handle
should_fail_with
case (#2541) (291d002) - lsp: Add nargo capabilities for test metadata (#2532) (b4ee23e)
- nargo: Allow installing custom backends from the CLI (#2632) (c0c462c)
- parser: Allow multiple attributes (#2537) (7cdff2e)
- traits: Add default and override of methods (#2585) (98c3ba9)
- Avoid overflows in integer division (#2180) (6665210)
- aztec_noir: Support bools as input types (#2674) (9e7a0f0)
- Failing js tests (#2722) (398b6d7)
- Fix
update_acir
deleting all debug information (#2643) (a8a5395) - Fix compilation using
aztec
feature flag (#2663) (7f6fe46) - Implement auto-dereferencing when calling methods (#2581) (3c731b1)
- Initialize arrays returned by brillig (#2048) (788dfb4)
- Remove duplicate file extension in stack trace (#2655) (1114871)
- ssa: Slice mergers with multiple ifs (#2597) (6110638)
- Support for conditional stores (#2553) (6e6d952)
- Use high limb in scalar multiplication (#2619) (9014b8a)
- Use two limbs for scalar mul (#2602) (d0884ca)
- wasm: Apply transformation map to circuit debug information in
noir_wasm
(#2635) (9da822f) - wasm: Avoid requesting stdlib paths from the source-resolver (#2650) (aebab34)
- wasm: Remove stacker from dependencies (#2637) (36691ab)
- Change
noir-lang/noir-source-resolver
tonoir-lang/source-resolver
(#2718) (31e489e) - Restrict packages to contain at most a single contract (#2668) (dc3358b)
- Use american spelling of "serialize" in stdlib (#2675) (56c96d0)
0.11.1 (2023-09-07)
0.11.0 (2023-09-07)
- stdlib: Rename
fixed_base_scalar_mul
to be more descriptive (#2488) - ACVM 0.24 (#2504)
- Update to
acvm-backend-barretenberg
v0.12.0 (#2377) - abi: Replace struct name with fully qualified struct path (#2374)
- Remove keys from preprocessed artifacts (#2283)
- Add
nargo backend ls
andnargo backend use
command to switch between backends (#2552) (7471147) - Add
noirc_abi_wasm
crate for ABI encoding in JS (#1945) (669e0da) - Add support for brillig call stacks in runtime errors (#2549) (a077391)
- Apply optimizations to unconstrained code (#2348) (8e0f6c4)
- aztec_noir: Abstract kernel return types (#2521) (2668ac2)
- nargo: Add commands to install and uninstall custom backends. (#2575) (28a413c)
- nargo: Add hidden option to produce JSON output from
nargo info
(#2542) (14d31a5) - Pull
Language
andOpcode
support from backend (#2563) (2d0a5e4) - ssa: Replace values which have previously been constrained with simplified value (#2483) (9be750a)
- stdlib: Grumpkin scalar multiplication API (#2586) (dc34bc4)
- Support for optional assertion messages (#2491) (5f78772)
- Allow usage of decimal string encoding for fields larger than a
i128
(#2547) (d73f30e) - aztec_noir: Fix compilation of
aztec_library.rs
(#2567) (a8d0328) - aztec_noir: Generalise loop to not always inject a hasher instance (#2529) (9fe4cfd)
- Black box func slice handling (#2562) (c67cd7d)
- Initialize structs during def collection, not name resolution (#2528) (f170529)
- Make def collector ordering more deterministic (#2515) (d49e0af)
- Modulo with divisor of zero should fail constraints (#2578) (fe6e2e6)
- abi: Replace struct name with fully qualified struct path (#2374) (0920dd0)
- ACVM 0.24 (#2504) (f06fbdb)
- Remove keys from preprocessed artifacts (#2283) (4554287)
- stdlib: Rename
fixed_base_scalar_mul
to be more descriptive (#2488) (6efc007) - Update to
acvm-backend-barretenberg
v0.12.0 (#2377) (1467275)
0.10.5 (2023-08-30)
- Implement constant folding during the mem2reg pass (#2464) (5361ebd)
- ssa: Handle right shift with constants (#2481) (13a8c87)
0.10.4 (2023-08-29)
- Add
assert_eq
keyword (#2137) (b467a2d) - Add
test(should_fail)
attribute for tests that are meant to fail (#2418) (74af99d) - Add syntax for specifying function type environments (#2357) (495a479)
- Add trait definition representation in DefCollector and HIR (#2338) (406a595)
- attributes: Enable custom attributes (#2395) (179611b)
- brillig: Added locations for brillig artifacts (#2415) (3771e52)
- Create equivalence relationships for intermediate witnesses from multiplication (#2414) (cc2a2d8)
- frontend: Aztec syntactic sugar (feature flagged) (#2403) (a894a6e)
- nargo: Support optional directory in git dependencies (#2436) (84fdc55)
- Perform more checks for compile-time arithmetic (#2380) (1be2b1e)
- Report compilation warnings before errors (#2398) (a1d1267)
- ssa: Merge slices in if statements with witness conditions (#2347) (76f7e43)
- ssa: Reuse existing results for duplicated instructions with no side-effects (#2460) (93726c4)
- Standard library functions can now be called with closure args (#2471) (feb8d0e)
- Syntax for environment types now works with generics (#2383) (4609c1a)
- Update to
acvm
0.22.0 (#2363) (e050fab) - Use equivalence information from equality assertions to simplify circuit (#2378) (ec5b021)
- acir_gen: Pass accurate contents to slice inputs for bb func calls (#2435) (054642b)
- acir: Attach locations to MemoryOps in ACIR (#2389) (d7d7f22)
- Closure lvalue capture bugfix (#2457) (632006a)
- Correct off-by-one errors in lexer spans (#2393) (bbda9b0)
- Divide by zero should fail to satisfy constraints for
Field
and ints (#2475) (1b85816) - Implement handling of array aliasing in the mem2reg optimization pass (#2463) (7123fa9)
- Implement new mem2reg pass (#2420) (7714cd0)
- lsp: Remove duplicated creation of lenses (#2433) (41b568d)
- parser: Fixes for the parsing of 'where' clauses (#2430) (fa31015)
- Remove duplicate
T
inexpected T, found T
error on tuple assignment (#2360) (c964ee8) - Run
wasm
nodejs tests with no fails (#2387) (67b6710) - Show types in error message in same order as in source code (#2353) (feebee4)
- ssa: Codegen missing check for unary minus (#2413) (1435a86)
- ssa: Do not optimize for allocates in constant folding (#2466) (9e272f3)
- ssa: Remove padding from ToRadix call with constant inputs (#2479) (37bb781)
0.10.3 (2023-08-16)
- Allow calling higher-order functions with closures (#2335) (75fd3e0)
- lsp: Add
Compile
code lens formain
function and contracts (#2309) (5fe69c6) - lsp: Add
Execute
code lens formain
functions (#2330) (5aa59e0)
0.10.2 (2023-08-16)
- Prevent dead instruction elimination of brillig functions which may contain side-effects (#2340) (ba8ffd8)
0.10.1 (2023-08-15)
- Add full call stacks to runtime errors (#2310) (9004181)
- Improved error message for unexpected return type (#2302) (d7e1e65)
- ssa: Perform dead instruction elimination on intrinsic functions (#2276) (3fe3f8c)
- ssa: Switch mem2reg pass to be per function rather than per block (#2243) (0d548b9)
- stdlib: Implement
str
as_bytes
andinto_bytes
function (#2298) (92549d4)
0.10.0 (2023-08-15)
- nargo: Remove
-p
short flag from the--program-dir
flag (#2300) - nargo: Replace
--contracts
flag withcontract
package type (#2204) - nargo: remove
flat_witness
feature flag (#2208) - nargo: Require package
type
be specified in Nargo.toml (#2134) - Allow specifying new package name with
--name
flag (#2144) - nargo: Remove unused flags on LSP command (#2170)
- Support workspaces and package selection on every nargo command (#1992)
- nargo: Require package names in Nargo.toml files (#2056)
- Update to ACVM 0.21.0 (#2051)
- Drop support for the legacy SSA (#2049)
- nargo: Rename nargo gates to nargo info (#2038)
- nargo: Default to new SSA code for compilation
- acir_gen: RecursiveAggregation opcode and updates to black box func call generation (#2097) (5cb8166)
- Add
assert_constant
(#2242) (a72daa4) - Add
deprecated
attribute (#2041) (9e2cf6f) - Add
Option<T>
to noir stdlib (#1781) (920a900) - Add basic benchmarking (#2213) (c8fe617)
- Add slice append (#2241) (90c5d18)
- Add support for bitshifts by distances known at runtime (#2072) (b0fbc53)
- Add support for slices of structs and nested slices in brillig (#2084) (620517f)
- allow returning nested arrays from brillig (#2047) (4378bb8)
- Allow specifying new package name with
--name
flag (#2144) (e932599) - Drop support for the legacy SSA (#2049) (3f33e44)
- Execute brillig opcodes with constant inputs at compile-time (#2190) (79af8e6)
- Format strings for prints (#1952) (3c82721)
- Implement traits - parser support #2094 (#2230) (589f173)
- Implement type aliases (#2112) (ce94cb4)
- Include struct names in ABIs (#2266) (9824ca5)
- Issue warning for signed integers (#2185) (1be1bcc)
- Make arrays and slices polymorphic over each other (#2070) (ef91286)
- nargo: Add
--exact
flag tonargo test
(#2272) (1ad9199) - nargo: Add
--workspace
flag to run commands in every package (#2313) (d6deb0c) - nargo: Add support for contracts in
nargo check
(#2267) (3d1b252) - nargo: Default to new SSA code for compilation (ce37718)
- nargo: Replace
--contracts
flag withcontract
package type (#2204) (968e12c) - nargo: Require package
type
be specified in Nargo.toml (#2134) (1c991d0) - nargo: Support custom entry points specified in TOML (#2158) (effb02a)
- Only create new witnesses for distinctiveness when duplicates exist (#2191) (14cbdbc)
- open functions are unconstrained (be44c7b)
- Optimize
x < 0
for unsignedx
to false (#2206) (25bc969) - Optimize away constant calls to black box functions (#1981) (47b372c)
- Optimize equality checks between a boolean and constant (#2201) (478c026)
- Optionally output a debug artifact on compile (#2260) (edded24)
- Perform input validation on user's package names (#2293) (87174ac)
- Perform sorting of constant arrays at compile time (#2195) (c46d7a0)
- Remove
comptime
and warn upon usage (#2178) (98d0de3) - Remove an unnecessary witness in
mul_with_witness
(#2078) (9f3198e) - replace boolean
AND
s with multiplication (#1954) (435ab35) - ssa: Add additional BinaryOp simplifications (#2124) (50b2816)
- Support
contract
package type innargo info
command (#2249) (d309cc0) - Support workspaces and package selection on every nargo command (#1992) (940b189)
- Update to ACVM 0.21.0 (#2051) (ad118eb)
- Add foreign impl error (#2216) (a53f5ed)
- Avoid non-determinism in defunctionalization (#2069) (898a9fa)
- avoid non-determinism in defunctionalize (898a9fa)
- avoid potential panic in
two_complement
(#2081) (63c4da0) - Fix 3 parser test cases in parsing (#2284) (094aef1)
- fix an ICE happening when we call a closure result from if/else (#2146) (928b3ad)
- Fix an ICE when reassigning a mutable lambda variable to one with a different environment type (#2172) (a56db3e)
- Fix assignment when both
mut
and&mut
are used (#2264) (b07a7ff) - Fix methods not mutating fields (#2087) (6acc242)
- flattening pass no longer overwrites previously mapped condition values (#2117) (f7742ab)
- globals: Accurately filter literals for resolving globals (#2126) (1c21d0c)
- Implement
.len()
in Acir-Gen (#2077) (ab61e3a) - Implement slices of structs (#2150) (6abcb79)
- Initialize numeric generics' type to a polymorphic integer when used in an expression (#2179) (c74b228)
- lsp: Ensure lsp does not crawl past the root specified (#2322) (d69e372)
- lsp: Improve dependency resolution in context of
Nargo.toml
(#2226) (8846bf2) - lsp: Pass
--program-dir
to test command from codelens (#2292) (92e1802) - Mutating a variable no longer mutates its copy (#2057) (e85e485)
- nargo: Allow
--program-dir
flag anywhere in a command (#2290) (7834fce) - nargo: Indicate which TOML file is missing package name (#2177) (9529157)
- nargo: Make dependencies section optional in TOML (#2161) (099f4d4)
- nargo: Remove
-p
short flag from the--program-dir
flag (#2300) (cc2af74) - Open contract functions are unconstrained (#2052) (be44c7b)
- optimize contracts built by
nargo info
(b30b3f4) - Optimize contracts built by
nargo info
(#2259) (b30b3f4) - Overflowing assignment will result in an error (#2321) (bc645fc)
- Prevent panic when passing relative paths to
--program-dir
(#2324) (9eb45da) - properly capture lvalues in closure environments (#2120) (#2257) (ed5273c)
- remove duplicated
name
option innargo new
(#2183) (68f5887) - Remove last vestige of array of structs to struct of arrays conversion (#2217) (34be264)
- Rename
Option::value
toOption::_value
(#2127) (8a1ace7) - Require package names to be non-empty (#2293) (87174ac)
- Set location before cast instructions in SSA (#2202) (a72cc96)
- simplification of overflowing integer operations (#2153) (4a5d2de)
- stdlib: correct
tecurve::contains
formula (#1821) (6a10ecf)
- nargo: remove
flat_witness
feature flag (#2208) (32d52d3) - nargo: Remove unused flags on LSP command (#2170) (ccba78e)
- nargo: Rename nargo gates to nargo info (#2038) (5907e96)
- nargo: Require package names in Nargo.toml files (#2056) (bb28223)
0.9.0 (2023-07-25)
- ACIR bytecode encoding with Base64 (#1935)
- Update to ACVM 0.18.1 and implement missing brillig blackboxes (#1914)
- ACIR bytecode encoding with Base64 (#1935) (347cfc4)
- Add
nargo build
as alias fornargo compile
(#1940) (13618d4) - add
nargo init
command (#1859) (2d87c87) - Add ability to create a proof for a workspace member using
nargo prove -p {crate_name}
(#1930) (266126f) - Add Acir debug information (#1864) (5ff8b53)
- Add multi-line comments (#1936) (cfb1765)
- Add support for nested arrays on brillig gen (#2029) (8adc57c)
- Add to_radix and to_bits support to brillig gen (#2012) (3eef41c)
- Add unit literals and unit types to parser (#1960) (ea80de5)
- Adding internal keyword (#1873) (7a85493)
- Allow arrays of arbitrary types in the program ABI (#1651) (811ede1)
- Allow shadowing by default (#2000) (88a4f74)
- avoid unnecessary witness assignments in euclidean division / bound constraint (#1989) (c23257d)
- brillig_gen: Return slices from foreign calls (#1909) (6fa3144)
- compile to brillig reachable acir fns (#1919) (2b4237d)
- dynamic arrays for experimental-ssa (#1969) (08d199a)
- Implement parsing of traits (#1886) (3ba1e72)
- Implement references in brillig (#1901) (3a078fb)
- initial implementation of slices in brillig (#1932) (ea47936)
- Refactor Logging to use Brillig foreign calls (#1917) (c15f9aa)
- stdlib: Add multiple slice builtins (#1888) (008a16b)
- stdlib: Add secp256r1 builtin function (#1858) (f3800c5)
- stdlib: Vec type (#1905) (3734e25)
- Update to ACVM 0.18.1 and implement missing brillig blackboxes (#1914) (2bc7d25)
9_conditional
end to end test (#1951) (2f6741f)regression
end to end test (#1965) (59f92e3)- Account for missing indices in flattened witness map (#1907) (3972410)
- Add missing
follow_bindings
when checking if a type can be casted (#2022) (537c2bd) - Add Result to acir gen (#1927) (1f8fd51)
- Assignment to arrays of structs (#1998) (2c3d976)
- brillig_gen: Pass correct size of complex types input for brillig foreign calls (#1922) (04c89d2)
- Create
FileManager
with a root and normalize filenames against it (#1881) (50c1648) - Differentiate stdlib
CrateId
from others (#1895) (211e251) - Don't panic when checking if an undeclared variable is mutable (#1987) (0449518)
- emit
Opcode
s in correct order fromGeneratedAcir::radix_le_decompose
(#1903) (e5fe839) - emit opcode in correct order from
GeneratedAcir::radix_le_decompose
(e5fe839) - emit opcodes for sorting variables in order of execution (c43efab)
- Emit opcodes for sorting variables in order of execution (#1941) (c43efab)
- Fix auto-deref operations assigning the wrong result type (#1904) (827f78c)
- lsp: Avoid storing Context until recompiles are possible (#1891) (fb5f20b)
- method resolution when calling an
&mut
method with an&mut
object type (#1947) (73c2e94) - Only flatten main (#1984) (ac865b1)
- Parse an if followed by a tuple as a block (#1924) (8df4f05)
- Perform
occurs
check before binding function types (#2027) (1544786) - Prevent
if
andfor
from parsing constructor expressions (#1916) (6d3029a) - Rebuild tests plus script to include secp256r1 change (#1908) (ca68666)
- Switch from HashMap to BTreeMap in merge_stores (#2035) (4d179e3)
- update int division optimization (#1928) (fb872c6)
- Various fixes for defunctionalization & brillig gen (#1973) (f99f4bf)
- workaround for LSP dependency resolution (#1865) (a8ac338)
0.8.0 (2023-07-07)
- ssa_refactor: Add Slices (#1728)
- nargo: Make proving and verification keys optional (#1880)
- update to ACVM 0.16.0 (#1863)
- add signed division (#1831) (d0894ad)
- allow main to be a brillig function (#1861) (1330a2a)
- brillig: implemented blackbox functions (#1788) (f9f38de)
- brillig: wrap brillig fns to be top level (1330a2a)
- defunctionalization pass for ssa refactor (#1870) (1d5d84d)
- driver: Remove
Driver
struct and refactor functions to takeContext
(#1867) (8895853) - driver: Remove Driver struct and refactor functions to take context (8895853)
- lsp: Add a codelens that runs test when clicked (#1835) (5d64f8a)
- make array indexes polymophic integers (#1877) (0fc93fa)
- make use of type information when serialising inputs (#1655) (310368d)
- recursion working in brillig (#1854) (e55b5a8)
- ssa refactor: Implement first-class references (#1849) (e5773e4)
- ssa_refactor: Add Slices (#1728) (4bee979)
- update to ACVM 0.16.0 (#1863) (9c89def)
- crates: do not process relative dependencies twice (#1856) (b2e71bb)
- lsp: Ensure stdlib is always added before the
check_crate
phase (#1840) (cb607f5) - lsp: Ensure that stdlib is always added to the driver during the check_crate phase (cb607f5)
- Prevent comparisons from being used on
Field
s (#1860) (c8858fd) - ssa refactor: Add missed call to resolve (#1817) (fa9be1d)
- ssa refactor: Fix recursive call to
create_value_from_type
(#1815) (890a63b) - ssa refactor: Prevent stores in 'then' branch from affecting the 'else' branch (#1827) (e068fd4)
0.7.1 (2023-06-23)
- brillig: foreign calls with dynamic-size objects (#1705) (fe7bb99)
- update acvm to 0.15.1 (#1764) (b52f25d)
- lsp: Ensure LSP can compile on Windows (#1794) (2992915)
- Methods called after being passed through a generic type were not being detected (#1785) (e560cd2)
- nargo: Update acvm-backend-barretenberg to allow wasm backend compilation (#1771) (97da745)
- old ssa: fix to_be_bits (#1765) (2541fbd)
- ssa refactor: ACIR gen NOT integer (#1749) (af749a0)
- ssa refactor: allow simplified call inserts & fix const radix arg handling (#1774) (46facce)
- ssa refactor: Fix flattening pass inserting loads before stores occur (#1783) (4293b15)
- ssa refactor: Fix panic in acir-gen from multiplying values of different types (#1769) (1f9a132)
- ssa refactor: function inlining orphans calls (#1747) (f30a90f)
- ssa refactor: Ignore array out of bounds errors when enable_side_effects is false (#1797) (7b7682a)
- ssa refactor: Implement merging of array values during flattening pass (#1767) (8f24751)
- ssa refactor: recursion_level decrement (#1745) (e449b92)
- ssa refactor: recursive branch analysis (#1759) (635b574)
- ssa refactor: Reset condition value during flattening pass (#1811) (2e330e0)
- ssa refactor: Speedup acir-gen (#1793) (1e75f0e)
- ssa refactor: Speedup find-branch-ends (#1786) (861e42c)
- Update array type when processing staged memory (#1751) (27eb748)
0.7.0 (2023-06-19)
- Update to acvm 0.14.0 (#1594)
- update to ACVM 0.13.0 (#1393)
- stdlib: remove unnecessary merkle functions from stdlib (#1424)
- stdlib: return update verification functions to return
bool
- stdlib: update stdlib functions to return
bool
where appropriate (#1409) - Change serialization of struct field order to match the user defined order (#1166)
- Update to ACVM 0.12.0 (#1339)
- remove concept of noir fallbacks for foreign functions (#1371)
- nargo: retire print-acir in favour of flag (#1328)
- Allow warnings by default (#1383) (e7a0d5c)
- ci: update noir to build wasm with a nix flake file (#1208) (2209369)
- lsp: Publish diagnostics on file save (#1676) (c53bfc8)
- Make for-loop range be a polymorphic integer instead of just Field in unconstrained functions (#1583) (77fba56)
- multiple item imports in use statement (#1466) (1dcd2ee)
- nargo: Add
lsp
command to start server that reports no capabilities (#1560) (e28529d) - nargo: Allow user-specified file for prover inputs instead of
Prover.toml
(#1531) (91cbec6) - nargo: retire print-acir in favour of flag (#1328) (dffa3c5)
- pass in closure to
Driver
to signal backend opcode support (#1349) (1e958c2) - remove concept of noir fallbacks for foreign functions (#1371) (dbec6f2)
- ssa refactor: mem2reg opt pass (#1363) (5d1efd5)
- stdlib: EdDSA sig verification (#1313) (04a15e0)
- stdlib: return update verification functions to return
bool
(2b2be1e) - stdlib: update stdlib functions to return
bool
where appropriate (#1409) (2b2be1e) - Update to acvm 0.14.0 (#1594) (f2d6b7b)
- update to ACVM 0.15.0 (#1616) (3109239)
- use RAM/ROM opcode when supported by the backend (#1282) (242f07b)
- Change serialization of struct field order to match the user defined order (#1166) (809aa3a)
- Fix modulo operator for comptime values (#1361) (ba15d6d)
- Fix nargo not showing compiler errors or warnings (#1694) (4233068)
- frontend: Avoid panic if dependency cannot be resolved (#1719) (f35b346)
- nargo: prevent -p arg clash (#1605) (4867f4e)
- noirc_driver: Move error printing into nargo (#1598) (561cd63)
- ssa refactor: Add missing calls to resolve in Instruction::simplify (#1678) (07b07d0)
- ssa refactor: BigUint for radix (#1715) (00cf462)
- ssa refactor: Change the result of simplifying Eq and Lt to bool (#1672) (1d48929)
- ssa refactor: Do not remove enable_side_effects instructions in die pass (#1673) (cbee4c0)
- ssa refactor: euclidean division for unsigned (#1721) (a1596bc)
- ssa refactor: filter unreachable blocks from cfg (#1523) (202c345)
- ssa refactor: fix array element propagation through constant folding and DIE (#1674) (301e244)
- ssa refactor: Fix array elements not being mapped to new values (#1717) (4ebcbeb), closes #1688
- ssa refactor: fix bad constant type caching (#1593) (37c0be6)
- ssa refactor: Fix constant folding looping forever (#1611) (afe58cc)
- ssa refactor: Fix failed_to_inline_a_function being set for intrinsics (#1675) (377ac5c)
- ssa refactor: Fix flatten_cfg for ifs with no else (#1671) (7ce8cce)
- ssa refactor: Fix mem2reg pass not always removing unused stores (#1677) (8310544)
- ssa refactor: Fix ssa-gen of nested ifs (#1406) (5fd976e)
- ssa refactor: Fix stack overflow during loop unrolling (#1666) (c7a7216)
- ssa refactor: Implement array equality in SSA-gen (#1704) (0d31d83)
- ssa refactor: more comprehensive instruction simplification (#1735) (97d6747)
- ssa refactor: pad radix result (#1730) (8e9b612)
- ssa refactor: resolve replaced value ids for printing (#1535) (08ca847)
- ssa refactor: safe to query cfg for single block programs (#1401) (e2a23b3)
- ssa refactor: schnorr signature handling (#1727) (98ecf93)
- ssa refactor: Translate strings as arrays of characters (#1669) (2ba2ef6)
- ssa refactor: truncate when simplifying constant casts (#1714) (a2108d7)
- ssa: conditionalise array indexes under IF statements (#1395) (ddca3b4)
- stdlib: Workaround for Field comparison error in EdDSA signature verification (#1372) (e790c9f)
- stdlib: remove unnecessary merkle functions from stdlib (#1424) (50fcb3c)
- Update to ACVM 0.12.0 (#1339) (b938c7e)
- update to ACVM 0.13.0 (#1393) (22dee75)
0.6.0 (2023-05-16)
- Enable
to_radix
for any field element (#1343) (c3bdec2) - Enable dynamic arrays (#1271) (9f43450)
- Issue an error when attempting to use a
return
expression (#1330) (a6de557) - nargo: Remove usage of
CompiledProgram
in CLI code and use separate ABI/bytecode (#1269) (f144391) - ssa refactor: experimental-ssa compiler flag (#1289) (afa6749)
- ssa refactor: Implement dominator tree (#1278) (144ebf5)
- ssa: add block opcode (#1291) (951ad71)
- stdlib: add keccak256 foreign function (#1249) (260d87d)
- Fix issue with parsing nested generics (#1319) (36f5b8e)
- Fix parser error preventing assignments to tuple fields (#1318) (460568e)
- Fix struct or tuple field assignment failing with generics (#1317) (d872890), closes #1315
- stdlib: support use of
to_bits
andto_radix
for values >128 bits (#1312) (12f3e7e)
- parser: deprecate
constrain
keyword forassert
(#1286) (9740f54) - Update to acvm 0.11.0 (#1322) (da47368)
0.5.1 (2023-05-01)
- Add Poseidon examples into integration tests (#1257) (2a5aa52)
- fix
linear_eval is no 0
serialisation issue (#1226) (41d96ae)
0.5.0 (2023-04-28)
- Switch to aztec_backend that uses upstream BB & UltraPlonk (#1114)
- noir: added
distinct
keyword (#1219) (3a65f30) - noir: added assert keyword (#1227) (0dc2cac)
- Switch to aztec_backend that uses upstream BB & UltraPlonk (#1114) (f14fe0b)
0.4.1 (2023-04-20)
- Add Poseidon-BN254 hash functions (#1176) (33feb2b)
- bump noir-source-resolver version (#1182) (750ed77)
- Add checks for nop (#1160) (809b85f)
- allow comptime or non comptime fields in unconstrained for loops (#1172) (73df465)
- maintain ordering of return value witnesses when constructing ABI (#1177) (b799c8a)
- nargo: restore
nargo codegen-verifier
functionality (#1185) (528a2a4) - ssa: set correct predecessors of IF join (#1171) (7628ed6)
0.4.0 (2023-04-17)
- remove outdated arkworks backend (#1151)
- nargo: define preprocessed artifacts for programs/contracts (#1126)
- nargo: use faster hash function for checking preprocessed keys (#1094)
- Fix returning of structs in ACIR (#1058)
- upgrade to acvm 0.8.0 (#1047)
- Add new
Vec
type to frontend (#1103) (e125157) - Add storage slots to globals (#1019) (4190e11)
- Allow arbitrary noir functions to be unconstrained (#1044) (ebc8a36)
- Allow non-comptime field indices in unconstrained functions (#1053) (bc52612)
- Allow numeric generics to be referenced and add
map
(#997) (34eab32) - Allow secret functions to use public parameters (#1051) (12c0668)
- Allow structs and arrays as globals (#1054) (dadbd3c)
- Changes serialization for contract functions (#1056) (41e0020)
- compiler: Allows specify entry_point source (#1026) (9789f89)
- dynamic array indexing (#886) (aba1ed2)
- Implement 'open' and 'unconstrained' keywords (#1037) (5a66dec)
- Implement
std::unsafe::zeroed
(#1048) (9a43f85) - Implement arrays of structs (#1068) (f607150)
- import core logic in cli from
nargo
crate (#1142) (753a272) - make
noirc_driver
aware of contracts (#999) (c21afca) - Merge all contracts into one ABI (#1033) (473428c)
- nargo: add
InvalidPackageError
andDependencyResolutionError
error types. (#1007) (1e6761b) - nargo: add skeleton of composite types in template input tomls (#1104) (1fb2756)
- nargo: add test to example noir program (#1039) (f994c4f)
- nargo: allow running
nargo
from any directory in package (#1010) (761fdb5) - nargo: define preprocessed artifacts for programs/contracts (#1126) (7528f59)
- nargo: print-acir command (#1031) (408d9c0)
- nargo: remove misleading quotes in generated
Prover.toml
(#1087) (57c817f) - nargo: split
nargo
into core and cli packages (#1065) (7c388f9) - read-only array (#899) (2e38ab0)
- stdlib: Implement Poseidon hash (#768) (779ab66)
- Avoid asserting in typechecker if struct field count is not correct (#1036) (b3d1d7f), closes #1028
- compiler identifying imported functions as being part of a contract (#1112) (61c38d2)
- correct name in CLI output from
nargo_cli
tonargo
(74d7369) - correct test for mutually exclusive feature flags (#1085) (eb5c917)
- crash when typechecking fields that don't exist (#1070) (a67e8c5)
- Fix returning of structs in ACIR (#1058) (91bd471)
- nargo: correct logic for rejecting transitive local dependencies (#1015) (e2b8b65)
- nargo: correct name in CLI output from
nargo_cli
tonargo
(#1095) (74d7369) - nargo: give contract artifacts unique names to prevent overwrites (#1158) (1227b2c)
- nargo: only search for
Nargo.toml
in commands which act on a Nargo package (#1029) (6e642b9) - nargo: resolve local dependencies relative to root of depending package (38bf571)
- Numeric generics with impls error (#1148) (5d6e4d0)
- rationalise witness for constant values (#984) (ab32365)
- Resolve globals in types (#1043) (2badf14)
- nargo: use faster hash function for checking preprocessed keys (#1094) (a69758c)
- remove outdated arkworks backend (#1151) (bc8ed9a)
- upgrade to acvm 0.8.0 (#1047) (63f958b)
0.3.2 (2023-03-16)
- nargo: correct inconsistent file extension for ACIR hashes (#994) (23c22d7)
- Prevent calling contract functions from outside the contract (#980) (21360e3)
- reverse slash direction in
StdLibAssets
prefix on windows (#992) (65b7108)
0.3.1 (2023-03-13)
0.3.0 (2023-03-13)
- nargo: rename
contract
command tocodegen-verifier
(#959) - replace dummy ABIs with
FunctionSignature
type alias (#930) - nargo: save program ABI alongside ACIR (#922)
- nargo: restrict
CliError
visibility to crate (#911) - prevent inconsistent language usage in
Driver
(#881) - abi: add explicit return type field to ABI. (#865)
- abi: merge both abi encoding/decoding methods (#862)
- abi: add an explicit mapping from ABI params to witness indices (#851)
- Allow impls on primitive types (#847)
- abi: add an explicit mapping from ABI params to witness indices (#851) (5bd4bd5)
- abi: add explicit return type field to ABI. (#865) (8ca5676)
- abi: merge both abi encoding/decoding methods (#862) (fecd32c)
- add support for reading boolean arrays from toml (#900) (93d83bf)
- Allow impls on primitive types (#847) (479da0e)
- ci: Publish noir_wasm when we cut a release (#871) (5186ab9)
- compile: compile w/dependencies and options (#965) (3f897f6)
- compile: Noir std lib embedded (#973) (13b9069)
- Implement basic contracts (#944) (8ba3ab2)
- Implement endianness specified versions of
to_bytes
to_radix
andto_bits
(#914) (43abc6b) - nargo: save program ABI alongside ACIR (#922) (ddaf305)
- separate contract/program compilation from IO (#967) (c60f545)
- Silence output of prove and verify (#892) (811b346)
- ssa: add location to ssa instructions (#931) (356858b)
- update to ACVM 0.5.0 (#902) (9b58da4)
- abi: ensure that return value is loaded from toml (#883) (adba24c)
- add more readable error for missing argument in toml (#971) (e31f41f)
- allow parsing strings from toml into booleans (#894) (f729a00)
- check the argument count of generic types (#970) (2688dc4)
- compute witness when println evaluated before input (#891) (2727b34)
- correct type checking to handle
false
bools (#893) (6c7aa2f) - display command description in CLI for
nargo prove
(#949) (2829af1) - evaluate constant division (#909) (b91307b)
- Fix multiple call of
to_le_bytes
(#941) (2ee0119) - generate valid toml when outputting nested structs (#936) (ba947a7)
- Improve member access error (#940) (9b5b5f6)
- nargo: Switch order of writing acir file and acir checksum file (#895) (4fc94dc)
- nargo: Use yml extension for bug report link presented upon panic (#960) (f7b3711)
- nargo: Use yml extension on the bug report link presented upon panic (f7b3711)
- noir_wasm: Update wasm ACIR serialization (#898) (575436f)
- Optimize parser (#869) (e927a39)
- prevent inconsistent language usage in
Driver
(48cda7a) - prevent inconsistent language usage in
Driver
(#881) (48cda7a) - properly initialize
Evaluator
in test (#863) (bbb70bd) - properly initialize Evaluator in test (bbb70bd)
- Remove uses of std::process::exit (#963) (870ea46)
- ssa: fix the compile-time check for equality in acir-gen (#904) (161e4fb)
- nargo: rename
contract
command tocodegen-verifier
(#959) (2e63492) - nargo: restrict
CliError
visibility to crate (#911) (ed0e1ab) - replace dummy ABIs with
FunctionSignature
type alias (#930) (156125b)
0.2.0 (2023-02-16)
- acvm: Update to acvm 0.4.1 (#779) (6f57e86)
- ci: Add concurrency group for rust workflow (#806) (1b80f55)
- ci: Add concurreny group for rust workflow (1b80f55)
- ci: Build binaries when a release is made (#773) (a0c0c2c)
- Impls with generics (#798) (bea735d)
- nargo: add flag to verify created proofs (#737) (e981c7c)
- nargo: add panic hook (74cb340)
- nargo: Add panic hook (#850) (74cb340)
- nargo: Update nargo to use preprocessing interface (#765) (b3f1556)
- nargo: Version info in nargo and wasm (#802) (fd64be5)
- ssa: array sort (#754) (32e9320)
- std_lib: println statements (#630) (d5d1be2)
- stdlib: Add higher order array functions (#833) (9c62fef)
- avoid testing equality between unit values in acir_gen test (#849) (c2b7230)
- ci: Skip the title check if handling a merge group (#790) (71b179c)
- nargo:
nargo test
now only runs test functions defined in the current module (#805) (c6293c9) - operators issuing type errors when used with matching integer types arising from generic code (#789) (932943a)
- ssa: delete instructions with false predicate (#760) (f329379)
- ssa: synchronisation for functions (#764) (615357a)
- Make
abi
field non-optional inCompiledProgram
(#856) (98acb5a) - nargo: bump MSRV to 1.66.0 (#799) (59ff9e8)
0.1.1 (2023-02-06)
- ci: Add workflow to validate PR title (#730) (e5e8542)
- ci: Change release workflow to use release-please (950ca55)
- docs: Introduce Conventional Commits & release process docs (#717) (950ca55)
- nargo: add
nargo execute
command (#725) (9d6be60) - nargo: Add
nargo test
command to run all unit tests (#728) (2e1dc82) - nargo: add option to save witness to file in execute command (9d6be60)
- nargo: add support for testing noir libraries (#752) (27bd2ac)
- nargo: Leverage rustls instead of openssl for downloads (#691) (933809c)