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.

308 lines
3.7 KiB

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.6.0 (December 29, 2017)
  3. BREAKING:
  4. - [cli] remove --root
  5. - [pubsub] add String() method to Query interface
  6. IMPROVEMENTS:
  7. - [common] use a thread-safe and well seeded non-crypto rng
  8. BUG FIXES
  9. - [clist] fix misuse of wait group
  10. - [common] introduce Ticker interface and logicalTicker for better testing of timers
  11. ## 0.5.0 (December 5, 2017)
  12. BREAKING:
  13. - [common] replace Service#Start, Service#Stop first return value (bool) with an
  14. error (ErrAlreadyStarted, ErrAlreadyStopped)
  15. - [common] replace Service#Reset first return value (bool) with an error
  16. - [process] removed
  17. FEATURES:
  18. - [common] IntInSlice and StringInSlice functions
  19. - [pubsub/query] introduce `Condition` struct, expose `Operator`, and add `query.Conditions()`
  20. ## 0.4.1 (November 27, 2017)
  21. FEATURES:
  22. - [common] `Keys()` method on `CMap`
  23. IMPROVEMENTS:
  24. - [log] complex types now encoded as "%+v" by default if `String()` method is undefined (previously resulted in error)
  25. - [log] logger logs its own errors
  26. BUG FIXES:
  27. - [common] fixed `Kill()` to build on Windows (Windows does not have `syscall.Kill`)
  28. ## 0.4.0 (October 26, 2017)
  29. BREAKING:
  30. - [common] GoPath is now a function
  31. - [db] `DB` and `Iterator` interfaces have new methods to better support iteration
  32. FEATURES:
  33. - [autofile] `Read([]byte)` and `Write([]byte)` methods on `Group` to support binary WAL
  34. - [common] `Kill()` sends SIGTERM to the current process
  35. IMPROVEMENTS:
  36. - comments and linting
  37. BUG FIXES:
  38. - [events] fix allocation error prefixing cache with 1000 empty events
  39. ## 0.3.2 (October 2, 2017)
  40. BUG FIXES:
  41. - [autofile] fix AutoFile.Sync() to open file if it's been closed
  42. - [db] fix MemDb.Close() to not empty the database (ie. its just a noop)
  43. ## 0.3.1 (September 22, 2017)
  44. BUG FIXES:
  45. - [common] fix WriteFileAtomic to not use /tmp, which can be on another device
  46. ## 0.3.0 (September 22, 2017)
  47. BREAKING CHANGES:
  48. - [log] logger functions no longer returns an error
  49. - [common] NewBaseService takes the new logger
  50. - [cli] RunCaptureWithArgs now captures stderr and stdout
  51. - +func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (stdout, stderr string, err error)
  52. - -func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (output string, err error)
  53. FEATURES:
  54. - [common] various common HTTP functionality
  55. - [common] Date range parsing from string (ex. "2015-12-31:2017-12-31")
  56. - [common] ProtocolAndAddress function
  57. - [pubsub] New package for publish-subscribe with more advanced filtering
  58. BUG FIXES:
  59. - [common] fix atomicity of WriteFileAtomic by calling fsync
  60. - [db] fix memDb iteration index out of range
  61. - [autofile] fix Flush by calling fsync
  62. ## 0.2.2 (June 16, 2017)
  63. FEATURES:
  64. - [common] IsHex and StripHex for handling `0x` prefixed hex strings
  65. - [log] NewTracingLogger returns a logger that output error traces, ala `github.com/pkg/errors`
  66. IMPROVEMENTS:
  67. - [cli] Error handling for tests
  68. - [cli] Support dashes in ENV variables
  69. BUG FIXES:
  70. - [flowrate] Fix non-deterministic test failures
  71. ## 0.2.1 (June 2, 2017)
  72. FEATURES:
  73. - [cli] Log level parsing moved here from tendermint repo
  74. ## 0.2.0 (May 18, 2017)
  75. BREAKING CHANGES:
  76. - [common] NewBaseService takes the new logger
  77. FEATURES:
  78. - [cli] New library to standardize building command line tools
  79. - [log] New logging library
  80. BUG FIXES:
  81. - [autofile] Close file before rotating
  82. ## 0.1.0 (May 1, 2017)
  83. Initial release, combines what were previously independent repos:
  84. - go-autofile
  85. - go-clist
  86. - go-common
  87. - go-db
  88. - go-events
  89. - go-flowrate
  90. - go-logger
  91. - go-merkle
  92. - go-process