All Versions
27
Latest Version
Avg Release Cycle
157 days
Latest Release
966 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