All Versions
Latest Version
Avg Release Cycle
9 days
Latest Release
1486 days ago

Changelog History

  • v0.8.0 Changes

    March 22, 2020

    🗄 Deprecations

    • 🗄 Config.Delay field is deprecated in favor of Frequency field
    • 🗄 *Spinner.Delay() method is deprecated in favor of Frequency() method
    • 🗄 *Spinner.Active() method is deprecated in favor of Status() 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 the Active method. This also introduces a new SpinnerStatus 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, 2020

    This 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
  • v0.5.0 Changes

    March 18, 2020
    • CharSets() 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, or StopFailColors 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.
  • 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 to Start() draws the spinner successfully