Skip to content

Commit

Permalink
chore: Release (0.4.0) (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray authored Aug 11, 2024
1 parent c1d4dc4 commit 6534b84
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.3.0"
".": "0.4.0"
}
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ resolver = "2"
authors = ["Kevaundray Wedderburn <kev@the.dev>"]
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"

[workspace.dependencies]
# 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"

Expand Down
76 changes: 38 additions & 38 deletions bindings/csharp/csharp_code/EthKZG.bindings/EthKZG.csproj
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Library</OutputType>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>EthKZG</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<Authors>Kevaundray Wedderburn</Authors>
<Copyright>Kevaundray Wedderburn</Copyright>
<Description>C# Bindings for KZG functionality that Ethereum needs for Data Availability Sampling</Description>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<PackageId>EthKZG.Bindings</PackageId>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>eth-kzg</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/crate-crypto/rust-eth-kzg</RepositoryUrl>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>0.0.1</Version>
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
<None Update="runtimes\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Library</OutputType>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>EthKZG</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<Authors>Kevaundray Wedderburn</Authors>
<Copyright>Kevaundray Wedderburn</Copyright>
<Description>C# Bindings for KZG functionality that Ethereum needs for Data Availability Sampling</Description>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<PackageId>EthKZG.Bindings</PackageId>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>eth-kzg</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/crate-crypto/rust-eth-kzg</RepositoryUrl>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>0.4.0</Version>
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath=""/>
</ItemGroup>

<ItemGroup>
<None Update="runtimes\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion bindings/java/java_code/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion bindings/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crate-crypto/node-eth-kzg",
"version": "0.2.1",
"version": "0.4.0",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit 6534b84

Please sign in to comment.