Skip to content

Upgrades Plugins: document rename and retype annotations on struct members - #255

Merged
ericglau merged 1 commit into
mainfrom
upgrades-struct-member-annotations
Oct 23, 2026
Merged

ericglau merged 1 commit into
mainfrom
upgrades-struct-member-annotations

Conversation

@ericglau

Copy link
Copy Markdown
Member

The OpenZeppelin Upgrades Plugins (Hardhat Upgrades and Foundry Upgrades) now support the @custom:oz-renamed-from and @custom:oz-retyped-from annotations on struct members, including members of namespaced storage structs, since @openzeppelin/upgrades-core@1.47.0 (OpenZeppelin/openzeppelin-upgrades#1308).

This updates the Upgrades Plugins FAQ with an example, and notes a limitation for retypes of namespaced struct members in Foundry Upgrades.

🤖 Generated with Claude Code

@ericglau
ericglau requested a review from a team as a code owner October 23, 2026 18:14
@netlify

netlify Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openzeppelin-docs-v2 ready!

Name Link
🔨 Latest commit 8309f0a
🔍 Latest deploy log https://app.netlify.com/projects/openzeppelin-docs-v2/deploys/6adba4090e8d9bf7260080f4
😎 Deploy Preview https://deploy-preview-255--openzeppelin-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@stevep0z stevep0z left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Thanks @ericglau!

@ericglau
ericglau merged commit 2c12251 into main Oct 23, 2026
12 checks passed
@ericglau
ericglau deleted the upgrades-struct-member-annotations branch October 23, 2026 20:20
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants