Releases: OpenZeppelin/openzeppelin-upgrades
Releases · OpenZeppelin/openzeppelin-upgrades
@openzeppelin/hardhat-upgrades@3.8.0
- Support TypeChain in
deployProxy
,upgradeProxy
,deployBeaconProxy
, anddefender.deployContract
. (#1099)
@openzeppelin/hardhat-upgrades@3.7.0
- Add
proxyFactory
anddeployFunction
options which can be used to deploy a custom proxy contract. (#1104)
@openzeppelin/upgrades-core@1.41.0
- 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.
@openzeppelin/hardhat-upgrades@3.6.0
- 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.
@openzeppelin/upgrades-core@1.40.0
@openzeppelin/hardhat-upgrades@3.5.0
- Support ignoring Hardhat compile errors when extracting detailed namespaced storage layouts for validations. (#1090)
@openzeppelin/upgrades-core@1.39.0
- Fix Hardhat compile error when library or interface has struct with namespace annotation. (#1086)
- Log warning if library contains namespace annotation. (#1086)
Note
Namespaces should be defined in contracts according to ERC-7201: Namespaced Storage Layouts. Structs with namespace annotations defined in libraries or interfaces outside of a contract's inheritance are not included in storage layout validations.
@openzeppelin/upgrades-core@1.38.0
- Supports checking to ensure
initialOwner
is not a ProxyAdmin contract when deploying a transparent proxy from Hardhat. (#1083)
@openzeppelin/hardhat-upgrades@3.4.0
Potentially breaking changes
- Adds a check to ensure
initialOwner
is not a ProxyAdmin contract when deploying a transparent proxy. (#1083)
@openzeppelin/hardhat-upgrades@3.3.0
- Defender: Add
metadata
option. (#1079)