Releases: vbauerster/mpb
Releases · vbauerster/mpb
v7.0.5
v7.0.2
v7 released to support complex filler 'runes', see #86.
Breaking change:
Signature of NewBarFiller function has changed. If you never used that function before, it's safe to migrate to v7.
Related examples that use features of v7:
mexicanBar
spinTipBar
singleBar
v6.0.2
Removed:
- func BarStyle(style string) BarOption
- func BarReverse() BarOption
- func SpinnerStyle(frames []string) BarOption
- func TrimSpace() BarOption
To set bar style use BarFiller constructors.
Added:
v5.4.0
v5.3.0
Decorators added:
mpb v5.2.4
Fixed #73
mpb v5.2.3
Some optimization and minor fixes in cwriter package.
mpb v5.2.2
Fixed #68 and minor bug fixes.
mpb v5.2.1
New dependency on go-runewidth so decorators can use emoji or any double width runes, refer to complex example.
Added:
- func BarFillerMiddleware(middle func(BarFiller) BarFiller) BarOption
refer to suppressBar example. - decor.Statistics has new fields:
AvailableWidth
andRefill
.
Minor breaking change:
decor.Statistics
now passed by value in decor.Decorator and mpb.BarFiller interfaces. If you don't use custom decorators, you're not affected.
mpb v5.0.3
v5 introduces braking changes, new API: