bitbucket.org/number571/tendermint@v0.8.14/libs/CHANGELOG.md (about) 1 # Changelog 2 3 ## 0.9.0 4 5 *June 24th, 2018* 6 7 BREAKING: 8 - [events, pubsub] Removed - moved to bitbucket.org/number571/tendermint 9 - [merkle] Use 20-bytes of SHA256 instead of RIPEMD160. NOTE: this package is 10 moving to github.com/tendermint/go-crypto ! 11 - [common] Remove gogoproto from KVPair types 12 - [common] Error simplification, #220 13 14 FEATURES: 15 16 - [db/remotedb] New DB type using an external CLevelDB process via 17 GRPC 18 - [autofile] logjack command for piping stdin to a rotating file 19 - [bech32] New package. NOTE: should move out of here - it's just two small 20 functions 21 - [common] ColoredBytes([]byte) string for printing mixed ascii and bytes 22 - [db] DebugDB uses ColoredBytes() 23 24 ## 0.8.4 25 26 *June 5, 2018* 27 28 IMPROVEMENTS: 29 30 - [autofile] Flush on Stop; Close() method to Flush and close file 31 32 ## 0.8.3 33 34 *May 21, 2018* 35 36 FEATURES: 37 38 - [common] ASCIITrim() 39 40 ## 0.8.2 (April 23rd, 2018) 41 42 FEATURES: 43 44 - [pubsub] TagMap, NewTagMap 45 - [merkle] SimpleProofsFromMap() 46 - [common] IsASCIIText() 47 - [common] PrefixEndBytes // e.g. increment or nil 48 - [common] BitArray.MarshalJSON/.UnmarshalJSON 49 - [common] BitArray uses 'x' not 'X' for String() and above. 50 - [db] DebugDB shows better colorized output 51 52 BUG FIXES: 53 54 - [common] Fix TestParallelAbort nondeterministic failure #201/#202 55 - [db] PrefixDB Iterator/ReverseIterator fixes 56 - [db] DebugDB fixes 57 58 ## 0.8.1 (April 5th, 2018) 59 60 FEATURES: 61 62 - [common] Error.Error() includes cause 63 - [common] IsEmpty() for 0 length 64 65 ## 0.8.0 (April 4th, 2018) 66 67 BREAKING: 68 69 - [merkle] `PutVarint->PutUvarint` in encodeByteSlice 70 - [db] batch.WriteSync() 71 - [common] Refactored and fixed `Parallel` function 72 - [common] Refactored `Rand` functionality 73 - [common] Remove unused `Right/LeftPadString` functions 74 - [common] Remove StackError, introduce Error interface (to replace use of pkg/errors) 75 76 FEATURES: 77 78 - [db] NewPrefixDB for a DB with all keys prefixed 79 - [db] NewDebugDB prints everything during operation 80 - [common] SplitAndTrim func 81 - [common] rand.Float64(), rand.Int63n(n), rand.Int31n(n) and global equivalents 82 - [common] HexBytes Format() 83 84 BUG FIXES: 85 86 - [pubsub] Fix unsubscribing 87 - [cli] Return config errors 88 - [common] Fix WriteFileAtomic Windows bug 89 90 ## 0.7.1 (March 22, 2018) 91 92 IMPROVEMENTS: 93 94 - glide -> dep 95 96 BUG FIXES: 97 98 - [common] Fix panic in NewBitArray for negative bits 99 - [common] Fix and simplify WriteFileAtomic so it cleans up properly 100 101 ## 0.7.0 (February 20, 2018) 102 103 BREAKING: 104 105 - [db] Major API upgrade. See `db/types.go`. 106 - [common] added `Quit() <-chan struct{}` to Service interface. 107 The returned channel is closed when service is stopped. 108 - [common] Remove HTTP functions 109 - [common] Heap.Push takes an `int`, new Heap.PushComparable takes the comparable. 110 - [logger] Removed. Use `log` 111 - [merkle] Major API updade - uses cmn.KVPairs. 112 - [cli] WriteDemoConfig -> WriteConfigValues 113 - [all] Remove go-wire dependency! 114 115 FEATURES: 116 117 - [db] New FSDB that uses the filesystem directly 118 - [common] HexBytes 119 - [common] KVPair and KI64Pair (protobuf based key-value pair objects) 120 121 IMPROVEMENTS: 122 123 - [clist] add WaitChan() to CList, NextWaitChan() and PrevWaitChan() 124 to CElement. These can be used instead of blocking `*Wait()` methods 125 if you need to be able to send quit signal and not block forever 126 - [common] IsHex handles 0x-prefix 127 128 BUG FIXES: 129 130 - [common] BitArray check for nil arguments 131 - [common] Fix memory leak in RepeatTimer 132 133 ## 0.6.0 (December 29, 2017) 134 135 BREAKING: 136 - [cli] remove --root 137 - [pubsub] add String() method to Query interface 138 139 IMPROVEMENTS: 140 - [common] use a thread-safe and well seeded non-crypto rng 141 142 BUG FIXES 143 - [clist] fix misuse of wait group 144 - [common] introduce Ticker interface and logicalTicker for better testing of timers 145 146 ## 0.5.0 (December 5, 2017) 147 148 BREAKING: 149 - [common] replace Service#Start, Service#Stop first return value (bool) with an 150 error (ErrAlreadyStarted, ErrAlreadyStopped) 151 - [common] replace Service#Reset first return value (bool) with an error 152 - [process] removed 153 154 FEATURES: 155 - [common] IntInSlice and StringInSlice functions 156 - [pubsub/query] introduce `Condition` struct, expose `Operator`, and add `query.Conditions()` 157 158 ## 0.4.1 (November 27, 2017) 159 160 FEATURES: 161 - [common] `Keys()` method on `CMap` 162 163 IMPROVEMENTS: 164 - [log] complex types now encoded as "%+v" by default if `String()` method is undefined (previously resulted in error) 165 - [log] logger logs its own errors 166 167 BUG FIXES: 168 - [common] fixed `Kill()` to build on Windows (Windows does not have `syscall.Kill`) 169 170 ## 0.4.0 (October 26, 2017) 171 172 BREAKING: 173 - [common] GoPath is now a function 174 - [db] `DB` and `Iterator` interfaces have new methods to better support iteration 175 176 FEATURES: 177 - [autofile] `Read([]byte)` and `Write([]byte)` methods on `Group` to support binary WAL 178 - [common] `Kill()` sends SIGTERM to the current process 179 180 IMPROVEMENTS: 181 - comments and linting 182 183 BUG FIXES: 184 - [events] fix allocation error prefixing cache with 1000 empty events 185 186 ## 0.3.2 (October 2, 2017) 187 188 BUG FIXES: 189 190 - [autofile] fix AutoFile.Sync() to open file if it's been closed 191 - [db] fix MemDb.Close() to not empty the database (ie. its just a noop) 192 193 194 ## 0.3.1 (September 22, 2017) 195 196 BUG FIXES: 197 198 - [common] fix WriteFileAtomic to not use /tmp, which can be on another device 199 200 ## 0.3.0 (September 22, 2017) 201 202 BREAKING CHANGES: 203 204 - [log] logger functions no longer returns an error 205 - [common] NewBaseService takes the new logger 206 - [cli] RunCaptureWithArgs now captures stderr and stdout 207 - +func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (stdout, stderr string, err error) 208 - -func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (output string, err error) 209 210 FEATURES: 211 212 - [common] various common HTTP functionality 213 - [common] Date range parsing from string (ex. "2015-12-31:2017-12-31") 214 - [common] ProtocolAndAddress function 215 - [pubsub] New package for publish-subscribe with more advanced filtering 216 217 BUG FIXES: 218 219 - [common] fix atomicity of WriteFileAtomic by calling fsync 220 - [db] fix memDb iteration index out of range 221 - [autofile] fix Flush by calling fsync 222 223 ## 0.2.2 (June 16, 2017) 224 225 FEATURES: 226 227 - [common] IsHex and StripHex for handling `0x` prefixed hex strings 228 - [log] NewTracingLogger returns a logger that output error traces, ala `github.com/pkg/errors` 229 230 IMPROVEMENTS: 231 232 - [cli] Error handling for tests 233 - [cli] Support dashes in ENV variables 234 235 BUG FIXES: 236 237 - [flowrate] Fix non-deterministic test failures 238 239 ## 0.2.1 (June 2, 2017) 240 241 FEATURES: 242 243 - [cli] Log level parsing moved here from tendermint repo 244 245 ## 0.2.0 (May 18, 2017) 246 247 BREAKING CHANGES: 248 249 - [common] NewBaseService takes the new logger 250 251 252 FEATURES: 253 254 - [cli] New library to standardize building command line tools 255 - [log] New logging library 256 257 BUG FIXES: 258 259 - [autofile] Close file before rotating 260 261 ## 0.1.0 (May 1, 2017) 262 263 Initial release, combines what were previously independent repos: 264 265 - go-autofile 266 - go-clist 267 - go-common 268 - go-db 269 - go-events 270 - go-flowrate 271 - go-logger 272 - go-merkle 273 - go-process 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438