Skip to content

chore(release): v0.3.0-alpha#644

Merged
0xisk merged 3 commits into
mainfrom
release-v0.3.0-alpha
Jun 30, 2026
Merged

chore(release): v0.3.0-alpha#644
0xisk merged 3 commits into
mainfrom
release-v0.3.0-alpha

Conversation

@0xisk

@0xisk 0xisk commented Jun 30, 2026

Copy link
Copy Markdown
Member

Types of changes

What types of changes does your code introduce to OpenZeppelin Midnight Contracts?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Fixes #???

Release PR for v0.3.0-alpha, targeting main per RELEASING.md.

Pushing the release-v0.3.0-alpha branch triggers the prepare-release.yml workflow, which bumps the version in contracts/package.json and the // OpenZeppelin Compact Contracts vX.Y.Z headers throughout contracts/src/ (0.2.00.3.0-alpha) and commits it to this branch. This PR is the review gate for those changes before the tag is cut.

This pre-release bundles everything merged since v0.2.0. Changelog summary:

Added

Changed

Fixed

The toolchain/pragma bump is the breaking element: consumers building against compiler < 0.31.0 are affected.

PR Checklist

Further comments

The CHANGELOG was updated manually (move Unreleased → dated 0.3.0-alpha) ahead of the automated version bump, mirroring the v0.2.0 release. Once this merges, follow the remaining RELEASING.md steps: pull main, tag v0.3.0-alpha, push the tag, then publish the GitHub release.

Summary by CodeRabbit

  • New Features
    • Documented support for shielded token functionality and multisig-related capabilities in the latest release notes.
  • Changed
    • Updated the project version to 0.3.0-alpha and refreshed package metadata to match.
    • Aligned documentation and module references with the new release version.
  • Bug Fixes
    • Noted fixes for zero-value revert issues in token-related behavior.

Move the accumulated Unreleased notes into a dated 0.3.0-alpha
section ahead of the release branch version bump.

* Record the native shielded token standard (MIP-0011) with its
  opt-in supply and derived-nonce extensions (#621).
* Add the audit fix for the zero-value revert findings L-01 and
  L-02 in the token modules (#616).
* Add the async, backend-aware simulator migration that lets the
  unit suites run on both dry-run and live backends (#620, #631).
* Correct the @openzeppelin/compact-simulator bump target to
  ^0.2.0 to match the shipped dependency.
@0xisk 0xisk requested review from a team as code owners June 30, 2026 13:50
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e1d50af4-f61f-4374-975e-b210daa6b0cd

📥 Commits

Reviewing files that changed from the base of the PR and between a0835be and 759c32a.

📒 Files selected for processing (41)
  • CHANGELOG.md
  • contracts/package.json
  • contracts/src/access/AccessControl.compact
  • contracts/src/access/Ownable.compact
  • contracts/src/access/ShieldedAccessControl.compact
  • contracts/src/access/ZOwnablePK.compact
  • contracts/src/archive/ShieldedToken.compact
  • contracts/src/crypto/ElGamal.compact
  • contracts/src/multisig/ForwarderPrivate.compact
  • contracts/src/multisig/ForwarderShielded.compact
  • contracts/src/multisig/ForwarderUnshielded.compact
  • contracts/src/multisig/ProposalManager.compact
  • contracts/src/multisig/ShieldedTreasury.compact
  • contracts/src/multisig/ShieldedTreasuryStateless.compact
  • contracts/src/multisig/Signer.compact
  • contracts/src/multisig/SignerManager.compact
  • contracts/src/multisig/UnshieldedTreasury.compact
  • contracts/src/multisig/presets/ShieldedMultiSig.compact
  • contracts/src/multisig/presets/ShieldedMultiSigV2.compact
  • contracts/src/multisig/presets/forwarder/ForwarderPrivate.compact
  • contracts/src/multisig/presets/forwarder/ForwarderShielded.compact
  • contracts/src/multisig/presets/forwarder/ForwarderUnshielded.compact
  • contracts/src/multisig/test/EmptyWitnesses.ts
  • contracts/src/multisig/test/witnesses/ProposalManagerWitnesses.ts
  • contracts/src/multisig/test/witnesses/ShieldedMultiSigV2Witnesses.ts
  • contracts/src/multisig/test/witnesses/ShieldedMultiSigWitnesses.ts
  • contracts/src/multisig/test/witnesses/ShieldedTreasuryWitnesses.ts
  • contracts/src/multisig/test/witnesses/SignerManagerWitnesses.ts
  • contracts/src/multisig/test/witnesses/SignerWitnesses.ts
  • contracts/src/multisig/test/witnesses/UnshieldedTreasuryWitnesses.ts
  • contracts/src/security/Allowlist.compact
  • contracts/src/security/Blocklist.compact
  • contracts/src/security/Initializable.compact
  • contracts/src/security/Pausable.compact
  • contracts/src/token/FungibleToken.compact
  • contracts/src/token/MultiToken.compact
  • contracts/src/token/NativeShieldedToken.compact
  • contracts/src/token/NativeShieldedTokenCore.compact
  • contracts/src/token/NativeShieldedTokenFamily.compact
  • contracts/src/token/NonFungibleToken.compact
  • contracts/src/utils/Utils.compact

Walkthrough

Bumps the package version from 0.2.0 to 0.3.0-alpha in contracts/package.json, populates the CHANGELOG.md 0.3.0-alpha entry with Added/Changed/Fixed sections, and updates the header comment in every .compact and .ts source file from v0.2.0 to v0.3.0-alpha.

Changes

v0.3.0-alpha Release Bump

Layer / File(s) Summary
CHANGELOG and package version
CHANGELOG.md, contracts/package.json
Populates the 0.3.0-alpha (2026-06-30) changelog with Added (native shielded token MIP-0011, blocklist/allowList, ElGamal, multisig), Changed (toolchain/dependency upgrades including @openzeppelin/compact-simulator ^0.1.0^0.2.0, async simulator API migration), and Fixed (zero-value revert audit findings L-01/L-02) entries; bumps the package version field.
Header comment version bump
contracts/src/access/*, contracts/src/archive/*, contracts/src/crypto/*, contracts/src/multisig/..., contracts/src/security/*, contracts/src/token/*, contracts/src/utils/*
Updates the OpenZeppelin Compact Contracts version string from v0.2.0 to v0.3.0-alpha in the top-of-file header comment of all 39 .compact and .ts source files.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related issues

Possibly related PRs

  • OpenZeppelin/compact-contracts#541: Performs the same pattern of version-only bumps across contracts/package.json and all contracts/src/** module header comments with no functional changes.
  • OpenZeppelin/compact-contracts#615: Touches the same multisig contract files (e.g., contracts/src/multisig/Forwarder*) with the identical header-comment version bump pattern.
  • OpenZeppelin/compact-contracts#597: Relates to the Compact/Midnight toolchain and @openzeppelin/compact-simulator upgrade path documented in this PR's CHANGELOG.

Poem

🐇 Hop, hop, the version's new,
From 0.2 to alpha-three-point-oh!
Every header gets a fresh debut,
The changelog filled from top to toe.
Zero-value bugs? Fixed long ago.
A rabbit stamps the release—let's go! 🎉

🚥 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 clearly identifies the release/version bump to v0.3.0-alpha, which matches the main purpose of the 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.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release-v0.3.0-alpha

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

@0xisk 0xisk enabled auto-merge (squash) June 30, 2026 14:03
@0xisk 0xisk disabled auto-merge June 30, 2026 14:03
@0xisk 0xisk merged commit c096e31 into main Jun 30, 2026
8 of 9 checks passed
@0xisk 0xisk deleted the release-v0.3.0-alpha branch June 30, 2026 14:07
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