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.

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