Releases: vbauerster/mpb
Releases · vbauerster/mpb
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:
mpb v4.12.1
mpb v4.11.0
Added:
Method func (b *Bar) ProxyReader(r io.Reader) io.ReadCloser now checks if provided reader implements io.WriterTo
interface. If it is, then underlying proxy reader exposes WriteTo(io.Writer)
method to improve copy performance. Thanks to @donny-dont for pointing this out in #52.
mpb v4.10.0
Added:
- func NewBarFiller(style string, reverse bool) Filler
- func NewSpinnerFiller(style []string, alignment SpinnerAlignment) Filler
- type BaseFiller
- func BarOnComplete(message string) BarOption
Removed:
- func BarNoBrackets() BarOption
to achieve the same use:
mpb.TrimSpace(),
mpb.BarStyle(" =>- "),
mpb v4.9.0
mpb v4.8.0
Added: