From 1131d13fc5194284e3b665630ce0659389b4a062 Mon Sep 17 00:00:00 2001 From: Luca Joss <43531661+ljoss17@users.noreply.github.com> Date: Thu, 8 Feb 2024 11:23:05 +0100 Subject: [PATCH] Release v0.42.0 (#193) * Update changelogs * Update versions * Add changelog entry for deleted WASM light client protos * Apply suggestions from code review Co-authored-by: Romain Ruetschi Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> * Reorder breaking changes --------- Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Co-authored-by: Romain Ruetschi --- .../123-removed-wasm-proto.md | 2 ++ .../181-event-attribute-bytes.md | 0 .../features/192-bump-ibc-go-v8-1-0.md | 0 .../186-extend-ibc-mock-fields.md | 0 .changelog/v0.42.0/summary.md | 7 ++++ CHANGELOG.md | 35 +++++++++++++++++++ Cargo.toml | 2 +- 7 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 .changelog/v0.42.0/breaking-changes/123-removed-wasm-proto.md rename .changelog/{unreleased => v0.42.0}/breaking-changes/181-event-attribute-bytes.md (100%) rename .changelog/{unreleased => v0.42.0}/features/192-bump-ibc-go-v8-1-0.md (100%) rename .changelog/{unreleased => v0.42.0}/improvements/186-extend-ibc-mock-fields.md (100%) create mode 100644 .changelog/v0.42.0/summary.md diff --git a/.changelog/v0.42.0/breaking-changes/123-removed-wasm-proto.md b/.changelog/v0.42.0/breaking-changes/123-removed-wasm-proto.md new file mode 100644 index 00000000..a848d173 --- /dev/null +++ b/.changelog/v0.42.0/breaking-changes/123-removed-wasm-proto.md @@ -0,0 +1,2 @@ +- Removed WASM light client proto types + ([\#192](https://github.com/cosmos/ibc-proto-rs/pull/192)) \ No newline at end of file diff --git a/.changelog/unreleased/breaking-changes/181-event-attribute-bytes.md b/.changelog/v0.42.0/breaking-changes/181-event-attribute-bytes.md similarity index 100% rename from .changelog/unreleased/breaking-changes/181-event-attribute-bytes.md rename to .changelog/v0.42.0/breaking-changes/181-event-attribute-bytes.md diff --git a/.changelog/unreleased/features/192-bump-ibc-go-v8-1-0.md b/.changelog/v0.42.0/features/192-bump-ibc-go-v8-1-0.md similarity index 100% rename from .changelog/unreleased/features/192-bump-ibc-go-v8-1-0.md rename to .changelog/v0.42.0/features/192-bump-ibc-go-v8-1-0.md diff --git a/.changelog/unreleased/improvements/186-extend-ibc-mock-fields.md b/.changelog/v0.42.0/improvements/186-extend-ibc-mock-fields.md similarity index 100% rename from .changelog/unreleased/improvements/186-extend-ibc-mock-fields.md rename to .changelog/v0.42.0/improvements/186-extend-ibc-mock-fields.md diff --git a/.changelog/v0.42.0/summary.md b/.changelog/v0.42.0/summary.md new file mode 100644 index 00000000..b8710b3f --- /dev/null +++ b/.changelog/v0.42.0/summary.md @@ -0,0 +1,7 @@ +*February 8th, 2024* + +This release updates the proto types from ibc-go from `v8.0.0` to `v8.1.0`. +This includes proto types used for channel upgrade. + +Please note that ibc-go `v8.1.0` doesn't have the WASM light client proto types. These types will live in +ibc-proto-rs versions `v0.41.x` diff --git a/CHANGELOG.md b/CHANGELOG.md index ac0f1eca..0b48ddac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # CHANGELOG +## v0.42.0 + +*February 8th, 2024* + +This release updates the proto types for IBC-Go from `v8.0.0` to `v8.1.0`. +This includes proto types used for channel upgrade. + +Please note that IBC-Go v8.1.0 doesn't provide the Wasm light client proto types anymore (`ibc.lightclients.wasm.v1`). These types will live in +ibc-proto-rs versions `v0.41.x` + +### BREAKING CHANGES + +- 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 + 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, + so we need to use this definition to be able to parse them. + + In Protobuf, `bytes` and `string` are wire-compatible, so doing this strictly increases the amount fo data we can parse. + + See this Hermes PR for background information: https://github.com/informalsystems/hermes/pull/3768 + +### FEATURES + +- Bump IBC-Go to v8.1.0 ([\#192](https://github.com/cosmos/ibc-proto-rs/pull/192)) + +### IMPROVEMENTS + +- Extend `ibc::mock::ClientState` with `trusting_period` and `frozen` data + fields to cover a wider range of client state testing scenarios + ([\#186](https://github.com/cosmos/ibc-proto-rs/issues/186)). + ## v0.41.0 *January 9th, 2024* diff --git a/Cargo.toml b/Cargo.toml index 48126dd3..4ccd1005 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-proto" -version = "0.41.0" +version = "0.42.0" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0"