All Versions
10
Latest Version
Avg Release Cycle
9 days
Latest Release
1489 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