Releases: dl-solarity/solidity-lib
Releases · dl-solarity/solidity-lib
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
UniswapV2Oraclecontract. - Added lightweight
SBTcontract. - Added
BlockGuardcontract that acts as a flash loan protection mechanism. - Added
DiamondERC165facet.
Changes
Diamondcontracts got refactored to be compliant withERC-2535diamond standard.PoolContractsRegistrynow has aninternal virtualfunction to override the default deployment ofBeacons.ContractsRegistrynow also has aninternal virtualfunction to override the default deployment ofTransparentProxies.ArrayHelperutilitylowerBound()andupperBound()functions now work withstoragearrays instead ofmemoryones.DiamondERC20got rid of non-standardincreaseAllowance()anddecreaseAllowance()functions.DecimalsConverterreceived a syntax sugar upgrade which now allows decimals conversion directly to ERC20 tokens.
Fixes
- Many internal functions became
virtualto 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
pushmethods toVectorto support pushes of dynamic arrays. - Added
addProxyContractAddCallmethod toAbstractContractsRegistryto avoid initialization front-running.
Fixes
- Changed bytes behavioral variable from
calldatatomemoryinAbstactDependant. - Changed
decimalsreturn value fromuint256touint8inDeciamalsConverter.
v2.5.2
v2.5.1
v2.5.0
Release notes v2.5.0 🎉
This is a major release
What's new
- Added
ReturnDataProxyfor returndata yielding to avoid extra ABI encoding/decoding. - Added
DiamondERC20diamond facet contract to implement ERC20 tokens inside diamonds. - Added
MultiOwnablecontract 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. Madepublicvariablesprivateand added getters.
v2.4.2
v2.4.1
v2.4.0
Release notes v2.4.0
This is a non-backwards-compatible release
ContractsRegistry
- Added
ContractAdded,ProxyContractAdded,ProxyContractUpgraded, andContractRemovedevents - Removed
AddedContract,RemovedContract, andUpgradedevents - Provided explicit errors to
Upgradererror handling
Paginator library
- Added internal
getTofunction to paginate through structs conventionally