fix(deps): update dependency @openzeppelin/hardhat-upgrades to v3 #225
+1,126
−67
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 contains the following updates:
^1.22.1→^3.0.0Release Notes
OpenZeppelin/openzeppelin-upgrades (@openzeppelin/hardhat-upgrades)
v3.9.1Compare Source
"@​nomicfoundation/hardhat-ethers": "^3.0.6""@​nomicfoundation/hardhat-verify": "^2.0.14""hardhat": "^2.24.1"v3.9.0Compare Source
v3.8.0Compare Source
deployProxy,upgradeProxy,deployBeaconProxy, anddefender.deployContract. (#1099)v3.7.0Compare Source
proxyFactoryanddeployFunctionoptions which can be used to deploy a custom proxy contract. (#1104)v3.6.0Compare Source
v3.5.0Compare Source
v3.4.0Compare Source
Potentially breaking changes
initialOwneris not a ProxyAdmin contract when deploying a transparent proxy. (#1083)v3.3.0Compare Source
metadataoption. (#1079)v3.2.1Compare Source
v3.2.0Compare Source
defender.proposeUpgradefrom Defender legacy. Defender users should usedefender.proposeUpgradeWithApprovalinstead. (#1041)v3.1.1Compare Source
constructorArgsoption, support arbitrary constructor arguments. (#1029)v3.1.0Compare Source
licenseTypeandskipLicenseTypeoptions. (#1013)Breaking changes
// SPDX-License-Identifier: UNLICENSEDaccording to Solidity docs, or set thelicenseTypeoption to"None".v3.0.5Compare Source
admin.transferProxyAdminOwnership. (#978)v3.0.4Compare Source
v3.0.3Compare Source
v3.0.2Compare Source
v3.0.1Compare Source
txOverridesoption with Defender. (#951)v3.0.0Compare Source
This is a major version of the Hardhat Upgrades plugin that contains breaking changes. Please review the changes below.
This version deploys proxy contracts from OpenZeppelin Contracts 5.0, and no longer supports deploying proxy contracts from OpenZeppelin Contracts 4.x. However, it still supports importing and/or managing existing proxies that were deployed from previous versions.
If you are using Hardhat Verify, this plugin now requires Hardhat Verify 2.0.0 or higher.
Summary
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.v2.5.1Compare Source
txOverridesoption with Defender. (#951)v2.5.0Compare Source
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.
v2.4.3Compare Source
@openzeppelin/upgrades-core. (#930)v2.4.2Compare Source
upgradeProxyfrom an implementation that has a fallback function and is not using OpenZeppelin Contracts 5.0. (#926)v2.4.1Compare Source
Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
v2.4.0Compare Source
createFactoryAddressoption for Defender deployments. (#920)Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
v2.3.3Compare Source
v2.3.2Compare Source
v2.3.1Compare Source
v2.3.0Compare Source
v2.2.1Compare Source
v2.2.0Compare Source
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.
v2.1.1Compare Source
hardhat-verify. (#857)v2.1.0Compare Source
txOverridesoption for overriding transaction parameters. (#852)v2.0.2Compare Source
v2.0.1Compare Source
v2.0.0Compare Source
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@latestConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.