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.

325 lines
8.5 KiB

8 years ago
7 years ago
7 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.10.4 (TBD)
  3. BREAKING CHANGES:
  4. - [types] Added `time` field to `Evidence` (note that this is the timestamp of the block which was double-signed, not the time the evidence was received)
  5. ## 0.10.3 (April 9, 2018)
  6. IMPROVEMENTS:
  7. - Update tmlibs dep
  8. ## 0.10.2 (March 23, 2018)
  9. Hot fix to remove `omitempty` from `fee` and to actually run `make
  10. protoc`
  11. ## 0.10.1 (March 22, 2018)
  12. FEATURES:
  13. - [types] ResponseCheckTx and ResponseDeliverTx are now the same.
  14. - [example] `dummy` is duplicated as `kvstore`.
  15. IMPROVEMENTS:
  16. - glide -> Godep
  17. - remove pkg/errors
  18. - improve specification.rst
  19. ## 0.10.0 (February 20, 2018)
  20. BREAKING CHANGES:
  21. - [types] Socket messages are length prefixed with real protobuf Varint instead of `<len of len><big endian len>`
  22. - [types] Drop gogo custom type magic with data.Bytes
  23. - [types] Use `[(gogoproto.nullable)=false]` to prefer value over pointer for the types
  24. - [types] Field re-ordering ...
  25. - [types] KVPair: replace with common.KVPair. Add common KI64Pair too (for fees).
  26. - [types] CheckTx/DeliverTx: updates for tags, gas, fees
  27. - [types] Commit: Remove code and log from Commit
  28. - [types] SetOption: Remove code
  29. - [example/dummy] remove dependence on IAVL
  30. - [types] IsOk/IsErr: methods removed
  31. FEATURES:
  32. - [types] SetOption/Query/CheckTx/DeliverTx: Add `info string` field to responses
  33. - [types] RequestInitChain.AppStateBytes for app's genesis state
  34. IMPROVEMENTS:
  35. - [all] remove go-wire and go-crypto dependencies :)
  36. ## 0.9.0 (December 28, 2017)
  37. BREAKING CHANGES:
  38. - [types] Id -> ID
  39. - [types] ResponseEndBlock: renamed Diffs field to ValidatorUpdates
  40. - [types] changed protobuf field indices for Request and Response oneof types
  41. FEATURES:
  42. - [types] ResponseEndBlock: added ConsensusParamUpdates
  43. BUG FIXES:
  44. - [cmd] fix console and batch commands to use a single persistent connection
  45. ## 0.8.0 (December 6, 2017)
  46. BREAKING CHANGES:
  47. - [client] all XxxSync methods now return (ResponseXxx, error)
  48. - [types] all methods on Application interface now take RequestXxx and return (ResponseXxx, error).
  49. - Except `CheckTx`/`DeliverTx`, which takes a `tx []byte` argument.
  50. - Except `Commit`, which takes no arguments.
  51. - [types] removed Result and ResultQuery
  52. - [types] removed CodeType - only `0 == OK` is defined here, everything else is left to convention at the application level
  53. - [types] switched to using `gogo/protobuf` for code generation
  54. - [types] use `customtype` feature of `gogo/protobuf` to replace `[]byte` with `data.Bytes` in all generated types :)
  55. - this eliminates the need for additional types like ResultQuery
  56. - [types] `pubKey` -> `pub_key`
  57. - [types] `uint64` -> `int32` for `Header.num_txs` and `PartSetHeader.total`
  58. - [types] `uint64` -> `int64` for everything else
  59. - [types] ResponseSetOption includes error code
  60. - [abci-cli] codes are printed as their number instead of a message, except for `code == 0`, which is still printed as `OK`
  61. FEATURES:
  62. - [types] ResponseDeliverTx: added `tags` field
  63. - [types] ResponseCheckTx: added `gas` and `fee` fields
  64. - [types] RequestBeginBlock: added `absent_validators` and `byzantine_validators` fields
  65. - [dummy] DeliverTx returns an owner tag and a key tag
  66. - [abci-cli] added `log_level` flag to control the logger
  67. - [abci-cli] introduce `abci-cli test` command for simple testing of ABCI server implementations via Counter application
  68. ## 0.7.1 (November 14, 2017)
  69. IMPROVEMENTS:
  70. - [cli] added version command
  71. BUG FIXES:
  72. - [server] fix "Connection error module=abci-server error=EOF"
  73. ## 0.7.0 (October 27, 2017)
  74. BREAKING CHANGES:
  75. - [cli] consolidate example apps under a single `abci-cli` binary
  76. IMPROVEMENTS:
  77. - [cli] use spf13/cobra instead of urfave/cli
  78. - [dummy] use iavl instead of merkleeyes, and add support for historical queries
  79. BUG FIXES:
  80. - [client] fix deadlock on StopForError
  81. ## 0.6.0 (September 22, 2017)
  82. BREAKING CHANGES:
  83. - [types/client] app.BeginBlock takes RequestBeginBlock
  84. - [types/client] app.InitChain takes RequestInitChain
  85. - [types/client] app.Info takes RequestInfo
  86. IMPROVEMENTS:
  87. - various linting
  88. ## 0.5.0 (May 18, 2017)
  89. BREAKING CHANGES:
  90. - `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.
  91. - `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.
  92. FEATURES:
  93. - [types] new method `func (res Result) IsSameCode(compare Result) bool` checks whether two results have the same code
  94. - [types] new methods `func (r *ResponseCheckTx) Result() Result` and `func (r *ResponseDeliverTx) Result() Result` to convert from protobuf types (for control over json serialization)
  95. - [types] new method `func (r *ResponseQuery) Result() *ResultQuery` and struct `ResultQuery` to convert from protobuf types (for control over json serializtion)
  96. IMPROVEMENTS:
  97. - Update imports for new `tmlibs` repository
  98. - Use the new logger
  99. - [abci-cli] Add flags to the query command for `path`, `height`, and `prove`
  100. - [types] use `data.Bytes` and `json` tags in the `Result` struct
  101. BUG FIXES:
  102. ## 0.4.1 (April 18, 2017)
  103. IMPROVEMENTS:
  104. - Update dependencies
  105. ## 0.4.0 (March 6, 2017)
  106. BREAKING CHANGES:
  107. - Query takes RequestQuery and returns ResponseQuery. The request is split into `data` and `path`,
  108. can specify a height to query the state from, and whether or not the response should come with a proof.
  109. The response returns the corresponding key-value pair, with proof if requested.
  110. ```
  111. message RequestQuery{
  112. bytes data = 1;
  113. string path = 2;
  114. uint64 height = 3;
  115. bool prove = 4;
  116. }
  117. message ResponseQuery{
  118. CodeType code = 1;
  119. int64 index = 2;
  120. bytes key = 3;
  121. bytes value = 4;
  122. bytes proof = 5;
  123. uint64 height = 6;
  124. string log = 7;
  125. }
  126. ```
  127. IMPROVEMENTS:
  128. - Updates to Makefile
  129. - Various cleanup
  130. - BaseApplication can be embedded by new apps to avoid implementing empty methods
  131. - Drop BlockchainAware and make BeginBlock/EndBlock part of the `type Application interface`
  132. ## 0.3.0 (January 12, 2017)
  133. BREAKING CHANGES:
  134. - TMSP is now ABCI (Application/Asynchronous/A BlockChain Interface or Atomic BroadCast Interface)
  135. - AppendTx is now DeliverTx (conforms to the literature)
  136. - BeginBlock takes a Header:
  137. ```
  138. message RequestBeginBlock{
  139. bytes hash = 1;
  140. Header header = 2;
  141. }
  142. ```
  143. - Info returns a ResponseInfo, containing last block height and app hash:
  144. ```
  145. message ResponseInfo {
  146. string data = 1;
  147. string version = 2;
  148. uint64 last_block_height = 3;
  149. bytes last_block_app_hash = 4;
  150. }
  151. ```
  152. - EndBlock returns a ResponseEndBlock, containing the changed validators:
  153. ```
  154. message ResponseEndBlock{
  155. repeated Validator diffs = 4;
  156. }
  157. ```
  158. - Hex strings are 0x-prefixed in the CLI
  159. - Query on the Dummy app now uses hex-strings
  160. FEATURES:
  161. - New app, PersistentDummy, uses Info/BeginBlock to recover from failures and supports validator set changes
  162. - New message types for blockchain data:
  163. ```
  164. //----------------------------------------
  165. // Blockchain Types
  166. message Header {
  167. string chain_id = 1;
  168. uint64 height = 2;
  169. uint64 time = 3;
  170. uint64 num_txs = 4;
  171. BlockID last_block_id = 5;
  172. bytes last_commit_hash = 6;
  173. bytes data_hash = 7;
  174. bytes validators_hash = 8;
  175. bytes app_hash = 9;
  176. }
  177. message BlockID {
  178. bytes hash = 1;
  179. PartSetHeader parts = 2;
  180. }
  181. message PartSetHeader {
  182. uint64 total = 1;
  183. bytes hash = 2;
  184. }
  185. message Validator {
  186. bytes pubKey = 1;
  187. uint64 power = 2;
  188. }
  189. ```
  190. - Add support for Query to Counter app
  191. IMPROVEMENT:
  192. - Don't exit the tmsp-cli console on bad args
  193. BUG FIXES:
  194. - Fix parsing in the Counter app to handle invalid transactions
  195. ## 0.2.1 (September 12, 2016)
  196. IMPROVEMENTS
  197. - Better error handling in console
  198. ## 0.2.0 (July 23, 2016)
  199. BREAKING CHANGES:
  200. - Use `oneof` types in protobuf
  201. FEATURES:
  202. - GRPC support
  203. ## PreHistory
  204. ##### Mar 26h, 2016
  205. * Introduce BeginBlock
  206. ##### Mar 6th, 2016
  207. * Added InitChain, EndBlock
  208. ##### Feb 14th, 2016
  209. * s/GetHash/Commit/g
  210. * Document Protobuf request/response fields
  211. ##### Jan 23th, 2016
  212. * Added CheckTx/Query ABCI message types
  213. * Added Result/Log fields to DeliverTx/CheckTx/SetOption
  214. * Removed Listener messages
  215. * Removed Code from ResponseSetOption and ResponseGetHash
  216. * Made examples BigEndian
  217. ##### Jan 12th, 2016
  218. * Added "RetCodeBadNonce = 0x06" return code
  219. ##### Jan 8th, 2016
  220. * Tendermint/ABCI now comes to consensus on the order first before DeliverTx.