Skip to content

Commit

Permalink
Merge branch 'main' into romac/tendermint-0.35.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romac authored Mar 17, 2024
2 parents aa3b628 + a49b9d9 commit c902421
Show file tree
Hide file tree
Showing 11 changed files with 2,818 additions and 529 deletions.
2 changes: 2 additions & 0 deletions .changelog/v0.42.1/features/201-ibc-go-v8.1.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update to ibc-go v8.1.1 which brings back the `ibc.lightclients.wasm.v1`
protos ([\#201](https://github.com/cosmos/ibc-proto-rs/pull/201))
1 change: 1 addition & 0 deletions .changelog/v0.42.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This release only updates the Protobuf messages to ibc-go v8.1.1, which brings back the `ibc.lightclients.wasm.v1` protos.
53 changes: 32 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG

## v0.42.2

*March 14th, 2024*

This release only updates the Protobuf messages to ibc-go v8.1.1, which brings back the `ibc.lightclients.wasm.v1` protos.

### FEATURES

- Update to ibc-go v8.1.1 which brings back the `ibc.lightclients.wasm.v1`
protos ([\#201](https://github.com/cosmos/ibc-proto-rs/pull/201))

## v0.42.0

*February 8th, 2024*
Expand All @@ -14,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 @@ -160,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 @@ -190,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 @@ -264,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.0"
version = "0.42.2"
authors = ["Informal Systems <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/IBC_GO_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7e01c9149149b9d4b1d871e58eb88a22f15bdb3c
a4ef5360b49ad2118e1d68f25f13935162660e0b
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
Loading

0 comments on commit c902421

Please sign in to comment.