unlock icon indicating copy to clipboard operation
unlock copied to clipboard

fix(deps): update dependency @openzeppelin/hardhat-upgrades to v3.0.5

Open renovate[bot] opened this issue 2 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@openzeppelin/hardhat-upgrades (source) 1.28.0 -> 3.0.5 age adoption passing confidence
@openzeppelin/hardhat-upgrades (source) 3.0.2 -> 3.0.5 age adoption passing confidence

Release Notes

OpenZeppelin/openzeppelin-upgrades (@​openzeppelin/hardhat-upgrades)

v3.0.5

Compare Source

  • Simplify console logging for admin.transferProxyAdminOwnership. (#​978)
  • Support private networks and forked networks with Defender. (#​989)

v3.0.4

Compare Source

  • Support externally linked libraries for Defender deployments. (#​960)

v3.0.3

Compare Source

  • Support Defender deployments using EOA or Safe. (#​967)

v3.0.2

Compare Source

  • Support proxy verification on Snowtrace. (#​954)

v3.0.1

Compare Source

  • Update dependency on undici. (#​948)
  • Update Defender SDK, support txOverrides option with Defender. (#​951)

v3.0.0

Compare Source

  • Deploy proxies from OpenZeppelin Contracts 5.0. (#​919)
  • Support initialOwner option 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-verify to 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 a proxyAddress argument to be passed in.
  • @nomicfoundation/hardhat-verify v1.x and @nomicfoundation/hardhat-toolbox v3.x are no longer supported with this plugin. If you are using these packages, update them to @nomicfoundation/hardhat-verify v2.x and @nomicfoundation/hardhat-toolbox v4.x.

v2.5.1

Compare Source

  • Update Defender SDK, support txOverrides option with Defender. (#​951)

v2.5.0

Compare Source

  • Add defender.getDeployApprovalProcess and defender.getUpgradeApprovalProcess functions. (#​934)
  • Deprecate defender.getDefaultApprovalProcess function. This function is equivalent to defender.getUpgradeApprovalProcess.

Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.

v2.4.3

Compare Source

  • Bump dependency on @openzeppelin/upgrades-core. (#​930)

v2.4.2

Compare Source

  • Fix upgradeProxy from an implementation that has a fallback function and is not using OpenZeppelin Contracts 5.0. (#​926)

v2.4.1

Compare Source

  • 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

Compare Source

  • Add createFactoryAddress option for Defender deployments. (#​920)

Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.

v2.3.3

Compare Source

  • Update OpenZeppelin Defender deployments to use Defender SDK (#​888)

v2.3.2

Compare Source

  • Fix Hardhat compile error when using Solidity 0.5.x. (#​892)

v2.3.1

Compare Source

  • Check for non-zero admin address when importing transparent proxy. (#​887)

v2.3.0

Compare Source

  • 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

Compare Source

  • Allow using proxy with different admin address than manifest. (#​859)

v2.2.0

Compare Source

  • 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

Compare Source

  • Use public Etherscan API from hardhat-verify. (#​857)

v2.1.0

Compare Source

  • Add txOverrides option for overriding transaction parameters. (#​852)

v2.0.2

Compare Source

  • Enable storage layout for overrides from Hardhat config. (#​851)

v2.0.1

Compare Source

  • Update OpenZeppelin Platform client dependencies. (#​845)

v2.0.0

Compare Source

  • Use ethers v6 and hardhat-ethers v3. (#​817)
  • Use hardhat-verify for 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.

renovate[bot] avatar Jan 01 '24 09:01 renovate[bot]

This requires Ethers V6 - #12843

clemsos avatar Jan 11 '24 13:01 clemsos