From d28ea7a5b88ec51b4c66c01dfc6a1bd82afef656 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Thu, 13 Apr 2023 19:59:52 +0200 Subject: [PATCH] chore: Prepare for v0.10.0 release (#142) * Bump Rust version to v0.10.0 * Update changelog * Update changelog * Bump JS package version to 0.7.0 * Use Codecov token to upload Rust coverage * Bump TS package to 0.10.0 to align it with the Go and Rust implementations --- .github/workflows/rust.yml | 1 + CHANGELOG.md | 26 ++++++++++++++++++++++++++ js/package.json | 2 +- rust/Cargo.toml | 2 +- 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aa6100d3..c70f9c0e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -97,6 +97,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: + token: ${{ secrets.CODECOV_TOKEN }} files: rust/lcov.info flags: rust fail_ci_if_error: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a4b7349..56a96174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +# 0.10.0 + +## Go / Rust / TypeScript + +This release introduces one single boolean new parameter to the top-level `ProofSpec`: `prehash_compare_key`. +When set to `true`, this flag causes keys to be consistently compared lexicographically according to their hashes +within nonexistence proof verification, using the same hash function as specified by the already-extant `prehash_key` field. + +This is a backwards-compatible change, as it requires opt-in via setting the `prehash_compare_key` flag to `true` in the `ProofSpec`. +All existing ProofSpecs will continue to behave identically. + +Please note that the version of the TypeScript library has been bump from 0.6.8 to 0.10.0 to align it with +the Go and Rust implementations. + +## Full changes + +- feat: Add `prehash_compare_key` to allow proving nonexistence in sparse trees ([#136](https://github.com/cosmos/ics23/pull/136)) +- chore: retract previous versions ([#131](https://github.com/cosmos/ics23/pull/131)) +- fix: protobuf formatting using clang-format ([#129](https://github.com/cosmos/ics23/pull/129)) +- fix: use /go suffix in go package option ([#127](https://github.com/cosmos/ics23/pull/127)) +- add buf support to repo ([#126](https://github.com/cosmos/ics23/pull/126)) +- chore: Add Cosmos, license and coverage badges to the README ([#122](https://github.com/cosmos/ics23/pull/122)) +- ci: Enable code coverage for TypeScript version ([#123](https://github.com/cosmos/ics23/pull/123)) +- ci: Add tags to codecov reports ([#121](https://github.com/cosmos/ics23/pull/121)) (4 months ago) +- ci: Refactor GitHub workflows and add code coverage job ([#120](https://github.com/cosmos/ics23/pull/120)) + # 0.9.0 ## Go diff --git a/js/package.json b/js/package.json index be9d6a8e..0a66cc82 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@confio/ics23", - "version": "0.6.8", + "version": "0.10.0", "description": "Merkle proof verification library - implements Cosmos ICS23 Spec", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index abbe6b08..0e3ceafe 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0" name = "ics23" repository = "https://github.com/cosmos/ics23/tree/master/rust" rust-version = "1.56.1" -version = "0.9.0" +version = "0.10.0" [workspace] members = ["codegen", "no-std-check"]