All Versions
21
Latest Version
Avg Release Cycle
41 days
Latest Release
2591 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.4.1 Changes
January 26, 2016- ๐ฆ [F] Made a mistake while publishing the bower package; fixed.
-
v0.4.0 Changes
January 26, 2016- [B]
spring
helper's format has changed fromspring(10, [120, 12])
tospring(10, {stiffness: 120, damping: 12})
. - ๐
[B]
style
,styles
andstyles
of the three respective components now only accept either a number to interpolate, or aspring
configuration to interpolate. Previously, it accepted (and ignored) random key/value pairs mixed in, such as{x: spring(0), y: 'helloWorld'}
.y
Doesn't belong there and should be placed elsewhere, e.g. directly on the (actual react) style of the component you're assigning the interpolating values on. - โฌ๏ธ [B]
TransitionMotion
got an all-around clearer API. See the upgrade guide and README section for more. - ๐
[B]
Motion
's'defaultStyle
, informally accepted the format{x: spring(0)}
. This is now officially unsupported. The correct format has always been{x: 0}
. Setting a default style of{x: spring(whatever)}
did not make sense; the configuration only applies for astyle
, aka destination value. Same modification applies toStaggeredMotion
andTransitionMotion
'sdefaultStyles
&willEnter
. - [B]
TransitionMotion
'swillEnter
/willLeave
's signature has changed. - ๐ [B] The
reorderKeys
helper is no longer needed thanks to the changes toTransitionMotion
. It's now removed. - ๐ [B] React-Native specific build gone. RN 0.18+ uses the vanilla Npm React package, so there's no more need for us to export a wrapper.
- [F] Bunch of bugs gone: #225, #212, #179, #157, #90, #88.
- [I]
spring
has acquired a new field as part of the new signature: precision tuning! - [I] Fully typed via Flow types.
- ๐ [I] Performance improvements.
- [B]
-
v0.3.1 Changes
October 14, 2015- ๐
[F] Handle
null
andundefined
instyle
/styles
. #181 - [I] Library's now partially annotated with Flow.
- [I] Related to above, the
src/
folder is now exposed on npm so that you can take advantage of Flow by using:import {Motion} from 'react-motion/src/react-motion'
directly, instead of the old, prebuiltimport {Motion} from 'react-motion'
. This is experimental and intentionally undocumented. You'll have to adjust your webpack/browserify configurations to require these original source files correctly. No harm trying of course. It's just some type annotations =).
- ๐
[F] Handle
-
v0.3.0 Changes
September 30, 2015- ๐ [B] API revamp! See https://github.com/chenglou/react-motion/wiki for more details. Thanks!
-
v0.2.7 Changes
August 06, 2015- [F] Small bug where nested springs don't animate. #123
- ๐ [I] Support for all React 0.14.0 betas.
-
v0.2.6 Changes
July 31, 2015- โ [F] React-native warning's now gone, but also put into a separate file path. To require react-motion on react-native, do
require('react-motion/native')
. - ๐ [I] Support for React 0.14.0-beta1.
- โ [F] React-native warning's now gone, but also put into a separate file path. To require react-motion on react-native, do
-
v0.2.4 Changes
July 29, 2015- ๐ [I] React-native support!
- [I] Allow returning
null
from children function. #101 - 0๏ธโฃ [I]
defaultValue
for specifying a... default value, upon mounting. - ๐ [I]
TransitionSpring
'swillLeave
API got simplified and now asks for an object as a return value instead ofnull
.null
is still supported, but is deprecated and will be removed in the next version. See the new docs on it here. - ๐ง [I] Exposed a few tasteful default spring configurations under the new exported
presets
.
-
v0.2.2 Changes
July 24, 2015- ๐ง [F] Import some internal modules correctly for Ubuntu/Linux node (case-sensitive for them).
- [F] Nested springs work again.
-
v0.2.0 Changes
July 22, 2015- ๐ฆ [B]
willLeave
returningfalse
will now keep the key. Onlynull
andundefined
will serve as a signal to kill the disappeared key. - [B]
willLeave
previously failed to expose the second argumentcorrespondingValueOfKeyThatJustLeft
. It's now exposed correctly. - [F] Definitively fix the previous problem of mis-detecting React Element as object.
- [F]
willLeave
is now called only once per disappearing key. It was called more than once previously as a implementation detail. Though you should never have put side-effects inwillLeave
. It's still discouraged now. - [F] If you have some
this.props.handlerThatSetStateAndUnmountsSpringInOwnerRender()
inSpring
'sendValue
, Spring's already scheduledrequestAnimationFrame
will no longer cause an extrasetState
since it's unmounted. But in general, please don't put side-effect inendValue
. - [I] Stabilize the spring algorithm. No more erratic behavior with a big amount of animated items or tab switching (which usually slows down
requestAnimationFrame
). #57 - ๐ [I] Partial (total?) support for IE9 by using a
requestAnimationFrame
polyfill.
- ๐ฆ [B]
-
v0.1.0 Changes
July 14, 2015- [B] Breaking API:
TransitionSpring
'swillEnter
's callback signature is now(keyThatEnters, correspondingValue, endValueYouJustSpecified, currentInterpolatedValue, currentSpeed)
(addedcorrespondingValue
as the second argument). Same forwillLeave
. - 0๏ธโฃ [B]
Spring
is now no longer exposed as a default, but simply as "Spring":require('react-motion').Spring
. Orimport {Spring} from 'react-motion'
. - [B]
Spring
andTransitionSpring
'schildren
function now expect a ReactElement. The components will no longer wrap the return value in adiv
for you. #44 #20 - ๐ [I] Move React to from dependencies to peerDependencies. #35
- โ [I] Internal cleanups + tests, for happier contributors.
- [F] Mis-detecting React Element as object.
- โก๏ธ [F] Accidentally updating values at the first level of
endValue
without{val: ...}
wrapper.
- [B] Breaking API: