diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c5f8478b..09b7cce4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,6 +1,6 @@ { - "packages/as-sha256": "0.6.1", - "packages/persistent-merkle-tree": "0.9.1", + "packages/as-sha256": "1.0.0", + "packages/persistent-merkle-tree": "1.0.0", "packages/persistent-ts": "0.19.2", - "packages/ssz": "0.19.1" + "packages/ssz": "0.20.0" } \ No newline at end of file diff --git a/packages/as-sha256/CHANGELOG.md b/packages/as-sha256/CHANGELOG.md index 37b5f989..707145fa 100644 --- a/packages/as-sha256/CHANGELOG.md +++ b/packages/as-sha256/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.0](https://github.com/ChainSafe/ssz/compare/as-sha256-v0.6.1...as-sha256-v1.0.0) (2025-01-17) + + +### ⚠ BREAKING CHANGES + +* implement hashInto() api for as-sha256 ([#382](https://github.com/ChainSafe/ssz/issues/382)) + +### Features + +* add swappable hasher, default to noble-hashes ([#314](https://github.com/ChainSafe/ssz/issues/314)) ([4b44614](https://github.com/ChainSafe/ssz/commit/4b44614003619b2c5477363a3c85287e2f2987bd)) +* implement hashInto() api for as-sha256 ([#382](https://github.com/ChainSafe/ssz/issues/382)) ([ccadf43](https://github.com/ChainSafe/ssz/commit/ccadf431cea6164822e72771304192b2728d7bb2)) +* non simd sha256 for incompatible systems ([#427](https://github.com/ChainSafe/ssz/issues/427)) ([9729005](https://github.com/ChainSafe/ssz/commit/9729005ab0fd401c30e999b20133c4bb6373ded6)) +* SIMD implementation for as-sha256 ([#367](https://github.com/ChainSafe/ssz/issues/367)) ([ec123ec](https://github.com/ChainSafe/ssz/commit/ec123ec3cfcc37ff82635da7a57ad9c74cc9accb)) +* use allocUnsafe to allocate hash digests ([#391](https://github.com/ChainSafe/ssz/issues/391)) ([8ea1bb4](https://github.com/ChainSafe/ssz/commit/8ea1bb4809592691e568238520cb3c2aa9257c25)) + + +### Bug Fixes + +* add homepage/repo etc to as-sha256 package.json ([#401](https://github.com/ChainSafe/ssz/issues/401)) ([1dc50ef](https://github.com/ChainSafe/ssz/commit/1dc50ef2985a03c315bbce44165cd271a4a6e2df)) +* migrate to the latest assemblyscript ([#348](https://github.com/ChainSafe/ssz/issues/348)) ([9cf6991](https://github.com/ChainSafe/ssz/commit/9cf6991e7ece4e4002668f601ecb43bb8bd53f4e)) +* Use file path imports ([#318](https://github.com/ChainSafe/ssz/issues/318)) ([f459e92](https://github.com/ChainSafe/ssz/commit/f459e92fbafc5d9388bfa630291855ec32a09566)) + ## [0.6.1](https://github.com/chainsafe/ssz/compare/as-sha256-v0.6.0...as-sha256-v0.6.1) (2025-01-17) diff --git a/packages/as-sha256/package.json b/packages/as-sha256/package.json index 66aaecad..bb4e3613 100644 --- a/packages/as-sha256/package.json +++ b/packages/as-sha256/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/as-sha256", - "version": "0.6.1", + "version": "1.0.0", "description": "An AssemblyScript implementation of SHA256", "author": "ChainSafe Systems", "license": "Apache-2.0", diff --git a/packages/persistent-merkle-tree/CHANGELOG.md b/packages/persistent-merkle-tree/CHANGELOG.md index a1f42fe6..60c852c0 100644 --- a/packages/persistent-merkle-tree/CHANGELOG.md +++ b/packages/persistent-merkle-tree/CHANGELOG.md @@ -9,6 +9,40 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline * dependencies * @chainsafe/as-sha256 bumped to 0.4.2 +## [1.0.0](https://github.com/ChainSafe/ssz/compare/persistent-merkle-tree-v0.9.1...persistent-merkle-tree-v1.0.0) (2025-01-17) + + +### ⚠ BREAKING CHANGES + +* implement hashInto() api for as-sha256 ([#382](https://github.com/ChainSafe/ssz/issues/382)) + +### Features + +* add swappable hasher, default to noble-hashes ([#314](https://github.com/ChainSafe/ssz/issues/314)) ([4b44614](https://github.com/ChainSafe/ssz/commit/4b44614003619b2c5477363a3c85287e2f2987bd)) +* compact multiproof ([#292](https://github.com/ChainSafe/ssz/issues/292)) ([5f1ea99](https://github.com/ChainSafe/ssz/commit/5f1ea9914d0796cf0c9a8c2f9622fc5e459a12f2)) +* implement batch hash utils ([#384](https://github.com/ChainSafe/ssz/issues/384)) ([1578883](https://github.com/ChainSafe/ssz/commit/15788839b71287e2ff22254bfcabba8221b08a00)) +* implement HashComputationLevel using LinkedList ([#389](https://github.com/ChainSafe/ssz/issues/389)) ([e2c8329](https://github.com/ChainSafe/ssz/commit/e2c83298f9cdb29de407737df85da9292c8eb754)) +* implement hashInto() api for as-sha256 ([#382](https://github.com/ChainSafe/ssz/issues/382)) ([ccadf43](https://github.com/ChainSafe/ssz/commit/ccadf431cea6164822e72771304192b2728d7bb2)) +* implement merkleizeBlockArray ([#421](https://github.com/ChainSafe/ssz/issues/421)) ([e58781f](https://github.com/ChainSafe/ssz/commit/e58781feb7c9a956b66f1109fc639bdb86326293)) +* implement ViewDU.batchHashTreeRoot() ([#392](https://github.com/ChainSafe/ssz/issues/392)) ([8dd6600](https://github.com/ChainSafe/ssz/commit/8dd6600ad41e9a0d25182ca50f0ffd9be7fc5b8c)) +* new type for list of uint64 ([#352](https://github.com/ChainSafe/ssz/issues/352)) ([e131b5a](https://github.com/ChainSafe/ssz/commit/e131b5a9080f8719d624df97d8a4462081a65807)) +* non simd sha256 for incompatible systems ([#427](https://github.com/ChainSafe/ssz/issues/427)) ([9729005](https://github.com/ChainSafe/ssz/commit/9729005ab0fd401c30e999b20133c4bb6373ded6)) +* snapshot apis for EIP-4881 ([#400](https://github.com/ChainSafe/ssz/issues/400)) ([32fb35a](https://github.com/ChainSafe/ssz/commit/32fb35ad3dcb67465c04dcaf5d7afd93af5219e8)) + + +### Bug Fixes + +* export ListUintNum64Type ([#353](https://github.com/ChainSafe/ssz/issues/353)) ([30e3deb](https://github.com/ChainSafe/ssz/commit/30e3debbaf7346711eb201740c072aab645d3b14)) +* findDiffDepthi to support more than 31 bytes ([#371](https://github.com/ChainSafe/ssz/issues/371)) ([3a1c8dc](https://github.com/ChainSafe/ssz/commit/3a1c8dc54a571dfed4cc426810472627b334e9b9)) +* Use file path imports ([#318](https://github.com/ChainSafe/ssz/issues/318)) ([f459e92](https://github.com/ChainSafe/ssz/commit/f459e92fbafc5d9388bfa630291855ec32a09566)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @chainsafe/as-sha256 bumped from 0.6.1 to 1.0.0 + ## [0.9.1](https://github.com/chainsafe/ssz/compare/persistent-merkle-tree-v0.9.0...persistent-merkle-tree-v0.9.1) (2025-01-17) diff --git a/packages/persistent-merkle-tree/package.json b/packages/persistent-merkle-tree/package.json index e9748ae3..2af4b1e4 100644 --- a/packages/persistent-merkle-tree/package.json +++ b/packages/persistent-merkle-tree/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/persistent-merkle-tree", - "version": "0.9.1", + "version": "1.0.0", "description": "Merkle tree implemented as a persistent datastructure", "type": "module", "module": "./lib/index.js", @@ -43,7 +43,7 @@ }, "homepage": "https://github.com/ChainSafe/persistent-merkle-tree#readme", "dependencies": { - "@chainsafe/as-sha256": "0.6.1", + "@chainsafe/as-sha256": "1.0.0", "@chainsafe/hashtree": "1.0.1", "@noble/hashes": "^1.3.0" } diff --git a/packages/ssz/CHANGELOG.md b/packages/ssz/CHANGELOG.md index 834545f7..9034ca65 100644 --- a/packages/ssz/CHANGELOG.md +++ b/packages/ssz/CHANGELOG.md @@ -3,6 +3,45 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.20.0](https://github.com/ChainSafe/ssz/compare/ssz-v0.19.1...ssz-v0.20.0) (2025-01-17) + + +### Features + +* add `sliceFrom` to `ListCompositeTreeViewDU` ([#366](https://github.com/ChainSafe/ssz/issues/366)) ([b3fa4f1](https://github.com/ChainSafe/ssz/commit/b3fa4f1335e893f514afdf735b0da34b50b15b6f)) +* add capability to cache merkle roots for lists ([#349](https://github.com/ChainSafe/ssz/issues/349)) ([14c4457](https://github.com/ChainSafe/ssz/commit/14c4457026a9fbea5bfe5c66580f7c8a8bee790a)) +* add optional ssz type ([#329](https://github.com/ChainSafe/ssz/issues/329)) ([3b714a2](https://github.com/ChainSafe/ssz/commit/3b714a29f8e69524ee5133ef3a28029d1d9f6669)) +* add StableContainer ([#373](https://github.com/ChainSafe/ssz/issues/373)) ([78a0291](https://github.com/ChainSafe/ssz/commit/78a029128878685248806ec71100fcedf3cb77ec)) +* add swappable hasher, default to noble-hashes ([#314](https://github.com/ChainSafe/ssz/issues/314)) ([4b44614](https://github.com/ChainSafe/ssz/commit/4b44614003619b2c5477363a3c85287e2f2987bd)) +* implement batch hash utils ([#384](https://github.com/ChainSafe/ssz/issues/384)) ([1578883](https://github.com/ChainSafe/ssz/commit/15788839b71287e2ff22254bfcabba8221b08a00)) +* implement sliceTo() for ListBasicTreeViewDU ([#336](https://github.com/ChainSafe/ssz/issues/336)) ([e84686b](https://github.com/ChainSafe/ssz/commit/e84686b2192fee9e5d9413d55a57cf40af6fd3ef)) +* implement ViewDU.batchHashTreeRoot() ([#392](https://github.com/ChainSafe/ssz/issues/392)) ([8dd6600](https://github.com/ChainSafe/ssz/commit/8dd6600ad41e9a0d25182ca50f0ffd9be7fc5b8c)) +* improve ViewDU.serialize() ([#350](https://github.com/ChainSafe/ssz/issues/350)) ([4ba45d3](https://github.com/ChainSafe/ssz/commit/4ba45d3afec08a8aaf853237c3cd8439ca62bca5)) +* new type for list of uint64 ([#352](https://github.com/ChainSafe/ssz/issues/352)) ([e131b5a](https://github.com/ChainSafe/ssz/commit/e131b5a9080f8719d624df97d8a4462081a65807)) +* non simd sha256 for incompatible systems ([#427](https://github.com/ChainSafe/ssz/issues/427)) ([9729005](https://github.com/ChainSafe/ssz/commit/9729005ab0fd401c30e999b20133c4bb6373ded6)) +* publish more methods ([#334](https://github.com/ChainSafe/ssz/issues/334)) ([947c3e2](https://github.com/ChainSafe/ssz/commit/947c3e278230c9e9db54c4ce20bef76c63040970)) +* snapshot apis for EIP-4881 ([#400](https://github.com/ChainSafe/ssz/issues/400)) ([32fb35a](https://github.com/ChainSafe/ssz/commit/32fb35ad3dcb67465c04dcaf5d7afd93af5219e8)) + + +### Bug Fixes + +* export ListUintNum64Type ([#353](https://github.com/ChainSafe/ssz/issues/353)) ([30e3deb](https://github.com/ChainSafe/ssz/commit/30e3debbaf7346711eb201740c072aab645d3b14)) +* handle setBitOr in ListBasicTreeViewDU.sliceTo() ([#338](https://github.com/ChainSafe/ssz/issues/338)) ([5c5242a](https://github.com/ChainSafe/ssz/commit/5c5242a3bb5d89f8c51d5cb14112dd36edc91868)) +* relax BitArray#intersectValues types ([#339](https://github.com/ChainSafe/ssz/issues/339)) ([9ba2456](https://github.com/ChainSafe/ssz/commit/9ba2456eff8b224248826be482a776f7c721aece)) +* relax other instances of intersectValues ([#344](https://github.com/ChainSafe/ssz/issues/344)) ([e000351](https://github.com/ChainSafe/ssz/commit/e0003516dd4e50005182b55ab954baab81d9cc12)) +* Remove replaceAll with replace(/.../g,... for ES2019 compatibility ([#309](https://github.com/ChainSafe/ssz/issues/309)) ([3c0a2c5](https://github.com/ChainSafe/ssz/commit/3c0a2c5dfe678925cd1b35b486b66738cdb12e99)) +* sliceFrom api ([#394](https://github.com/ChainSafe/ssz/issues/394)) ([4ca1d6f](https://github.com/ChainSafe/ssz/commit/4ca1d6f789428c52d012e0e2d8fa5809849e581e)) +* update changelog ordering ([#342](https://github.com/ChainSafe/ssz/issues/342)) ([698ad13](https://github.com/ChainSafe/ssz/commit/698ad13f8828a237650136ff90f3793b09357ddc)) +* Use file path imports ([#318](https://github.com/ChainSafe/ssz/issues/318)) ([f459e92](https://github.com/ChainSafe/ssz/commit/f459e92fbafc5d9388bfa630291855ec32a09566)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @chainsafe/as-sha256 bumped from 0.6.1 to 1.0.0 + * @chainsafe/persistent-merkle-tree bumped from 0.9.1 to 1.0.0 + ## [0.19.1](https://github.com/chainsafe/ssz/compare/ssz-v0.19.0...ssz-v0.19.1) (2025-01-17) diff --git a/packages/ssz/package.json b/packages/ssz/package.json index 624d90c4..77330647 100644 --- a/packages/ssz/package.json +++ b/packages/ssz/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "author": "ChainSafe Systems", "homepage": "https://github.com/chainsafe/ssz", - "version": "0.19.1", + "version": "0.20.0", "type": "module", "main": "./lib/cjs/index.js", "module": "./lib/index.js", @@ -42,8 +42,8 @@ "download-spec-tests": "node --loader ts-node/esm test/spec/downloadTests.ts" }, "dependencies": { - "@chainsafe/as-sha256": "0.6.1", - "@chainsafe/persistent-merkle-tree": "0.9.1" + "@chainsafe/as-sha256": "1.0.0", + "@chainsafe/persistent-merkle-tree": "1.0.0" }, "devDependencies": { "@lodestar/spec-test-util": "^1.23.1",