mpb v5.2.1 Release Notes
Release Date: 2020-05-20 // almost 4 years ago-
๐ 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.
- func BarFillerMiddleware(middle func(BarFiller) BarFiller) BarOption