From 2c8643a0967b1252e4dee666fe5dd6a7568551cd Mon Sep 17 00:00:00 2001 From: smol-ninja Date: Thu, 4 Jul 2024 15:16:04 +0100 Subject: [PATCH] docs: roll 1.2.0 (#329) * 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 --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ package.json | 2 +- test/utils/.npmignore | 1 + test/utils/BaseScript.t.sol | 2 +- test/utils/Precompiles.t.sol | 6 +++--- 5 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 test/utils/.npmignore diff --git a/CHANGELOG.md b/CHANGELOG.md index fa7d7922..ff8c097e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ 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 @@ -11,6 +12,31 @@ The format is based on [Common Changelog](https://common-changelog.org). [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 diff --git a/package.json b/package.json index 719910c7..88cca733 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/test/utils/.npmignore b/test/utils/.npmignore new file mode 100644 index 00000000..c607d373 --- /dev/null +++ b/test/utils/.npmignore @@ -0,0 +1 @@ +*.t.sol diff --git a/test/utils/BaseScript.t.sol b/test/utils/BaseScript.t.sol index 334f7364..6fa78951 100644 --- a/test/utils/BaseScript.t.sol +++ b/test/utils/BaseScript.t.sol @@ -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(); diff --git a/test/utils/Precompiles.t.sol b/test/utils/Precompiles.t.sol index 88155421..1fec3c09 100644 --- a/test/utils/Precompiles.t.sol +++ b/test/utils/Precompiles.t.sol @@ -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";