Browse Source

Merge pull request #4009 from tendermint/release/v0.32.4

Release/v0.32.4
pull/4013/head
Ethan Buchman 5 years ago
committed by GitHub
parent
commit
51dc810d04
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 15 deletions
  1. +1
    -0
      .golangci.yml
  2. +33
    -0
      CHANGELOG.md
  3. +1
    -8
      CHANGELOG_PENDING.md
  4. +2
    -4
      blockchain/v2/reactor.go
  5. +1
    -0
      blockchain/v2/routine.go
  6. +1
    -2
      blockchain/v2/routine_test.go
  7. +1
    -1
      version/version.go

+ 1
- 0
.golangci.yml View File

@ -45,3 +45,4 @@ linters:
# disabled-checks: # disabled-checks:
# - wrapperFunc # - wrapperFunc
# - commentFormatting # https://github.com/go-critic/go-critic/issues/755 # - commentFormatting # https://github.com/go-critic/go-critic/issues/755

+ 33
- 0
CHANGELOG.md View File

@ -1,5 +1,38 @@
# Changelog # Changelog
## v0.32.4
*September 19, 2019*
Special thanks to external contributors on this release: @jon-certik, @gracenoah, @PSalant726, @gchaincl
Friendly reminder, we have a [bug bounty
program](https://hackerone.com/tendermint).
### BREAKING CHANGES:
- CLI/RPC/Config
- [rpc] [\#3984](https://github.com/tendermint/tendermint/issues/3984) Add `MempoolClient` interface to `Client` interface
### IMPROVEMENTS:
- [rpc] [\#2010](https://github.com/tendermint/tendermint/issues/2010) Add NewHTTPWithClient and NewJSONRPCClientWithHTTPClient (note these and NewHTTP, NewJSONRPCClient functions panic if remote is invalid) (@gracenoah)
- [rpc] [\#3882](https://github.com/tendermint/tendermint/issues/3882) Add custom marshalers to proto messages to disable `omitempty`
- [deps] [\#3952](https://github.com/tendermint/tendermint/pull/3952) bump github.com/go-kit/kit from 0.6.0 to 0.9.0
- [deps] [\#3951](https://github.com/tendermint/tendermint/pull/3951) bump github.com/stretchr/testify from 1.3.0 to 1.4.0
- [deps] [\#3945](https://github.com/tendermint/tendermint/pull/3945) bump github.com/gorilla/websocket from 1.2.0 to 1.4.1
- [deps] [\#3948](https://github.com/tendermint/tendermint/pull/3948) bump github.com/libp2p/go-buffer-pool from 0.0.1 to 0.0.2
- [deps] [\#3943](https://github.com/tendermint/tendermint/pull/3943) bump github.com/fortytw2/leaktest from 1.2.0 to 1.3.0
- [deps] [\#3939](https://github.com/tendermint/tendermint/pull/3939) bump github.com/rs/cors from 1.6.0 to 1.7.0
- [deps] [\#3937](https://github.com/tendermint/tendermint/pull/3937) bump github.com/magiconair/properties from 1.8.0 to 1.8.1
- [deps] [\#3947](https://github.com/tendermint/tendermint/pull/3947) update gogo/protobuf version from v1.2.1 to v1.3.0
- [deps] [\#4001](https://github.com/tendermint/tendermint/pull/4001) bump github.com/tendermint/tm-db from 0.1.1 to 0.2.0
### BUG FIXES:
- [consensus] [\#3908](https://github.com/tendermint/tendermint/issues/3908) Wait `timeout_commit` to pass even if `create_empty_blocks` is `false`
- [mempool] [\#3968](https://github.com/tendermint/tendermint/issues/3968) Fix memory loading error on 32-bit machines (@jon-certik)
## v0.32.3 ## v0.32.3
*August 28, 2019* *August 28, 2019*


+ 1
- 8
CHANGELOG_PENDING.md View File

@ -1,4 +1,4 @@
## v0.32.4
## v0.32.5
\*\* \*\*
@ -19,11 +19,4 @@ program](https://hackerone.com/tendermint).
### IMPROVEMENTS: ### IMPROVEMENTS:
- [rpc] \#2010 Add NewHTTPWithClient and NewJSONRPCClientWithHTTPClient (note these and NewHTTP, NewJSONRPCClient functions panic if remote is invalid) (@gracenoah)
- [rpc] \#3984 Add `MempoolClient` interface to `Client` interface
- [rpc] \#3882 Add custom marshalers to proto messages to disable `omitempty`
### BUG FIXES: ### BUG FIXES:
- [consensus] \#3908 Wait `timeout_commit` to pass even if `create_empty_blocks` is `false`
- [mempool] \#3968 Fix memory loading error on 32-bit machines (@jon-certik)

+ 2
- 4
blockchain/v2/reactor.go View File

@ -13,16 +13,14 @@ type timeCheck struct {
} }
func schedulerHandle(event Event) (Event, error) { func schedulerHandle(event Event) (Event, error) {
switch event.(type) {
case timeCheck:
if _, ok := event.(timeCheck); ok {
fmt.Println("scheduler handle timeCheck") fmt.Println("scheduler handle timeCheck")
} }
return noOp, nil return noOp, nil
} }
func processorHandle(event Event) (Event, error) { func processorHandle(event Event) (Event, error) {
switch event.(type) {
case timeCheck:
if _, ok := event.(timeCheck); ok {
fmt.Println("processor handle timeCheck") fmt.Println("processor handle timeCheck")
} }
return noOp, nil return noOp, nil


+ 1
- 0
blockchain/v2/routine.go View File

@ -42,6 +42,7 @@ func newRoutine(name string, handleFunc handleFunc, bufferSize int) *Routine {
} }
} }
// nolint: unused
func (rt *Routine) setLogger(logger log.Logger) { func (rt *Routine) setLogger(logger log.Logger) {
rt.logger = logger rt.logger = logger
} }


+ 1
- 2
blockchain/v2/routine_test.go View File

@ -15,8 +15,7 @@ type eventA struct {
var done = fmt.Errorf("done") var done = fmt.Errorf("done")
func simpleHandler(event Event) (Event, error) { func simpleHandler(event Event) (Event, error) {
switch event.(type) {
case eventA:
if _, ok := event.(eventA); ok {
return noOp, done return noOp, done
} }
return noOp, nil return noOp, nil


+ 1
- 1
version/version.go View File

@ -20,7 +20,7 @@ const (
// Must be a string because scripts like dist.sh read this file. // Must be a string because scripts like dist.sh read this file.
// XXX: Don't change the name of this variable or you will break // XXX: Don't change the name of this variable or you will break
// automation :) // automation :)
TMCoreSemVer = "0.32.3"
TMCoreSemVer = "0.32.4"
// ABCISemVer is the semantic version of the ABCI library // ABCISemVer is the semantic version of the ABCI library
ABCISemVer = "0.16.1" ABCISemVer = "0.16.1"


Loading…
Cancel
Save