From eea4f0e7a1887f2f1cb18a550d08bb805a08240a Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Wed, 22 Feb 2023 06:37:57 -0800 Subject: [PATCH] Release v0.29.0 (#461) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update CHANGELOG.md and .changelog dir * Bump version * Fix improvements dir * Update CHANGELOG.md Co-authored-by: Philippe Laferrière Signed-off-by: Farhad Shabani * Update .changelog/v0.29.0/summary.md Co-authored-by: Philippe Laferrière Signed-off-by: Farhad Shabani * Remove html_root_url --------- Signed-off-by: Farhad Shabani Co-authored-by: Philippe Laferrière --- .../breaking-changes/279-remove-legacy-api.md | 0 .../382-refactor-get-and-store-methods.md | 0 .../breaking-changes/418-host-timestamp.md | 0 .../bug-fixes/403-fix-error-todos.md | 0 .../feature/415-remove-val-exec-ctx.md | 0 .../430-adapt-unit-tests-to-val-exec-ctx.md | 0 .../432-impl-mock-validate-self-client.md | 0 .../434-doc-validate-self-client.md | 0 .../440-refactor-conn-unit-tests.md | 0 .changelog/v0.29.0/summary.md | 5 +++ CHANGELOG.md | 43 +++++++++++++++++++ crates/ibc/Cargo.toml | 2 +- crates/ibc/src/lib.rs | 1 - 13 files changed, 49 insertions(+), 2 deletions(-) rename .changelog/{unreleased => v0.29.0}/breaking-changes/279-remove-legacy-api.md (100%) rename .changelog/{unreleased => v0.29.0}/breaking-changes/382-refactor-get-and-store-methods.md (100%) rename .changelog/{unreleased => v0.29.0}/breaking-changes/418-host-timestamp.md (100%) rename .changelog/{unreleased => v0.29.0}/bug-fixes/403-fix-error-todos.md (100%) rename .changelog/{unreleased => v0.29.0}/feature/415-remove-val-exec-ctx.md (100%) rename .changelog/{unreleased/improvement => v0.29.0/improvements}/430-adapt-unit-tests-to-val-exec-ctx.md (100%) rename .changelog/{unreleased => v0.29.0}/improvements/432-impl-mock-validate-self-client.md (100%) rename .changelog/{unreleased => v0.29.0}/improvements/434-doc-validate-self-client.md (100%) rename .changelog/{unreleased => v0.29.0}/improvements/440-refactor-conn-unit-tests.md (100%) create mode 100644 .changelog/v0.29.0/summary.md diff --git a/.changelog/unreleased/breaking-changes/279-remove-legacy-api.md b/.changelog/v0.29.0/breaking-changes/279-remove-legacy-api.md similarity index 100% rename from .changelog/unreleased/breaking-changes/279-remove-legacy-api.md rename to .changelog/v0.29.0/breaking-changes/279-remove-legacy-api.md diff --git a/.changelog/unreleased/breaking-changes/382-refactor-get-and-store-methods.md b/.changelog/v0.29.0/breaking-changes/382-refactor-get-and-store-methods.md similarity index 100% rename from .changelog/unreleased/breaking-changes/382-refactor-get-and-store-methods.md rename to .changelog/v0.29.0/breaking-changes/382-refactor-get-and-store-methods.md diff --git a/.changelog/unreleased/breaking-changes/418-host-timestamp.md b/.changelog/v0.29.0/breaking-changes/418-host-timestamp.md similarity index 100% rename from .changelog/unreleased/breaking-changes/418-host-timestamp.md rename to .changelog/v0.29.0/breaking-changes/418-host-timestamp.md diff --git a/.changelog/unreleased/bug-fixes/403-fix-error-todos.md b/.changelog/v0.29.0/bug-fixes/403-fix-error-todos.md similarity index 100% rename from .changelog/unreleased/bug-fixes/403-fix-error-todos.md rename to .changelog/v0.29.0/bug-fixes/403-fix-error-todos.md diff --git a/.changelog/unreleased/feature/415-remove-val-exec-ctx.md b/.changelog/v0.29.0/feature/415-remove-val-exec-ctx.md similarity index 100% rename from .changelog/unreleased/feature/415-remove-val-exec-ctx.md rename to .changelog/v0.29.0/feature/415-remove-val-exec-ctx.md diff --git a/.changelog/unreleased/improvement/430-adapt-unit-tests-to-val-exec-ctx.md b/.changelog/v0.29.0/improvements/430-adapt-unit-tests-to-val-exec-ctx.md similarity index 100% rename from .changelog/unreleased/improvement/430-adapt-unit-tests-to-val-exec-ctx.md rename to .changelog/v0.29.0/improvements/430-adapt-unit-tests-to-val-exec-ctx.md diff --git a/.changelog/unreleased/improvements/432-impl-mock-validate-self-client.md b/.changelog/v0.29.0/improvements/432-impl-mock-validate-self-client.md similarity index 100% rename from .changelog/unreleased/improvements/432-impl-mock-validate-self-client.md rename to .changelog/v0.29.0/improvements/432-impl-mock-validate-self-client.md diff --git a/.changelog/unreleased/improvements/434-doc-validate-self-client.md b/.changelog/v0.29.0/improvements/434-doc-validate-self-client.md similarity index 100% rename from .changelog/unreleased/improvements/434-doc-validate-self-client.md rename to .changelog/v0.29.0/improvements/434-doc-validate-self-client.md diff --git a/.changelog/unreleased/improvements/440-refactor-conn-unit-tests.md b/.changelog/v0.29.0/improvements/440-refactor-conn-unit-tests.md similarity index 100% rename from .changelog/unreleased/improvements/440-refactor-conn-unit-tests.md rename to .changelog/v0.29.0/improvements/440-refactor-conn-unit-tests.md diff --git a/.changelog/v0.29.0/summary.md b/.changelog/v0.29.0/summary.md new file mode 100644 index 000000000..2881444be --- /dev/null +++ b/.changelog/v0.29.0/summary.md @@ -0,0 +1,5 @@ +This release includes the latest Tendermint-rs v0.29.0 and removes the +`Reader` and `Keeper` API in favor of the new `ValidationContext`/`ExecutionContext` API as the default. +Additionally, unit tests have been updated to work with the new API. + +There are consensus-breaking changes. diff --git a/CHANGELOG.md b/CHANGELOG.md index 690c70284..89653e0a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,48 @@ # CHANGELOG +## v0.29.0 + +*February 22, 2023* + +This release includes the latest Tendermint-rs v0.29.0 and removes the +`Reader` and `Keeper` API in favor of the new `ValidationContext`/`ExecutionContext` API as the default. +Additionally, unit tests have been updated to work with the new API. + +There are consensus-breaking changes. + +### BREAKING CHANGES + +- Remove Reader and Keeper API + ([#279](https://github.com/cosmos/ibc-rs/issues/279)) +- Refactor `get_*` and `store_*` methods to take `*Path` structs instead + ([#382](https://github.com/cosmos/ibc-rs/issues/382)) +- Make `ValidationContext::host_timestamp()` abstract and remove + `ValidationContext::pending_host_consensus_state()` + ([#418](https://github.com/cosmos/ibc-rs/issues/418)) + +### BUG FIXES + +- Mend error variant todo!()s wherever tendermint client calls the + "consensus_state" method + ([#403](https://github.com/cosmos/ibc-rs/issues/403)) + +### FEATURE + +- Remove `val_exec_ctx` feature flag + ([#415](https://github.com/cosmos/ibc-rs/issues/415)) + +### IMPROVEMENTS + +- Make all unit tests test the ValidationContext/ExecutionContext API + ([#430](https://github.com/cosmos/ibc-rs/issues/430)) +- Add an implementation of `validate_self_client` for the mock client + ([#432](https://github.com/cosmos/ibc-rs/issues/432)) +- Add a docstring and rename the `validate_self_client` argument for improved + code documentation and readability + ([#434](https://github.com/cosmos/ibc-rs/issues/434)) +- Refactor connection handler unit tests to adapt with new Validation/Execution API + ([#440](https://github.com/cosmos/ibc-rs/issues/440)) + ## v0.28.0 *February 9, 2023* diff --git a/crates/ibc/Cargo.toml b/crates/ibc/Cargo.toml index 4a8e72169..cc9adc590 100644 --- a/crates/ibc/Cargo.toml +++ b/crates/ibc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc" -version = "0.28.0" +version = "0.29.0" edition = "2021" license = "Apache-2.0" readme = "README.md" diff --git a/crates/ibc/src/lib.rs b/crates/ibc/src/lib.rs index a16c81d55..9f98fc6f7 100644 --- a/crates/ibc/src/lib.rs +++ b/crates/ibc/src/lib.rs @@ -13,7 +13,6 @@ #![forbid(unsafe_code)] // https://github.com/cosmos/ibc-rs/issues/342 #![allow(clippy::result_large_err)] -#![doc(html_root_url = "https://docs.rs/ibc/0.28.0")] //! This library implements the InterBlockchain Communication (IBC) protocol in Rust. IBC is //! a distributed protocol that enables communication between distinct sovereign blockchains. //! Loose analogies may be drawn between the IBC protocol and the TCP/UDP protocols that enable