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.

409 lines
6.2 KiB

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