All Versions
Latest Version
Avg Release Cycle
55 days
Latest Release
1402 days ago

Changelog History
Page 1

  • v1.8.2 Changes

    August 20, 2020
    • โœ… Rename SnapshotTesting.record to SnapshotTesting.isRecording to avoid clash with XCTestCase's new record method (thanks @xavierLowmiller).
    • ๐Ÿ›  Fix UIApplication selector to return the application as expected (thanks @mstultz).
    • ๐Ÿ›  Fix key window warning (thanks @tinder-maxwellelliott)
  • v1.8.1 Changes

    June 19, 2020
    • ๐Ÿ”„ Change minimum iOS version from iOS 10 to 11 to fix SwiftUI linking problems (thanks @thedavidharris).
  • v1.8.0 Changes

    June 12, 2020
    • โž• Added: SwiftUI support (thanks @natemann, @regexident).
    • โž• Added: Apple TV 4K support (thanks @reez).
    • โž• Added: Mac Catalyst support (thanks @rjchatfield).
    • โž• Added: UIBezierPath, NSBezierPath, CGPath strategies (thanks @regexident).
    • ๐Ÿ‘Œ Improved: don't crash on empty images, instead produce error artifact (thanks @mackoj).
    • ๐Ÿ› Bug fixed: trait collection now passed to view controller's recursive description strategy (thanks @erikpoort).
    • ๐Ÿ› Bug fixed: will no longer crash on hidden/unloaded web views (thanks @stuaustin).
    • ๐Ÿ› Bug fixed: don't re-add view controller to window when already added (thanks @hassfers).
    • โœ… More test coverage (thanks @SatoTakeshiX, @sidepelican).
    • โœ๏ธ Typos fixed (thanks @freak4pc, @jstart).
    • ๐Ÿง Other improvements: timeout error messaging, installation instructions, troubleshooting instructions, Linux CI.
  • v1.7.2 Changes

    February 07, 2020

    ๐Ÿš€ This release fixes a bug introduced in the Xcode 11.4 beta with SPM and Swift 5.2.

  • v1.7.1 Changes

    December 15, 2019

    ๐Ÿš€ This minor release introduces backwards compatibility for SwiftPM Tools @ 5.0.

  • v1.7.0 Changes

    December 11, 2019

    What's new?

    • ๐Ÿ†• New snapshot strategy: wait (#268)

    What's improved?

    • ๐ŸŽ Performance improvement: don't diff during recording (#250)
    • ๐Ÿ“š Documentation improvement: Xcode 11 installation instructions (#256)
    • โœ… NSView rendering improvements (#260)
    • ๐Ÿ“š Documentation improvement: SPM test dependency instructions (#265)
    • โœ… cURL rendering improvements (#273)

    ๐Ÿš€ Thanks to @mr-v, @f-meloni, @schwmi, @freak4pc, and @ldstreet for contributing to this release!

  • v1.6.0 Changes

    September 25, 2019

    What's changed since last time?

    • โž• Add device sizes for split view variants of iPads (#209)
    • โž• Add recording to inline snapshotting (#212)
    • โœ… Sort cURL strategy headers (#214)
    • โž• Add iOS minimum required deployment target to Package.swift (#215)
    • ๐Ÿ‘ Allow dynamic size of views based on trait collection content sizes (#217)
    • โœ… Disable bitcode (#221)
    • ๐Ÿ‘Œ Improve _assertInlineSnapshot ergonomics and tests (#231 and #232)
    • โœ… Use URL.init(fileURLWithPath:isDirectory:) to avoid file IO (#236)
    • โœ… Speed up image diffing (#248)
    • ๐Ÿ‘Œ Improve image diff drawing performance (#249)

    ๐Ÿš€ Thanks to @Sherlouk, @crayment, @jayhickey, @MarianaMeireles, @pavel-y-ivanov, @ferranpujolcamins, @kirillyakimovich, and @mr-v for making this release happen!

  • v1.5.0 Changes

    March 29, 2019

    What's new

    ๐Ÿš€ @rjchatfield has introduced (#199) a brand new way of snapshotting textual information, called "inline snapshot testing," which automatically inlines snapshots directly in your test file. The 1.5.0 release includes a preview of this functionality! You can use the _assertInlineSnapshot helper to try it out. Thanks to @rjchatfield for the PR, and find out more here.

    โœ… Two new URLRequest snapshot strategies have been included. First, @Sherlouk has included a curl snapshotting strategy (#203), which snapshots your prepared requests in the cURL format. Also we now have a snapshot strategy for capturing a URLRequest with its body pretty printed, when possible (#157). This helps make POST requests more easily inspectable in the reference file.

  • v1.4.0 Changes

    March 26, 2019

    ๐Ÿš€ This release brings SnapshotTesting up to date with Swift 5!

    What's changed?

    • ๐Ÿ‘ Swift 5 support!
    • ๐Ÿง The SnapshotTestCase subclass is no longer needed on Linux and has been deprecated as a type alias to XCTestCase. The type alias will be removed in a future version (#200).
    • โšก๏ธ The dump strategy has been optimized (#195).
  • v1.3.0 Changes

    March 14, 2019

    What's new?

    • ๐Ÿ”ง A new view configuration for the 11" iPad Pro's resolution and safe area (#187).
    • ๐Ÿ— A few let properties on Snapshotting and Diffing have been relaxed to be vars to make it easier to build strategies from existing ones (#189).
    • โœ… The UIImage diff message has been generalized to read nicely while in record mode (#188).