Skip to content

First stable release from the new codebase

Compare
Choose a tag to compare
@dstoc dstoc released this 21 Nov 11:03
· 749 commits to master since this release

The web-animations-js hackers are pleased to announce the release of a new codebase for the Web Animations Polyfill:
https://github.com/web-animations/web-animations-js

The previous polyfill has been moved to:
https://github.com/web-animations/web-animations-js-legacy

The new codebase is focused on code-size -- our smallest target is now only 33kb or 11kb after gzip.

We've implemented native fallback. If the target browser provides Web Animations features natively, the Polyfill will use them.

We now provide three different build targets:

web-animations.min.js - Tracks the Web Animations features that are supported natively in browsers. Today that means Element.animate and Playback Control in Chrome. If you’re not sure what features you will need, start with this.

web-animations-next.min.js - All of web-animations.min.js plus features that are still undergoing discussion or have yet to be implemented natively.

web-animations-next-lite.min.js - A cut down version of web-animations-next, removes several lesser used property handlers and some of the larger and less used features such as matrix interpolation/decomposition.

Not all features of the previous polyfill have been ported to the new codebase; most notably mutation of Animations and Groups and Additive Animations are not yet supported. These features are still important and will be implemented in the coming weeks.