Skip to content

Releases: pointfreeco/swift-snapshot-testing

1.17.6

21 Oct 18:50
Compare
Choose a tag to compare

What's Changed

  • Fixed: assertSnapshot for Swift Testing tests. #916

Full Changelog: 1.17.5...1.17.6

1.17.5

12 Sep 15:46
Compare
Choose a tag to compare

What's Changed

  • Fixed: Decimal separator by @doozMen. #889
  • Fixed: Import only the implementation of Testing. #903
  • Infrastructure: Inline snapshot testing import by @doozMen. #887

New Contributors

Full Changelog: 1.17.4...1.17.5

1.17.4

07 Aug 19:55
Compare
Choose a tag to compare

What's Changed

  • Fixed: Address an Xcode 16 beta 5 compilation error (#885).

Full Changelog: 1.17.3...1.17.4

1.17.3

01 Aug 22:15
Compare
Choose a tag to compare

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

12 Jul 20:12
c097f95
Compare
Choose a tag to compare

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

09 Jul 16:25
63d3b45
Compare
Choose a tag to compare

What's Changed

  • Fixed: Xcode 16 beta 3 support for Swift Testing (#869).

Full Changelog: 1.17.0...1.17.1

1.17.0

08 Jul 20:38
Compare
Choose a tag to compare

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 the isRecording 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 using SNAPSHOT_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

Full Changelog: 1.16.2...1.17.0

1.16.2

03 Jul 13:26
Compare
Choose a tag to compare

What's Changed

  • Fixed: Update Package.swift for SwiftSyntax 601-prerelease in #861

Full Changelog: 1.16.1...1.16.2

1.16.1

12 Jun 17:10
8ddd519
Compare
Choose a tag to compare

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

Full Changelog: 1.16.0...1.16.1

1.16.0

05 Apr 20:46
Compare
Choose a tag to compare

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

Full Changelog: 1.15.4...1.16.0