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.

418 lines
6.4 KiB

8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
7 years ago
8 years ago
8 years ago
  1. # Changelog
  2. ## 0.9.0
  3. *TBD*
  4. BREAKING:
  5. ## 0.8.3
  6. *May 21, 2018*
  7. FEATURES:
  8. - [db/remotedb] New DB type using an external CLevelDB process via
  9. GRPC
  10. - [autofile] logjack command for piping stdin to a rotating file
  11. - [common] ASCIITrim()
  12. ## 0.8.2 (April 23rd, 2018)
  13. FEATURES:
  14. - [pubsub] TagMap, NewTagMap
  15. - [merkle] SimpleProofsFromMap()
  16. - [common] IsASCIIText()
  17. - [common] PrefixEndBytes // e.g. increment or nil
  18. - [common] BitArray.MarshalJSON/.UnmarshalJSON
  19. - [common] BitArray uses 'x' not 'X' for String() and above.
  20. - [db] DebugDB shows better colorized output
  21. BUG FIXES:
  22. - [common] Fix TestParallelAbort nondeterministic failure #201/#202
  23. - [db] PrefixDB Iterator/ReverseIterator fixes
  24. - [db] DebugDB fixes
  25. ## 0.8.1 (April 5th, 2018)
  26. FEATURES:
  27. - [common] Error.Error() includes cause
  28. - [common] IsEmpty() for 0 length
  29. ## 0.8.0 (April 4th, 2018)
  30. BREAKING:
  31. - [merkle] `PutVarint->PutUvarint` in encodeByteSlice
  32. - [db] batch.WriteSync()
  33. - [common] Refactored and fixed `Parallel` function
  34. - [common] Refactored `Rand` functionality
  35. - [common] Remove unused `Right/LeftPadString` functions
  36. - [common] Remove StackError, introduce Error interface (to replace use of pkg/errors)
  37. FEATURES:
  38. - [db] NewPrefixDB for a DB with all keys prefixed
  39. - [db] NewDebugDB prints everything during operation
  40. - [common] SplitAndTrim func
  41. - [common] rand.Float64(), rand.Int63n(n), rand.Int31n(n) and global equivalents
  42. - [common] HexBytes Format()
  43. BUG FIXES:
  44. - [pubsub] Fix unsubscribing
  45. - [cli] Return config errors
  46. - [common] Fix WriteFileAtomic Windows bug
  47. ## 0.7.1 (March 22, 2018)
  48. IMPROVEMENTS:
  49. - glide -> dep
  50. BUG FIXES:
  51. - [common] Fix panic in NewBitArray for negative bits
  52. - [common] Fix and simplify WriteFileAtomic so it cleans up properly
  53. ## 0.7.0 (February 20, 2018)
  54. BREAKING:
  55. - [db] Major API upgrade. See `db/types.go`.
  56. - [common] added `Quit() <-chan struct{}` to Service interface.
  57. The returned channel is closed when service is stopped.
  58. - [common] Remove HTTP functions
  59. - [common] Heap.Push takes an `int`, new Heap.PushComparable takes the comparable.
  60. - [logger] Removed. Use `log`
  61. - [merkle] Major API updade - uses cmn.KVPairs.
  62. - [cli] WriteDemoConfig -> WriteConfigValues
  63. - [all] Remove go-wire dependency!
  64. FEATURES:
  65. - [db] New FSDB that uses the filesystem directly
  66. - [common] HexBytes
  67. - [common] KVPair and KI64Pair (protobuf based key-value pair objects)
  68. IMPROVEMENTS:
  69. - [clist] add WaitChan() to CList, NextWaitChan() and PrevWaitChan()
  70. to CElement. These can be used instead of blocking `*Wait()` methods
  71. if you need to be able to send quit signal and not block forever
  72. - [common] IsHex handles 0x-prefix
  73. BUG FIXES:
  74. - [common] BitArray check for nil arguments
  75. - [common] Fix memory leak in RepeatTimer
  76. ## 0.6.0 (December 29, 2017)
  77. BREAKING:
  78. - [cli] remove --root
  79. - [pubsub] add String() method to Query interface
  80. IMPROVEMENTS:
  81. - [common] use a thread-safe and well seeded non-crypto rng
  82. BUG FIXES
  83. - [clist] fix misuse of wait group
  84. - [common] introduce Ticker interface and logicalTicker for better testing of timers
  85. ## 0.5.0 (December 5, 2017)
  86. BREAKING:
  87. - [common] replace Service#Start, Service#Stop first return value (bool) with an
  88. error (ErrAlreadyStarted, ErrAlreadyStopped)
  89. - [common] replace Service#Reset first return value (bool) with an error
  90. - [process] removed
  91. FEATURES:
  92. - [common] IntInSlice and StringInSlice functions
  93. - [pubsub/query] introduce `Condition` struct, expose `Operator`, and add `query.Conditions()`
  94. ## 0.4.1 (November 27, 2017)
  95. FEATURES:
  96. - [common] `Keys()` method on `CMap`
  97. IMPROVEMENTS:
  98. - [log] complex types now encoded as "%+v" by default if `String()` method is undefined (previously resulted in error)
  99. - [log] logger logs its own errors
  100. BUG FIXES:
  101. - [common] fixed `Kill()` to build on Windows (Windows does not have `syscall.Kill`)
  102. ## 0.4.0 (October 26, 2017)
  103. BREAKING:
  104. - [common] GoPath is now a function
  105. - [db] `DB` and `Iterator` interfaces have new methods to better support iteration
  106. FEATURES:
  107. - [autofile] `Read([]byte)` and `Write([]byte)` methods on `Group` to support binary WAL
  108. - [common] `Kill()` sends SIGTERM to the current process
  109. IMPROVEMENTS:
  110. - comments and linting
  111. BUG FIXES:
  112. - [events] fix allocation error prefixing cache with 1000 empty events
  113. ## 0.3.2 (October 2, 2017)
  114. BUG FIXES:
  115. - [autofile] fix AutoFile.Sync() to open file if it's been closed
  116. - [db] fix MemDb.Close() to not empty the database (ie. its just a noop)
  117. ## 0.3.1 (September 22, 2017)
  118. BUG FIXES:
  119. - [common] fix WriteFileAtomic to not use /tmp, which can be on another device
  120. ## 0.3.0 (September 22, 2017)
  121. BREAKING CHANGES:
  122. - [log] logger functions no longer returns an error
  123. - [common] NewBaseService takes the new logger
  124. - [cli] RunCaptureWithArgs now captures stderr and stdout
  125. - +func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (stdout, stderr string, err error)
  126. - -func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (output string, err error)
  127. FEATURES:
  128. - [common] various common HTTP functionality
  129. - [common] Date range parsing from string (ex. "2015-12-31:2017-12-31")
  130. - [common] ProtocolAndAddress function
  131. - [pubsub] New package for publish-subscribe with more advanced filtering
  132. BUG FIXES:
  133. - [common] fix atomicity of WriteFileAtomic by calling fsync
  134. - [db] fix memDb iteration index out of range
  135. - [autofile] fix Flush by calling fsync
  136. ## 0.2.2 (June 16, 2017)
  137. FEATURES:
  138. - [common] IsHex and StripHex for handling `0x` prefixed hex strings
  139. - [log] NewTracingLogger returns a logger that output error traces, ala `github.com/pkg/errors`
  140. IMPROVEMENTS:
  141. - [cli] Error handling for tests
  142. - [cli] Support dashes in ENV variables
  143. BUG FIXES:
  144. - [flowrate] Fix non-deterministic test failures
  145. ## 0.2.1 (June 2, 2017)
  146. FEATURES:
  147. - [cli] Log level parsing moved here from tendermint repo
  148. ## 0.2.0 (May 18, 2017)
  149. BREAKING CHANGES:
  150. - [common] NewBaseService takes the new logger
  151. FEATURES:
  152. - [cli] New library to standardize building command line tools
  153. - [log] New logging library
  154. BUG FIXES:
  155. - [autofile] Close file before rotating
  156. ## 0.1.0 (May 1, 2017)
  157. Initial release, combines what were previously independent repos:
  158. - go-autofile
  159. - go-clist
  160. - go-common
  161. - go-db
  162. - go-events
  163. - go-flowrate
  164. - go-logger
  165. - go-merkle
  166. - go-process