1 ### 2.1.2 - *July 8 2015*
2 * Fix a bug where onfinish was being called for GroupEffects before they were finished.
4 ### 2.1.1 - *July 1 2015*
5 * Add Animation.timeline getter
6 * Add AnimationEffect.parent getter
7 * Make AnimationEffectTiming (returned by AnimationEffect.timing) attributes mutable
8 * Expose the Animation constructor
9 * Change custom effects from AnimationEffects to onsample functions. Custom effects should now be created by setting the onsample attribute of a KeyframeEffect.
11 For example, this is deprecated:
13 var myEffect = new KeyframeEffect(
15 function(timeFraction, target, effect) {
16 target.style.opacity = timeFraction;
19 var myAnimation = document.timeline.play(myEffect);
21 and this should be used insead:
23 var myEffect = new KeyframeEffect(element, [], 1000);
24 effect.onsample = function(timeFraction, effect, animation) {
25 effect.target.style.opacity = timeFraction;
27 var myAnimation = document.timeline.play(myEffect);
29 ### 2.1.0 - *June 15 2015*
30 * Fix bug affecting GroupEffects with infinite iteration children
31 * Add GroupEffect.firstChild and GroupEffect.lastChild
32 * Add initial values for most CSS properties
33 * Allow `timeline.play()` to be called with no arguments
34 * Add AnimationEffect.clone
35 * Add GroupEffect.append and GroupEffect.prepend
36 * Add AnimationEffect.remove
37 * Add Animation.ready and Animation.finished promises
39 ### 2.0.0 - *April 5 2015*
41 * Improve behavior of group Animation playback rate.
42 * Rename Animation to KeyframeEffect.
43 * Rename AnimationSequence to SequenceEffect.
44 * Rename AnimationGroup to GroupEffect.
45 * Rename AnimationPlayer to Animation.
46 * Remove KeyframeEffect.effect and add KeyframeEffect.getFrames.
47 * Rename Animation.source to Animation.effect.
48 * Rename Timeline.getAnimationPlayers to Timeline.getAnimations.
49 * Rename Element.getAnimationPlayers to Element.getAnimations.
51 ### 1.0.7 - *March 10 2015*
53 * Improve performance of constructing groups and sequences.
54 * Remove support for animating zoom.
57 ### 1.0.6 - *February 5 2015*
59 * Implement playbackRate setter for group players.
60 * Fix pausing a group player before its first tick.
61 * Fix cancelling a group player before its first tick.
62 * Fix excess CPU use on idle pages where custom effects and groups were used.
63 * Suppress AnimationTiming.playbackRate deprecation warning for cases where AnimationTiming.playbackRate == 1.
65 ### 1.0.5 - *January 6 2015*
67 * Fix loading the polyfill in an SVG document
68 * Fix a problem where groups didn't take effect in their first frame
69 * Don't rely on performance.now
71 ### 1.0.4 - *December 8 2014*
73 * Fix a critical bug where deprecation logic wasn't being loaded
74 when `web-animations-next` and `web-animations-next-lite` were
75 executed on top of a native `element.animate`.
77 ### 1.0.3 - *December 4 2014*
79 * Fix a critical bug on iOS 7 and Safari <= 6. Due to limitations,
80 inline style patching is not supported on these platforms.
82 ### 1.0.2 - *November 28 2014*
84 * Deprecated `AnimationTiming.playbackRate`.
86 For example, this is no longer supported:
88 var player = element.animate(
90 {duration: 1000, playbackRate: 2});
92 Use `AnimationPlayer.playbackRate` instead:
94 var player = element.animate(
97 player.playbackRate = 2;
99 If you have any feedback on this change, please start a discussion
100 on the public-fx mailing list:
101 http://lists.w3.org/Archives/Public/public-fx/
103 Or file an issue against the specification on GitHub:
104 https://github.com/w3c/web-animations/issues/new
106 ### 1.0.1 - *November 26 2014*
108 * Players should be constructed in idle state
109 * `play()` and `reverse()` should not force a start times
110 * Add `requestAnimationFrame` ids and `cancelAnimationFrame`
112 ### 1.0.0 — *November 21 2014*
114 The web-animations-js hackers are pleased to announce the release of
115 a new codebase for the Web Animations Polyfill:
116 https://github.com/web-animations/web-animations-js
118 The previous polyfill has been moved to:
119 https://github.com/web-animations/web-animations-js-legacy
121 The new codebase is focused on code-size -- our smallest target is
122 now only 33kb or 11kb after gzip.
124 We've implemented native fallback. If the target browser provides
125 Web Animations features natively, the Polyfill will use them.
127 We now provide three different build targets:
129 `web-animations.min.js` - Tracks the Web Animations features that
130 are supported natively in browsers. Today that means Element.animate
131 and Playback Control in Chrome. If you’re not sure what features you
132 will need, start with this.
134 `web-animations-next.min.js` - All of web-animations.min.js plus
135 features that are still undergoing discussion or have yet to be
136 implemented natively.
138 `web-animations-next-lite.min.js` - A cut down version of
139 web-animations-next, removes several lesser used property handlers
140 and some of the larger and less used features such as matrix
141 interpolation/decomposition.
143 Not all features of the previous polyfill have been ported to the
144 new codebase; most notably mutation of Animations and Groups and
145 Additive Animations are not yet supported. These features are still
146 important and will be implemented in the coming weeks.