Skip to content

Update dependencies in Hardhat 3 example projects#1271

Open
ericglau wants to merge 1 commit into
OpenZeppelin:masterfrom
ericglau:updateexamples
Open

Update dependencies in Hardhat 3 example projects#1271
ericglau wants to merge 1 commit into
OpenZeppelin:masterfrom
ericglau:updateexamples

Conversation

@ericglau
Copy link
Copy Markdown
Member

@ericglau ericglau commented Jun 2, 2026

Update example Hardhat 3 projects to use semver for released versions of the plugins. Previously the examples pinned to a mix of alphas and packages from this monorepo.

Summary by CodeRabbit

  • Chores
    • Updated example project dependencies to use stable versions of OpenZeppelin upgrade packages, transitioning from pre-release alpha versions to standard semantic versioning ranges.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 2, 2026

Review Change Stack

Walkthrough

Three Hardhat example projects—BoxSolidityTests, BoxTransparent, and BoxUUPS—update their OpenZeppelin upgrade-related dependencies from alpha versions to stable semver ranges. BoxSolidityTests pins @openzeppelin/foundry-upgrades@^0.4.1 and @openzeppelin/hardhat-upgrades@^4.0.0, while BoxTransparent and BoxUUPS each update @openzeppelin/hardhat-upgrades to ^4.0.0.

Changes

Example dependency stabilization

Layer / File(s) Summary
Example package.json dependency updates
packages/plugin-hardhat/examples/BoxSolidityTests/package.json, packages/plugin-hardhat/examples/BoxTransparent/package.json, packages/plugin-hardhat/examples/BoxUUPS/package.json
BoxSolidityTests, BoxTransparent, and BoxUUPS examples update their OpenZeppelin upgrade tool dependencies from alpha versions to stable caret ranges. BoxSolidityTests updates both @openzeppelin/foundry-upgrades and @openzeppelin/hardhat-upgrades, while the other two pin @openzeppelin/hardhat-upgrades@^4.0.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 Three examples hop on down the path,
From alpha dreams to stable math!
Caret versions guide their way,
Dependencies dance—hip-hip-hooray! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately reflects the main change: updating dependencies in Hardhat example projects from alpha versions to stable semver ranges.
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Jun 2, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

  • delayed-stream@1.0.0

View full report

@ericglau
Copy link
Copy Markdown
Member Author

ericglau commented Jun 2, 2026

@SocketSecurity ignore npm/delayed-stream@1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant