All Versions
10
Latest Version
Avg Release Cycle
117 days
Latest Release
305 days ago

Changelog History

  • v3.1.0

    July 25, 2019

    πŸ‘Œ Improvements

    • βž• Add support for values with exponent (-1.12742e-12) #552
    • ♻️ Easing functions refactoring + added Bounce easing

    πŸ› Bug fixes

    • πŸ›  Fix wrong unit detection when a value contains spaces #502
    • πŸ›  Fix a bug where the parent of responsive SVG path was not properly set #556
    • πŸ›  Fix a bug where the animation will "flick" on reverse #512
    • πŸ›  Fix a bug where loopBegin callback could be called just before animation complete
    • ⚑️ Update anime.running reference when clearing array on visibility change #560#466
    • ⚑️ Update ES6 module instal path #588, #527, #590
  • v3.0.1

    January 17, 2019

    πŸ› Bug fixes

    • πŸ›  Fix ReferenceError on document when running anime.js on the server #472 #481 #345
    • πŸ›  Fix a bug that prevented complete callback to be called again when re-playing the animation #483 #373 #378 #392 #408
    • πŸ›  Fix a bug triggering a TL promise instantly #159
  • v3.0.0

    January 09, 2019

    πŸš€ animejs-v3-release

    πŸ†• New features

    • πŸ†• New easings: spring(mass, stiffness, damping, velocity) and steps(x)
    • βž• Add endDelay parameter
    • πŸ†• New keyframes system
    • πŸ†• New staggering helper
    • πŸ†• New callbacks: loopBegin(), loopComplete(), changeBegin(), change() and changeComplete()
    • Automatic CSS units conversion
    • πŸ“± Responsive motion path animation
    • πŸ†• New set() helper to apply values instantly to multiple targets
    • πŸ— ES6 Modules and new build process
    • πŸ†• New documentation
    • A website.

    πŸ› Bug fixes

    • No need to re-define a transform property when animating multiple transforms on the same target in a timeline
    • πŸ‘Œ Improved simultaneous animations on the same target #257
    • πŸ‘ Allow remove() to remove targets from timeline #318 #286
    • Reversed animations can now be delayed using endDelay #254
    • πŸ‘ Better inline style unit handling (check inline style before getComputedStyle) #251
    • SVG scale property is no longer overridden by CSS transform scale #316
    • πŸ›  Fix Uncaught β€œTypeError: Cannot read property 'targets' of undefined” when there are no TL parameters object specified #341
    • πŸ›  Fix a bug that prevented specific HTML ids selectors to be selected (HEX colours) #281
    • πŸ›  Fix wrong initial SVG transform value in some cases #340

    API changes

    • βš™ run() callback has been replaced by change()
    • animations are now paused when tab of window is not active
    • getValue() has been replaced by get()
    • Cubic BΓ©zier curves are now defined using a string β€˜cubicBezier(x1,y1,x2,y2)’ instead of an array
    • Timeline offset property has been replaced by timelineOffset #229
    • Timeline offset can be set as a second argument inside .add()
  • v2.2.0

    September 25, 2017

    loop

    πŸ‘Œ Improvements

    • 🐎 Performances boost, up to 1.5 faster πŸ”₯
    • βž• Add support for RGBA and HSLA colors animations

    πŸ› Bug fixes

    • πŸ›  Fix timeline children begin() callback
    • πŸ›  Fix a bug where some timeline durations weren’t properly calculated
    • πŸ›  Fix a bug where anime.path() initial values weren’t properly set #245
    • πŸ›  Fix a bug where percentage unit starting values were miscalculated #238
    • begin() and complete() callbacks are now called instantly if duration is 0
  • v2.1.0

    September 17, 2017

    πŸ‘Œ Improvements

    • Children animations can now inherit properties from their parent timeline (targets, duration, delay, easing, round) (#152)
    • βž• Add support for vmin/vmax/ch units
    • βž• Add support for the transform perspective property (#207)
    • βž• Add support for circle, rect, polyline, polygon and line shapes for anime.setDashOffset() (#145, #155)
    • duration: 0 now instantly finish the animation (#228, #208)
    • Animation initial values are now automatically set even if autoplay is false

    πŸ› Bug fixes

    • πŸ›  Fix timeline Callbacks at initialisation (#215)
    • πŸ›  Fix timeline Promise being called instantly (#159)
    • πŸ›  Fix wrong values re-composition for complex CSS properties (like filter, box-shadow, calc()…) (#119, #174, #175, #167, #223)
    • Numerical values are not converted to strings anymore (#116)
    • Relatives values now keep their unit (#214)
    • πŸ‘€ Seeking an animation to 0 now correctly set the initial properties values (#177, #208)
    • run callback is now properly called after animation delay
  • v2.0.2

    March 26, 2017
    • πŸ›  Fix Timeline bugs and improvement #113 #131 #121
    • πŸ›  Fix an IE bug related to Promise #123
    • πŸ“š Absolute images path in documentation #114
  • v2.0.0

    February 23, 2017

    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

    December 27, 2016

    πŸ› 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

    October 26, 2016

    πŸ› 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

    September 05, 2016

    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