Skip to content

Releases: dl-solarity/solidity-lib

v2.5.4

08 Aug 14:15

Choose a tag to compare

Release notes v2.5.4 🎉

This is a minor release

What's new

  • Added push methods to Vector to support pushes of dynamic arrays.
  • Added addProxyContractAddCall method to AbstractContractsRegistry to avoid initialization front-running.

Fixes

  • Changed bytes behavioral variable from calldata to memory in AbstactDependant.
  • Changed decimals return value from uint256 to uint8 in DeciamalsConverter.

v2.5.2

02 Aug 10:21
de6603a

Choose a tag to compare

Release notes v2.5.2 🎉

This is a bugfix release

Fixes

  • Removed Context from ERC20Diamond to follow conventions of other contracts.

v2.5.1

19 Jul 09:48
c024a09

Choose a tag to compare

Release notes v2.5.1 🎉

This is a bugfix release

What's new

  • Added yielding with value to ReturnDataProxy contract.

Fixes

  • Fixed calldata length bug in the ReturnDataProxy contract.
  • Fixed comments style.

v2.5.0

18 Jul 11:51

Choose a tag to compare

Release notes v2.5.0 🎉

This is a major release

What's new

  • Added ReturnDataProxy for returndata yielding to avoid extra ABI encoding/decoding.
  • Added DiamondERC20 diamond facet contract to implement ERC20 tokens inside diamonds.
  • Added MultiOwnable contract to set up equally rightful owners of the contract.
  • Added crop() function to arrays utility to decrease the length of arrays.
  • Added asDynamic() function to convert static memory arrays to dynamic ones.
  • Added asSingletonArray() function for bool.
  • Upgraded OpenZeppelin contracts version to 4.9.2.

Fixes

  • Fixed code examples inside the documentation to work with the latest hardhat-markup plugin.

v2.4.4

05 Jun 10:25
39e2c85

Choose a tag to compare

Release notes v2.4.4 🎉

This is a feature release

What's new

  • Added IncrementalMerkleTree implementation for cheap on-chain history recording.

Fixes

  • Fixed documentation tags.

v2.4.3

25 May 09:10

Choose a tag to compare

Release notes v2.4.3

This is a minor feature release

What's new

  • Added default user group to RBACGroupable. Now one is able to toggle a default group with the name "" without explicitly assigning it to the users.

Fixes

  • Fixed variables visibility in AbstractCompoundRateKeeper. Made public variables private and added getters.

v2.4.2

23 Apr 09:57
497ea97

Choose a tag to compare

Release notes v2.4.2

This is a minor feature release

What's new

  • Added beforeFallback function to the Diamond proxy
  • Added virtual modifier to OwnableDiamond functions

Fixes

  • Fixed internal function naming in the diamond pattern

v2.4.1

21 Apr 08:59

Choose a tag to compare

Release notes v2.4.1

This is a minor feature release

  • Added virtual modifier to Diamond fallback function

v2.4.0

19 Apr 09:10

Choose a tag to compare

Release notes v2.4.0

This is a non-backwards-compatible release

ContractsRegistry

  • Added ContractAdded, ProxyContractAdded, ProxyContractUpgraded, and ContractRemoved events
  • Removed AddedContract, RemovedContract, and Upgraded events
  • Provided explicit errors to Upgrader error handling

Paginator library

  • Added internal getTo function to paginate through structs conventionally

v2.3.3

14 Apr 16:38

Choose a tag to compare

Release notes v2.3.3

This is a minor feature release

  • Added decimals() function to DecimalsConverter to optimize bytecode size when the function is used multiple times
  • Fixed imports throughout the project