Skip to content

Commit

Permalink
Release v0.46.0 (#916)
Browse files Browse the repository at this point in the history
* chore: update changelog and add summary

* chore: update versions

* chore: update ibc-query docstring

* nit: add new line to Cargo.toml
  • Loading branch information
Farhad-Shabani authored Oct 12, 2023
1 parent 513901f commit ebd3113
Show file tree
Hide file tree
Showing 13 changed files with 75 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- Add missing update in the state, which should include the host's height and
timestamp when a successful client upgrade take place.
([/#913](https://github.com/cosmos/ibc-rs/issues/913))
([\#913](https://github.com/cosmos/ibc-rs/issues/913))
10 changes: 10 additions & 0 deletions .changelog/v0.46.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This release introduces vital bug fixes, including removal of an incorrect
validation during a Tendermint client update and the addition of a missing state
update during a successful client upgrade ensuring the inclusion of the host's
height and timestamp in the store.

Additionally, it eliminates the `safe-regex` dependency, and restructures IBC
query implementations under the previous `grpc` feature flag and moves it to a
separate crate called as `ibc-query`.

There are consensus-breaking changes.
2 changes: 2 additions & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"default": true,
"MD013": false, // https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md013---line-length
"MD024": false, // https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md024---multiple-headings-with-the-same-content
"MD033": false, // https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033---inline-html
"MD036": false, // https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md036---emphasis-used-instead-of-a-heading
"MD041": false // https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md041---first-line-in-a-file-should-be-a-top-level-heading
}
49 changes: 44 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@
# CHANGELOG

# v0.45.0
## v0.46.0

*October 12, 2023*

This release introduces vital bug fixes, including removal of an incorrect
validation during a Tendermint client update and the addition of a missing state
update during a successful client upgrade ensuring the inclusion of the host's
height and timestamp in the store.

Additionally, it eliminates the `safe-regex` dependency, and restructures IBC
query implementations under the previous `grpc` feature flag and moves it to a
separate crate called as `ibc-query`.

There are consensus-breaking changes.

### BREAKING CHANGES

- Relocate `*_update_time` and `*_update_height` to the client contexts' traits
for improved access by light clients
([#914](https://github.com/cosmos/ibc-rs/issues/914))

### BUG FIXES

- Remove an incorrect validation during tendermint client update
([\#911](https://github.com/cosmos/ibc-rs/issues/911))
- Add missing update in the state, which should include the host's height and
timestamp when a successful client upgrade take place.
([\#913](https://github.com/cosmos/ibc-rs/issues/913))

### IMPROVEMENTS

- Remove `safe-regex` dependency
([\#875](https://github.com/cosmos/ibc-rs/issues/875))
- Enhance IBC query methods usability and code organization
- The implementation of query methods is now publicly accessible as standalone functions.
- `grpc` feature now lives as a separate crate called as `ibc-query`
([#896](https://github.com/cosmos/ibc-rs/issues/896))
- Re-export ibc proto types from `ibc-proto-rs`` for dep

## v0.45.0

*September 20, 2023*

Expand All @@ -9,9 +48,9 @@ There are no consensus-breaking changes.

### BREAKING CHANGES

- Bump tendermint-rs to v0.33.0
- Bump tendermint-rs to v0.33.0
([#785](https://github.com/cosmos/ibc-rs/issues/785))
- Bump ibc-proto-rs to v0.34.0
- Bump ibc-proto-rs to v0.34.0
([#790](https://github.com/cosmos/ibc-rs/issues/790))
- Allow hosts to handle overflow cases in `increase_*_counter` methods by
returning `Result<(),ContextError>` type.
Expand Down Expand Up @@ -53,7 +92,7 @@ There are no consensus-breaking changes.
- Remove unused code snippets and move serializer roundtrip test to `serializers.rs`
([#869](https://github.com/cosmos/ibc-rs/issues/869))

# v0.44.1
## v0.44.1

*August 4, 2023*

Expand Down Expand Up @@ -142,7 +181,7 @@ There are no consensus-breaking changes.

### BREAKING CHANGES

- Implement ADR 7, where `ClientState` objects are now statically dispatched instead
- Implement ADR 7, where `ClientState` objects are now statically dispatched instead
of dynamically dispatched.
([#296](https://github.com/cosmos/ibc-rs/issues/296))
- Revise the `verify_upgrade_client` method to utilize the domain-specific
Expand Down
6 changes: 3 additions & 3 deletions crates/ibc-query/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-query"
version = "0.45.0"
version = "0.46.0"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -18,7 +18,7 @@ default = ["std"]
std = ["ibc-proto/std", "ibc/std"]

[dependencies]
ibc = { version = "0.45.0", path = "../ibc", default-features = false }
ibc = { version = "0.46.0", path = "../ibc", default-features = false }
ibc-proto = { version = "0.35.0", default-features = false, features = ["server"] }
displaydoc = { version = "0.2", default-features = false }
tonic = "0.9"
tonic = "0.9"
6 changes: 3 additions & 3 deletions crates/ibc-query/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ibc-query

This crate provides a set of utility traits and implementations for querying the
state of an IBC-enabled chain.
state of an `ibc-rs` enabled chain.

Implementations contains essential IBC query methods and gRPC query service
for the IBC core client, connection, and channel components.
Implementations contains essential IBC query methods and gRPC query services for
each of the IBC core client, connection, and channel layers.
15 changes: 11 additions & 4 deletions crates/ibc-query/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
//! Implementation of the gRPC query services of core IBC components.
//! Contains a set of utility traits and implementations for querying the state
//! of an `ibc-rs` enabled chain, including implementation of essential IBC
//! query methods and gRPC query services defined in `ibc-proto-rs`. Therefore,
//! some ready-to-use Query structs for each layer of the client, connection,
//! and channel have been implemented and exposed by this crate.
//!
//! The provided structs includes blanket implementation of their corresponding gRPC service traits,
//! if the host implements the following _context_ traits.
//! The provided structs includes blanket implementation of their corresponding
//! gRPC service traits, if the host implements the following _context_ traits:
//! - [`ValidationContext`](ibc::core::ValidationContext)
//! - [`ProvableContext`](crate::core::context::ProvableContext)
//! - [`QueryContext`](crate::core::context::QueryContext)
//! - [`UpgradeValidationContext`](ibc::hosts::tendermint::upgrade_proposal::UpgradeValidationContext)
//! - Only for [`ClientQuery::upgraded_client_state`](ibc_proto::ibc::core::client::v1::query_server::Query::upgraded_client_state) and [`ClientQuery::upgraded_client_state`](ibc_proto::ibc::core::client::v1::query_server::Query::upgraded_consensus_state)
//! - Only for
//! [`ClientQuery::upgraded_client_state`](ibc_proto::ibc::core::client::v1::query_server::Query::upgraded_client_state)
//! and
//! [`ClientQuery::upgraded_client_state`](ibc_proto::ibc::core::client::v1::query_server::Query::upgraded_consensus_state)
//!
//! Example
//! ```rust,ignore
Expand Down
2 changes: 1 addition & 1 deletion crates/ibc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc"
version = "0.45.0"
version = "0.46.0"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand Down

0 comments on commit ebd3113

Please sign in to comment.