Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Release Noir(1.0.0-beta.2) #6914

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

noirwhal
Copy link
Contributor

@noirwhal noirwhal commented Dec 23, 2024

🤖 I have created a release beep boop

1.0.0-beta.2 (2025-01-16)

⚠ BREAKING CHANGES

  • 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 to StructDefinition::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 and match 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; refactor run_test; foreign call layering (#6849)

Features

  • --pedantic-solving flag (#6716) (5b9a113)
  • loop statements (only frontend) (#7092) (48e613e)
  • Add ConstrainNotEqual instruction (#7032) (51180b9)
  • Allow associated types to be ellided from trait constraints (#7026) (aa7b91c)
  • 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)
  • 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)
  • Handle generic fields in StructDefinition::fields and move old functionality to StructDefinition::fields_as_written (#7067) (14a7e37)
  • Impl Default for U128 (#6984) (3c488f4)
  • Lock on Nargo.toml on several nargo commands (#6941) (54d81ca)
  • 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 trait methods from where clauses (#6915) (21eef0d)
  • lsp: Use trait method docs for trait impl method docs on hover (#7003) (4d38a88)
  • Require trait function calls (Foo::bar()) to have the trait in scope (imported) (#6882) (a5447ed)
  • Require trait method calls (foo.bar()) to have the trait in scope (imported) (#6895) (d61633d)
  • Require trait primitive functions/calls to have their trait in scope (#6901) (56c931a)
  • Skip codegen of zero iteration loops (#7030) (fa12b7f)
  • SSA globals in monomorphization and SSA gen (#6985) (db28cb9)
  • ssa: Hoist add and mul binary ops using known induction variables (#6910) (ebc4d2c)
  • ssa: Immediately simplify away RefCount instructions in ACIR functions (#6893) (ab8807d)
  • ssa: Treat globals as constant in a function's DFG (#7040) (1273ea4)
  • Switch to using jsonrpsee for foreign calls; refactor run_test; foreign call layering (#6849) (51a4d5d)
  • test: Enable the test fuzzer for Wasm (#6835) (f4745d4)
  • Turn CannotReexportItemWithLessVisibility into an error (#6952) (da18a12)
  • Turn TypeIsMorePrivateThenItem into an error (#6953) (8b6f720)
  • Type-check trait default methods (#6645) (8bb3908)
  • Unchecked math operations in SSA (#7011) (f6ed6aa)
  • Update aes128_encrypt to return an array (#6973) (dcdccfc)
  • Warn on trait method visibility (#6923) (bb71bcb)

Bug Fixes

  • Allow implicit associated types on integer type kinds (#7078) (f2a6d10)
  • Allow multiple trait impls for the same trait as long as one is in scope (#6987) (7328f0b)
  • Bigint builtins are foreigns (#6892) (a1f9c94)
  • Consistent file_id across installation paths (#6912) (baca790)
  • Do not emit range check for multiplication by bool (#6983) (c0a4010)
  • Do not panic on indices which are not valid u32s (#6976) (bf474c0)
  • Do not remove memory blocks used as brillig input (#7073) (8d2a2dd)
  • Don't always select trait impl when verifying trait constraints (#7041) (ba07336)
  • Don't fail parsing macro if there are parser warnings (#6969) (7f0067c)
  • Error on missing function parameters (#6967) (38d429e)
  • Include kind in StructDefinition::generics and fix derivation of Eq in structs with numeric generics (#7076) (f17b7cc)
  • Let static_assert fail with the provided message (#7005) (268229e)
  • lsp: Suggest all possible trait methods, but only visible ones (#7027) (7d46287)
  • nargo_fmt: Don't consider identifiers the same if they are equal… (#7043) (18ea051)
  • nargo_fmt: Let doc comment could come after regular comment (#7046) (c3f8a46)
  • Non-determinism from under constrained checks (#6945) (203242c)
  • Reduce memory usage in mem2reg (#7053) (a0ffedf)
  • Remove unnecessary cast in bit-shift (#6890) (011fbc1)
  • Reproduce and fix bytecode blowup (#6972) (724547d)
  • Require generic trait impls to be in scope to call them (#6913) (5300ec3)
  • Return trait impl method as FuncId if there's only one (#6989) (8d7f1f9)
  • Show output of test_program_is_idempotent on failure (#6942) (a690d96)
  • Start RC at 1 again (#6958) (6f086b3)
  • Wrong module to lookup trait when using crate or super (#6974) (74ec723)

Miscellaneous Chores


This PR was generated with Release Please. See documentation.

Copy link
Contributor

github-actions bot commented Dec 23, 2024

Peak Memory Sample

Program Peak Memory
keccak256 78.48M
workspace 123.65M
regression_4709 422.91M
ram_blowup_regression 1.58G
rollup-base-public 10.47G
rollup-base-private 6.57G
private-kernel-tail 201.81M
private-kernel-reset 717.07M
private-kernel-inner 291.88M
parity-root 172.14M

Copy link
Contributor

github-actions bot commented Dec 23, 2024

Compilation Report

Program Compilation Time %
sha256_regression 1.030s 0%
regression_4709 0.775s -4%
ram_blowup_regression 16.300s 1%
rollup-root 3.686s 4%
rollup-merge 2.048s -5%
rollup-block-root-single-tx 141.000s 1%
rollup-block-root-empty 2.152s -2%
rollup-block-root 139.000s -5%
rollup-block-merge 3.654s -2%
rollup-base-public 27.960s -6%
rollup-base-private 10.020s 0%
private-kernel-tail 0.999s 1%
private-kernel-reset 6.064s 0%
private-kernel-inner 2.098s 5%

Copy link
Contributor

github-actions bot commented Dec 23, 2024

Execution Report

Program Execution Time %
sha256_regression 0.059s 15%
regression_4709 0.001s 0%
ram_blowup_regression 0.603s 0%
rollup-root 0.105s 0%
rollup-merge 0.006s 0%
rollup-block-root 36.400s -2%
rollup-block-merge 0.104s -1%
rollup-base-public 1.225s -1%
rollup-base-private 0.450s 0%
private-kernel-tail 0.019s 0%
private-kernel-reset 0.311s 0%
private-kernel-inner 0.068s 0%

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Dec 23, 2024
Copy link
Contributor

github-actions bot commented Dec 23, 2024

@noirwhal noirwhal force-pushed the release-please--branches--master--components--noir branch 2 times, most recently from 097d799 to e0c7b2b Compare December 23, 2024 17:14
@noirwhal noirwhal force-pushed the release-please--branches--master--components--noir branch 5 times, most recently from d619924 to 6fdd29f Compare January 2, 2025 21:52
Copy link
Contributor

github-actions bot commented Jan 2, 2025

Execution Memory Report

Program Peak Memory
keccak256 74.71M
workspace 123.51M
regression_4709 316.02M
ram_blowup_regression 512.62M
rollup-root 498.31M
rollup-merge 473.05M
rollup-block-root 1.22G
rollup-block-merge 498.33M
rollup-base-public 734.18M
rollup-base-private 590.51M
private-kernel-tail 180.91M
private-kernel-reset 245.52M
private-kernel-inner 208.92M

Copy link
Contributor

github-actions bot commented Jan 2, 2025

Compilation Memory Report

Program Peak Memory
keccak256 77.65M
workspace 123.58M
regression_4709 424.15M
ram_blowup_regression 1.46G
rollup-root 601.26M
rollup-merge 494.24M
rollup-block-root-single-tx 16.06G
rollup-block-root-empty 488.41M
rollup-block-root 16.07G
rollup-block-merge 601.26M
rollup-base-public 2.38G
rollup-base-private 1.14G
private-kernel-tail 207.46M
private-kernel-reset 584.49M
private-kernel-inner 294.68M

@noirwhal noirwhal force-pushed the release-please--branches--master--components--noir branch 15 times, most recently from c4b1153 to 55d68df Compare January 7, 2025 15:23
@noirwhal noirwhal force-pushed the release-please--branches--master--components--noir branch 7 times, most recently from b54b07b to 4a40f7c Compare January 13, 2025 20:30
@Savio-Sou Savio-Sou enabled auto-merge January 13, 2025 20:33
Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bugs in here which cause issues for critical libs.

@Savio-Sou Savio-Sou disabled auto-merge January 13, 2025 20:34
@noirwhal noirwhal force-pushed the release-please--branches--master--components--noir branch 8 times, most recently from c45132b to 68877c4 Compare January 15, 2025 14:40
Copy link

socket-security bot commented Jan 15, 2025

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@eslint-community/[email protected] None 0 379 kB eslint-community-bot
npm/@eslint/[email protected] filesystem, unsafe 0 659 kB eslintbot
npm/@humanwhocodes/[email protected] unsafe 0 21.2 kB nzakas
npm/@isaacs/[email protected] None 0 27.8 kB isaacs
npm/@pkgjs/[email protected] None 0 74.2 kB oss-bot

🚮 Removed packages: npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@tsconfig/[email protected], npm/@tsconfig/[email protected], npm/@tsconfig/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@noirwhal noirwhal force-pushed the release-please--branches--master--components--noir branch 5 times, most recently from 7909f0f to f140fcb Compare January 16, 2025 16:38
@noirwhal noirwhal force-pushed the release-please--branches--master--components--noir branch from 7604814 to ffa4b4e Compare January 16, 2025 18:42
Copy link
Contributor

FYI @noir-lang/developerrelations on Noir doc changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autorelease: pending documentation Improvements or additions to documentation
Projects
Status: 📋 Backlog
Development

Successfully merging this pull request may close these issues.

3 participants