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.

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