fix(deps): update dependency @openzeppelin/hardhat-upgrades to v3.0.5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @openzeppelin/hardhat-upgrades (source) | 1.28.0 -> 3.0.5 |
||||
| @openzeppelin/hardhat-upgrades (source) | 3.0.2 -> 3.0.5 |
Release Notes
OpenZeppelin/openzeppelin-upgrades (@openzeppelin/hardhat-upgrades)
v3.0.5
- Simplify console logging for
admin.transferProxyAdminOwnership. (#978) - Support private networks and forked networks with Defender. (#989)
v3.0.4
- Support externally linked libraries for Defender deployments. (#960)
v3.0.3
- Support Defender deployments using EOA or Safe. (#967)
v3.0.2
- Support proxy verification on Snowtrace. (#954)
v3.0.1
- Update dependency on undici. (#948)
- Update Defender SDK, support
txOverridesoption with Defender. (#951)
v3.0.0
- Deploy proxies from OpenZeppelin Contracts 5.0. (#919)
- Support
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. - Update optional peer dependency on
@nomicfoundation/hardhat-verifyto v2.0.0 or higher. (#937)- Note: Fully verifying proxies is only supported with Etherscan at the moment. The Hardhat Upgrades plugin does not currently assist with Sourcify verification for proxies.
Breaking changes
-
deployProxy,deployBeacon,deployBeaconProxy: Deploys proxy contracts from OpenZeppelin Contracts 5.0. -
deployProxy:- Deploying a transparent proxy automatically causes a new proxy admin contract to be deployed along with the proxy.
- New transparent proxy deployments no longer use an existing proxy admin, even if one was previously recorded in the network file.
- New proxy admins are no longer recorded in the network file.
-
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.1
- Update Defender SDK, support
txOverridesoption with Defender. (#951)
v2.5.0
- Add
defender.getDeployApprovalProcessanddefender.getUpgradeApprovalProcessfunctions. (#934) - Deprecate
defender.getDefaultApprovalProcessfunction. This function is equivalent todefender.getUpgradeApprovalProcess.
Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
v2.4.3
- Bump dependency on
@openzeppelin/upgrades-core. (#930)
v2.4.2
- Fix
upgradeProxyfrom an implementation that has a fallback function and is not using OpenZeppelin Contracts 5.0. (#926)
v2.4.1
- Update Defender SDK. (#924)
- Throw error if not using a relayer for deployments, until other types of deployments are supported.
Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
v2.4.0
- Add
createFactoryAddressoption for Defender deployments. (#920)
Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
v2.3.3
- Update OpenZeppelin Defender deployments to use Defender SDK (#888)
v2.3.2
- Fix Hardhat compile error when using Solidity 0.5.x. (#892)
v2.3.1
- Check for non-zero admin address when importing transparent proxy. (#887)
v2.3.0
- Support new upgrade interface in OpenZeppelin Contracts 5.0. (#883)
- Support importing and upgrading 5.0 proxies.
- Note: Deploying 5.0 proxies is not supported yet.
- Add validations for namespaced storage layout. (#876)
v2.2.1
- Allow using proxy with different admin address than manifest. (#859)
v2.2.0
- Rename Platform to Defender. (#863)
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.1
- Use public Etherscan API from
hardhat-verify. (#857)
v2.1.0
- Add
txOverridesoption for overriding transaction parameters. (#852)
v2.0.2
- Enable storage layout for overrides from Hardhat config. (#851)
v2.0.1
- Update OpenZeppelin Platform client dependencies. (#845)
v2.0.0
- Use
ethersv6 andhardhat-ethersv3. (#817) - Use
hardhat-verifyfor proxy verification. (#829) - Remove address override for deployments. (#832)
Breaking changes
This new major version requires ethers v6 and @nomicfoundation/hardhat-ethers v3 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@latest
Configuration
📅 Schedule: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This requires Ethers V6 - #12843