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.

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