Skip to content

Releases: dl-solarity/solidity-lib

v2.6.5

20 Oct 08:21
dc6dff0
Compare
Choose a tag to compare

Release notes v2.6.5 ๐ŸŽ‰

This is a minor release

  • Added DiamondERC721 contract.

v2.6.4

16 Oct 16:42
914f4c1
Compare
Choose a tag to compare

Release notes v2.6.4 ๐ŸŽ‰

This is a bugfix release

Fixes

  • Made ProxyBeacon implementation() method public.
  • Removed implementation parameter from AbstractPoolContractsRegistry as it turned out to be useless.

v2.6.3

13 Oct 14:37
067e616
Compare
Choose a tag to compare

Release notes v2.6.3 ๐ŸŽ‰

This is a bugfix release

Fixes

  • Added implementation parameter to AbstractPoolContractsRegistry beacon deploy method.

v2.6.2

12 Oct 13:22
dc27299
Compare
Choose a tag to compare

Release notes v2.6.2 ๐ŸŽ‰

This is a bugfix release

Fixes

  • Fixed SBT incompatibility with Metamask and Opensea. Now tokens are properly indexed.

v2.6.1

11 Oct 15:15
Compare
Choose a tag to compare

Release notes v2.6.1 ๐ŸŽ‰

This is a bugfix release

Fixes

  • Fixed UniswapV2Oracle incompatibility with the Solidity 0.8.0 version which resulted in the revert when the desired overflow happened.

v2.6.0

10 Oct 10:45
Compare
Choose a tag to compare

Release notes v2.6.0 ๐ŸŽ‰

This is a major release

What's new

  • The whole repository got rewritten to use typescript and ethers-v6.
  • Added flexible UniswapV2Oracle contract.
  • Added lightweight SBT contract.
  • Added BlockGuard contract that acts as a flash loan protection mechanism.
  • Added DiamondERC165 facet.

Changes

  • Diamond contracts got refactored to be compliant with ERC-2535 diamond standard.
  • PoolContractsRegistry now has an internal virtual function to override the default deployment of Beacons.
  • ContractsRegistry now also has an internal virtual function to override the default deployment of TransparentProxies.
  • ArrayHelper utility lowerBound() and upperBound() functions now work with storage arrays instead of memory ones.
  • DiamondERC20 got rid of non-standard increaseAllowance() and decreaseAllowance() functions.
  • DecimalsConverter received a syntax sugar upgrade which now allows decimals conversion directly to ERC20 tokens.

Fixes

  • Many internal functions became virtual to be easily overridable.
  • Fixed storage variables visibility to be more SOLID.

v2.5.4

08 Aug 14:15
Compare
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
Compare
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
Compare
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
Compare
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.