yacspin v0.8.0 Release Notes
Release Date: 2020-03-22 // about 5 years ago-
๐ Deprecations
- ๐
Config.Delay
field is deprecated in favor ofFrequency
field - ๐
*Spinner.Delay()
method is deprecated in favor ofFrequency()
method - ๐
*Spinner.Active()
method is deprecated in favor ofStatus()
method
๐ New Features
- โก๏ธ Data / Config updates to a running spinner are applied immediately, instead of
โก๏ธ waiting for next spinner animation. This means data is live-updating. - โ Added ability to pause/unpause a spinner so that you can make the Data /
Config changes from the previous bullet point, and have that change appear
atomic (i.e., don't render partially applied settings) - You can now call the
Status
method on its spinner to get the current status
of the internal state machine. This replaces and provides more functionality
than theActive
method. This also introduces a newSpinnerStatus
type and
associated constants
๐ Bug Fixes
- ๐ Fix pipe (
|
) animation to render smoothly, was missing one frame - ๐ Fix some concurrency issues/data races that likely were benign
- ๐
Previous changes from v0.7.0
-
๐ This uses the same behaviors as for Windows systems when the TERM environment variable is set to
dumb
.