diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c2f95fa9..b41ee19b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.0" + ".": "0.4.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fb7aa50b..721f383b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,50 @@ # Changelog +## [0.4.0](https://github.com/crate-crypto/rust-eth-kzg/compare/v0.3.0...v0.4.0) (2024-08-05) + + +### ⚠ BREAKING CHANGES + +* rename java project's usage of `peerdas-kzg` -> `eth-kzg` ([#104](https://github.com/crate-crypto/rust-eth-kzg/issues/104)) +* update package name for node bindings ([#99](https://github.com/crate-crypto/rust-eth-kzg/issues/99)) +* Rename `rust` packages to rust-eth-kzg ([#89](https://github.com/crate-crypto/rust-eth-kzg/issues/89)) +* refactor eip7594 API ([#91](https://github.com/crate-crypto/rust-eth-kzg/issues/91)) +* unify the error type in eip7594 package ([#90](https://github.com/crate-crypto/rust-eth-kzg/issues/90)) +* Move all prover and verifier methods to PeerDAS context object ([#53](https://github.com/crate-crypto/rust-eth-kzg/issues/53)) +* Remove recoverAllCells and computeCells ([#46](https://github.com/crate-crypto/rust-eth-kzg/issues/46)) + +### Features + +* FK20 now only computes proofs ([#52](https://github.com/crate-crypto/rust-eth-kzg/issues/52)) ([e66472e](https://github.com/crate-crypto/rust-eth-kzg/commit/e66472ebe585b9fc19b3df041ceface3d433fb87)) +* Rename `rust` packages to rust-eth-kzg ([#89](https://github.com/crate-crypto/rust-eth-kzg/issues/89)) ([8d09ad7](https://github.com/crate-crypto/rust-eth-kzg/commit/8d09ad73147fb12300bb53a1d69e9538d58ba5cd)) +* VerifyCellKZGProofBatch now takes duplicated commitments ([#113](https://github.com/crate-crypto/rust-eth-kzg/issues/113)) ([5023fc2](https://github.com/crate-crypto/rust-eth-kzg/commit/5023fc2afdc252a573bf49d42307c8afac898833)) + + +### Bug Fixes + +* Add build.gradle to release-please config ([da9479b](https://github.com/crate-crypto/rust-eth-kzg/commit/da9479bd483980de56add7304b843d88273bc3e6)) +* Add node package.json version to release-please ([ac33e76](https://github.com/crate-crypto/rust-eth-kzg/commit/ac33e76657d26c48e359a6516b4b3f6767099f92)) +* BYTES_PER_CELL constant ([3e8455d](https://github.com/crate-crypto/rust-eth-kzg/commit/3e8455d7046309e474f85a69d3b78e41dec89c7b)) +* Do not use the deduplicated commitments ([fb6df2e](https://github.com/crate-crypto/rust-eth-kzg/commit/fb6df2eefc29a3f1041aaaa3205c01de1218c02f)) +* Erasure codes ([#87](https://github.com/crate-crypto/rust-eth-kzg/issues/87)) ([3279585](https://github.com/crate-crypto/rust-eth-kzg/commit/3279585c49df36c645649c156319113f5b933e0a)) +* Interpret call to size_of method as bytes and not as num_elements ([#136](https://github.com/crate-crypto/rust-eth-kzg/issues/136)) ([d4dde8c](https://github.com/crate-crypto/rust-eth-kzg/commit/d4dde8c2a9d9718c3f9285a093968a83c7593f28)) +* Node CI workflow runs on master ([5702205](https://github.com/crate-crypto/rust-eth-kzg/commit/5702205bc0a1a709483dd6abacc356ccc7dcdf94)) +* Pack readme in csharp project ([5ce0470](https://github.com/crate-crypto/rust-eth-kzg/commit/5ce0470b002dbec37d8f3205f56f4a7aed40da55)) +* Package name when publishing ([#137](https://github.com/crate-crypto/rust-eth-kzg/issues/137)) ([c1d4dc4](https://github.com/crate-crypto/rust-eth-kzg/commit/c1d4dc4c1503cb19e4eb6d2b2370a6925dca88ed)) +* Recovery is done with respects to the cells not the blob ([0594fee](https://github.com/crate-crypto/rust-eth-kzg/commit/0594feee102aade0d9e224e199a6fc9c620fddb8)) +* Small nits ([#82](https://github.com/crate-crypto/rust-eth-kzg/issues/82)) ([d4ef145](https://github.com/crate-crypto/rust-eth-kzg/commit/d4ef145c5cd57b5fa54bb0871493ab8dc18cb038)) +* Update csbindgen to 1.19.3 ([#127](https://github.com/crate-crypto/rust-eth-kzg/issues/127)) ([f557acf](https://github.com/crate-crypto/rust-eth-kzg/commit/f557acf3a58f9d2a2a47f1ace8efb8192aec5d52)) + + +### Miscellaneous Chores + +* Move all prover and verifier methods to PeerDAS context object ([#53](https://github.com/crate-crypto/rust-eth-kzg/issues/53)) ([0e70f01](https://github.com/crate-crypto/rust-eth-kzg/commit/0e70f0186c30d950319caa043d4f038eb1f5929f)) +* Refactor eip7594 API ([#91](https://github.com/crate-crypto/rust-eth-kzg/issues/91)) ([59cf8f3](https://github.com/crate-crypto/rust-eth-kzg/commit/59cf8f3377764b19c66d4b7aefee7e637561b17f)) +* Remove recoverAllCells and computeCells ([#46](https://github.com/crate-crypto/rust-eth-kzg/issues/46)) ([f398eec](https://github.com/crate-crypto/rust-eth-kzg/commit/f398eec7f8c1743fa4a967ad6091e70094954d1c)) +* Rename java project's usage of `peerdas-kzg` -> `eth-kzg` ([#104](https://github.com/crate-crypto/rust-eth-kzg/issues/104)) ([e9df67c](https://github.com/crate-crypto/rust-eth-kzg/commit/e9df67cf6c7bbb78d94792eb29fc294bf26c71f0)) +* Unify the error type in eip7594 package ([#90](https://github.com/crate-crypto/rust-eth-kzg/issues/90)) ([b7891c2](https://github.com/crate-crypto/rust-eth-kzg/commit/b7891c29ab032ba586e4cd8716b36dd248a2ac47)) +* Update package name for node bindings ([#99](https://github.com/crate-crypto/rust-eth-kzg/issues/99)) ([bbcd97a](https://github.com/crate-crypto/rust-eth-kzg/commit/bbcd97a03b3657a93495ebc6e74beb2228716cf2)) + ## [0.3.0](https://github.com/crate-crypto/peerdas-kzg/compare/v0.2.6...v0.3.0) (2024-05-21) diff --git a/Cargo.toml b/Cargo.toml index 8ac62be9..51ad9b8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ resolver = "2" authors = ["Kevaundray Wedderburn "] edition = "2021" license = "MIT" -version = "0.3.0" +version = "0.4.0" rust-version = "1.70" repository = "https://github.com/crate-crypto/rust-eth-kzg" @@ -27,12 +27,12 @@ repository = "https://github.com/crate-crypto/rust-eth-kzg" # These names are essentially a way to achieve scoping when we publish to crates.io # Ideally we don't publish bls12_381 and polynomial, but crates.io requires # all dependencies to be published and not local. -bls12_381 = { package = "crate_crypto_internal_eth_kzg_bls12_381", version = "0.3.0", path = "cryptography/bls12_381" } -polynomial = { package = "crate_crypto_internal_eth_kzg_polynomial", version = "0.3.0", path = "cryptography/polynomial" } -erasure_codes = { package = "crate_crypto_internal_eth_kzg_erasure_codes", version = "0.3.0", path = "cryptography/erasure_codes" } -rust_eth_kzg = { version = "0.3.0", path = "eip7594" } -kzg_multi_open = { package = "crate_crypto_kzg_multi_open_fk20", version = "0.3.0", path = "cryptography/kzg_multi_open" } -c_eth_kzg = { version = "0.3.0", path = "bindings/c" } +bls12_381 = { package = "crate_crypto_internal_eth_kzg_bls12_381", version = "0.4.0", path = "cryptography/bls12_381" } +polynomial = { package = "crate_crypto_internal_eth_kzg_polynomial", version = "0.4.0", path = "cryptography/polynomial" } +erasure_codes = { package = "crate_crypto_internal_eth_kzg_erasure_codes", version = "0.4.0", path = "cryptography/erasure_codes" } +rust_eth_kzg = { version = "0.4.0", path = "eip7594" } +kzg_multi_open = { package = "crate_crypto_kzg_multi_open_fk20", version = "0.4.0", path = "cryptography/kzg_multi_open" } +c_eth_kzg = { version = "0.4.0", path = "bindings/c" } hex = "0.4.3" rayon = "1.10.0" diff --git a/bindings/csharp/csharp_code/EthKZG.bindings/EthKZG.csproj b/bindings/csharp/csharp_code/EthKZG.bindings/EthKZG.csproj index aa5c2df7..27b37c13 100644 --- a/bindings/csharp/csharp_code/EthKZG.bindings/EthKZG.csproj +++ b/bindings/csharp/csharp_code/EthKZG.bindings/EthKZG.csproj @@ -1,38 +1,38 @@ - - - - Library - True - net8.0 - enable - enable - EthKZG - - - - Kevaundray Wedderburn - Kevaundray Wedderburn - C# Bindings for KZG functionality that Ethereum needs for Data Availability Sampling - true - true - EthKZG.Bindings - Apache-2.0 - README.md - eth-kzg - git - https://github.com/crate-crypto/rust-eth-kzg - snupkg - 0.0.1 - - - - - - - - - PreserveNewest - - - - + + + + Library + True + net8.0 + enable + enable + EthKZG + + + + Kevaundray Wedderburn + Kevaundray Wedderburn + C# Bindings for KZG functionality that Ethereum needs for Data Availability Sampling + true + true + EthKZG.Bindings + Apache-2.0 + README.md + eth-kzg + git + https://github.com/crate-crypto/rust-eth-kzg + snupkg + 0.4.0 + + + + + + + + + PreserveNewest + + + + diff --git a/bindings/java/java_code/build.gradle b/bindings/java/java_code/build.gradle index 5ca32fcc..4457516d 100644 --- a/bindings/java/java_code/build.gradle +++ b/bindings/java/java_code/build.gradle @@ -8,7 +8,7 @@ plugins { } group = 'io.github.crate-crypto' -version = '0.0.7' // x-release-please-version +version = '0.4.0' // x-release-please-version java { diff --git a/bindings/node/package.json b/bindings/node/package.json index 089712cd..569020f7 100644 --- a/bindings/node/package.json +++ b/bindings/node/package.json @@ -1,6 +1,6 @@ { "name": "@crate-crypto/node-eth-kzg", - "version": "0.2.1", + "version": "0.4.0", "publishConfig": { "access": "public" },