shifty

The fastest TypeScript animation engine on the web

MIT License

Downloads
214.5K
Stars
1.5K
Committers
16

Bot releases are hidden (Show)

shifty - Fixes #117

Published by jeremyckahn about 4 years ago

This release fixes the infinite loop bug discovered by @kylewetton: https://github.com/jeremyckahn/shifty/issues/117

shifty - [BREAKING CHANGE] Improve error message when stop is called

Published by jeremyckahn over 4 years ago

v2.9.0 incorporates #115 to improve how tweens are rejected.

Specifically, it changes a tween's Promise reject callback signature from:

/**
 * @param {Object} currentState
 * @param {Object} attachment
 */
reject(currentState, attachment)

to

/**
 * @param {Object} data
 * @param {Object} data.currentState
 * @param {Object} data.attachment
 * @param {string} data.error
 */
reject(data)
shifty - Fixes node support

Published by jeremyckahn over 5 years ago

The toolchain updates in 2.7.0 broke Node compatibility. This release fixes that.

shifty - Expose processTweens

Published by jeremyckahn over 5 years ago

For #109: https://jeremyckahn.github.io/shifty/doc/shifty.html#.processTweens

Also:

  • Switches the test framework to Jest
  • Drops browser test runner (consider using https://www.npmjs.com/package/ndb if you need an interactive debugger)
  • Updates all of the devDependencies to their latest versions
shifty - Fixes null reference error

Published by jeremyckahn almost 6 years ago

shifty - Performance improvements

Published by jeremyckahn about 6 years ago

2.5.0 switches to batched tween processing (#87), which significantly improves performance for situations when there are many tweens running at once. You can see a performance comparison between Shifty, GSAP, and jQuery here.

2.5.0 also fixes a minor bug that was introduced in 2.4.0.