Skip to content

Commit

Permalink
Release v0.29.0 (#82)
Browse files Browse the repository at this point in the history
* Update changelog

* Bump version to 0.29.0

* Format Cargo.toml

* Apply suggestions from code review

Co-authored-by: Luca Joss <[email protected]>
Signed-off-by: Romain Ruetschi <[email protected]>

---------

Signed-off-by: Romain Ruetschi <[email protected]>
Co-authored-by: Luca Joss <[email protected]>
  • Loading branch information
romac and ljoss17 authored Apr 12, 2023
1 parent 7ad3006 commit 9d9ed36
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .changelog/v0.29.0/features/76-ccv-protos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add Interchain Security v1 CCV Protobuf definitions
([\#76](https://github.com/cosmos/ibc-proto-rs/issues/76))
9 changes: 9 additions & 0 deletions .changelog/v0.29.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*April 12th, 2023*

In this update, Protobuf definitions have been included for Interchain Security v1 CCV within
the `ibc_proto::interchain_security::ccv` module.

It should also be noted that the return type of `Protobuf::encode{,_length_delimited}_vec`
has been modified from `Result<Vec<u8>, Error>` to `Vec<u8>`.

Furthermore, the version of `tonic` has been raised from 0.8 to 0.9.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# CHANGELOG

## v0.29.0

*April 12th, 2023*

In this update, Protobuf definitions have been included for Interchain Security v1 CCV within
the `ibc_proto::interchain_security::ccv` module.

It should also be noted that the return type of `Protobuf::encode{,_length_delimited}_vec`
has been modified from `Result<Vec<u8>, Error>` to `Vec<u8>`.

Furthermore, the version of `tonic` has been raised from 0.8 to 0.9.

### BREAKING CHANGES

- Remove errors for `encode_vec` and `encode_length_delimited_vec` in
`Protobuf` ([#73](https://github.com/cosmos/ibc-proto-rs/issues/73))
- Update `tonic` to 0.9 and re-generate the protos
([\#79](https://github.com/cosmos/ibc-proto-rs/issues/79))

### FEATURES

- Add Interchain Security v1 CCV Protobuf definitions
([\#76](https://github.com/cosmos/ibc-proto-rs/issues/76))

### BUG FIXES

- Automatically patch the generated Rust code for it to compile
([\#2](https://github.com/cosmos/ibc-proto-rs/issues/2))

## v0.28.0

*March 10th, 2023*
Expand Down
42 changes: 22 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-proto"
version = "0.28.0"
version = "0.29.0"
authors = ["Informal Systems <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -20,37 +20,39 @@ members = [
]

[lib]
name = "ibc_proto"
path = "src/lib.rs"
name = "ibc_proto"
path = "src/lib.rs"
doctest = false

[package.metadata.docs.rs]
all-features = true

[dependencies]
prost = { version = "0.11", default-features = false }
bytes = { version = "1.2", default-features = false }
tonic = { version = "0.9", optional = true, default-features = false }
serde = { version = "1.0", default-features = false }
schemars = { version = "0.8", optional = true }
subtle-encoding = { version = "0.5", default-features = false }
base64 = { version = "0.21", default-features = false, features = ["alloc"] }
flex-error = { version = "0.4.4", default-features = false }
prost = { version = "0.11", default-features = false }
bytes = { version = "1.2", default-features = false }
tonic = { version = "0.9", default-features = false, optional = true }
serde = { version = "1.0", default-features = false }
schemars = { version = "0.8", optional = true }
subtle-encoding = { version = "0.5", default-features = false }
base64 = { version = "0.21", default-features = false, features = ["alloc"] }
flex-error = { version = "0.4", default-features = false }

## for codec encode or decode
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["full"], optional = true }
scale-info = { version = "2.1.2", default-features = false, features = ["derive"], optional = true }
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["full"], optional = true }
scale-info = { version = "2.1.2", default-features = false, features = ["derive"], optional = true }

## for borsh encode or decode
borsh = {version = "0.10.0", default-features = false, optional = true }
borsh = { version = "0.10.0", default-features = false, optional = true }

[dependencies.tendermint-proto]
version = "0.30"
default-features = false

[features]
default = ["std", "client"]
std = []
client = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
json-schema = ["std", "schemars"]
server = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
default = ["std", "client"]
std = []
client = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
json-schema = ["std", "schemars"]
server = ["std", "tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
parity-scale-codec = ["dep:parity-scale-codec", "dep:scale-info"]
borsh = ["dep:borsh"]
borsh = ["dep:borsh"]

0 comments on commit 9d9ed36

Please sign in to comment.