2017-05-15 09:09:42 -04:00
|
|
|
# Changelog
|
|
|
|
|
2018-05-21 21:40:07 -04:00
|
|
|
## 0.9.0
|
|
|
|
|
2018-06-24 19:40:24 -07:00
|
|
|
*June 24th, 2018*
|
2018-05-21 21:40:07 -04:00
|
|
|
|
|
|
|
BREAKING:
|
2018-06-05 21:50:03 -07:00
|
|
|
- [events, pubsub] Removed - moved to github.com/tendermint/tendermint
|
|
|
|
- [merkle] Use 20-bytes of SHA256 instead of RIPEMD160. NOTE: this package is
|
|
|
|
moving to github.com/tendermint/go-crypto !
|
|
|
|
- [common] Remove gogoproto from KVPair types
|
2018-06-13 23:33:39 -07:00
|
|
|
- [common] Error simplification, #220
|
2018-06-05 21:50:03 -07:00
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [db/remotedb] New DB type using an external CLevelDB process via
|
|
|
|
GRPC
|
|
|
|
- [autofile] logjack command for piping stdin to a rotating file
|
|
|
|
- [bech32] New package. NOTE: should move out of here - it's just two small
|
|
|
|
functions
|
2018-06-13 23:33:39 -07:00
|
|
|
- [common] ColoredBytes([]byte) string for printing mixed ascii and bytes
|
|
|
|
- [db] DebugDB uses ColoredBytes()
|
2018-05-21 21:40:07 -04:00
|
|
|
|
2018-06-05 17:12:33 -07:00
|
|
|
## 0.8.4
|
|
|
|
|
|
|
|
*June 5, 2018*
|
|
|
|
|
|
|
|
IMPROVEMENTS:
|
|
|
|
|
|
|
|
- [autofile] Flush on Stop; Close() method to Flush and close file
|
|
|
|
|
2018-05-21 21:38:02 -04:00
|
|
|
## 0.8.3
|
|
|
|
|
|
|
|
*May 21, 2018*
|
2018-04-23 02:36:49 -07:00
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [common] ASCIITrim()
|
|
|
|
|
2018-04-23 09:16:05 +02:00
|
|
|
## 0.8.2 (April 23rd, 2018)
|
2018-04-21 04:25:45 -07:00
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
2018-04-23 09:16:05 +02:00
|
|
|
- [pubsub] TagMap, NewTagMap
|
|
|
|
- [merkle] SimpleProofsFromMap()
|
|
|
|
- [common] IsASCIIText()
|
|
|
|
- [common] PrefixEndBytes // e.g. increment or nil
|
|
|
|
- [common] BitArray.MarshalJSON/.UnmarshalJSON
|
|
|
|
- [common] BitArray uses 'x' not 'X' for String() and above.
|
2018-04-21 04:25:45 -07:00
|
|
|
- [db] DebugDB shows better colorized output
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
2018-04-23 09:16:05 +02:00
|
|
|
- [common] Fix TestParallelAbort nondeterministic failure #201/#202
|
2018-04-21 04:25:45 -07:00
|
|
|
- [db] PrefixDB Iterator/ReverseIterator fixes
|
|
|
|
- [db] DebugDB fixes
|
|
|
|
|
2018-04-09 15:51:54 +03:00
|
|
|
## 0.8.1 (April 5th, 2018)
|
2018-04-04 13:43:19 -07:00
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [common] Error.Error() includes cause
|
2018-04-05 03:12:21 -07:00
|
|
|
- [common] IsEmpty() for 0 length
|
2018-04-04 13:43:19 -07:00
|
|
|
|
2018-04-09 15:51:54 +03:00
|
|
|
## 0.8.0 (April 4th, 2018)
|
2018-03-21 05:15:30 +01:00
|
|
|
|
|
|
|
BREAKING:
|
|
|
|
|
2018-03-22 13:55:55 -04:00
|
|
|
- [merkle] `PutVarint->PutUvarint` in encodeByteSlice
|
2018-03-21 05:15:30 +01:00
|
|
|
- [db] batch.WriteSync()
|
2018-03-22 13:55:55 -04:00
|
|
|
- [common] Refactored and fixed `Parallel` function
|
|
|
|
- [common] Refactored `Rand` functionality
|
|
|
|
- [common] Remove unused `Right/LeftPadString` functions
|
2018-03-31 19:36:05 +03:00
|
|
|
- [common] Remove StackError, introduce Error interface (to replace use of pkg/errors)
|
2018-03-21 05:15:30 +01:00
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [db] NewPrefixDB for a DB with all keys prefixed
|
2018-03-22 13:55:55 -04:00
|
|
|
- [db] NewDebugDB prints everything during operation
|
2018-03-31 19:36:05 +03:00
|
|
|
- [common] SplitAndTrim func
|
2018-04-04 12:30:13 -07:00
|
|
|
- [common] rand.Float64(), rand.Int63n(n), rand.Int31n(n) and global equivalents
|
|
|
|
- [common] HexBytes Format()
|
2018-03-31 19:36:05 +03:00
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
|
|
|
- [pubsub] Fix unsubscribing
|
|
|
|
- [cli] Return config errors
|
2018-04-03 16:23:41 +03:00
|
|
|
- [common] Fix WriteFileAtomic Windows bug
|
2018-03-31 19:36:05 +03:00
|
|
|
|
2018-03-22 19:33:10 -04:00
|
|
|
## 0.7.1 (March 22, 2018)
|
2018-03-21 05:15:30 +01:00
|
|
|
|
|
|
|
IMPROVEMENTS:
|
|
|
|
|
|
|
|
- glide -> dep
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
2018-03-22 13:55:55 -04:00
|
|
|
- [common] Fix panic in NewBitArray for negative bits
|
|
|
|
- [common] Fix and simplify WriteFileAtomic so it cleans up properly
|
2018-03-21 05:15:30 +01:00
|
|
|
|
2018-02-20 22:00:20 -05:00
|
|
|
## 0.7.0 (February 20, 2018)
|
2018-01-18 22:56:36 -05:00
|
|
|
|
|
|
|
BREAKING:
|
|
|
|
|
2018-02-19 17:05:36 -05:00
|
|
|
- [db] Major API upgrade. See `db/types.go`.
|
|
|
|
- [common] added `Quit() <-chan struct{}` to Service interface.
|
|
|
|
The returned channel is closed when service is stopped.
|
|
|
|
- [common] Remove HTTP functions
|
|
|
|
- [common] Heap.Push takes an `int`, new Heap.PushComparable takes the comparable.
|
|
|
|
- [logger] Removed. Use `log`
|
|
|
|
- [merkle] Major API updade - uses cmn.KVPairs.
|
2018-01-18 22:56:36 -05:00
|
|
|
- [cli] WriteDemoConfig -> WriteConfigValues
|
2018-02-19 17:05:36 -05:00
|
|
|
- [all] Remove go-wire dependency!
|
2018-01-18 22:56:36 -05:00
|
|
|
|
2018-02-19 17:05:36 -05:00
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [db] New FSDB that uses the filesystem directly
|
|
|
|
- [common] HexBytes
|
|
|
|
- [common] KVPair and KI64Pair (protobuf based key-value pair objects)
|
2018-01-31 12:13:59 +04:00
|
|
|
|
|
|
|
IMPROVEMENTS:
|
2018-02-19 17:05:36 -05:00
|
|
|
|
2018-01-31 12:13:59 +04:00
|
|
|
- [clist] add WaitChan() to CList, NextWaitChan() and PrevWaitChan()
|
2018-02-19 17:05:36 -05:00
|
|
|
to CElement. These can be used instead of blocking `*Wait()` methods
|
2018-01-31 12:13:59 +04:00
|
|
|
if you need to be able to send quit signal and not block forever
|
2018-02-19 17:05:36 -05:00
|
|
|
- [common] IsHex handles 0x-prefix
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
|
|
|
- [common] BitArray check for nil arguments
|
|
|
|
- [common] Fix memory leak in RepeatTimer
|
2018-01-31 12:13:59 +04:00
|
|
|
|
2017-12-29 11:01:37 -05:00
|
|
|
## 0.6.0 (December 29, 2017)
|
|
|
|
|
|
|
|
BREAKING:
|
|
|
|
- [cli] remove --root
|
|
|
|
- [pubsub] add String() method to Query interface
|
|
|
|
|
|
|
|
IMPROVEMENTS:
|
|
|
|
- [common] use a thread-safe and well seeded non-crypto rng
|
|
|
|
|
|
|
|
BUG FIXES
|
|
|
|
- [clist] fix misuse of wait group
|
|
|
|
- [common] introduce Ticker interface and logicalTicker for better testing of timers
|
|
|
|
|
2017-12-05 18:04:07 -06:00
|
|
|
## 0.5.0 (December 5, 2017)
|
|
|
|
|
|
|
|
BREAKING:
|
2017-12-06 02:05:57 -05:00
|
|
|
- [common] replace Service#Start, Service#Stop first return value (bool) with an
|
2017-12-05 18:04:07 -06:00
|
|
|
error (ErrAlreadyStarted, ErrAlreadyStopped)
|
2017-12-06 02:05:57 -05:00
|
|
|
- [common] replace Service#Reset first return value (bool) with an error
|
2017-12-05 18:04:07 -06:00
|
|
|
- [process] removed
|
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
- [common] IntInSlice and StringInSlice functions
|
2017-12-06 02:05:57 -05:00
|
|
|
- [pubsub/query] introduce `Condition` struct, expose `Operator`, and add `query.Conditions()`
|
2017-12-05 18:04:07 -06:00
|
|
|
|
2017-11-27 21:37:15 -06:00
|
|
|
## 0.4.1 (November 27, 2017)
|
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
- [common] `Keys()` method on `CMap`
|
|
|
|
|
|
|
|
IMPROVEMENTS:
|
|
|
|
- [log] complex types now encoded as "%+v" by default if `String()` method is undefined (previously resulted in error)
|
|
|
|
- [log] logger logs its own errors
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
- [common] fixed `Kill()` to build on Windows (Windows does not have `syscall.Kill`)
|
|
|
|
|
2017-10-26 20:57:33 -04:00
|
|
|
## 0.4.0 (October 26, 2017)
|
|
|
|
|
|
|
|
BREAKING:
|
|
|
|
- [common] GoPath is now a function
|
|
|
|
- [db] `DB` and `Iterator` interfaces have new methods to better support iteration
|
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
- [autofile] `Read([]byte)` and `Write([]byte)` methods on `Group` to support binary WAL
|
2017-10-27 11:52:10 -04:00
|
|
|
- [common] `Kill()` sends SIGTERM to the current process
|
2017-10-26 20:57:33 -04:00
|
|
|
|
|
|
|
IMPROVEMENTS:
|
|
|
|
- comments and linting
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
- [events] fix allocation error prefixing cache with 1000 empty events
|
|
|
|
|
2017-10-02 23:26:45 -04:00
|
|
|
## 0.3.2 (October 2, 2017)
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
|
|
|
- [autofile] fix AutoFile.Sync() to open file if it's been closed
|
|
|
|
- [db] fix MemDb.Close() to not empty the database (ie. its just a noop)
|
|
|
|
|
|
|
|
|
2017-09-22 13:22:02 -04:00
|
|
|
## 0.3.1 (September 22, 2017)
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
|
|
|
- [common] fix WriteFileAtomic to not use /tmp, which can be on another device
|
|
|
|
|
2017-09-22 09:38:58 -04:00
|
|
|
## 0.3.0 (September 22, 2017)
|
2017-06-17 18:35:05 -04:00
|
|
|
|
|
|
|
BREAKING CHANGES:
|
|
|
|
|
2017-09-18 18:06:10 -07:00
|
|
|
- [log] logger functions no longer returns an error
|
2017-08-25 16:58:37 -04:00
|
|
|
- [common] NewBaseService takes the new logger
|
2017-06-20 16:40:32 -04:00
|
|
|
- [cli] RunCaptureWithArgs now captures stderr and stdout
|
|
|
|
- +func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (stdout, stderr string, err error)
|
2017-09-18 18:06:10 -07:00
|
|
|
- -func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (output string, err error)
|
2017-06-17 18:35:05 -04:00
|
|
|
|
2017-06-20 17:18:55 -04:00
|
|
|
FEATURES:
|
|
|
|
|
2017-08-25 16:58:37 -04:00
|
|
|
- [common] various common HTTP functionality
|
2017-09-18 18:06:10 -07:00
|
|
|
- [common] Date range parsing from string (ex. "2015-12-31:2017-12-31")
|
2017-09-22 09:38:58 -04:00
|
|
|
- [common] ProtocolAndAddress function
|
2017-08-25 16:58:37 -04:00
|
|
|
- [pubsub] New package for publish-subscribe with more advanced filtering
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
|
|
|
- [common] fix atomicity of WriteFileAtomic by calling fsync
|
|
|
|
- [db] fix memDb iteration index out of range
|
2017-09-22 09:38:58 -04:00
|
|
|
- [autofile] fix Flush by calling fsync
|
2017-06-20 17:18:55 -04:00
|
|
|
|
2017-06-16 11:40:14 -04:00
|
|
|
## 0.2.2 (June 16, 2017)
|
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [common] IsHex and StripHex for handling `0x` prefixed hex strings
|
|
|
|
- [log] NewTracingLogger returns a logger that output error traces, ala `github.com/pkg/errors`
|
|
|
|
|
|
|
|
IMPROVEMENTS:
|
|
|
|
|
|
|
|
- [cli] Error handling for tests
|
2017-09-18 18:06:10 -07:00
|
|
|
- [cli] Support dashes in ENV variables
|
2017-06-16 11:40:14 -04:00
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
|
|
|
- [flowrate] Fix non-deterministic test failures
|
|
|
|
|
2017-06-02 11:55:43 +03:00
|
|
|
## 0.2.1 (June 2, 2017)
|
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [cli] Log level parsing moved here from tendermint repo
|
|
|
|
|
2017-05-18 11:27:26 +02:00
|
|
|
## 0.2.0 (May 18, 2017)
|
2017-05-15 09:09:42 -04:00
|
|
|
|
|
|
|
BREAKING CHANGES:
|
|
|
|
|
|
|
|
- [common] NewBaseService takes the new logger
|
|
|
|
|
|
|
|
|
|
|
|
FEATURES:
|
|
|
|
|
|
|
|
- [cli] New library to standardize building command line tools
|
|
|
|
- [log] New logging library
|
|
|
|
|
|
|
|
BUG FIXES:
|
|
|
|
|
2017-06-02 11:55:43 +03:00
|
|
|
- [autofile] Close file before rotating
|
2017-05-15 09:09:42 -04:00
|
|
|
|
|
|
|
## 0.1.0 (May 1, 2017)
|
|
|
|
|
|
|
|
Initial release, combines what were previously independent repos:
|
|
|
|
|
|
|
|
- go-autofile
|
|
|
|
- go-clist
|
|
|
|
- go-common
|
|
|
|
- go-db
|
|
|
|
- go-events
|
|
|
|
- go-flowrate
|
|
|
|
- go-logger
|
|
|
|
- go-merkle
|
|
|
|
- go-process
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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