All Versions
27
Latest Version
Avg Release Cycle
157 days
Latest Release
960 days ago

Changelog History
Page 1

  • v4.1.1 Changes

    September 01, 2021

    🔄 Changed

    • 📦 Set package type to module to better support native ES module imports.
    • 👌 Improved website design.
  • v4.1.0 Changes

    October 22, 2019

    ➕ Added

    • spinner-line-shrink animation preset.
  • v4.0.0 Changes

    May 06, 2018

    🔄 Changed

    • Switched from requestAnimationFrame back to CSS keyframe animations 🐎 for better performance.
    • In order to preserve compatibility with the 💅 style-src 'self'; Content Security Policy, animations are now defined via an external CSS file rather than inserted dynamically.

    ➕ Add the following to your page to use one of the preset animations:

    <link rel="stylesheet" href="node_modules/spin.js/spin.css"/>
    

    You can also define custom opacity animations in your own CSS file and select them via the animation option.

    🛠 Fixed

    • 0️⃣ A transparent shadow is now set by default to resolve aliased lines in 💻 certain browsers (issue [#355]).

    ✂ Removed

    • opacity and trail options (define a custom opacity animation instead).
    • 👌 Support for Internet Explorer 9 (it doesn't support keyframe animations).
    • fps option (only used for IE 9).
  • v3.1.0 Changes

    November 26, 2017

    ➕ Added

    • 👌 Support for custom box-shadows with corrected positioning (issue [#35]).
    • fadeColor option to customize the color that lines fade to (issue [#30]).
  • v3.0.0 Changes

    November 09, 2017

    ➕ Added

    • 👌 Support for Content Security Policy style-src 'self'; option (issue [#115] and issue [#229]).
    • [CONTRIBUTING.md](CONTRIBUTING.md) file.

    🔄 Changed

    • Rewritten in TypeScript.
    • Replaced dynamic CSS keyframe animations with requestAnimationFrame.
    • 💻 Unified animation logic in all browsers.
    • 🚚 Moved internal functions out of Spinner instance.
    • Website now uses native range inputs rather than a polyfill, and doesn't depend on jQuery.
    • Distributed as a standard ES6 module (closes [#341]).

    🛠 Fixed

    • Janky animation appearance in Microsoft Edge (issue [#342]).
    • Missing line with trail set to 100 in Internet Explorer (issue [#327]).
    • Spinner is not defined error in Angular (issue [#340]).

    ✂ Removed

    • 👉 Useless hwaccel option.
    • 👍 IE 6-8 support and VML fallback since it isn't needed for IE 9+.
    • Minified files from bundle.
    • 🔌 jQuery plugin (closes [#325]).
    • 👍 Bower/composer/component/spm support. Install from npm instead (recommended), or save spin.js file in your repo.

    Note: version 3.0 does not change the public Spinner API, so if you are ⬆️ already using a module bundler such as Webpack or Rollup, upgrading should be as easy as adding the following ES6 module import:

    import {Spinner} from 'spin.js';
    
  • v2.3.2 Changes

    July 24, 2015

    🛠 Fixed

    • ⚡️ Updated UMD header to protect against HTMLElement global pollution (PR [#300]).
  • v2.3.1 Changes

    June 15, 2015

    🔄 Changed

    • There were multiple tagging issues that produced 2.1.3, 2.2.0, and 2.3.0. 🚀 In the spirit of SemVer, this release is now 2.3.1.
    • The minified spin.min.js is now distributed in the repo, making Bower usage easier (issue [#250]).

    🛠 Fixed

    • Incorrect syntax in the example at the top of spin.js (PR [#294]).

    ✂ Removed

    • Moot version property from Bower manifest (PR [#295]).
  • v2.1.2 Changes

    May 28, 2015

    🔄 Changed

    • 🔖 Version 2.1.1 had a packaging error, so this release is now 2.1.2.
    • 👍 Standard CSS attributes are now preferred over vendor ones if supported.
    • 💅 Unified internal coding style across all files.
    • ✅ Website now uses the latest version of jQuery from its 1.x branch.
    • 📚 Updated documentation to note that the container element must use relative positioning (issue [#292]).

    ➕ Added

    • 👍 spm support (PR [#232]).

    🛠 Fixed

    • All broken examples
    • 🐛 Bug on demo page where the direction setting wasn't reflected in the option object.
  • v2.1.0 Changes

    April 16, 2015

    ➕ Added

    • scale option for resizing the spinner (PR [#287]).
    • 👌 Support for importing on server without DOM (PR [#283]).
  • v2.0.2 Changes

    January 02, 2015

    🛠 Fixed

    • 🔌 Use correct require call in jQuery plugin

    ✂ Removed

    • Cleaned up unused code