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.

211 lines
4.7 KiB

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