Releases: material-motion-archive/coreanimation-swift
v2.0.0
Breaking changes
- A Tween with a null to value and non-null from value is no longer supported.
New features
Tweens can now be scrubbed along a Timeline using the optional timeline
property.
// To associate a timeline with a tween:
tween.timeline = timeline
// To scrub the associated tweens:
timeline.scrubber?.timeOffset = 0.1
Tween API now supports an arbitrary number of values. The old from/to APIs have been deprecated.
Source changes
- Remove UIView support from Tween performer. (Jeff Verkoeyen)
- Convert from absolute time to local time. (Jeff Verkoeyen)
- Add timeline property to Tween. (Jeff Verkoeyen)
- Drop Family suffix and update naming throughout the repo. (Jeff Verkoeyen)
- Ensure that we still support from/to/timingFunction with the new APIs. (Jeff Verkoeyen)
- Add a recommendation to the timingFunction deprecation message. (Jeff Verkoeyen)
- Implement new keyframe-based Tween API. (Jeff Verkoeyen)
API changes
Tween
new method: commitFirstValue(to:)
in Tween
new method: commitLastValue(to:)
in Tween
new var: values
in Tween
new var: timingFunctions
in Tween
new var: timeline
in Tween
new var: keyPositions
in Tween
new method: init(_:duration:values:)
in Tween
deprecated method: commitFromValue(to:)
in Tween
deprecated method: commitToValue(to:)
in Tween
deprecated method: init(_:duration:)
in Tween
deprecated var: from
in Tween
deprecated var: to
in Tween
deprecated var: timingFunction
in Tween
Non-source changes
- Automatic changelog preparation for release. (Jeff Verkoeyen)
- Update Runtime dependeny to v6. (Jeff Verkoeyen)
- Add callsign. (Jeff Verkoeyen)
- Update README.md with new values API. (Jeff Verkoeyen)
- Update README.md (featherless)
v1.1.0
This release adds support for Runtime v5.
Source changes
- Revert "Implement KeyframeTween." (Jeff Verkoeyen)
- Add support for Runtime v5.0.0. (Jeff Verkoeyen)
- Implement KeyframeTween. (Jeff Verkoeyen)
Non-source changes
- Automatic changelog preparation for release. (Jeff Verkoeyen)
- Update Podfile.lock with latest CocoaPods version. (Jeff Verkoeyen)
v1.0.0
Initial release.
Source changes
- Change type from/to to AnyObject? to more clearly reflect their intended use as Objective-C objects. (Jeff Verkoeyen)
- Update Runtime dependency to v4 and resolve breakages/deprecations. (Jeff Verkoeyen)
- Introduce Tween commit helper methods for committing Tween properties to the model layer. (Jeff Verkoeyen)
- Refactor catalog project to match standards. (Jeff Verkoeyen)
- Remove CAAnimation-as-plan support. (Jeff Verkoeyen)
- Implement Tween plan + unit test (Jeff Verkoeyen)
- Move CAAnimation performer code to private/ sub-directory. (Jeff Verkoeyen)
- Resolve Runtime v3 build warnings and remove reference to Runtime's develop branch. (Jeff Verkoeyen)
- Xcode 8 GM build fixes. (Jeff Verkoeyen)
- Xcode 8 beta 6 build error fixes. (Jeff Verkoeyen)
- Update Podfile dependencies. (Jeff Verkoeyen)
- Update Runtime dependency and resolve build errors. (Jeff Verkoeyen)
- Add initial code and unit tests. (Jeff Verkoeyen)
API changes
Auto-generated by running:
apidiff 99fdffa05e14a9803d79d000468bca8ef367fcc3 6112242ca637580ff8af376ea392675cd8618234 swift MaterialMotionCoreAnimationFamily.xcworkspace MaterialMotionCoreAnimationFamily
Tween
new method: commitToValue(to:)
in Tween
new var: from
in Tween
new var: timingFunction
in Tween
new var: duration
in Tween
new method: init(_:duration:)
in Tween
new method: commitFromValue(to:)
in Tween
new method: performerClass()
in Tween
new class: Tween
new var: delay
in Tween
new var: to
in Tween
new method: copy(with:)
in Tween
new var: keyPath
in Tween
Non-source changes
- Automatic changelog preparation for release. (Jeff Verkoeyen)
- Add .swift-version file for cocoapods support. (Jeff Verkoeyen)
- Flesh out the README.md with multiple how to's and a features overview. (Jeff Verkoeyen)
- Update Podfile.lock. (Jeff Verkoeyen)
- Ran yo mm-github on the repo. (Jeff Verkoeyen)
- Use CatalogByConvention to organize the catalog application. (Jeff Verkoeyen)
- Update repo when running pod install. (Jeff Verkoeyen)
- Lock Runtime dependency to v3 release. (Jeff Verkoeyen)
- Update runtime to latest SHA. (Jeff Verkoeyen)
- Add codecov.yml configuration ignoring examples source. (Jeff Verkoeyen)
- New Swift syntax and podfile update (Max Luzuriaga)
- Added example showing some CoreAnimation properties animating (Max Luzuriaga)
- Use https urls for Podfile dependencies. (Jeff Verkoeyen)
- Ran yo mm-github. (Jeff Verkoeyen)
- Clone material-arc-tools in travis builds. (Jeff Verkoeyen)
- Automated large-scaled change: removed all submodules. (Jeff Verkoeyen)
- [automated lsc] Add --trace to arc unit invocation for travis builds. (Jeff Verkoeyen)
- Resolve xcodebuild hang caused by uppercase S in "iPhone 6S". (Jeff Verkoeyen)
- Add travis badge to README. (Jeff Verkoeyen)
- Ran yo mm-github. (Jeff Verkoeyen)
- Add missing proselint gitmodule entry. (Jeff Verkoeyen)