Releases: cashapp/stagehand
Releases · cashapp/stagehand
4.0.0
- Changes the minimum supported iOS version to 12.0
- Adds
durationandrepeatStyleparameters to theAnimation.perform(...)andAnimationQueue.enqueue(...)methods to allow for specifying an explicit duration and repeat style at the start of the execution phase. - Renames the
durationproperties onAnimationandAnimationGrouptoimplicitDuration. - Renames the
repeatStyleproperties onAnimationandAnimationGrouptoimplicitRepeatStyle. - Renames
AnimationRepeatStyle.noneto.noRepeatto avoid an ambiguous reference when using an optional repeat style. - Updates a lot of headerdocs to better explain how the duration and repeat styles are resolved.
- Adds support for using SnapshotTesting as the snapshot engine for StagehandTesting. This is now the default behavior.
This release changes the default snapshotting engine from iOSSnapshotTestCase to SnapshotTesting. If you already use StagehandTesting and plan on continuing to use iOSSnapshotTestCase as your snapshotting engine, you can change your dependency to be on the iOSSnapshotTestCase subspec instead:
pod 'StagehandTesting/iOSSnapshotTestCase', '~> 4.0'3.0.0
- Updates
CGAffineTransforminterpolation to use matrix decomposition. This improves the interpolation of non-RST transforms and greatly improves performance for all transform interpolation. - Adds support for animating
CATransform3Dusing matrix decomposition.
2.1.1
2.1.0
2.0.4
- Updates handling of execution and per-frame execution blocks in child animations so they behave properly when used in a parent with a curve applied.
- Delays calling the completion handler until the final frame of the animation is drawn to screen, to fix a bug where the drawing of the final frame would be delayed if the completion handler did a significant amount of work.