Prepare Release #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@openzeppelin/[email protected]
Changelog
3.9.1 (2025-06-26)
"@nomicfoundation/hardhat-ethers": "^3.0.6""@nomicfoundation/hardhat-verify": "^2.0.14""hardhat": "^2.24.1"3.9.0 (2025-01-13)
3.8.0 (2024-12-19)
deployProxy,upgradeProxy,deployBeaconProxy, anddefender.deployContract. (#1099)3.7.0 (2024-12-04)
proxyFactoryanddeployFunctionoptions which can be used to deploy a custom proxy contract. (#1104)3.6.0 (2024-11-25)
3.5.0 (2024-10-10)
3.4.0 (2024-09-23)
Potentially breaking changes
initialOwneris not a ProxyAdmin contract when deploying a transparent proxy. (#1083)3.3.0 (2024-09-16)
metadataoption. (#1079)3.2.1 (2024-07-31)
3.2.0 (2024-06-24)
defender.proposeUpgradefrom Defender legacy. Defender users should usedefender.proposeUpgradeWithApprovalinstead. (#1041)3.1.1 (2024-06-03)
constructorArgsoption, support arbitrary constructor arguments. (#1029)3.1.0 (2024-04-22)
licenseTypeandskipLicenseTypeoptions. (#1013)Breaking changes
// SPDX-License-Identifier: UNLICENSEDaccording to Solidity docs, or set thelicenseTypeoption to"None".3.0.5 (2024-03-08)
admin.transferProxyAdminOwnership. (#978)3.0.4 (2024-02-27)
3.0.3 (2024-02-06)
3.0.2 (2024-01-09)
3.0.1 (2023-12-20)
txOverridesoption with Defender. (#951)3.0.0 (2023-12-11)
initialOwneroption when deploying a transparent proxy or beacon. If not set, the externally owned account used during deployment will be the default owner for the transparent proxy's admin or the beacon, respectively.@nomicfoundation/hardhat-verifyto v2.0.0 or higher. (#937)Breaking changes
deployProxy,deployBeacon,deployBeaconProxy: Deploys proxy contracts from OpenZeppelin Contracts 5.0.deployProxy:deployProxyAdmin: Removed, since proxy admins are deployed automatically by transparent proxies.admin.changeProxyAdmin: Not supported with admins or proxies from OpenZeppelin Contracts 5.0. Only supported for previously deployed admins and proxies from OpenZeppelin Contracts 4.x or below.admin.transferProxyAdminOwnership: This function no longer uses the proxy admin from the network file. It now requires aproxyAddressargument to be passed in.@nomicfoundation/hardhat-verifyv1.x and@nomicfoundation/hardhat-toolboxv3.x are no longer supported with this plugin. If you are using these packages, update them to@nomicfoundation/hardhat-verifyv2.x and@nomicfoundation/hardhat-toolboxv4.x.2.5.0 (2023-12-04)
defender.getDeployApprovalProcessanddefender.getUpgradeApprovalProcessfunctions. (#934)defender.getDefaultApprovalProcessfunction. This function is equivalent todefender.getUpgradeApprovalProcess.Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
2.4.3 (2023-11-28)
@openzeppelin/upgrades-core. (#930)2.4.2 (2023-11-28)
upgradeProxyfrom an implementation that has a fallback function and is not using OpenZeppelin Contracts 5.0. (#926)2.4.1 (2023-11-14)
Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
2.4.0 (2023-11-13)
createFactoryAddressoption for Defender deployments. (#920)Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
2.3.3 (2023-10-12)
2.3.2 (2023-10-11)
2.3.1 (2023-09-28)
2.3.0 (2023-09-27)
2.2.1 (2023-08-18)
2.2.0 (2023-08-17)
Note: Functions that were for OpenZeppelin Platform have breaking changes since the previous release and have been renamed for OpenZeppelin Defender. See (#863) for details. OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
2.1.1 (2023-08-08)
hardhat-verify. (#857)2.1.0 (2023-08-03)
txOverridesoption for overriding transaction parameters. (#852)2.0.2 (2023-07-26)
2.0.1 (2023-07-12)
2.0.0 (2023-07-05)
ethersv6 andhardhat-ethersv3. (#817)hardhat-verifyfor proxy verification. (#829)Breaking changes
This new major version requires
ethersv6 and@nomicfoundation/hardhat-ethersv3 as peer dependencies.For Etherscan verification, it also requires
@nomicfoundation/hardhat-verify.How to update from a previous version
Update your existing project according to Hardhat Toolbox v3's release notes.
Then update this plugin, for example:
npm install @openzeppelin/hardhat-upgrades@latest1.28.0 (2023-06-14)
walletIdoption torelayerIdfor OpenZeppelin Platform deployments. Update dependencies. (#806)Note: OpenZeppelin Platform is in beta and its functionality is subject to change.
1.27.0 (2023-05-26)
saltoption for deployments on OpenZeppelin Platform. (#799)redeployImplementationoption, deprecateuseDeployedImplementation. (#804)Note: OpenZeppelin Platform is in beta and its functionality is subject to change.
1.26.0 (2023-05-15)
Note: Some OpenZeppelin Platform functions have breaking changes since the previous release. See (#791) for details. OpenZeppelin Platform is in beta and its functionality is subject to change.
1.25.3 (2023-05-12)
1.25.2 (2023-05-12)
1.25.1 (2023-05-10)
platform.deployContract. (#793)1.25.0 (2023-05-08)
Note: OpenZeppelin Platform is in beta and its functionality is subject to change.
1.24.0 (2023-05-03)
adminfunctions. (#784)1.23.1 (2023-04-26)
verifyto fall back to hardhat-etherscan if proxy bytecode does not match. (#752)1.23.0 (2023-04-26)
prepareUpgradefrom an implementation address. (#777)1.22.1 (2023-01-18)
1.22.0 (2022-12-15)
verifyto verify beacons. (#695)1.21.0 (2022-09-27)
1.20.1 (2022-09-26)
verify:verifysubtask from hardhat-etherscan. (#619)Breaking change: To verify a proxy on Etherscan programmatically from a Hardhat script, call
verify:verifyinstead ofverify:1.20.0 (2022-08-08)
1.19.1 (2022-07-26)
debugandethers. (#600)upgradeProxy. (#604)1.19.0 (2022-06-16)
proposeUpgrade. (#554)1.18.3 (2022-06-14)
1.18.2 (2022-06-14)
verifyto be compatible with latest version of hardhat-etherscan. (#592)1.18.1 (2022-06-03)
1.18.0 (2022-05-31)
1.17.0 (2022-03-29)
forceImport, fix importing UUPS proxy with admin (#550)1.16.1 (2022-03-15)
1.16.0 (2022-03-08)
unsafeSkipStorageCheckto skip storage layout compatibility check during upgrades. (#495)1.15.0 (2022-03-01)
forceImportfunction to import an existing proxy or beacon. (#517)1.14.0 (2022-01-31)
timeoutandpollingInterval. (#55)1.13.0 (2022-01-12)
1.12.1 (2022-01-06)
1.12.0 (2021-10-28)
upgradeToAndCallto batch a function call into the upgrade transaction. (#443)1.11.0 (2021-10-22)
1.10.0 (2021-08-25)
erc1967module. (#413)1.9.0 (2021-06-29)
unsafeAllowRenamesto configure storage layout check to allow variable renaming.1.8.2 (2021-05-13)
deployTransactionassignment indeployProxyas a fix for congested networks.1.8.1 (2021-05-13)
deployTransactionassignment inupgradeProxy.1.8.0 (2021-05-12)
Support passing contract instance to
upgradeProxyandprepareUpgrade.Enable awaiting until a proxy upgrade is mined:
const v2 = await upgrades.upgradeProxy(proxy, ContractV2);
await v2.deployed();
1.7.0 (2021-04-29)
1.6.0 (2021-01-27)
1.5.0 (2021-01-15)
upgrades.admin.getInstance()to retrieve the instance ofProxyAdminthat is in use. (#274)1.4.3 (2020-12-16)
unsafeAllowCustomTypesflag that would cause other storage layout incompatibilities to be ignored. (#259)Users of this flag are advised to update to this version.
1.4.2 (2020-12-04)
1.4.1 (2020-11-30)
adminto the TypeScript type forhre.upgrades.1.4.0 (2020-11-24)
silenceWarningsto emit a single warning and silence all subsequent ones. (#228)1.3.1 (2020-11-18)
argsindeployProxywhen it's an empty array.1.3.0 (2020-11-13)
1.2.1 (2020-10-21)
initializer: false. (#204)1.2.0 (2020-10-16)
unsafeAllowLinkedLibrariesto allow deployment of contracts with linked libraries. (#182)1.1.1 (2020-10-08)
1.1.0 (2020-09-18)
1.0.2 (2020-09-01)
srcdirectory in npm packages. (#150)1.0.1 (2020-08-20)
deployProxy. (#129, #133)