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.

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