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.

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