Releases: pointfreeco/swift-snapshot-testing
1.17.6
1.17.5
1.17.4
What's Changed
- Fixed: Address an Xcode 16 beta 5 compilation error (#885).
Full Changelog: 1.17.3...1.17.4
1.17.3
What's Changed
- Fixed:
failed
record mode now properly re-records inline snapshots (#874). - Fixed: Avoid a crash when calling
assertSnapshot
from a Swift Testing test (#884).
Full Changelog: 1.17.2...1.17.3
1.17.2
What's Changed
- Fixed: SwiftSyntax dependency has been updated to point to the new swiftlang organization on GitHub, preventing warnings when used with other libraries targeting the same updated organization.
Full Changelog: 1.17.1...1.17.2
1.17.1
What's Changed
- Fixed: Xcode 16 beta 3 support for Swift Testing (#869).
Full Changelog: 1.17.0...1.17.1
1.17.0
What's Changed
See the migration guide for more information.
-
Added: Beta support for Swift Testing, and other improvements. by @mbrandonw in #867
-
Added: A
Record
mode has been introduced that can be configured with one of four states (.all
,.failed
,.missing
,.never
) instead of just theisRecording
boolean (thanks @NachoSoto, #768). -
Added:
diffTool
can now be configured with a closure that is passed the old and new diff paths in order to output a custom format (thanks @js, #840). -
Added: Allow
isRecording
default value to be configured usingSNAPSHOT_TESTING_RECORD
env var (thanks @tgrapperon, #862).This can be configured with any of the record modes introduced in this version, e.g.
SNAPSHOT_TESTING_RECORD=failed
. -
Infrastructure: Add
.editorconfig
for consistent code formatting (thanks @Matejkob, #864).
New Contributors
- @Matejkob made their first contribution in #864
- @tgrapperon made their first contribution in #862
- @js made their first contribution in #840
Full Changelog: 1.16.2...1.17.0
1.16.2
1.16.1
What's Changed
- Fixed: Support swift-syntax from 600.0.0-latest (#858).
- Fixed: Make
ViewImageConfig
sendable (thanks @Mika5652, #850). - Infrastructure: Add README link to SnapshotVision plugin (thanks @gregersson, #848).
New Contributors
- @gregersson made their first contribution in #848
- @Mika5652 made their first contribution in #850
Full Changelog: 1.16.0...1.16.1
1.16.0
What's Changed
- Added: Inline snapshots can now be removed programmatically (#844).
- Fixed: Test observer is now forced to register on the main queue (thanks @MarkVillacampa, #834).
New Contributors
- @MarkVillacampa made their first contribution in #834
Full Changelog: 1.15.4...1.16.0