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.

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