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.

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