Skip to content

Releases: juliangarnier/anime

v2.0.0

23 Feb 15:18
Compare
Choose a tag to compare

What's new?

  • Up to 2 times faster
  • Multiple keyframes by properties
  • Animations timeline
  • Custom bezier easing functions
  • Promise support
  • Relative values (+=, -=, *=)
  • Reverse animations at anytime with animation.reverse()
  • Brand new documentation

Improvements

  • New elastic easing functions (elasticity can slightly differ from v1.x)
  • Improved playback and callback systems
  • Motion path animation supports reverse and alternate directions
  • easing, elasticity and round properties accept functions as value
  • Add animation.paused to check if the instance is running or not
  • Add animation.reset() to properly reset an animation
  • Simpler instance Object

Changes to consider when migrating from v1.x

  • update callback is now called right after .play()
  • animation.ended replaced by `animation.completed``
  • animation.play() and animation.restart() no longer accept arguments
  • anime.list is replaced by anime.running
  • No more ...Bounce and OutIn... built in easing functions
  • No more animation.settings, all parameters are now accessible directly at the root of the Object
  • Remove will-change support on CSS animation
  • reverse direction now make the animation goes from 100% to 0% instead of reversing tweens properties

v1.1.3

27 Dec 14:25
Compare
Choose a tag to compare

Bug fixes

  • Fix an SVG path animation bug when using easeInSine eaquation #100
  • Begin callback is now correctly fired when a delay is a function #98

v1.1.2

26 Oct 15:34
Compare
Choose a tag to compare

Bug fixes

  • Fix #79 Begin argument is now correctly called when delay is a function
  • Update argument is now called only if the animation smallest delay is finished

Other

  • Add function based timing values example in documentation
  • Improve colors examples

v1.1.1

05 Sep 14:55
Compare
Choose a tag to compare

API changes

  • Add easeOutIn easing functions #53

Bug fixes

  • Chrome 53 SVG path animation fix #66

Optimisations

  • Simpler is functions

Other

  • Add JS Object animation example in documentation
  • Add SVG path and color animation examples

v1.1

04 Jul 21:08
Compare
Choose a tag to compare

Internal changes

  • Performance optimisations
  • Use a unique Request Animation Frame (instead of creating a new one for each animations)
  • Replace +new Date() with the RAF timestamp
  • Add -webkit- prefixe for Safari < 9

Minor API changes

  • Remove myAnimation.running
  • Replace myAnimation.time by myAnimation.currentTime
  • Add anime.version

Other

  • Add examples directory