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.

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