All Versions
10
Latest Version
Avg Release Cycle
9 days
Latest Release
1166 days ago
Changelog History
Changelog History
-
v0.8.0 Changes
March 22, 2020๐ 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
- ๐
-
v0.7.0 Changes
March 18, 2020๐ This uses the same behaviors as for Windows systems when the TERM environment variable is set to
dumb
. -
v0.6.0 Changes
March 18, 2020This releae adds two major features:
- ๐ง This adds a new configuration option,
SuffixAutoColon
, which puts a colon
after the suffix if there's a message - โ Add better support for printing (clearing) the line for Windows terminals
- ๐ง This adds a new configuration option,
-
v0.5.0 Changes
March 18, 2020CharSets()
method now returns an error- ๐จ When printing the suffix, a
:
isn't implicitly added - โก๏ธ When updating the refresh delay, the painter can be preempted if the delay is
shorter and should trigger a paint - ๐ Has many fixes to make the spinner safer for concurrent modification, while
making the internal implementation simpler
-
v0.4.0 Changes
December 30, 2019- โก๏ธ make painting loop preemptible, providing better behaviors for updates to the delay duration and stopping the spinnner
-
v0.3.0 Changes
December 30, 2019- โ add Config.HideCursor bool field for having the spinner hide the cursor when running
-
v0.2.0 Changes
December 29, 2019- โ add
StopFail()
method and associated Config fields and configuration methods to support failure stop scenario (for different character, colors, and message) - If no color specified for
Colors
,StopColors
, orStopFailColors
don't assume we want a color (even if just white). - ๐ No longer generate CharSets 37 and 38 at runtime; make them part of the literal so users can see them in the documentation.
- โ add
-
v0.1.3 Changes
December 29, 2019- reset index to 0 when reversing charset, to ensure it is painted properly
-
v0.1.2 Changes
December 29, 2019- ๐ move line erase to immediately before the paint of the next one, to reduce time in between
-
v0.1.1 Changes
December 29, 2019- reset internal spinner index on
Stop()
, so that a following call toStart()
draws the spinner successfully
- reset internal spinner index on