Skip to content

Commit

Permalink
docs: roll 1.2.0 (#329)
Browse files Browse the repository at this point in the history
* docs: roll 1.2.0

* build: npm ignore file in test utils

* docs(refactor): use bump

* docs(refactor): use bump in OpenZeppelin

* docs: add merklelockup and batchlockup changelog for lockup tranched

* docs: update changelog

* andrei suggestion

* docs(changelog): add solc update

* docs(changelog): add core bump pr

* docs: update date

---------

Co-authored-by: andreivladbrg <[email protected]>
  • Loading branch information
smol-ninja and andreivladbrg authored Jul 4, 2024
1 parent 98ee3b6 commit 2c8643a
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 5 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,39 @@ All notable changes to this project will be documented in this file.

The format is based on [Common Changelog](https://common-changelog.org).

[1.2.0]: https://github.com/sablier-labs/v2-periphery/compare/v1.1.1...v1.2.0
[1.1.1]: https://github.com/sablier-labs/v2-periphery/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/sablier-labs/v2-periphery/compare/v1.0.3...v1.1.0
[1.0.3]: https://github.com/sablier-labs/v2-periphery/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/sablier-labs/v2-periphery/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/sablier-labs/v2-periphery/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/sablier-labs/v2-periphery/releases/tag/v1.0.0

## [1.2.0] - 2024-07-04

### Changed

- Bump dependencies ([#283](https://github.com/sablier-labs/v2-periphery/pull/283),
[#351](https://github.com/sablier-labs/v2-periphery/pull/351),
[#363](https://github.com/sablier-labs/v2-periphery/pull/363))
- Rename `Batch` to `BatchLockup` ([#322](https://github.com/sablier-labs/v2-periphery/pull/322))
- Rename `MerkleStreamer` to `MerkleLockup` ([#268](https://github.com/sablier-labs/v2-periphery/pull/268))
- Refactor `Range` to `Timestamps` ([#335](https://github.com/sablier-labs/v2-periphery/pull/335))
- Switch to Bun ([#249](https://github.com/sablier-labs/v2-periphery/pull/249))
- Use Solidity v0.8.26 ([#351](https://github.com/sablier-labs/v2-periphery/pull/351))

### Added

- And `BatchLockup` support for `LockupTranched` ([#300](https://github.com/sablier-labs/v2-periphery/pull/300))
- Add grace period mechanism for `clawback` function ([#340](https://github.com/sablier-labs/v2-periphery/pull/340))
- Add `MerkleLockup` support for `LockupTranched` ([#297](https://github.com/sablier-labs/v2-periphery/pull/297),
[#357](https://github.com/sablier-labs/v2-periphery/pull/357))
- Add `precompiles` in the NPM release ([#302](https://github.com/sablier-labs/v2-periphery/pull/302))

### Removed

- **Breaking**: Remove protocol fee check in `MerkleLL` ([#257](https://github.com/sablier-labs/v2-periphery/pull/257))

## [1.1.1] - 2023-12-20

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sablier/v2-periphery",
"description": "Peripheral smart contracts for interacting with Sablier V2",
"version": "1.1.1",
"version": "1.2.0",
"author": {
"name": "Sablier Labs Ltd",
"url": "https://sablier.com"
Expand Down
1 change: 1 addition & 0 deletions test/utils/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.t.sol
2 changes: 1 addition & 1 deletion test/utils/BaseScript.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ contract BaseScript_Test is StdAssertions {

function test_ConstructCreate2Salt() public view {
string memory chainId = block.chainid.toString();
string memory version = "1.1.1";
string memory version = "1.2.0";
string memory salt = string.concat("ChainID ", chainId, ", Version ", version);

bytes32 actualSalt = baseScript.constructCreate2Salt();
Expand Down
6 changes: 3 additions & 3 deletions test/utils/Precompiles.t.sol
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.22 <0.9.0;

import { Precompiles } from "../../precompiles/Precompiles.sol";
import { ISablierV2BatchLockup } from "../../src/interfaces/ISablierV2BatchLockup.sol";
import { ISablierV2MerkleLockupFactory } from "../../src/interfaces/ISablierV2MerkleLockupFactory.sol";
import { Precompiles } from "precompiles/Precompiles.sol";
import { ISablierV2BatchLockup } from "src/interfaces/ISablierV2BatchLockup.sol";
import { ISablierV2MerkleLockupFactory } from "src/interfaces/ISablierV2MerkleLockupFactory.sol";

import { Base_Test } from "../Base.t.sol";

Expand Down

0 comments on commit 2c8643a

Please sign in to comment.