Skip to content

Releases: ERC725Alliance/ERC725

v3.2.0

02 Sep 16:41
2bc0212
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • add bytes dataValue parameter to DataChanged event in ERC725Y (#163)
  • removed custom Initializable contract (#150)
  • removed GasLib library in favour of internal uncheckedIncrement(...) function (#160)

Features

  • add bytes dataValue parameter to DataChanged event in ERC725Y (#163) (9f88ee0)

Bug Fixes

  • [QSP-4] prevent address(0) to be set as contract owner on deployment (#159) (5c47854)

v3.1.2

15 Jul 09:30
74ee710
Compare
Choose a tag to compare

This patch release introduces the important bug fixes, as well as some minor optimizations.


  • bug fix 1: ⛔ The contracts ERC725XInit and ERC725YInit (to be used as implementation contracts behind proxies) are now initialized immediately on deployment.

In previous releases, the initialize(...) function needed to be called immediately after deployment, creating a security risk through race conditions. These base implementation contracts are now immediately lock while being deployed, through the use of the _disableInitializer(...) function from the OpenZeppelin contract Initializable.sol.

This function also ensures that the base contract cannot be re-initialized, for instance when ERC725XInit, ERC725YInit or ERC725Init are used through inheritance. If your contract derives from one of these three contracts, the initialize(...) function cannot be called in the parent contract via the most derived constructor/initializerfunction.


  • bug fix 2: drop support for ErrorHandlerLib contract library.

This contract library is now removed from the package, in favour of the verifyCallResult(...) from the OpenZeppelin Address.sol library.

If you were using this ErrorHandlerLib library, we recommend migrating to the function mentioned above from OpenZeppelin.

NB: the ErrorHandlerLib.revertWithParsedError(...) function also contained a minor bug, related to ignoring the value returned by the function.


Bug Fixes

  • ignores return value by ErrorHandlerLib.revertWithParsedError(result) (#133) (f4d6b83)
  • lock base ERC725XInit and ERC725YInit contracts on deployment (#139) (26a5da5)

v3.1.1

07 Jun 14:57
4fece06
Compare
Choose a tag to compare

This minor release include the following two changes:

  • constants.sol now include the bytes4 selectors of the overloaded functions setData(bytes32,bytes) and setData(bytes32[],bytes[]) from ERC725Y (#126) (a4e6b52)
  • remove Context contract from OwnableUnset ( #129 )

v3.1.0

01 Jun 14:37
d250ad3
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • remove value param in DataChanged event (#123)

Features

  • remove value param in DataChanged event (#123) (8794d16)