Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@noir-lang/noir_wasm

Package Overview
Dependencies
Maintainers
0
Versions
394
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noir-lang/noir_wasm - npm Package Versions

1
40

0.37.0-f8fd813.nightly

Diff

noir-lang
published 0.37.0 •

Changelog

Source

0.37.0 (2024-10-31)

⚠ BREAKING CHANGES

  • remove mimc from stdlib (#6402)
  • avm/brillig: revert/rethrow oracle (https://github.com/AztecProtocol/aztec-packages/pull/9408)
  • use Brillig opcode when possible for less-than operations on fields (https://github.com/AztecProtocol/aztec-packages/pull/9416)
  • remove noir_js_backend_barretenberg (https://github.com/AztecProtocol/aztec-packages/pull/9338)
  • replace usage of vector in keccakf1600 input with array (https://github.com/AztecProtocol/aztec-packages/pull/9350)
  • profiler: New flamegraph command that profiles the opcodes executed (#6327)

Features

  • Add capacities to brillig vectors and use them in slice ops (#6332) (c9ff9a3)
  • avm/brillig: Revert/rethrow oracle (https://github.com/AztecProtocol/aztec-packages/pull/9408) (321a493)
  • Better LSP hover for functions (#6376) (e92b519)
  • Check trait where clause (#6325) (0de3241)
  • ci: Add report of Brillig opcodes executed (#6396) (e04b026)
  • Do not increment reference counts on arrays through references (#6375) (60c770f)
  • Improve malformed test attribute error (#6414) (8f516d7)
  • Let LSP suggest traits in trait bounds (#6370) (e909dcb)
  • Let the formatter remove lambda block braces for single-statement blocks (#6335) (52f7c0b)
  • Let the LSP import code action insert into existing use statements (#6358) (308717b)
  • LSP auto-import will try to add to existing use statements (#6354) (647f6a4)
  • Merge and sort imports (#6322) (07ab515)
  • perf: Use [u32;16] for message block in sha256 (#6324) (81c612f)
  • profiler: Add Brillig procedure info to debug artifact for more informative profiling (#6385) (f5f65dc)
  • profiler: New flamegraph command that profiles the opcodes executed (#6327) (4d87c9a)
  • Reject programs with unconditional recursion (#6292) (00c5c51)
  • Remove 'single use' intermediate variables (#6268) (ec75e8e)
  • Remove mimc from stdlib (#6402) (ec03e77)
  • Sha256 refactoring and benchmark with longer input (#6318) (d606491)
  • ssa: Various mem2reg reverts to reduce memory and compilation time (#6307) (b820328)
  • Suggest removing ! from macro call that doesn't return Quoted (#6384) (0232b57)
  • Support specifying generics on a struct when calling an associated function (#6306) (eba151e)
  • test: Run test matrix on stdlib tests (#6352) (4c39514)

Bug Fixes

  • (formatter) correctly format quote delimiters (#6377) (b42accf)
  • (formatter) indent after infix lhs (#6331) (c891ffd)
  • (LSP) check visibility of module that re-exports item, if any (#6371) (a4fc6e8)
  • Aliases in path (#6399) (be882f1)
  • Allow globals in format strings (#6382) (15c729a)
  • Allow type aliases in let patterns (#6356) (91c0842)
  • Always inline derive_generators (#6350) (7c98b36)
  • Better formatting of leading/trailing line/block comments in expression lists (#6338) (3299c25)
  • Display every bit in integer tokens (#6360) (b985fdf)
  • Distinguish TypePath with and without turbofish (#6404) (0e974c2)
  • Fix panic in comptime code (#6361) (2f37610)
  • Formatter didn't format >>= well (#6337) (598230d)
  • LSP auto-import would import public item inside private module (#6366) (51eb295)
  • Make keccak256 work with input lengths greater than 136 bytes (#6393) (07c9322)
  • Mutable global pattern didn't have a span (#6328) (5a6dae9)
  • Numeric generic doesn't have a default type (#6405) (3a073f7)
  • Remove assumed parent traits (#6365) (83d29f2)
  • Slightly better formatting of empty blocks with comments (#6367) (da72979)
  • ssa: Do not mark an array from a parameter mutable (#6355) (bcd8976)

Miscellaneous Chores

  • Remove noir_js_backend_barretenberg (https://github.com/AztecProtocol/aztec-packages/pull/9338) (3925228)
  • Replace usage of vector in keccakf1600 input with array (https://github.com/AztecProtocol/aztec-packages/pull/9350) (3925228)
  • Use Brillig opcode when possible for less-than operations on fields (https://github.com/AztecProtocol/aztec-packages/pull/9416) (321a493)
noir-lang
published 0.36.0-075c3d3.nightly •

noir-lang
published 0.36.0-60c770f.nightly •

noir-lang
published 0.36.0-2f37610.nightly •

noir-lang
published 0.36.0-600ffeb.nightly •

noir-lang
published 0.36.0-07ab515.nightly •

noir-lang
published 0.36.0-b820328.nightly •

noir-lang
published 0.36.0 •

Changelog

Source

0.36.0 (2024-10-22)

⚠ BREAKING CHANGES

  • remove pedersen commitment (https://github.com/AztecProtocol/aztec-packages/pull/9107)
  • remove pedersen hash opcode (https://github.com/AztecProtocol/aztec-packages/pull/9245)
  • Brillig and AVM default all uninitialized memory cells to Field 0 (https://github.com/AztecProtocol/aztec-packages/pull/9057)
  • remove keccak256 opcode from ACIR/Brillig (https://github.com/AztecProtocol/aztec-packages/pull/9104)
  • Brillig with a stack and conditional inlining (https://github.com/AztecProtocol/aztec-packages/pull/8989)
  • avm: remove CMOV opcode (https://github.com/AztecProtocol/aztec-packages/pull/9030)
  • Integer division is not the inverse of integer multiplication (#6243)
  • kind size checks (#6137)
  • Change tag attributes to require a ' prefix (#6235)

Features

  • Add checked_transmute (#6262) (2618061)
  • Add more Type and UnresolvedType methods (#5994) (8236cbd)
  • Allow unconstrained after visibility (#6246) (f6dfbcf)
  • Brillig and AVM default all uninitialized memory cells to Field 0 (https://github.com/AztecProtocol/aztec-packages/pull/9057) (70dcf4a)
  • Brillig with a stack and conditional inlining (https://github.com/AztecProtocol/aztec-packages/pull/8989) (70dcf4a)
  • Don't crash LSP when there are errors resolving the workspace (#6257) (7cc7197)
  • Don't suggest private struct fields in LSP (#6256) (2a727b3)
  • Handwritten parser (#6180) (c4273a0)
  • improve: Remove scan through globals (#6282) (fd91913)
  • Inclusive for loop (#6200) (bd861f2)
  • Integrate databus in the private kernels (https://github.com/AztecProtocol/aztec-packages/pull/9028) (70dcf4a)
  • interpreter: Comptime derive generators (#6303) (d8767b3)
  • Kind size checks (#6137) (6e40f62)
  • New formatter (#6300) (62404d7)
  • Optimize Quoted::as_expr by parsing just once (#6237) (a4fcd00)
  • Optimize reading a workspace's files (#6281) (b54ed26)
  • perf: Flamegraphs for test program execution benchmarks (#6253) (c186791)
  • perf: Follow array sets backwards in array set from get optimization (#6208) (999071b)
  • Recover from '=' instead of ':' in struct constructor/pattern (#6236) (9a12f31)
  • Remove byte decomposition in compute_decomposition (#6159) (a8bcae2)
  • Show LSP diagnostic related information (#6277) (c8a91a5)
  • Slightly improve "unexpected token" error message (#6279) (8232bfa)
  • Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/8934) (70dcf4a)
  • Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/9034) (70dcf4a)
  • Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/9099) (70dcf4a)
  • Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/9275) (70dcf4a)
  • test: Fuzz poseidon hases against an external library (#6273) (8d8ea89)
  • test: Fuzz test poseidon2 hash equivalence (#6265) (f61ba03)
  • test: Fuzz test stdlib hash functions (#6233) (1a2ca46)
  • test: Include the PoseidonHasher in the fuzzing (#6280) (afb8a7c)
  • Trait inheritance (#6252) (d3301a4)
  • Visibility for impl functions (#6179) (1b26440)
  • Visibility for struct fields (#6221) (fc1c7ab)
  • Warn about private types leaking in public functions and struct fields (#6296) (67ac0d6)

Bug Fixes

  • Add missing visibility for auto-import names (#6205) (c3cb38a)
  • Address inactive public key check in verify_signature_noir (#6270) (e4325aa)
  • Allow array map on empty arrays (#6305) (51ae1b3)
  • Change tag attributes to require a ' prefix (#6235) (b43dcb2)
  • Check for Schnorr null signature (#6226) (2430920)
  • Display function name and body when inlining recursion limit hit (#6291) (33a1e7d)
  • Do not warn on unused self in traits (#6298) (4d524bf)
  • Don't warn on unuse global if it has an abi annotation (#6258) (e13f617)
  • Don't warn on unused struct that has an abi annotation (#6254) (8a31632)
  • Don't warn twice when referring to private item (#6216) (619c545)
  • Enforce correctness of decompositions performed at compile time (#6278) (53252fd)
  • frontend: Do not warn when a nested struct is provided as input to main (#6239) (9dfe223)
  • Handle dfg databus in SSA normalization (#6249) (9d8bee5)
  • Handle nested arrays in calldata (#6232) (0ab8f5e)
  • Homogeneous input points for EC ADD (#6241) (f6a7306)
  • Integer division is not the inverse of integer multiplication (#6243) (1cd2587)
  • Panic on composite types within databus (#6225) (29bd125)
  • Prevent compiler panic when popping from empty slices (#6274) (87137d8)
  • Reject invalid expression with in CLI parser (#6287) (052aee8)
  • Remove need for duplicate attributes on each function (https://github.com/AztecProtocol/aztec-packages/pull/9244) (70dcf4a)
  • Visibility for impl methods (#6261) (70cbeb4)

Miscellaneous Chores

  • Remove keccak256 opcode from ACIR/Brillig (https://github.com/AztecProtocol/aztec-packages/pull/9104) (70dcf4a)
  • Remove pedersen commitment (https://github.com/AztecProtocol/aztec-packages/pull/9107) (70dcf4a)
  • Remove pedersen hash opcode (https://github.com/AztecProtocol/aztec-packages/pull/9245) (70dcf4a)

Code Refactoring

  • avm: Remove CMOV opcode (https://github.com/AztecProtocol/aztec-packages/pull/9030) (70dcf4a)
noir-lang
published 0.35.0-51ae1b3.nightly •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc