Skip to content

Releases: pointfreeco/swift-snapshot-testing

1.17.2

Choose a tag to compare

@stephencelis stephencelis released this 12 Jul 20:12
c097f95

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

Choose a tag to compare

@stephencelis stephencelis released this 09 Jul 16:25
63d3b45

What's Changed

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

Full Changelog: 1.17.0...1.17.1

1.17.0

Choose a tag to compare

@stephencelis stephencelis released this 08 Jul 20:38

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

Choose a tag to compare

@mbrandonw mbrandonw released this 03 Jul 13:26

What's Changed

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

Full Changelog: 1.16.1...1.16.2

1.16.1

Choose a tag to compare

@stephencelis stephencelis released this 12 Jun 17:10
8ddd519

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

Choose a tag to compare

@stephencelis stephencelis released this 05 Apr 20:46

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

1.15.4

Choose a tag to compare

@stephencelis stephencelis released this 04 Mar 21:41
5b0c434

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

Choose a tag to compare

@stephencelis stephencelis released this 01 Feb 22:29
e7b7722

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

Choose a tag to compare

@stephencelis stephencelis released this 08 Jan 19:43
8e68404

What's Changed

  • Fixed: Support perceptual comparisons on platforms that do not support metal (thanks @ejensen, #666).
  • Fixed: Better support for WKWebView in Xcode 14 and Xcode 15 (thanks @teameh, #692).

Full Changelog: 1.15.1...1.15.2

1.15.1

Choose a tag to compare

@mbrandonw mbrandonw released this 27 Nov 19:02
59b663f

What's Changed

  • Improve the speed of comparing memory buffers by @ejensen in #664

Full Changelog: 1.15.0...1.15.1