From 6f607cc27833ac876a627b5719a4c0697ada2c9c Mon Sep 17 00:00:00 2001 From: Luca Joss Date: Thu, 8 Feb 2024 10:09:00 +0100 Subject: [PATCH 1/5] Update changelogs --- .../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 +++++++++++++++++++ 5 files changed, 42 insertions(+) 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/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..82188b94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,41 @@ ## v0.41.0 +*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` + +### BREAKING CHANGES + +- 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 +- Removed WASM light client proto types + +### 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* This release integrates the ICS-08 WASM light client and ICS-721 NFT transfer From eb9f5947362b73ff27bd6627cb95fd5df61d459e Mon Sep 17 00:00:00 2001 From: Luca Joss Date: Thu, 8 Feb 2024 10:09:50 +0100 Subject: [PATCH 2/5] Update versions --- CHANGELOG.md | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82188b94..4b3a88ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## v0.41.0 +## v0.42.0 *February 8th, 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" From 968beb8aed14f9373b1d6cdba5e4b87e60feea40 Mon Sep 17 00:00:00 2001 From: Luca Joss Date: Thu, 8 Feb 2024 10:16:04 +0100 Subject: [PATCH 3/5] Add changelog entry for deleted WASM light client protos --- .changelog/v0.42.0/breaking-changes/123-removed-wasm-proto.md | 2 ++ CHANGELOG.md | 1 + 2 files changed, 3 insertions(+) create mode 100644 .changelog/v0.42.0/breaking-changes/123-removed-wasm-proto.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.md b/CHANGELOG.md index 4b3a88ee..ff2e21d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ ibc-proto-rs versions `v0.41.x` See this Hermes PR for background information: https://github.com/informalsystems/hermes/pull/3768 - Removed WASM light client proto types + ([\#192](https://github.com/cosmos/ibc-proto-rs/pull/192)) ### FEATURES From e98eaefcdb27f3908100ef6dcb53a64d804465d4 Mon Sep 17 00:00:00 2001 From: Luca Joss <43531661+ljoss17@users.noreply.github.com> Date: Thu, 8 Feb 2024 10:17:50 +0100 Subject: [PATCH 4/5] Apply suggestions from code review Co-authored-by: Romain Ruetschi Signed-off-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> --- CHANGELOG.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff2e21d4..11cc3da5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,10 @@ *February 8th, 2024* -This release updates the proto types from ibc-go from `v8.0.0` to `v8.1.0`. +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 have the WASM light client proto types. These types will live in +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 @@ -27,8 +27,7 @@ ibc-proto-rs versions `v0.41.x` ### FEATURES -- Bump ibc-go to v8.1.0 ([\#192](https://github.com/cosmos/ibc-proto- - rs/pull/192)) +- Bump IBC-Go to v8.1.0 ([\#192](https://github.com/cosmos/ibc-proto-rs/pull/192)) ### IMPROVEMENTS From eb6d3c87177b528a82ac950d96e6745cc51e85b8 Mon Sep 17 00:00:00 2001 From: Luca Joss Date: Thu, 8 Feb 2024 10:18:19 +0100 Subject: [PATCH 5/5] Reorder breaking changes --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11cc3da5..0b48ddac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ 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)) @@ -22,8 +24,6 @@ ibc-proto-rs versions `v0.41.x` 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 -- Removed WASM light client proto types - ([\#192](https://github.com/cosmos/ibc-proto-rs/pull/192)) ### FEATURES