Releases: vbauerster/mpb
mpb 2.1.0
Huge update. Many bugs related to cancelation have been fixed.
Public API change:
removed:
- b.GetAppenders
- b.GetPrependers
modified signature:
- b.IncrWithReFill(n int, r *Refill)
deprecated method, use b.Complete():
- b.Completed()
mpb 2.0.7
Minor refactoring, which doesn't affect any API.
Add goreportcard to README
mpb 2.0.6
More Statistics fields:
type Statistics struct {
Completed bool
Total int64
Current int64
IncrAmount int64
StartTime time.Time
TimeElapsed time.Duration
TimePerItemEstimate time.Duration
}
mpb 2.0.5
License update to BSD 3-Clause
mpb 2.0.4
mpb 2.0.3
remove "log" dependency
minor performance improvement (not allocating new map, to maintain sequencing)
some refactoring
mpb 2.0.2
better ETA computation
minor fixes inside newWidthSync
mpb 2.0.1
Fixed bug, when bar size gets > than provided width.
Show Width Sync usage in Readme.
mpb 2.0.0
Incompatible API comparing to v1:
- parameterless constructor: p.New()
- new methods: p.WithCancel(); p.WithContext() both used for cancelation puproses.
- DecoratorFunc type signature changed to: func(*Statistics, chan<- int, <-chan int) string
- Signatures of all predefined decorators changed.
New Feature:
Dynamic Decorator's Width Sync: Sync width among decorator group (column)
mpb 1.1.3
(formatter) cleanup with greater test coverage. Thanks to @alevinval
(posix-writer) test coverage, simplify logic and faster clearLines(). Thanks to @alevinval