From a49b9d9ddce560bf2a412c844525b60780fc35f3 Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Thu, 14 Mar 2024 16:22:03 -0700 Subject: [PATCH] Prepare for release v0.42.2 (#203) * fix: add missing wasm module in lib.rs * chore: add unclog * chore: prepare for release v0.42.2 --- CHANGELOG.md | 44 ++++++++++++++++++++++---------------------- Cargo.toml | 2 +- src/lib.rs | 7 +++++++ 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5da2bb93..8d39a708 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## v0.42.1 +## v0.42.2 *March 14th, 2024* @@ -25,8 +25,8 @@ ibc-proto-rs versions `v0.41.x` - Removed WASM light client proto types ([\#192](https://github.com/cosmos/ibc-proto-rs/pull/192)) -- Use the v0.34 definition of `abci.Event` which does not enforce - valid UTF-8 data for its `key` and `value` attributes, specifying +- Use the v0.34 definition of `abci.Event` which does not enforce + valid UTF-8 data for its `key` and `value` attributes, specifying them as `bytes` instead of `string`. ([#180](https://github.com/cosmos/ibc-proto-rs/issues/180)) This is required, because ibc-go emits event attributes which are not valid UTF-8, @@ -171,7 +171,7 @@ Warning: This release downgrades the Protobuf definitions for IBC-Go, Cosmos SDK specified in the corresponding `src/*_COMMIT` file. This has now been fixed and the protos have therefore been downgraded to their proper versions: * IBC-Go: v7.3.0, - * Cosmos SDK: v0.47.5 + * Cosmos SDK: v0.47.5 * Interchain Security: v3.1.0 ([\#147](https://github.com/cosmos/ibc-proto-rs/pull/147)) @@ -201,23 +201,23 @@ This release updates the `borsh` dependency to v0.10. ## v0.34.0 *August 17th, 2023* - + This release updates the Cosmos SDK protos to v0.47.3 and IBC-Go protos to v7.2.0. - + Additionally, it restore `no_std` support for JSON serialization via `serde`. Previously, `Serialize` and `Deserialize` instances were only derived when the `std` feature was enabled, but that is no longer required. - + As such, they now require the `serde` feature to be enabled, independently of whether or not the `std` feature is enabled. - + ### BUG FIXES - + - Restore `no_std` support for JSON serialization ([\#98](https://github.com/cosmos/ibc-proto-rs/issues/98)) - + ### FEATURES - + - Update Cosmos SDK protos to v0.47.3 and IBC-Go protos to v7.2.0 ([\#129](https://github.com/cosmos/ibc-proto-rs/issues/129)) @@ -275,33 +275,33 @@ For the differences since v0.30.0, please see the changelog entries for v0.31.0- > See the release notes below and associated issues for more details. ## v0.31.0-alpha.2 - + *May 3rd, 2023* - + This is the second alpha release of `ibc-proto` v0.31.0. - + It only updates the `tendermint-proto` version to v0.32.0. - + ### BREAKING CHANGES - + - Update `tendermint-proto` to v0.32.0 ([\#99](https://github.com/cosmos/ibc-proto-rs/issues/99)) ## v0.31.0-alpha.1 *May 1st, 2023* - + This is the first alpha release of `ibc-proto` v0.31.0. - + The proto definitions for `cosmos.ics23.v1` messages are now re-exported from the [`ics23`](https://crates.io/crates/ics23) crate under both the `ibc_proto::cosmos::ics23::v1` > The latter will removed in a subsequent release. - + This is nonetheless a breaking change as it may break compilation or trigger warnings in code which relied on these definitions being different than the ones in `ics23`. - + Moreover, because the code generated by `pbjson-build` is not `no_std` compatible, the serde annotations on the generated protos are only enabled when the `std` feature of `ibc-proto` is enabled. - + ### BREAKING CHANGES - + - Re-export the `ics23.cosmos.v1` Protobuf definitions from the `ics23` crate instead of including them directly in this crate. The proto definitions are exported both under the `ibc_proto::cosmos::ics23::v1` module and under the `ibc_proto::ics23` module in an attempt to preserve backward source compatiblity. diff --git a/Cargo.toml b/Cargo.toml index 66d8bf57..db00dc43 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-proto" -version = "0.42.1" +version = "0.42.2" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" diff --git a/src/lib.rs b/src/lib.rs index bc37dda7..5f2843a5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -375,6 +375,13 @@ pub mod ibc { include_proto!("ibc.lightclients.tendermint.v1.serde.rs"); } } + pub mod wasm { + pub mod v1 { + include_proto!("ibc.lightclients.wasm.v1.rs"); + #[cfg(feature = "serde")] + include_proto!("ibc.lightclients.wasm.v1.serde.rs"); + } + } } pub mod mock { include_proto!("ibc.mock.rs");