|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | + |
| 4 | +## 3.10.0 (2025-05-07) |
| 5 | + |
| 6 | +- add dep |
| 7 | +- Updated dependencies [[`093692f`](https://github.com/ericglau/openzeppelin-upgrades/commit/093692f25f2f269de1c2f50623dd64536372ae08), [`26c8a78`](https://github.com/ericglau/openzeppelin-upgrades/commit/26c8a7871055a2fda3a18f8a5bfd3344924e689e)]: |
| 8 | + - @ericglau/upgrades-core@1.45.0 |
| 9 | + |
3 | 10 | ## 3.9.0 (2025-01-13) |
4 | 11 |
|
5 | 12 | - Update Defender SDK to v2.1.0, set Hardhat origin for Defender deployments. ([#1111](https://github.com/OpenZeppelin/openzeppelin-upgrades/pull/1111)) |
|
24 | 31 | ## 3.4.0 (2024-09-23) |
25 | 32 |
|
26 | 33 | ### Potentially breaking changes |
| 34 | + |
27 | 35 | - Adds a check to ensure `initialOwner` is not a ProxyAdmin contract when deploying a transparent proxy. ([#1083](https://github.com/OpenZeppelin/openzeppelin-upgrades/pull/1083)) |
28 | 36 |
|
29 | 37 | ## 3.3.0 (2024-09-16) |
|
48 | 56 | - Defender: Fix handling of license types for block explorer verification, support `licenseType` and `skipLicenseType` options. ([#1013](https://github.com/OpenZeppelin/openzeppelin-upgrades/pull/1013)) |
49 | 57 |
|
50 | 58 | ### Breaking changes |
| 59 | + |
51 | 60 | - 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. |
52 | 61 | - If you want the license type to appear as "None", either set your contract to have `// SPDX-License-Identifier: UNLICENSED` according to [Solidity docs](https://docs.soliditylang.org/en/latest/layout-of-source-files.html#spdx-license-identifier), or set the `licenseType` option to `"None"`. |
53 | 62 |
|
|
81 | 90 | - **Note**: [Fully verifying proxies](https://docs.openzeppelin.com/upgrades-plugins/1.x/api-hardhat-upgrades#verify) is only supported with Etherscan at the moment. The Hardhat Upgrades plugin does not currently assist with Sourcify verification for proxies. |
82 | 91 |
|
83 | 92 | ### Breaking changes |
| 93 | + |
84 | 94 | - `deployProxy`, `deployBeacon`, `deployBeaconProxy`: Deploys proxy contracts from [OpenZeppelin Contracts 5.0](https://docs.openzeppelin.com/contracts/5.x/api/proxy). |
85 | 95 | - `deployProxy`: |
86 | 96 | - Deploying a transparent proxy automatically causes a new proxy admin contract to be deployed along with the proxy. |
|
171 | 181 | - Remove address override for deployments. ([#832](https://github.com/OpenZeppelin/openzeppelin-upgrades/pull/832)) |
172 | 182 |
|
173 | 183 | ### Breaking changes |
| 184 | + |
174 | 185 | This new major version requires `ethers` v6 and `@nomicfoundation/hardhat-ethers` v3 as peer dependencies. |
175 | 186 | For Etherscan verification, it also requires `@nomicfoundation/hardhat-verify`. |
176 | 187 |
|
177 | 188 | ### How to update from a previous version |
| 189 | + |
178 | 190 | Update your existing project according to [Hardhat Toolbox v3's release notes](https://github.com/NomicFoundation/hardhat/releases/tag/%40nomicfoundation%2Fhardhat-toolbox%403.0.0). |
179 | 191 | Then update this plugin, for example: `npm install @openzeppelin/hardhat-upgrades@latest` |
180 | 192 |
|
@@ -244,6 +256,7 @@ Then update this plugin, for example: `npm install @openzeppelin/hardhat-upgrade |
244 | 256 | - Override `verify:verify` subtask from hardhat-etherscan. ([#619](https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/619)) |
245 | 257 |
|
246 | 258 | **Breaking change**: To verify a proxy on Etherscan programmatically from a Hardhat script, call `verify:verify` instead of `verify`: |
| 259 | + |
247 | 260 | ``` |
248 | 261 | await hre.run("verify:verify", { |
249 | 262 | address: PROXY_ADDRESS, |
|
0 commit comments