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.

245 lines
5.6 KiB

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