diff --git a/.changelog/unreleased/breaking-changes/20-refactor-channel-msgs.md b/.changelog/v0.26.0/breaking-changes/20-refactor-channel-msgs.md similarity index 100% rename from .changelog/unreleased/breaking-changes/20-refactor-channel-msgs.md rename to .changelog/v0.26.0/breaking-changes/20-refactor-channel-msgs.md diff --git a/.changelog/unreleased/breaking-changes/218-prune-msg-interface.md b/.changelog/v0.26.0/breaking-changes/218-prune-msg-interface.md similarity index 100% rename from .changelog/unreleased/breaking-changes/218-prune-msg-interface.md rename to .changelog/v0.26.0/breaking-changes/218-prune-msg-interface.md diff --git a/.changelog/unreleased/breaking-changes/230-packet-proofs-verification.md b/.changelog/v0.26.0/breaking-changes/230-packet-proofs-verification.md similarity index 100% rename from .changelog/unreleased/breaking-changes/230-packet-proofs-verification.md rename to .changelog/v0.26.0/breaking-changes/230-packet-proofs-verification.md diff --git a/.changelog/unreleased/breaking-changes/304-reader-function-use-reference-modifier.md b/.changelog/v0.26.0/breaking-changes/304-reader-function-use-reference-modifier.md similarity index 100% rename from .changelog/unreleased/breaking-changes/304-reader-function-use-reference-modifier.md rename to .changelog/v0.26.0/breaking-changes/304-reader-function-use-reference-modifier.md diff --git a/.changelog/unreleased/breaking-changes/309-change-error-type-ics07.md b/.changelog/v0.26.0/breaking-changes/309-change-error-type-ics07.md similarity index 100% rename from .changelog/unreleased/breaking-changes/309-change-error-type-ics07.md rename to .changelog/v0.26.0/breaking-changes/309-change-error-type-ics07.md diff --git a/.changelog/unreleased/breaking-changes/319-val-ctx-use-reference-modifier.md b/.changelog/v0.26.0/breaking-changes/319-val-ctx-use-reference-modifier.md similarity index 100% rename from .changelog/unreleased/breaking-changes/319-val-ctx-use-reference-modifier.md rename to .changelog/v0.26.0/breaking-changes/319-val-ctx-use-reference-modifier.md diff --git a/.changelog/unreleased/breaking-changes/338-make-process-pub-crate.md b/.changelog/v0.26.0/breaking-changes/338-make-process-pub-crate.md similarity index 100% rename from .changelog/unreleased/breaking-changes/338-make-process-pub-crate.md rename to .changelog/v0.26.0/breaking-changes/338-make-process-pub-crate.md diff --git a/.changelog/unreleased/feature/259-add-borsh-and-scale-codec.md b/.changelog/v0.26.0/feature/259-add-borsh-and-scale-codec.md similarity index 100% rename from .changelog/unreleased/feature/259-add-borsh-and-scale-codec.md rename to .changelog/v0.26.0/feature/259-add-borsh-and-scale-codec.md diff --git a/.changelog/unreleased/feature/303-add-borsh-and-scale-codec-for-acknowledgement-and-module-event.md b/.changelog/v0.26.0/feature/303-add-borsh-and-scale-codec-for-acknowledgement-and-module-event.md similarity index 100% rename from .changelog/unreleased/feature/303-add-borsh-and-scale-codec-for-acknowledgement-and-module-event.md rename to .changelog/v0.26.0/feature/303-add-borsh-and-scale-codec-for-acknowledgement-and-module-event.md diff --git a/.changelog/unreleased/feature/320-add-borsh-and-scale-codec-for-ibcevent.md b/.changelog/v0.26.0/feature/320-add-borsh-and-scale-codec-for-ibcevent.md similarity index 100% rename from .changelog/unreleased/feature/320-add-borsh-and-scale-codec-for-ibcevent.md rename to .changelog/v0.26.0/feature/320-add-borsh-and-scale-codec-for-ibcevent.md diff --git a/.changelog/v0.26.0/features/293-serde-feature.md b/.changelog/v0.26.0/features/293-serde-feature.md new file mode 100644 index 000000000..44363fe5d --- /dev/null +++ b/.changelog/v0.26.0/features/293-serde-feature.md @@ -0,0 +1,2 @@ +- Make `serde` optional behind the `serde` feature flag + ([#293](https://github.com/cosmos/ibc-rs/issues/293)) diff --git a/.changelog/unreleased/features/311-add-mocks-no-std-feature.md b/.changelog/v0.26.0/features/311-add-mocks-no-std-feature.md similarity index 100% rename from .changelog/unreleased/features/311-add-mocks-no-std-feature.md rename to .changelog/v0.26.0/features/311-add-mocks-no-std-feature.md diff --git a/.changelog/unreleased/improvements/154-trim-redundant-code.md b/.changelog/v0.26.0/improvements/154-trim-redundant-code.md similarity index 100% rename from .changelog/unreleased/improvements/154-trim-redundant-code.md rename to .changelog/v0.26.0/improvements/154-trim-redundant-code.md diff --git a/.changelog/unreleased/improvements/30-refactor-conn-open-ack-unreachable-test.md b/.changelog/v0.26.0/improvements/30-refactor-conn-open-ack-unreachable-test.md similarity index 100% rename from .changelog/unreleased/improvements/30-refactor-conn-open-ack-unreachable-test.md rename to .changelog/v0.26.0/improvements/30-refactor-conn-open-ack-unreachable-test.md diff --git a/.changelog/unreleased/improvements/309-fix-clippy-warnings.md b/.changelog/v0.26.0/improvements/309-fix-clippy-warnings.md similarity index 100% rename from .changelog/unreleased/improvements/309-fix-clippy-warnings.md rename to .changelog/v0.26.0/improvements/309-fix-clippy-warnings.md diff --git a/.changelog/v0.26.0/summary.md b/.changelog/v0.26.0/summary.md new file mode 100644 index 000000000..c3c8963e2 --- /dev/null +++ b/.changelog/v0.26.0/summary.md @@ -0,0 +1,3 @@ +This release contains miscellaneous improvements, focusing mainly on addressing technical debt. + +There are no consensus-breaking changes. diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f66a5113..fa9b9e3a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,57 @@ # CHANGELOG +## v0.26.0 + +*December 14, 2022* + +This release contains miscellaneous improvements, focusing mainly on addressing technical debt. + +There are no consensus-breaking changes. + +### BREAKING CHANGES + +- Exclude `ChannelEnd` from `MsgChannelOpenInit` and `MsgChannelOpenTry` and refactor their fields to match the spec + ([#20](https://github.com/cosmos/ibc-rs/issues/20)) +- Simplify Msg trait by removing unnecessary methods. + ([#218](https://github.com/cosmos/ibc-rs/issues/218)) +- Refactor proof handlers to conduct proof verifications inline with the process function + and apply naming conventions to packet messages types + ([#230](https://github.com/cosmos/ibc-rs/issues/230)) +- The function parameters in the Reader traits now references, + while the functions in the Keeper traits take ownership directly. + ([#304](https://github.com/cosmos/ibc-rs/issues/304)) +- Change type of `trusted_validator_set` field in + `MisbehaviourTrustedValidatorHashMismatch` error variant from `ValidatorSet` to + `Vec` to avoid clippy catches + ([#309](https://github.com/cosmos/ibc-rs/issues/309)) +- The function parameters in the `ValidationContext` trait now use references, + while the functions in the `ExecutionContext` trait take ownership directly. + ([#319](https://github.com/cosmos/ibc-rs/issues/319)) +- Make internal `process()` `pub(crate)` + ([#338](https://github.com/cosmos/ibc-rs/issues/338)) + +### FEATURES + +- Add serialization and deserialization features for codec and borsh to the host + type in ics24 ([#259](https://github.com/cosmos/ibc-rs/issues/259)) +- Add codec and borsh for ics04_channel::msgs::Acknowledgement and + events::ModuleEvent ([#303](https://github.com/cosmos/ibc-rs/issues/303)) +- Add parity-scale-codec and borsh for ibc::events::IbcEvent + ([#320](https://github.com/cosmos/ibc-rs/issues/320)) +- Make the code under mocks features work in no-std + ([#311](https://github.com/cosmos/ibc-rs/issues/311)) +- Make `serde` optional behind the `serde` feature flag + ([#293](https://github.com/cosmos/ibc-rs/issues/293)) + +### IMPROVEMENTS + +- Refactor unreachable test of conn_open_ack handler + ([#30](https://github.com/cosmos/ibc-rs/issues/30)) +- Remove legacy relayer-specific code and move ics18_relayer under the mock module + ([#154](https://github.com/cosmos/ibc-rs/issues/154)) +- Improve clippy catches and fix lint issues identified by clippy 0.1.67 + ([#309](https://github.com/cosmos/ibc-rs/issues/309)) + ## v0.25.0 *December 14, 2022* diff --git a/crates/ibc/Cargo.toml b/crates/ibc/Cargo.toml index 4b6e0f242..5c2689554 100644 --- a/crates/ibc/Cargo.toml +++ b/crates/ibc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc" -version = "0.25.0" +version = "0.26.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 20b17af95..c45302485 100644 --- a/crates/ibc/src/lib.rs +++ b/crates/ibc/src/lib.rs @@ -13,7 +13,7 @@ #![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.25.0")] +#![doc(html_root_url = "https://docs.rs/ibc/0.26.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