Releases: sablier-labs/lockup
Releases · sablier-labs/lockup
v2.0.0
Changed
- Breaking: merge
SablierV2LockupLinear
,SablierV2LockupDynamic
andSablierV2LockupTranched
into a single
contract calledSablierLockup
(#1069)- Implement two public libraries
VestingMath
andHelpers
- Implement
Model
enum to differentiate between linear, dynamic and tranched streams
- Implement two public libraries
- Allow setting the end time of linear streams to a past date (#1015)
- Emit revert errors in
withdrawMultiple
instead of halting execution on failed withdrawals (#1101) - Allow approved accounts to execute
withdrawMaxAndTranfer
on behalf of recipients (#1054) - Refactor
asset
totoken
when referring toERC20
tokens (#1097) - Rename this repo to Lockup (#994)
Added
- Breaking: introduce new configurations for unlock amounts at start time and cliff time in create Linear functions (#1075)
- Implement a
batch
function to execute multiple functions in a single transaction (#1070, #1126) - Emit the expected shape name of the stream through create functions (#1094, #1100)
- Implement
renounceMultiple
function to renounce multiple streams in a single transaction (#1091) - Moved the
SablierBatchLockup
contract from v2-periphery to the Lockup repository (#1084) - Add
payable
modifier to all the functions (#1093)
Removed
v1.2.0
Changed
- Breaking: move common logic into
Lockup
contract (#784, #813, #850, #941) - Breaking: use a new hook system (#951)
- Replace
ISablierV2Recipient
withISablierLockupRecipient
hook interface - Remove
try..catch
block from hook calls
- Replace
- Allow only supported characters in NFT Descriptor asset symbols (#945, #960, #949)
- Bump build dependencies (#806, #942, #944)
- Change permissions of
withdraw
function to public (#785) - Disallow zero
startTime
(#813, #852) - Rename create functions
createWithTimestamps
andcreateWithDurations
across all lockup contracts (#798) - Switch to Bun (#775)
- Use Solidity v0.8.26 (#944)
Added
- Add Lockup Tranched contract (#817)
- Add
precompiles
in the NPM release (#841) - Add return value in
withdrawMax
andwithdrawMaxAndTransfer
(#961)
Removed
v1.1.2
v1.1.1
v1.1.0
Changed
- Breaking: Remove ability to cancel for recipients (#710)
- Move
isWarm
andisCold
toSablierV2Lockup
(#664) - Replace the streamed amount with the deposit amount in the NFT descriptor (#692)
- Simplify
renounce
andwithdraw
implementations (#683, #705) - Update import paths to use Node.js dependencies (#734)
- Upgrade Solidity to
0.8.21
(#688)
Added
Removed
- Remove
@openzeppelin/contracts
from Node.js peer dependencies (#694)