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.

365 lines
5.3 KiB

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