yacspin v0.8.0 Release Notes

Release Date: 2020-03-22 // about 4 years ago
  • ๐Ÿ—„ 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

Previous changes from v0.7.0

  • ๐Ÿ This uses the same behaviors as for Windows systems when the TERM environment variable is set to dumb.