1### 2.3.1 - *July 20 2017* 2 3 * Fix [https://github.com/web-animations/web-animations-js/issues/157](missing web-animations.min.js issue) 4 5### 2.3.0 - *July 20 2017* 6 7 * [Support IE/Edge SVG transforms.](https://github.com/web-animations/web-animations-js/pull/148) 8 9 * [Parse and evaluate calc expressions without eval.](https://github.com/web-animations/web-animations-js/pull/151) 10 11### 2.2.5 - *April 17 2017* 12 13 * Removed erroneously added *.gz files from release. 14 15### 2.2.4 - *April 14 2017* 16 17 * [Reverted adding 'use strict' to source files.](https://github.com/web-animations/web-animations-next/pull/124) 18 19### 2.2.3 - *April 13 2017* 20 21 * [Added HTML import targets.](https://github.com/web-animations/web-animations-js/pull/94) 22 23 * Added support for animating SVG related properties: 24 * [fill](https://github.com/web-animations/web-animations-next/pull/484) 25 * [floodColor](https://github.com/web-animations/web-animations-next/pull/484) 26 * [lightingColor](https://github.com/web-animations/web-animations-next/pull/484) 27 * [stopColor](https://github.com/web-animations/web-animations-next/pull/484) 28 * [strokeDashoffset](https://github.com/web-animations/web-animations-js/pull/96) 29 * [strokeDasharray](https://github.com/web-animations/web-animations-js/pull/120) 30 31 * [Fixed crash when animating non-invertable matrices.](https://github.com/web-animations/web-animations-js/pull/121) 32 33 * [Fixed source maps for Bower installs.](https://github.com/web-animations/web-animations-js/pull/93) 34 35 * [Updated README.md documentation structure.](https://github.com/web-animations/web-animations-next/pull/489) 36 37 * [Added 'use strict' to source files.](https://github.com/web-animations/web-animations-next/pull/488) 38 39### 2.2.2 - *August 3 2016* 40 41 * [Fixed handling of keyframes with overlapping offsets.](https://github.com/web-animations/web-animations-next/pull/470) 42 43 * [Throw TypeError on invalid keyframe input.](https://github.com/web-animations/web-animations-next/pull/471) 44 45 * [Fixed display and other animation properties being animated.](https://github.com/web-animations/web-animations-next/pull/474) 46 47 * [Throw InvalidStateError when calling play() on reversed infinite animation.](https://github.com/web-animations/web-animations-next/pull/475) 48 49 * [Fixed infinite loop in cubic-bezier timing function.](https://github.com/web-animations/web-animations-next/pull/476) 50 51 * [Fixed idle animations not becoming paused when seeked.](https://github.com/web-animations/web-animations-next/pull/479) 52 53 * [Fixed pause() not rewinding idl animations.](https://github.com/web-animations/web-animations-next/pull/480) 54 55 * [Extended cubic-bezier timing function domain from [0, 1] to (-Infinity, Infinity).](https://github.com/web-animations/web-animations-next/pull/481) 56 57 * [Fixed timing model to handle corner cases involving Infinity and 0 correctly.](https://github.com/web-animations/web-animations-next/pull/482) 58 59 * [Fixed source files missing from npm package.](https://github.com/web-animations/web-animations-next/pull/483) 60 61 * [Improved performance of starting and updating individual animations.](https://github.com/web-animations/web-animations-next/pull/485) 62 63### 2.2.1 - *April 28 2016* 64 * [Deprecated invalid timing inputs](https://github.com/web-animations/web-animations-next/pull/437) as they will soon throw [TypeErrors](https://github.com/web-animations/web-animations-next/pull/426) in native browsers. 65 66 For example, this is deprecated and will eventually throw a TypeError: 67 68 element.animate([], { 69 duration: -1, 70 iterationStart: -1, 71 iterations: -1, 72 easing: 'garbage string', 73 }); 74 75 * [Fixed polyfill crash in browsers based on Chromium 36 to 46.](https://github.com/web-animations/web-animations-next/pull/434) 76 77 * [Increased cubic-bezier accuracy.](https://github.com/web-animations/web-animations-next/pull/428) 78 79 * [Added support for grad and turn units for angles.](https://github.com/web-animations/web-animations-next/pull/427) 80 81### 2.2.0 - *April 6 2016* 82 * Deprecated the use of hyphens in property names. 83 84 For example, this is deprecated: 85 86 element.animate([{'font-size': '0px'}, {'font-size': '10px'}]); 87 88 and this should be used instead: 89 90 element.animate([{fontSize: '0px'}, {fontSize: '10px'}]); 91 92 * Added arbitrary easing capitalisation. 93 94 * Added "id" effect option. (http://w3c.github.io/web-animations/#dom-keyframeanimationoptions-id) 95 96 * Added "oncancel" event handler. 97 98 * Added value list keyframe syntax. 99 100 As as alternative to: 101 102 element.animate([{color: 'red'}, {color: 'green'}, {color: 'blue'}]); 103 104 you can now use: 105 106 element.animate({color: ['red', 'green', 'blue']}); 107 108 * Fixed easing TypeError in FireFox Nightly when using groups. 109 110 * Fixed delayed animation updates on Safari and Firefox 111 112 * Fixed infinite recursion when setting onfinish to null. 113 114### 2.1.4 - *December 1 2015* 115 * Use `Date.now()` instead of `performace.now()` for mobile Safari. 116 117### 2.1.3 - *October 12 2015* 118 * Removed web-animations.min.js.gz 119 120### 2.1.2 - *July 8 2015* 121 * Fix a bug where onfinish was being called for GroupEffects before they were finished. 122 123### 2.1.1 - *July 1 2015* 124 * Add Animation.timeline getter 125 * Add AnimationEffect.parent getter 126 * Make AnimationEffectTiming (returned by AnimationEffect.timing) attributes mutable 127 * Expose the Animation constructor 128 * Change custom effects from AnimationEffects to onsample functions. Custom effects should now be created by setting the onsample attribute of a KeyframeEffect. 129 130 For example, this is deprecated: 131 132 var myEffect = new KeyframeEffect( 133 element, 134 function(timeFraction, target, effect) { 135 target.style.opacity = timeFraction; 136 }, 137 1000); 138 var myAnimation = document.timeline.play(myEffect); 139 140 and this should be used insead: 141 142 var myEffect = new KeyframeEffect(element, [], 1000); 143 effect.onsample = function(timeFraction, effect, animation) { 144 effect.target.style.opacity = timeFraction; 145 }; 146 var myAnimation = document.timeline.play(myEffect); 147 148### 2.1.0 - *June 15 2015* 149 * Fix bug affecting GroupEffects with infinite iteration children 150 * Add GroupEffect.firstChild and GroupEffect.lastChild 151 * Add initial values for most CSS properties 152 * Allow `timeline.play()` to be called with no arguments 153 * Add AnimationEffect.clone 154 * Add GroupEffect.append and GroupEffect.prepend 155 * Add AnimationEffect.remove 156 * Add Animation.ready and Animation.finished promises 157 158### 2.0.0 - *April 5 2015* 159 160 * Improve behavior of group Animation playback rate. 161 * Rename Animation to KeyframeEffect. 162 * Rename AnimationSequence to SequenceEffect. 163 * Rename AnimationGroup to GroupEffect. 164 * Rename AnimationPlayer to Animation. 165 * Remove KeyframeEffect.effect and add KeyframeEffect.getFrames. 166 * Rename Animation.source to Animation.effect. 167 * Rename Timeline.getAnimationPlayers to Timeline.getAnimations. 168 * Rename Element.getAnimationPlayers to Element.getAnimations. 169 170### 1.0.7 - *March 10 2015* 171 172 * Improve performance of constructing groups and sequences. 173 * Remove support for animating zoom. 174 * Add bower file. 175 176### 1.0.6 - *February 5 2015* 177 178 * Implement playbackRate setter for group players. 179 * Fix pausing a group player before its first tick. 180 * Fix cancelling a group player before its first tick. 181 * Fix excess CPU use on idle pages where custom effects and groups were used. 182 * Suppress AnimationTiming.playbackRate deprecation warning for cases where AnimationTiming.playbackRate == 1. 183 184### 1.0.5 - *January 6 2015* 185 186 * Fix loading the polyfill in an SVG document 187 * Fix a problem where groups didn't take effect in their first frame 188 * Don't rely on performance.now 189 190### 1.0.4 - *December 8 2014* 191 192 * Fix a critical bug where deprecation logic wasn't being loaded 193 when `web-animations-next` and `web-animations-next-lite` were 194 executed on top of a native `element.animate`. 195 196### 1.0.3 - *December 4 2014* 197 198 * Fix a critical bug on iOS 7 and Safari <= 6. Due to limitations, 199 inline style patching is not supported on these platforms. 200 201### 1.0.2 - *November 28 2014* 202 203 * Deprecated `AnimationTiming.playbackRate`. 204 205 For example, this is no longer supported: 206 207 var player = element.animate( 208 keyframes, 209 {duration: 1000, playbackRate: 2}); 210 211 Use `AnimationPlayer.playbackRate` instead: 212 213 var player = element.animate( 214 keyframes, 215 {duration: 1000}); 216 player.playbackRate = 2; 217 218 If you have any feedback on this change, please start a discussion 219 on the public-fx mailing list: 220 http://lists.w3.org/Archives/Public/public-fx/ 221 222 Or file an issue against the specification on GitHub: 223 https://github.com/w3c/web-animations/issues/new 224 225### 1.0.1 - *November 26 2014* 226 227 * Players should be constructed in idle state 228 * `play()` and `reverse()` should not force a start times 229 * Add `requestAnimationFrame` ids and `cancelAnimationFrame` 230 231### 1.0.0 — *November 21 2014* 232 233 The web-animations-js hackers are pleased to announce the release of 234 a new codebase for the Web Animations Polyfill: 235 https://github.com/web-animations/web-animations-js 236 237 The previous polyfill has been moved to: 238 https://github.com/web-animations/web-animations-js-legacy 239 240 The new codebase is focused on code-size -- our smallest target is 241 now only 33kb or 11kb after gzip. 242 243 We've implemented native fallback. If the target browser provides 244 Web Animations features natively, the Polyfill will use them. 245 246 We now provide three different build targets: 247 248 `web-animations.min.js` - Tracks the Web Animations features that 249 are supported natively in browsers. Today that means Element.animate 250 and Playback Control in Chrome. If you’re not sure what features you 251 will need, start with this. 252 253 `web-animations-next.min.js` - All of web-animations.min.js plus 254 features that are still undergoing discussion or have yet to be 255 implemented natively. 256 257 `web-animations-next-lite.min.js` - A cut down version of 258 web-animations-next, removes several lesser used property handlers 259 and some of the larger and less used features such as matrix 260 interpolation/decomposition. 261 262 Not all features of the previous polyfill have been ported to the 263 new codebase; most notably mutation of Animations and Groups and 264 Additive Animations are not yet supported. These features are still 265 important and will be implemented in the coming weeks. 266