Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
release 0.7.1 (#132)
Browse files Browse the repository at this point in the history
* add crates.io badge (#73)

* update to tendermint v0.32 (#77)

* Compatibility Table, Fix link in toml (#81)

- Added table for compatiblity
- fix link in toml - homepage link

closes #58 & #74
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* Reduce amount of logs under `info` (#80)

closes #78

- Reduce amount of logs to clean up terminal if just running the abci server

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* Add changelog (#82)

* Add changelog

- Added a Changelog

closes #65

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* Fix dynamic trait warning (#84)

Update protobuf to 2.8

* Release/v0.6.1 (#85)

* updated cargo + changelog

* Fix edition + bump dependencies

* fix changelog entry

* Update env_logger requirement from 0.6.2 to 0.7.0 (#88)

Updates the requirements on [env_logger](https://github.com/sebasmagri/env_logger) to permit the latest version.
- [Release notes](https://github.com/sebasmagri/env_logger/releases)
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md)
- [Commits](rust-cli/env_logger@v0.6.2...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bumped version of protobuf to 2.8.1 -- fixes #87 (#89)

* Bumped version of protobuf to 2.8.1 -- fixes #87

* updated readme

* Fix CONTRIBUTING.md link in PR template (#92)

* Fix typo in README (#91)

* Reduce the number of tokio dependencies (#94)

* Update futures requirement from 0.1 to 0.3 (#97)

Updates the requirements on [futures](https://github.com/rust-lang-nursery/futures-rs) to permit the latest version.
- [Release notes](https://github.com/rust-lang-nursery/futures-rs/releases)
- [Changelog](https://github.com/rust-lang-nursery/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@futures-cpupool-0.1.1...0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Release for 0.6.3 (#98)

* Release for 0.6.3

- changes to get ready for new release

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* add changelog entries

* Worker panic leave mutex in poisoned status (#100)

Solution: propagate panic to quit the whole server.

* updated docs for 0.6.4 (#101)

* Fix username link (#103)

* fix bug in readme (#108)

* Upgrade protobuf to 2.10.0 (#110)

* bumped version to 0.6.5 + changelog entry

* proto: update proto files & add third_party (#116)

abci updated to 0.33

* doc: updated README and CHANGELOG for 0.7.0 (#117)

* release v0.7 (#118) (#124)

* proto: update proto files & add third_party (#116)

abci updated to 0.33

* doc: updated README and CHANGELOG for 0.7.0 (#117)

Co-authored-by: Marko <marbar3778@yahoo.com>

Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>

* dep: bump proto dep (#123)

closes #122

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* ci: move part of ci to github actions (#129)

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* updated protobuf definitions to TM 0.33.5 + crates (fixes #130 fixes #128) (#131)

* doc: updated CHANGELOG for 0.7.1

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Alex Manuskin <amanusk@protonmail.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Nicolas <abramlujan@gmail.com>
Co-authored-by: Andy Weiss <wvvwwvw@gmail.com>
Co-authored-by: yihuang <yi.codeplayer@gmail.com>
Co-authored-by: Jackson Lewis <inquisitivepenguin@protonmail.com>
Co-authored-by: Rob Kelly <Robert.l.kelly3@gmail.com>
Co-authored-by: Devashish Dixit <devashish@crypto.com>
  • Loading branch information
11 people authored Jun 30, 2020
1 parent dfb9a8b commit 7421970
Show file tree
Hide file tree
Showing 16 changed files with 556 additions and 967 deletions.
28 changes: 0 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,6 @@ jobs:
- checkout
- restore_cache:
key: project-cache
- run:
name: Check formatting
command: |
rustup component add rustfmt-preview
rustfmt --version
cargo fmt -- --check --color=auto
- run:
name: Check Linting
command: |
rustup component add clippy
cargo clippy
- run:
name: Nightly Build
command: |
rustup toolchain install nightly
rustup run nightly rustc --version --verbose
rustup run nightly cargo --version --verbose
rustup run nightly cargo build
- run:
name: Stable Build
command: |
rustup toolchain install stable
rustup run stable rustc --version --verbose
rustup run stable cargo --version --verbose
rustup run stable cargo build
- run:
name: Test
command: rustup run stable cargo test
- run:
name: Publish Crate
command: |
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Rust
on: [pull_request]
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"

fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

test-stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --workspace --all-targets
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

_June 30, 2020_

## v0.7.1

### IMPROVEMENTS:

- [\#131](https://github.com/tendermint/rust-abci/pull/131): Tendermint 0.33.4+ ABCI compatibility and upgraded protobuf to 2.15.1

_March 3, 2020_

## v0.7.0
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "abci"
version = "0.7.0"
version = "0.7.1"
authors = ["Adrian Brink <adrian@brink-holdings.com>", "Jackson Lewis <st.japa6@gmail.com>", "Dave Bryson", "Tomas Tauber"]
edition = "2018"
license = "MIT/Apache-2.0"
Expand All @@ -13,13 +13,13 @@ include = ["src/**/*", "Cargo.toml"]

[dependencies]
bytes = "0.4"
protobuf = "= 2.10.2"
byteorder = "1.3.2"
integer-encoding = "1.0.5"
protobuf = "= 2.15.1"
byteorder = "1.3.4"
integer-encoding = "1.1.5"
log = "0.4.8"
env_logger = "0.7.0"
env_logger = "0.7.1"
tokio = { version = "0.1", default-features = false, features = ["codec", "io", "tcp", "rt-full"] }
futures = "0.3"

[build-dependencies]
protobuf-codegen-pure = "= 2.10.2"
protobuf-codegen-pure = "= 2.15.1"
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Origin
version_branch = v0.33.1
version_branch = v0.33.5
tendermint = https://raw.githubusercontent.com/tendermint/tendermint/$(version_branch)

# Outputs
tmkv = protobuf/libs/kv/types.proto
tmmerkle = protobuf/crypto/merkle/merkle.proto
tmabci = protobuf/abci/types/types.proto
third_party = protobuf/third_party/proto/gogoproto/gogo.proto
third_party = third_party/proto/gogoproto/gogo.proto

# You *only* need to run this to rebuild protobufs from the tendermint source
update-proto:
Expand All @@ -15,4 +15,4 @@ update-proto:
curl $(tendermint)/crypto/merkle/merkle.proto > $(tmmerkle)
sed 's@package types;@package abci;@' $(tmabci) > protobuf/abci.proto
curl $(tendermint)/version/version.go | grep -F -eTMCoreSem -eABCISemVer > version.txt
curl $(tendermint)/$(third_party) > $(third_party)
curl $(tendermint)/$(third_party) > protobuf/$(third_party)
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ applications for [Tendermint](https://github.com/tendermint/tendermint/).

## Supported Version

- Tendermint 0.33.1
- ABCI 0.16.1
- Tendermint 0.33.5
- ABCI 0.16.2

## Installation

Expand All @@ -33,7 +33,7 @@ To use this library to build your own ABCI apps in Rust you have to include the

```toml
[dependencies]
abci = "0.7.0"
abci = "0.7.1"
```

### Development
Expand Down Expand Up @@ -65,6 +65,7 @@ For a real life example of an ABCI application you can checkout [Cosmos SDK](htt

| Tendermint | Rust-abci |
| ---------- | :-------: |
| 0.33.5 | 0.7.1 |
| 0.33.1 | 0.7.0 |
| 0.32.9 | 0.6.5 |
| 0.31.7 | 0.5.4 |
Expand Down
17 changes: 7 additions & 10 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
extern crate protobuf_codegen_pure;

fn main() {
protobuf_codegen_pure::run(protobuf_codegen_pure::Args {
out_dir: "src/messages",
input: &[
protobuf_codegen_pure::Codegen::new()
.out_dir("src/messages")
.inputs(&[
"protobuf/abci.proto",
"protobuf/libs/kv/types.proto",
"protobuf/crypto/merkle/merkle.proto",
],
includes: &["protobuf"],
customize: protobuf_codegen_pure::Customize {
..Default::default()
},
})
.expect("protoc");
])
.include("protobuf")
.run()
.expect("protoc");
}
3 changes: 2 additions & 1 deletion protobuf/abci.proto
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ message ResponseEndBlock {

message ResponseCommit {
// reserve 1
bytes data = 2;
bytes data = 2;
int64 retain_height = 3;
}

//----------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion protobuf/abci/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ message ResponseEndBlock {

message ResponseCommit {
// reserve 1
bytes data = 2;
bytes data = 2;
int64 retain_height = 3;
}

//----------------------------------------
Expand Down
7 changes: 0 additions & 7 deletions protobuf/libs/kv/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@ option (gogoproto.testgen_all) = true;
//----------------------------------------
// Abstract types

// Define these here for compatibility but use tmlibs/kv.Pair.
message Pair {
bytes key = 1;
bytes value = 2;
}

// Define these here for compatibility but use tmlibs/kv.KI64Pair.
message KI64Pair {
bytes key = 1;
int64 value = 2;
}
Loading

0 comments on commit 7421970

Please sign in to comment.