mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
update changelog
This commit is contained in:
parent
b522ad0052
commit
033bff9fdd
85
CHANGELOG.md
85
CHANGELOG.md
@ -1,5 +1,90 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v0.31.6
|
||||||
|
|
||||||
|
*May 31st, 2019*
|
||||||
|
|
||||||
|
This release fixes a magnitude of issues in the consensus and p2p packages as
|
||||||
|
well as one security issue in the mempool package. It also contains many
|
||||||
|
improvements. See below for details.
|
||||||
|
|
||||||
|
Tendermint now supports [boltdb](https://github.com/etcd-io/bbolt), although
|
||||||
|
in experimental mode. Feel free to try and report any issues.
|
||||||
|
|
||||||
|
Special thanks to external contributors on this release:
|
||||||
|
@guagualvcha, @james-ray, @gregdhill, @climber73, @yutianwu,
|
||||||
|
@carlosflrs, @defunctzombie, @leoluk, @needkane, @CrocdileChan
|
||||||
|
|
||||||
|
### BREAKING CHANGES:
|
||||||
|
|
||||||
|
* Go API
|
||||||
|
- [libs/common] Removed deprecated `PanicSanity`, `PanicCrisis`,
|
||||||
|
`PanicConsensus` and `PanicQ`
|
||||||
|
- [mempool] [\#2659](https://github.com/tendermint/tendermint/issues/2659) `Mempool` now an interface
|
||||||
|
* old `Mempool` implementation renamed to `CListMempool`
|
||||||
|
* `NewMempool` renamed to `NewCListMempool`
|
||||||
|
* `Option` renamed to `CListOption`
|
||||||
|
* unexpose `MempoolReactor.Mempool`
|
||||||
|
* `MempoolReactor` renamed to `Reactor`
|
||||||
|
* `NewMempoolReactor` renamed to `NewReactor`
|
||||||
|
* unexpose `TxID` method
|
||||||
|
* `TxInfo.PeerID` renamed to `SenderID`
|
||||||
|
- [node] Moved `GenesisDocProvider` and `DefaultGenesisDocProviderFunc` to `state` package
|
||||||
|
- [p2p] [\#3346](https://github.com/tendermint/tendermint/issues/3346) `Reactor#InitPeer` method is added to `Reactor` interface
|
||||||
|
- [state] [\#2659](https://github.com/tendermint/tendermint/issues/2659) `Mempool` interface moved to mempool package
|
||||||
|
* `MockMempool` moved to top-level mock package and renamed to `Mempool`
|
||||||
|
- [types] [\#1648](https://github.com/tendermint/tendermint/issues/1648) `Commit#VoteSignBytes` signature was changed
|
||||||
|
|
||||||
|
### FEATURES:
|
||||||
|
- [node] [\#2659](https://github.com/tendermint/tendermint/issues/2659) Add `node.Mempool()` method, which allows you to access mempool
|
||||||
|
- [libs/db] [\#3604](https://github.com/tendermint/tendermint/pull/3604) Add experimental support for bolt db (etcd's fork of bolt) (@CrocdileChan)
|
||||||
|
|
||||||
|
### IMPROVEMENTS:
|
||||||
|
- [cli] [\#3585](https://github.com/tendermint/tendermint/issues/3585) Add `--keep-addr-book` option to `unsafe_reset_all` cmd to not
|
||||||
|
clear the address book (@climber73)
|
||||||
|
- [cli] [\#3160](https://github.com/tendermint/tendermint/issues/3160) Add
|
||||||
|
`--config=<path-to-config>` option to `testnet` cmd (@gregdhill)
|
||||||
|
- [cli] [\#3661](https://github.com/tendermint/tendermint/pull/3661) Add
|
||||||
|
`--hostname-suffix`, `--hostname` and `--random-monikers` options to `testnet`
|
||||||
|
cmd for greater peer address/identity generation flexibility.
|
||||||
|
- [crypto] [\#3672](https://github.com/tendermint/tendermint/issues/3672) Return more info in the AddSignatureFromPubKey error
|
||||||
|
- [cs/replay] [\#3460](https://github.com/tendermint/tendermint/issues/3460) Check appHash for each block
|
||||||
|
- [libs/db] [\#3611](https://github.com/tendermint/tendermint/issues/3611) Conditional compilation
|
||||||
|
* Use `cleveldb` tag instead of `gcc` to compile Tendermint with CLevelDB or
|
||||||
|
use `make build_c` / `make install_c` (full instructions can be found at
|
||||||
|
https://tendermint.com/docs/introduction/install.html#compile-with-cleveldb-support)
|
||||||
|
* Use `boltdb` tag to compile Tendermint with bolt db
|
||||||
|
- [node] [\#3362](https://github.com/tendermint/tendermint/issues/3362) Return an error if `persistent_peers` list is invalid (except
|
||||||
|
when IP lookup fails)
|
||||||
|
- [p2p] [\#3463](https://github.com/tendermint/tendermint/pull/3463) Do not log "Can't add peer's address to addrbook" error for a private peer
|
||||||
|
- [p2p] [\#3531](https://github.com/tendermint/tendermint/issues/3531) Terminate session on nonce wrapping (@climber73)
|
||||||
|
- [pex] [\#3647](https://github.com/tendermint/tendermint/pull/3647) Dial seeds, if any, instead of crawling peers first (@defunctzombie)
|
||||||
|
- [rpc] [\#3534](https://github.com/tendermint/tendermint/pull/3534) Add support for batched requests/responses in JSON RPC
|
||||||
|
- [rpc] [\#3362](https://github.com/tendermint/tendermint/issues/3362) `/dial_seeds` & `/dial_peers` return errors if addresses are
|
||||||
|
incorrect (except when IP lookup fails)
|
||||||
|
|
||||||
|
### BUG FIXES:
|
||||||
|
- [consensus] [\#3067](https://github.com/tendermint/tendermint/issues/3067) getBeginBlockValidatorInfo loads validators from stateDB
|
||||||
|
instead of state (@james-ray)
|
||||||
|
- [consensus] [\#3346](https://github.com/tendermint/tendermint/issues/3346) Create a peer state in consensus reactor before the peer
|
||||||
|
is started (@guagualvcha)
|
||||||
|
- [lite] [\#3669](https://github.com/tendermint/tendermint/issues/3669) Add context parameter to RPC Handlers in proxy routes (@yutianwu)
|
||||||
|
- [mempool] [\#3322](https://github.com/tendermint/tendermint/issues/3322) Remove only valid (Code==0) txs on Update
|
||||||
|
* `Mempool#Update` and `BlockExecutor#Commit` now accept
|
||||||
|
`[]*abci.ResponseDeliverTx` - list of `DeliverTx` responses, which should
|
||||||
|
match `block.Txs`
|
||||||
|
- [p2p] [\#3338](https://github.com/tendermint/tendermint/issues/3338) Ensure RemovePeer is always called before InitPeer (upon a peer
|
||||||
|
reconnecting to our node)
|
||||||
|
- [p2p] [\#3532](https://github.com/tendermint/tendermint/issues/3532) limit the number of attempts to connect to a peer in seed mode
|
||||||
|
to 16 (as a result, the node will stop retrying after a 35 hours time window)
|
||||||
|
- [p2p] [\#3362](https://github.com/tendermint/tendermint/issues/3362) make persistent prop independent of conn direction
|
||||||
|
* `Switch#DialPeersAsync` now only takes a list of peers
|
||||||
|
* `Switch#DialPeerWithAddress` now only takes an address
|
||||||
|
- [pex] [\#3603](https://github.com/tendermint/tendermint/issues/3603) Dial seeds when addrbook needs more addresses (@defunctzombie)
|
||||||
|
|
||||||
|
### OTHERS:
|
||||||
|
- [networks] fixes ansible integration script (@carlosflrs)
|
||||||
|
|
||||||
## v0.31.5
|
## v0.31.5
|
||||||
|
|
||||||
*April 16th, 2019*
|
*April 16th, 2019*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## v0.31.6
|
## v0.31.7
|
||||||
|
|
||||||
**
|
**
|
||||||
|
|
||||||
@ -9,63 +9,13 @@
|
|||||||
* Apps
|
* Apps
|
||||||
|
|
||||||
* Go API
|
* Go API
|
||||||
- [mempool] \#2659 `Mempool` now an interface
|
|
||||||
* old `Mempool` implementation renamed to `CListMempool`
|
|
||||||
* `NewMempool` renamed to `NewCListMempool`
|
|
||||||
* `Option` renamed to `CListOption`
|
|
||||||
* unexpose `MempoolReactor.Mempool`
|
|
||||||
* `MempoolReactor` renamed to `Reactor`
|
|
||||||
* `NewMempoolReactor` renamed to `NewReactor`
|
|
||||||
* unexpose `TxID` method
|
|
||||||
* `TxInfo.PeerID` renamed to `SenderID`
|
|
||||||
- [state] \#2659 `Mempool` interface moved to mempool package
|
|
||||||
* `MockMempool` moved to top-level mock package and renamed to `Mempool`
|
|
||||||
- [libs/common] Removed `PanicSanity`, `PanicCrisis`, `PanicConsensus` and `PanicQ`
|
|
||||||
- [node] Moved `GenesisDocProvider` and `DefaultGenesisDocProviderFunc` to state package
|
|
||||||
- [p2p] \#3346 Reactor#InitPeer method is added to Reactor interface
|
|
||||||
|
|
||||||
* Blockchain Protocol
|
* Blockchain Protocol
|
||||||
|
|
||||||
* P2P Protocol
|
* P2P Protocol
|
||||||
|
|
||||||
### FEATURES:
|
### FEATURES:
|
||||||
- [node] \#2659 Add `node.Mempool()` method, which allows you to access mempool
|
|
||||||
|
|
||||||
### IMPROVEMENTS:
|
### IMPROVEMENTS:
|
||||||
- [p2p] [\#3463](https://github.com/tendermint/tendermint/pull/3463) Do not log "Can't add peer's address to addrbook" error for a private peer
|
|
||||||
- [p2p] [\#3552](https://github.com/tendermint/tendermint/pull/3552) Add PeerBehaviour Interface (@brapse)
|
|
||||||
- [rpc] [\#3534](https://github.com/tendermint/tendermint/pull/3534) Add support for batched requests/responses in JSON RPC
|
|
||||||
- [cli] [\#3661](https://github.com/tendermint/tendermint/pull/3661) Add
|
|
||||||
`--hostname-suffix`, `--hostname` and `--random-monikers` options to `testnet`
|
|
||||||
cmd for greater peer address/identity generation flexibility.
|
|
||||||
- [cli] \#3585 Add option to not clear address book with unsafe reset (@climber73)
|
|
||||||
- [cli] [\#3160](https://github.com/tendermint/tendermint/issues/3160) Add `--config=<path-to-config>` option to `testnet` cmd (@gregdhill)
|
|
||||||
- [cs/replay] \#3460 check appHash for each block
|
|
||||||
- [rpc] \#3362 `/dial_seeds` & `/dial_peers` return errors if addresses are incorrect (except when IP lookup fails)
|
|
||||||
- [node] \#3362 returns an error if `persistent_peers` list is invalid (except when IP lookup fails)
|
|
||||||
- [p2p] \#3531 Terminate session on nonce wrapping (@climber73)
|
|
||||||
- [libs/db] \#3611 Conditional compilation
|
|
||||||
* Use `cleveldb` tag instead of `gcc` to compile Tendermint with CLevelDB or
|
|
||||||
use `make build_c` / `make install_c` (full instructions can be found at
|
|
||||||
https://tendermint.com/docs/introduction/install.html#compile-with-cleveldb-support)
|
|
||||||
* Use `boltdb` tag to compile Tendermint with bolt db
|
|
||||||
|
|
||||||
### BUG FIXES:
|
### BUG FIXES:
|
||||||
- [p2p] \#3532 limit the number of attempts to connect to a peer in seed mode
|
|
||||||
to 16 (as a result, the node will stop retrying after a 35 hours time window)
|
|
||||||
- [consensus] \#2723, \#3451 and \#3317 Fix non-deterministic tests
|
|
||||||
- [consensus] \#3346 Create a peer state in consensus reactor before the peer
|
|
||||||
is started (@guagualvcha)
|
|
||||||
- [p2p] \#3338 Ensure RemovePeer is always called before InitPeer (upon a peer
|
|
||||||
reconnecting to our node)
|
|
||||||
- [p2p] \#3362 make persistent prop independent of conn direction
|
|
||||||
* `Switch#DialPeersAsync` now only takes a list of peers
|
|
||||||
* `Switch#DialPeerWithAddress` now only takes an address
|
|
||||||
- [consensus] \#3067 getBeginBlockValidatorInfo loads validators from stateDB instead of state (@james-ray)
|
|
||||||
- [pex] \#3603 Dial seeds when addrbook needs more addresses (@defunctzombie)
|
|
||||||
- [mempool] \#3322 Remove only valid (Code==0) txs on Update
|
|
||||||
* `Mempool#Update` and `BlockExecutor#Commit` now accept
|
|
||||||
`[]*abci.ResponseDeliverTx` - list of `DeliverTx` responses, which should
|
|
||||||
match `block.Txs`
|
|
||||||
- [networks] fixes ansible integration script (@carlosflrs)
|
|
||||||
- [lite] \#3669 Add context parameter to RPC Handlers in proxy routes (@yutianwu)
|
|
||||||
|
10
UPGRADING.md
10
UPGRADING.md
@ -3,6 +3,16 @@
|
|||||||
This guide provides steps to be followed when you upgrade your applications to
|
This guide provides steps to be followed when you upgrade your applications to
|
||||||
a newer version of Tendermint Core.
|
a newer version of Tendermint Core.
|
||||||
|
|
||||||
|
## v0.31.6
|
||||||
|
|
||||||
|
There are no breaking changes in this release except Go API of p2p and
|
||||||
|
mempool packages. Hovewer, if you're using cleveldb, you'll need to change
|
||||||
|
the compilation tag:
|
||||||
|
|
||||||
|
Use `cleveldb` tag instead of `gcc` to compile Tendermint with CLevelDB or
|
||||||
|
use `make build_c` / `make install_c` (full instructions can be found at
|
||||||
|
https://tendermint.com/docs/introduction/install.html#compile-with-cleveldb-support)
|
||||||
|
|
||||||
## v0.31.0
|
## v0.31.0
|
||||||
|
|
||||||
This release contains a breaking change to the behaviour of the pubsub system.
|
This release contains a breaking change to the behaviour of the pubsub system.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user