Releases: pointfreeco/swift-snapshot-testing
Releases · pointfreeco/swift-snapshot-testing
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
1.15.4
What's Changed
- Fixed: Bump swift-syntax requirements to support 5.10.0 (#836).
Full Changelog: 1.15.3...1.15.4
1.15.3
What's Changed
- Fixed: Inline snapshots in test files containing a leading, whitespace-only line will no longer include this newline as leading trivia in the recording.
Full Changelog: 1.15.2...1.15.3
1.15.2
1.15.1
1.15.0
What's Changed
- Added:
assertInlineSnapshot
now hasrecord
mode (#809). - Fixed:
assertInlineSnapshot
's failure difference now reads more correctly as the patch that would be applied were record mode to be on (#809).
Full Changelog: 1.14.2...1.15.0
1.14.2
What's Changed
- Fixed: Inline snapshots are now prepared before emitting an XCTest failure, ensuring the artifact is written (#787).
- Fixed:
assertCustomInline()
no longer leaves empty parens hanging around when expanded (#788). - Fixed: The
swift-syntax
dependency has widened to support 508.0.1..<510.0.0, allowing the library to be depended on even when another package depends on 508.0.1 (#795). - Infrastructure: Updated SPI configuration for watchOS (thanks @finestructure, #789).
Full Changelog: 1.14.1...1.14.2
1.14.1
What's Changed
- Fixed: Avoid inline snapshot trailing closure index crash (#786).
- Infrastructure: Update .spi.yml to show watchOS support (thanks @finestructure, #785).
Full Changelog: 1.14.0...1.14.1
1.14.0
What's Changed
- Added: Support for inline snapshot API migrations (#779)
- Updated: Pinned SwiftSyntax to 509.0.0 (#774).
- Fixed: Escape carriage returns explicitly in inline snapshots (#772).
- Infrastructure: CONTRIBUTING.md fixes (thanks @soo941226, #773).
New Contributors
- @soo941226 made their first contribution in #773
Full Changelog: 1.13.0...1.14.0