From 618ebea4496c7e98374a97460d80f6ed538d2f13 Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Thu, 14 Mar 2024 11:43:49 -0700 Subject: [PATCH 1/3] fix: add missing wasm module in lib.rs --- src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) 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"); From 5b518362dc3a9ffa8e975b0ae7cb308ba2edb19a Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Thu, 14 Mar 2024 12:01:55 -0700 Subject: [PATCH 2/3] chore: add unclog --- .changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md diff --git a/.changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md b/.changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md new file mode 100644 index 00000000..ec97c724 --- /dev/null +++ b/.changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md @@ -0,0 +1,2 @@ +- Add missing `wasm` module in `lib.r‍s` + ([\#203](https://github.com/cosmos/ibc-proto-rs/pull/203)) From 1ba645cb894df98e640bc591f7121f56d05626a2 Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Thu, 14 Mar 2024 13:21:54 -0700 Subject: [PATCH 3/3] chore: prepare for release v0.42.2 --- .../bug-fixes/203-add-missing-wasm-mod.md | 2 - CHANGELOG.md | 44 +++++++++---------- Cargo.toml | 2 +- 3 files changed, 23 insertions(+), 25 deletions(-) delete mode 100644 .changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md diff --git a/.changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md b/.changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md deleted file mode 100644 index ec97c724..00000000 --- a/.changelog/unreleased/bug-fixes/203-add-missing-wasm-mod.md +++ /dev/null @@ -1,2 +0,0 @@ -- Add missing `wasm` module in `lib.r‍s` - ([\#203](https://github.com/cosmos/ibc-proto-rs/pull/203)) 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"