diff --git a/.jazzy.yaml b/.jazzy.yaml index e9aa57f..18094bf 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -1,7 +1,7 @@ module: MotionAnimator -module_version: 2.4.0 +module_version: 2.5.0 sdk: iphonesimulator umbrella_header: src/MotionAnimator.h objc: true github_url: https://github.com/material-motion/motion-animator-objc -github_file_prefix: https://github.com/material-motion/motion-animator-objc/tree/v2.4.0 +github_file_prefix: https://github.com/material-motion/motion-animator-objc/tree/v2.5.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 99bc1cc..f61ee08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +# 2.5.0 + +This minor release makes CALayer implicit animation support more robust while simplifying the internal animator implementation. + +## New deprecations + +`MDMMotionAnimator`'s `+sharedLayerDelegate` API has been deprecated and is no longer needed to animate headless CALayer instances. + +## New features + +The animator now supports additive animations on CALayer's `shadowOffset` property. + +## Source changes + +* [Improved robustness of implicit animation support (#53)](https://github.com/material-motion/motion-animator-objc/commit/f2724c03d4c4ffb0c1cdd9b15bd8e9070c42a85b) (featherless) +* [If timeScaleFactor is 0 then exit early. (#58)](https://github.com/material-motion/motion-animator-objc/commit/68456b3fe31766baaa791fc20cec2f1eab47657e) (featherless) +* [Spring animations now take velocity into account when determining duration. (#56)](https://github.com/material-motion/motion-animator-objc/commit/a8a40ea7a25dfe74753fda6b64dce4ca5497e319) (featherless) +* [Flatten the animate internal logic. (#55)](https://github.com/material-motion/motion-animator-objc/commit/47bee419abda897a6d295006215c486c69d9ff83) (featherless) +* [Allow headless CALayers to implicitly animate when using the sharedLayerDelegate. (#57)](https://github.com/material-motion/motion-animator-objc/commit/044ad1872209b5e1bb0976786f9768c54a8ecb59) (featherless) +* [Always commit the model layer value inside a transaction with actions disabled. (#54)](https://github.com/material-motion/motion-animator-objc/commit/5a3d65e32ee990561392983d9bc9b359e903594b) (featherless) +* [Add shadowOffset to list of support CGSize properties. (#50)](https://github.com/material-motion/motion-animator-objc/commit/89abc77524057c27bae550e3badd320b8bea45fe) (featherless) + +## API changes + +### MDMMotionAnimator + +**deprecated** method: `+sharedLayerDelegate` + # 2.4.0 This minor release introduces support for implicitly animating CALayers that have been created @@ -21,7 +49,7 @@ Added support for adding implicit animations to headless CALayer instances. ## API changes -### MDMAnimator +### MDMMotionAnimator **new** method: `+sharedLayerDelegate` diff --git a/MotionAnimator.podspec b/MotionAnimator.podspec index 79cdd5f..76fb9e5 100644 --- a/MotionAnimator.podspec +++ b/MotionAnimator.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MotionAnimator" s.summary = "A Motion Animator creates performant, interruptible animations from motion specs." - s.version = "2.4.0" + s.version = "2.5.0" s.authors = "The Material Motion Authors" s.license = "Apache 2.0" s.homepage = "https://github.com/material-motion/motion-animator-objc" diff --git a/Podfile.lock b/Podfile.lock index 2ea7bdc..4cc9a47 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,6 +1,6 @@ PODS: - CatalogByConvention (2.2.0) - - MotionAnimator (2.4.0): + - MotionAnimator (2.5.0): - MotionInterchange (~> 1.3) - MotionInterchange (1.3.0) @@ -14,7 +14,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: CatalogByConvention: 5df5831e48b8083b18570dcb804f20fd1c90694f - MotionAnimator: 640dc3e652080bd05251e5ffe32b41f16bfaa3e1 + MotionAnimator: ba4c09d3070ec7c7a7c8d5502c795eb17a2f1406 MotionInterchange: 988fc0011e4b806cc33f2fb4f9566f5eeb4159e8 PODFILE CHECKSUM: 3537bf01c11174928ac008c20fec4738722e96f3