Skip to content

2.1.0

Latest

Choose a tag to compare

@choule99 choule99 released this 19 Jul 12:45
Immutable release. Only release title and notes can be modified.
2.1.0
96dd0e6

2.1.0

This release removes deprecated snapshot and CustomDump APIs, completes Swift 6.3 cleanup, and preserves legacy UserNotifications dumps.

Breaking changes

  • Removes .dump and AnySnapshotStringConvertible. Import SnapshotTestingCustomDump and use .customDump instead.
  • Removes legacy inline snapshot APIs _assertInlineSnapshot and _verifyInlineSnapshot from SnapshotTesting. Import InlineSnapshotTesting and use assertInlineSnapshot(of:).
  • Removes XCTAssertDifference and XCTAssertNoDifference from CustomDump. Use expectDifference and expectNoDifference instead.

Fixes

  • Preserves legacy UNAuthorizationOptions.announcement and UNNotificationPresentationOptions.alert labels 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

Full comparison