Releases: dl-solarity/solidity-lib
Releases · dl-solarity/solidity-lib
v2.6.1
v2.6.0
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 withERC-2535
diamond standard.PoolContractsRegistry
now has aninternal virtual
function to override the default deployment ofBeacons
.ContractsRegistry
now also has aninternal virtual
function to override the default deployment ofTransparentProxies
.ArrayHelper
utilitylowerBound()
andupperBound()
functions now work withstorage
arrays instead ofmemory
ones.DiamondERC20
got rid of non-standardincreaseAllowance()
anddecreaseAllowance()
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
Release notes v2.5.4 🎉
This is a minor release
What's new
- Added
push
methods toVector
to support pushes of dynamic arrays. - Added
addProxyContractAddCall
method toAbstractContractsRegistry
to avoid initialization front-running.
Fixes
- Changed bytes behavioral variable from
calldata
tomemory
inAbstactDependant
. - Changed
decimals
return value fromuint256
touint8
inDeciamalsConverter
.
v2.5.2
v2.5.1
v2.5.0
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 forbool
. - 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
v2.4.3
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
. Madepublic
variablesprivate
and added getters.