Skip to content

Releases: cashapp/stagehand

4.0.0

08 Jan 21:28
8af8447
Compare
Choose a tag to compare
  • Changes the minimum supported iOS version to 12.0
  • Adds duration and repeatStyle parameters to the Animation.perform(...) and AnimationQueue.enqueue(...) methods to allow for specifying an explicit duration and repeat style at the start of the execution phase.
  • Renames the duration properties on Animation and AnimationGroup to implicitDuration.
  • Renames the repeatStyle properties on Animation and AnimationGroup to implicitRepeatStyle.
  • Renames AnimationRepeatStyle.none to .noRepeat to 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

18 Sep 05:14
Compare
Choose a tag to compare
  • Updates CGAffineTransform interpolation to use matrix decomposition. This improves the interpolation of non-RST transforms and greatly improves performance for all transform interpolation.
  • Adds support for animating CATransform3D using matrix decomposition.

2.1.1

29 May 19:14
Compare
Choose a tag to compare
  • Fixes the execution of execution blocks and property assignments in curved animations

2.1.0

09 Apr 21:38
Compare
Choose a tag to compare
  • Removes a limitation around subelement mutability when adding child animations.

2.0.4

18 Mar 02:37
Compare
Choose a tag to compare
  • 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.

2.0.3

06 Mar 07:31
Compare
Choose a tag to compare
  • Adds support for installing Stagehand via Swift Package Manager

2.0.2

22 Feb 00:35
Compare
Choose a tag to compare
  • Fixes an issue where execution blocks and property assignments in child animations were not executed at the correct time.

2.0.1

13 Feb 21:36
Compare
Choose a tag to compare
  • Makes the weak framework linking of XCTest explicit in the StagehandTesting podspec

2.0

10 Feb 23:42
Compare
Choose a tag to compare
2.0
  • Adds snapshot methods for snapshotting an animation via a non-element view
  • Switches animated snapshot format from GIF to APNG