2.1.0
This release removes deprecated snapshot and CustomDump APIs, completes Swift 6.3 cleanup, and preserves legacy UserNotifications dumps.
Breaking changes
- Removes
.dumpandAnySnapshotStringConvertible. ImportSnapshotTestingCustomDumpand use.customDumpinstead. - Removes legacy inline snapshot APIs
_assertInlineSnapshotand_verifyInlineSnapshotfromSnapshotTesting. ImportInlineSnapshotTestingand useassertInlineSnapshot(of:). - Removes
XCTAssertDifferenceandXCTAssertNoDifferencefromCustomDump. UseexpectDifferenceandexpectNoDifferenceinstead.
Fixes
- Preserves legacy
UNAuthorizationOptions.announcementandUNNotificationPresentationOptions.alertlabels in CustomDump output. - Decodes inline snapshot source explicitly as UTF-8.
- Uses lossy UTF-8 decoding for text and URL request snapshots, avoiding failures on invalid byte sequences.
Internal and test updates
- Removes obsolete compatibility paths, deprecated snapshot support, unused assets, licenses, configuration, and tests.
- Consolidates modern iPhone/iPad traits and snapshot configuration helpers.
- Migrates tests to current snapshot assertion options and updates affected reference snapshots.
Diff summary
- 31 commits
- 78 files changed: 1,337 insertions, 5,757 deletions