Skip to content

Commit

Permalink
Prepare for release v0.42.2 (#203)
Browse files Browse the repository at this point in the history
* fix: add missing wasm module in lib.rs

* chore: add unclog

* chore: prepare for release v0.42.2
  • Loading branch information
Farhad-Shabani authored Mar 14, 2024
1 parent 58ae9dd commit a49b9d9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 23 deletions.
44 changes: 22 additions & 22 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## v0.42.1
## v0.42.2

*March 14th, 2024*

Expand All @@ -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,
Expand Down Expand Up @@ -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))

Expand Down Expand Up @@ -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))

Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-proto"
version = "0.42.1"
version = "0.42.2"
authors = ["Informal Systems <hello@informal.systems>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a49b9d9

Please sign in to comment.