Skip to content

fix(deps): update dependency @openzeppelin/hardhat-upgrades to v3#405

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/openzeppelin-hardhat-upgrades-3.x
Open

fix(deps): update dependency @openzeppelin/hardhat-upgrades to v3#405
renovate[bot] wants to merge 1 commit intomainfrom
renovate/openzeppelin-hardhat-upgrades-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 11, 2023

This PR contains the following updates:

Package Change Age Confidence
@openzeppelin/hardhat-upgrades ^1.22.1^3.0.0 age confidence

Release Notes

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

v3.9.1

Compare Source

  • Support contract verification via etherscan V2 API. (#​1166)
    • Potentially breaking changes: Changes peer dependencies to the following:
      • "@​nomicfoundation/hardhat-ethers": "^3.0.6"
      • "@​nomicfoundation/hardhat-verify": "^2.0.14"
      • "hardhat": "^2.24.1"

v3.9.0

Compare Source

  • Update Defender SDK to v2.1.0, set Hardhat origin for Defender deployments. (#​1111)

v3.8.0

Compare Source

  • Support TypeChain in deployProxy, upgradeProxy, deployBeaconProxy, and defender.deployContract. (#​1099)

v3.7.0

Compare Source

  • Add proxyFactory and deployFunction options which can be used to deploy a custom proxy contract. (#​1104)

v3.6.0

Compare Source

  • Update Slang dependency to 0.18.3. (#​1102)
    • Improves reliability of Hardhat compilation step for namespaced storage layout validations when using Solidity versions 0.8.27 and 0.8.28.

v3.5.0

Compare Source

  • Support ignoring Hardhat compile errors when extracting detailed namespaced storage layouts for validations. (#​1090)

v3.4.0

Compare Source

Potentially breaking changes
  • Adds a check to ensure initialOwner is not a ProxyAdmin contract when deploying a transparent proxy. (#​1083)

v3.3.0

Compare Source

  • Defender: Add metadata option. (#​1079)

v3.2.1

Compare Source

  • Fix Hardhat compile error when public variables are used to implement interface functions. (#​1055)
  • Remove non-struct NatSpec from Hardhat compilation step for namespaced storage layout validations. (#​1051)

v3.2.0

Compare Source

  • Breaking change: Remove defender.proposeUpgrade from Defender legacy. Defender users should use defender.proposeUpgradeWithApproval instead. (#​1041)

v3.1.1

Compare Source

  • Defender: Fix proxy deployments when using constructorArgs option, support arbitrary constructor arguments. (#​1029)

v3.1.0

Compare Source

  • Defender: Fix handling of license types for block explorer verification, support licenseType and skipLicenseType options. (#​1013)
Breaking changes
  • When deploying through Defender, if your contract does not have an SPDX license identifier, the verified source code on Etherscan will no longer show any license type.
    • If you want the license type to appear as "None", either set your contract to have // SPDX-License-Identifier: UNLICENSED according to Solidity docs, or set the licenseType option to "None".

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

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
  • 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: (UTC)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 4 times, most recently from e29292a to 677b8e0 Compare December 22, 2023 15:02
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 4 times, most recently from 0a1d430 to 1014d13 Compare December 30, 2023 06:52
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 5 times, most recently from 889e4c5 to d5812c4 Compare January 11, 2024 11:48
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 6 times, most recently from 924178e to 44da85c Compare January 17, 2024 14:19
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 4 times, most recently from c139d0c to 659f5a1 Compare January 25, 2024 01:17
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 5 times, most recently from 9563342 to 72f0d4e Compare July 26, 2024 04:05
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 2 times, most recently from 1811ce7 to 19e2d97 Compare August 13, 2025 12:51
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from 19e2d97 to 94658c5 Compare August 22, 2025 23:53
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from 94658c5 to b2048a2 Compare August 31, 2025 11:36
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from b2048a2 to a879b09 Compare September 25, 2025 17:53
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from a879b09 to d995604 Compare October 21, 2025 18:11
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from d995604 to ad366ae Compare November 10, 2025 22:58
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from ad366ae to 3273313 Compare November 18, 2025 23:11
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from 3273313 to 96f568d Compare December 3, 2025 15:35
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from 96f568d to 19b4ad7 Compare December 31, 2025 18:06
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from 19b4ad7 to 5f4cacc Compare January 8, 2026 21:24
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 2 times, most recently from a8c4a53 to dcb15fd Compare January 23, 2026 20:50
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from dcb15fd to 0acd775 Compare February 2, 2026 16:10
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 2 times, most recently from 4aa4468 to ff4a6ce Compare February 17, 2026 17:55
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from ff4a6ce to 9f10eb8 Compare March 5, 2026 17:00
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from 9f10eb8 to 34b17a4 Compare March 13, 2026 13:15
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch 2 times, most recently from 27798a9 to 4a2a4c8 Compare April 1, 2026 21:42
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from 4a2a4c8 to ba22d91 Compare April 8, 2026 15:40
@renovate renovate Bot force-pushed the renovate/openzeppelin-hardhat-upgrades-3.x branch from ba22d91 to 9a9cdf2 Compare April 29, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants