Skip to content

chore(release): bump version to 0.2.0#1567

Merged
hmzakhalid merged 12 commits into
mainfrom
chore/0.2.0
Jun 1, 2026
Merged

chore(release): bump version to 0.2.0#1567
hmzakhalid merged 12 commits into
mainfrom
chore/0.2.0

Conversation

@ctrlc03

@ctrlc03 ctrlc03 commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator
  • Updated all Rust crates to 0.2.0
  • Updated all npm packages to 0.2.0
  • Updated lock files
  • Generated CHANGELOG.md

Summary by CodeRabbit

  • Chores

    • Version bumped to 0.2.0 across the workspace and packages; changelog updated with a new release entry.
    • Lockfile/update behavior aligned for workspace updates.
  • Build / CI

    • Release and CI workflows updated: toolchain install added, build/publish steps adjusted, and test job TLS behavior scoped for the SDK suite.

  - Updated all Rust crates to 0.2.0
  - Updated all npm packages to 0.2.0
  - Updated lock files
  - Generated CHANGELOG.md
@ctrlc03 ctrlc03 requested a review from hmzakhalid June 1, 2026 09:25
@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crisp Ready Ready Preview, Comment Jun 1, 2026 7:01pm
enclave-docs Ready Ready Preview, Comment Jun 1, 2026 7:01pm
enclave-enclave-dashboard Ready Ready Preview, Comment Jun 1, 2026 7:01pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@ctrlc03, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 8 minutes and 40 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f44a2ac2-cc06-4a65-8136-5b4a76b06697

📥 Commits

Reviewing files that changed from the base of the PR and between 8917308 and 253b833.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
📝 Walkthrough

Walkthrough

Coordinated release edits: bumped Cargo workspace and npm package versions to 0.2.0, added a v0.1.15 CHANGELOG entry, updated release and CI workflows (NOIR_TOOLCHAIN, noirup/Nargo, cachix action, NODE_TLS_REJECT_UNAUTHORIZED), adjusted flake.nix cargoLock entries, and tweaked the bump script.

Changes

Release 0.2.0

Layer / File(s) Summary
Cargo workspace version bump
Cargo.toml
Workspace crate version incremented from 0.1.15 to 0.2.0 in [workspace.package], and all e3-* entries under [workspace.dependencies] updated to version = "0.2.0" while preserving path mappings.
NPM package version updates
package.json, crates/wasm/package.json, packages/enclave-config/package.json, packages/enclave-contracts/package.json, packages/enclave-mcp/package.json, packages/enclave-react/package.json, packages/enclave-sdk/package.json
Package version fields bumped to 0.2.0 (notably packages/enclave-mcp from 0.1.00.2.0); no other manifest fields, scripts, or dependencies changed.
CHANGELOG entry for v0.1.15
CHANGELOG.md
Inserted the v0.1.15 release notes with UTC date and categorized bullet lists linking PRs/commits.
Release and CI workflow adjustments
.github/workflows/releases.yml, .github/workflows/ci.yml
Added NOIR_TOOLCHAIN env var, upgraded cachix/install-nix-action to @v30, inserted an Install Nargo step via noir-lang/noirup@v0.1.4 configured with the toolchain before pnpm build:ts, relaxed the Create GitHub Release job condition, and added NODE_TLS_REJECT_UNAUTHORIZED for the crisp_unit matrix to disable TLS only for test:sdk.
flake.nix cargoLock and bump script
flake.nix, scripts/bump-versions.ts
Bumped fhe-* crate version keys in cargoLock.outputHashes to match newer releases while keeping the same hash variable; updated examples/CRISP cargo update invocation to cargo update --workspace in the bump script.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

chore

Suggested reviewers

  • cedoor
  • 0xjei
  • hmzakhalid

Poem

🐰 I nudged the numbers, hopped the line,
CHANGELOG set and CI in tune,
Cargo, Nix, and npm align,
A tiny bump beneath the moon —
Release carrots for the noon.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore(release): bump version to 0.2.0' accurately describes the main change: a coordinated version bump across all Rust crates and npm packages from 0.1.15 to 0.2.0, which is the primary objective of this changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/0.2.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

hmzakhalid
hmzakhalid previously approved these changes Jun 1, 2026
  - Updated all Rust crates to 0.2.0
  - Updated all npm packages to 0.2.0
  - Updated lock files
  - Generated CHANGELOG.md
ctrlc03 and others added 4 commits June 1, 2026 14:05
The fhe.rs bump (#1561) moved fhe/fhe-math to 0.2.0 and fhe-traits/fhe-util to
0.1.1 (git rev a92478b3) but only touched templates/default/flake.nix, leaving
the root flake's cargoLock.outputHashes keyed by the old -0.1.0-beta.7 versions.
nix build failed with "A hash was specified for fhe-0.1.0-beta.7, but there is
no corresponding git dependency". Rename the four keys to match Cargo.lock.

NOTE: fheHash (the FOD hash value) still needs updating for the new rev — the
next `nix build .#default` will report the correct `got: sha256-...` to paste
into flake.nix line 18.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…mplate

updateLockFiles() ran bare `cargo update` in examples/CRISP and
templates/default, which upgrades all transitive deps to latest and re-floats
alloy-sol-type-parser -> 1.6.0 / alloy-tx-macros -> 1.8.3 on every version bump
(breaking alloy-dyn-abi 1.3.0 and alloy-consensus 1.0.41). The root already used
`cargo update --workspace`; apply the same to the other two workspaces so a bump
only refreshes member versions and can't float pinned transitive deps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
flake.nix (1)

18-18: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Update fheHash to match the new fhe- crate versions.*

The fheHash on line 18 is still set to the hash for the old 0.1.0-beta.7 versions, but lines 136-139 now reference 0.2.0 and 0.1.1 versions. This hash mismatch will cause the Nix build to fail when it attempts to fetch and verify the fhe-* dependencies.

As noted in the commit message, run nix build to obtain the correct sha256, then update line 18 with the new hash value.

Also applies to: 136-139

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@flake.nix` at line 18, The fheHash value is stale for the updated fhe-* crate
versions (0.2.0 and 0.1.1); run nix build to get the new sha256 and replace the
current fheHash value with the returned hash, and also update any other
fhe-related hash entries that correspond to the fhe-* crate versions (the other
fhe* hash occurrences that reference 0.2.0 / 0.1.1) so all fhe hashes match the
fetched artifacts.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@flake.nix`:
- Line 18: The fheHash value is stale for the updated fhe-* crate versions
(0.2.0 and 0.1.1); run nix build to get the new sha256 and replace the current
fheHash value with the returned hash, and also update any other fhe-related hash
entries that correspond to the fhe-* crate versions (the other fhe* hash
occurrences that reference 0.2.0 / 0.1.1) so all fhe hashes match the fetched
artifacts.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7929eebd-56db-4f58-811e-c7bb87d08ac8

📥 Commits

Reviewing files that changed from the base of the PR and between 9b38c1e and 0ae6108.

📒 Files selected for processing (2)
  • .github/workflows/releases.yml
  • flake.nix
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/releases.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Around line 677-683: Currently the workflow disables TLS by setting
NODE_TLS_REJECT_UNAUTHORIZED=0 for matrix.test-suite == 'test:sdk'; instead
remove that conditional and implement a secure CRS provisioning: add CI steps to
fetch the CRS once (or restore from a cache/artifact) and verify its integrity
before running tests that call Barretenberg.initSRSChonk (used in
examples/CRISP/.../vote.ts and
packages/enclave-sdk/.../user-data-encryption.ts). Concretely, stop setting
NODE_TLS_REJECT_UNAUTHORIZED to 0, add steps to (a) download the CRS to a known
path and verify against a repo-stored expected hash/signature, or (b) upload the
verified CRS as a workflow artifact/cache and restore it in subsequent runs, and
ensure the test:sdk job uses that verified local CRS file when invoking
initSRSChonk.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8e178364-f189-4f74-a7ec-df18fa1499fc

📥 Commits

Reviewing files that changed from the base of the PR and between 0ae6108 and 8917308.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • scripts/bump-versions.ts

Comment thread .github/workflows/ci.yml Outdated
ctrlc03 and others added 2 commits June 1, 2026 17:15
crisp_e2e is a Playwright/Chromium test; the in-page bb.js fetches the public
Aztec CRS over HTTPS and CI's browser rejects the served cert as expired
(ERR_CERT_DATE_INVALID). NODE_TLS_REJECT_UNAUTHORIZED doesn't apply to the
browser, so set ignoreHTTPSErrors + --ignore-certificate-errors on the chromium
project. CRS is public, integrity-checked data.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hmzakhalid hmzakhalid merged commit a9ed545 into main Jun 1, 2026
50 of 59 checks passed
@github-actions github-actions Bot deleted the chore/0.2.0 branch June 9, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants