Releases: OpenZeppelin/openzeppelin-upgrades
Releases · OpenZeppelin/openzeppelin-upgrades
@openzeppelin/[email protected]
- Add
defender.getDeployApprovalProcess
anddefender.getUpgradeApprovalProcess
functions. (#934) - Deprecate
defender.getDefaultApprovalProcess
function. This function is equivalent todefender.getUpgradeApprovalProcess
.
Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
@openzeppelin/[email protected]
Disclaimer
This is an alpha release of a new major version which contains breaking changes. Additional breaking changes may be introduced leading up to the full release.
Documentation
API documentation for this alpha release can be found here.
Summary
- Deploy proxies from OpenZeppelin Contracts 5.0.
- 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.
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 aproxyAddress
argument to be passed in.
@openzeppelin/[email protected]
- Fix Hardhat compile errors when contracts have overloaded functions or standalone NatSpec documentation. (#918)
@openzeppelin/[email protected]
- Fix
upgradeProxy
in Hardhat from an implementation that has a fallback function and is not using OpenZeppelin Contracts 5.0. (#926)
@openzeppelin/[email protected]
- Bump dependency on
@openzeppelin/upgrades-core
. (#930)
@openzeppelin/[email protected]
- Fix
upgradeProxy
from an implementation that has a fallback function and is not using OpenZeppelin Contracts 5.0. (#926)
@openzeppelin/[email protected]
- 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.
@openzeppelin/[email protected]
- Add
createFactoryAddress
option for Defender deployments. (#920)
Note: OpenZeppelin Defender deployments is in beta and its functionality is subject to change.
@openzeppelin/[email protected]
- CLI: Throw error if
--requireReference
and--unsafeSkipStorageCheck
are both enabled. (#913)