Skip to content

Releases: vbauerster/mpb

mpb 2.1.0

23 May 11:54
Compare
Choose a tag to compare

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

15 May 08:47
Compare
Choose a tag to compare

Minor refactoring, which doesn't affect any API.
Add goreportcard to README

mpb 2.0.6

21 Apr 07:37
Compare
Choose a tag to compare

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

08 Apr 12:04
Compare
Choose a tag to compare

License update to BSD 3-Clause

mpb 2.0.4

31 Mar 07:14
Compare
Choose a tag to compare

Fix issue #7

Bug fixed:

  • Negative percentage display when total <= 0

mpb 2.0.3

12 Mar 18:53
Compare
Choose a tag to compare

remove "log" dependency
minor performance improvement (not allocating new map, to maintain sequencing)
some refactoring

mpb 2.0.2

11 Mar 09:27
Compare
Choose a tag to compare

better ETA computation
minor fixes inside newWidthSync

mpb 2.0.1

10 Mar 07:57
Compare
Choose a tag to compare

Fixed bug, when bar size gets > than provided width.
Show Width Sync usage in Readme.

mpb 2.0.0

08 Mar 13:58
Compare
Choose a tag to compare

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

08 Mar 13:23
Compare
Choose a tag to compare

(formatter) cleanup with greater test coverage. Thanks to @alevinval
(posix-writer) test coverage, simplify logic and faster clearLines(). Thanks to @alevinval