Skip to content

Releases: pointfreeco/swift-snapshot-testing

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

1.15.4

04 Mar 21:41
5b0c434
Compare
Choose a tag to compare

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

01 Feb 22:29
e7b7722
Compare
Choose a tag to compare

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

08 Jan 19:43
8e68404
Compare
Choose a tag to compare

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

27 Nov 19:02
59b663f
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: 1.15.0...1.15.1

1.15.0

14 Nov 23:06
4862d48
Compare
Choose a tag to compare

What's Changed

  • Added: assertInlineSnapshot now has record 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

13 Oct 18:14
bb0ea08
Compare
Choose a tag to compare

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

06 Oct 20:51
Compare
Choose a tag to compare

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

02 Oct 22:01
Compare
Choose a tag to compare

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

Full Changelog: 1.13.0...1.14.0