You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

242 lines
5.4 KiB

8 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. # Changelog
  2. ## 0.8.0 (TBD)
  3. BREAKING CHANGES:
  4. - [client] all {X}Sync methods now return an error
  5. - [types] removed Result
  6. - [client] all {X}Sync methods now return Response{X} as first return value
  7. IMPROVEMENTS:
  8. - [types] added Tags field to ResponseDeliverTx
  9. ## 0.7.1 (November 14, 2017)
  10. IMPROVEMENTS:
  11. - [cli] added version command
  12. BUG FIXES:
  13. - [server] fix "Connection error module=abci-server error=EOF"
  14. ## 0.7.0 (October 27, 2017)
  15. BREAKING CHANGES:
  16. - [cli] consolidate example apps under a single `abci-cli` binary
  17. IMPROVEMENTS:
  18. - [cli] use spf13/cobra instead of urfave/cli
  19. - [dummy] use iavl instead of merkleeyes, and add support for historical queries
  20. BUG FIXES:
  21. - [client] fix deadlock on StopForError
  22. ## 0.6.0 (September 22, 2017)
  23. BREAKING CHANGES:
  24. - [types/client] app.BeginBlock takes RequestBeginBlock
  25. - [types/client] app.InitChain takes RequestInitChain
  26. - [types/client] app.Info takes RequestInfo
  27. IMPROVEMENTS:
  28. - various linting
  29. ## 0.5.0 (May 18, 2017)
  30. BREAKING CHANGES:
  31. - `NewSocketClient` and `NewGRPCClient` no longer start the client automatically, and don't return errors. The caller is responsible for running `client.Start()` and checking the error.
  32. - `NewSocketServer` and `NewGRPCServer` no longer start the server automatically, and don't return errors. The caller is responsible for running `server.Start()` and checking the error.
  33. FEATURES:
  34. - [types] new method `func (res Result) IsSameCode(compare Result) bool` checks whether two results have the same code
  35. - [types] new methods `func (r *ResponseCheckTx) Result() Result` and `func (r *ResponseDeliverTx) Result() Result` to convert from protobuf types (for control over json serialization)
  36. - [types] new method `func (r *ResponseQuery) Result() *ResultQuery` and struct `ResultQuery` to convert from protobuf types (for control over json serializtion)
  37. IMPROVEMENTS:
  38. - Update imports for new `tmlibs` repository
  39. - Use the new logger
  40. - [abci-cli] Add flags to the query command for `path`, `height`, and `prove`
  41. - [types] use `data.Bytes` and `json` tags in the `Result` struct
  42. BUG FIXES:
  43. ## 0.4.1 (April 18, 2017)
  44. IMPROVEMENTS:
  45. - Update dependencies
  46. ## 0.4.0 (March 6, 2017)
  47. BREAKING CHANGES:
  48. - Query takes RequestQuery and returns ResponseQuery. The request is split into `data` and `path`,
  49. can specify a height to query the state from, and whether or not the response should come with a proof.
  50. The response returns the corresponding key-value pair, with proof if requested.
  51. ```
  52. message RequestQuery{
  53. bytes data = 1;
  54. string path = 2;
  55. uint64 height = 3;
  56. bool prove = 4;
  57. }
  58. message ResponseQuery{
  59. CodeType code = 1;
  60. int64 index = 2;
  61. bytes key = 3;
  62. bytes value = 4;
  63. bytes proof = 5;
  64. uint64 height = 6;
  65. string log = 7;
  66. }
  67. ```
  68. IMPROVEMENTS:
  69. - Updates to Makefile
  70. - Various cleanup
  71. - BaseApplication can be embedded by new apps to avoid implementing empty methods
  72. - Drop BlockchainAware and make BeginBlock/EndBlock part of the `type Application interface`
  73. ## 0.3.0 (January 12, 2017)
  74. BREAKING CHANGES:
  75. - TMSP is now ABCI (Application/Asynchronous/A BlockChain Interface or Atomic BroadCast Interface)
  76. - AppendTx is now DeliverTx (conforms to the literature)
  77. - BeginBlock takes a Header:
  78. ```
  79. message RequestBeginBlock{
  80. bytes hash = 1;
  81. Header header = 2;
  82. }
  83. ```
  84. - Info returns a ResponseInfo, containing last block height and app hash:
  85. ```
  86. message ResponseInfo {
  87. string data = 1;
  88. string version = 2;
  89. uint64 last_block_height = 3;
  90. bytes last_block_app_hash = 4;
  91. }
  92. ```
  93. - EndBlock returns a ResponseEndBlock, containing the changed validators:
  94. ```
  95. message ResponseEndBlock{
  96. repeated Validator diffs = 4;
  97. }
  98. ```
  99. - Hex strings are 0x-prefixed in the CLI
  100. - Query on the Dummy app now uses hex-strings
  101. FEATURES:
  102. - New app, PersistentDummy, uses Info/BeginBlock to recover from failures and supports validator set changes
  103. - New message types for blockchain data:
  104. ```
  105. //----------------------------------------
  106. // Blockchain Types
  107. message Header {
  108. string chain_id = 1;
  109. uint64 height = 2;
  110. uint64 time = 3;
  111. uint64 num_txs = 4;
  112. BlockID last_block_id = 5;
  113. bytes last_commit_hash = 6;
  114. bytes data_hash = 7;
  115. bytes validators_hash = 8;
  116. bytes app_hash = 9;
  117. }
  118. message BlockID {
  119. bytes hash = 1;
  120. PartSetHeader parts = 2;
  121. }
  122. message PartSetHeader {
  123. uint64 total = 1;
  124. bytes hash = 2;
  125. }
  126. message Validator {
  127. bytes pubKey = 1;
  128. uint64 power = 2;
  129. }
  130. ```
  131. - Add support for Query to Counter app
  132. IMPROVEMENT:
  133. - Don't exit the tmsp-cli console on bad args
  134. BUG FIXES:
  135. - Fix parsing in the Counter app to handle invalid transactions
  136. ## 0.2.1 (September 12, 2016)
  137. IMPROVEMENTS
  138. - Better error handling in console
  139. ## 0.2.0 (July 23, 2016)
  140. BREAKING CHANGES:
  141. - Use `oneof` types in protobuf
  142. FEATURES:
  143. - GRPC support
  144. ## PreHistory
  145. ##### Mar 26h, 2016
  146. * Introduce BeginBlock
  147. ##### Mar 6th, 2016
  148. * Added InitChain, EndBlock
  149. ##### Feb 14th, 2016
  150. * s/GetHash/Commit/g
  151. * Document Protobuf request/response fields
  152. ##### Jan 23th, 2016
  153. * Added CheckTx/Query ABCI message types
  154. * Added Result/Log fields to DeliverTx/CheckTx/SetOption
  155. * Removed Listener messages
  156. * Removed Code from ResponseSetOption and ResponseGetHash
  157. * Made examples BigEndian
  158. ##### Jan 12th, 2016
  159. * Added "RetCodeBadNonce = 0x06" return code
  160. ##### Jan 8th, 2016
  161. * Tendermint/ABCI now comes to consensus on the order first before DeliverTx.