Skip to content

Update dependency pointfreeco/swift-snapshot-testing to from: "1.19.4" - #23

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/swift-non-major-dependencies
Open

Update dependency pointfreeco/swift-snapshot-testing to from: "1.19.4"#23
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/swift-non-major-dependencies

Conversation

@renovate

@renovate renovate Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
pointfreeco/swift-snapshot-testing minor from: "1.11.0"from: "1.19.4"

Release Notes

pointfreeco/swift-snapshot-testing (pointfreeco/swift-snapshot-testing)

v1.19.4

Compare Source

What's Changed
New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.19.3...1.19.4

v1.19.3

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.19.2...1.19.3

v1.19.2

Compare Source

What's Changed

  • Fixed: Bump swift-syntax to latest (thanks @​dfed, #​1074).
  • Fixed: Address compiler crash affecting Swift 5.9...6.0.

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.19.1...1.19.2

v1.19.1

Compare Source

What's Changed

  • Fixed: Record Swift Testing attachments for new snapshots (#​1065).
  • Fixed: UIImage attachments in Swift Testing (#​1066).
  • Fixed: Use native Swift Testing image attachments in Swift >=6.3 (thanks @​ajkolean, #​1067).

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.19.0...1.19.1

v1.19.0

Compare Source

What's Changed

  • Added: Swift Testing attachment support (#​1064).
  • Added: Explicit record: Record? parameter (deprecating isRecording: Bool?) (thanks @​pyrtsa, #​1057).
  • Improved: The image diff algorithm has been improved to better highlight subtle differences (thanks @​CraigSiemens, #​1028).
  • Infrastructure: Documentation fixes (thanks @​Kyle-Ye, #​997).

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.9...1.19.0

v1.18.9

Compare Source

What's Changed

  • Fixed: Address a regression from 1.18.8 that prevented inline snapshots from recording (#​1050).
  • Fixed: Linux inline snapshots are now recorded (#​1050).

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.8...1.18.9

v1.18.8

Compare Source

What's Changed

  • Fixed: Don't install test observer when in Swift Testing to avoid Linux crash (#​1048).
  • Infrastructure: Add max line length to .editorconfig (thanks @​pyrtsa, #​1034).
  • Infrastructure: Update package versioning (#​1035).

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.7...1.18.8

v1.18.7

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.6...1.18.7

v1.18.6

Compare Source

What's Changed

  • Fixed: Address potential main thread deadlock when invoking assertInlineSnapshot from a non-main queue running on the main thread (#​1012).

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.5...1.18.6

v1.18.5

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.4...1.18.5

v1.18.4

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.3...1.18.4

v1.18.3

Compare Source

What's Changed

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.2...1.18.3

v1.18.2

Compare Source

What's Changed

  • Fixed: A potential main thread deadlock that was introduced in 1.18.0 (from #​946) has been fixed (#​962).
  • Fixed: Support stable 6.1 swift-syntax (thanks @​shimastripe, #​964).
  • Fixed: Use Swift 6.1 TestScoping in test trait when available (#​965).
  • Fixed: Swift Testing now supports repeated test runs in Swift 6.1 (#​966).
  • Infrastructure: Update README for Swift Testing (#​967).

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.1...1.18.2

v1.18.1

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.18.0...1.18.1

v1.18.0

Compare Source

What's Changed

  • Added: A new .customDump strategy (vended by a new SnapshotTestingCustomDump module) (#​948). The existing .dump strategy has been soft-deprecated.
  • Added: Android support (thanks @​marcprux, #​939).
  • Fixed: assertInlineSnapshot's record parameter now supports the all record modes (#​947).
  • Fixed: Avoid main thread detection issue in @MainActor-annotated tests (thanks @​peterkovacs, #​946).

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.17.7...1.18.0

v1.17.7

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.17.6...1.17.7

v1.17.6

Compare Source

What's Changed

  • Fixed: assertSnapshot for Swift Testing tests. #​916

Full Changelog: pointfreeco/swift-snapshot-testing@1.17.5...1.17.6

v1.17.5

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.17.4...1.17.5

v1.17.4

Compare Source

What's Changed

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

Full Changelog: pointfreeco/swift-snapshot-testing@1.17.3...1.17.4

v1.17.3

Compare Source

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: pointfreeco/swift-snapshot-testing@1.17.2...1.17.3

v1.17.2

Compare Source

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: pointfreeco/swift-snapshot-testing@1.17.1...1.17.2

v1.17.1

Compare Source

What's Changed

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

Full Changelog: pointfreeco/swift-snapshot-testing@1.17.0...1.17.1

v1.17.0

Compare Source

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: pointfreeco/swift-snapshot-testing@1.16.2...1.17.0

v1.16.2

Compare Source

What's Changed

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

Full Changelog: pointfreeco/swift-snapshot-testing@1.16.1...1.16.2

v1.16.1

Compare Source

What's Changed

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.16.0...1.16.1

v1.16.0

Compare Source

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: pointfreeco/swift-snapshot-testing@1.15.4...1.16.0

v1.15.4

Compare Source

What's Changed

  • Fixed: Bump swift-syntax requirements to support 5.10.0 (#​836).

Full Changelog: pointfreeco/swift-snapshot-testing@1.15.3...1.15.4

v1.15.3

Compare Source

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: pointfreeco/swift-snapshot-testing@1.15.2...1.15.3

v1.15.2

Compare Source

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: pointfreeco/swift-snapshot-testing@1.15.1...1.15.2

v1.15.1

Compare Source

What's Changed

Full Changelog: pointfreeco/swift-snapshot-testing@1.15.0...1.15.1

v1.15.0

Compare Source

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: pointfreeco/swift-snapshot-testing@1.14.2...1.15.0

v1.14.2

Compare Source

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: pointfreeco/swift-snapshot-testing@1.14.1...1.14.2

v1.14.1

Compare Source

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: pointfreeco/swift-snapshot-testing@1.14.0...1.14.1

v1.14.0

Compare Source

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: pointfreeco/swift-snapshot-testing@1.13.0...1.14.0

v1.13.0

Compare Source

What's Changed

  • Added: Inline Snapshot Testing (#​764). This allows your text-based snapshots to live right in the test source code, rather than in an external file:

    inline-snapshot

    While the library has had experimental support for this feature since 1.5.0 thanks to @​rjchatfield (#​199), we've finally put the finishing touches to it:

    • Inline snapshot testing is available in a separate InlineSnapshotTesting module. To use inline snapshot testing, add a dependency on this module and update your existing imports:

      -import SnapshotTesting
      +import InlineSnapshotTesting

      The feature has been rewritten to use SwiftSyntax. While a heavyweight dependency, it is a more reasonable tool for generating Swift code than string substitution, and will be an increasingly common dependency as the de facto tool for writing Swift macros.

      The main SnapshotTesting module does not depend on SwiftSyntax, so existing snapshot tests will not incur cost of compiling SwiftSyntax.

    • The API now follows the same structure as assertSnapshot, except it uses a trailing closure to capture the inline snapshot. This makes it easy to update an existing snapshot test to use inline snapshots:

      -assertSnapshot(of: user, as: .json)
      +assertInlineSnapshot(of: user, as .json)

      After this assertion runs, the test source code is updated in place:

      assertInlineSnapshot(of: user, as: .json) {
        """
        {
          "id" : 42,
          "isAdmin" : true,
          "name" : "Blob"
        }
        """
      }

      These trailing closures are easy to select in Xcode in order to delete and re-record a snapshot: simply double-click one of the braces to highlight the closure, delete, and run the test.

    • Inline snapshotting's assertInlineSnapshot testing tool is fully customizable so that you can build your own testing helpers on top of it without your users even knowing they are using snapshot testing. In fact, we do this to create a testing tool that helps us test the Swift code that powers Point-Free. It's called assertRequest, and it allows you to simultaneously assert the request being made to the server (including URL, query parameters, headers, POST body) as well as the response from the server (including status code and headers).

      For example, to test that when a request is made for a user to join a team subscription, we can write the following:

      await assertRequest(
        connection(
          from: request(
            to: .teamInviteCode(.join(code: subscription.teamInviteCode, email: nil)),
            session: .loggedIn(as: currentUser)
          )
        )
      )

      And when we first run the test it will automatically expand:

      await assertRequest(
        connection(
          from: request(
            to: .teamInviteCode(.join(code: subscription.teamInviteCode, email: nil)),
            session: .loggedIn(as: currentUser)
          )
        )
      ) {
        """
        POST http://localhost:8080/join/subscriptions-team_invite_code3
        Cookie: pf_session={"userId":"00000000-0000-0000-0000-000000000001"}
        """
      } response: {
        """
        302 Found
        Location: /account
        Referrer-Policy: strict-origin-when-cross-origin
        Set-Cookie: pf_session={"flash":{"message":"You now have access to Point-Free!","priority":"notice"},"userId":"00000000-0000-0000-0000-000000000001"}; Expires=Sat, 29 Jan 2028 00:00:00 GMT; Path=/
        X-Content-Type-Options: nosniff
        X-Download-Options: noopen
        X-Frame-Options: SAMEORIGIN
        X-Permitted-Cross-Domain-Policies: none
        X-XSS-Protection: 1; mode=block
        """
      }

      This shows that the response redirects the use back to their account page and shows them the flash message that they now have full access to Point-Free. This makes writing complex and nuanced tests incredibly easy, and so there is no reason to not write lots of tests for all the subtle edge cases of your application's logic.

  • Added: DocC documentation (#​765). The SnapshotTesting and InlineSnapshotTesting are fully documented using DocC.

  • Infrastructure: swift-format support (#​765). The library is now auto-formatted using swift-format.

Full Changelog: pointfreeco/swift-snapshot-testing@1.12.0...0.13.0

v1.12.0

Compare Source

What's Changed

  • Added: assertSnapshot(of:) is now the default interface for snapshot assertions (#​762). assertSnapshot(matching:) will remain in 1.x as a soft-deprecated alias.
  • Infrastructure: Add to README plug-ins (thanks @​BarredEwe, #​746; @​tahirmt, #​763).
  • Infrastructure: Don't ignore Package.resolved (#​649).

New Contributors

Full Changelog: pointfreeco/swift-snapshot-testing@1.11.1...1.12.0

v1.11.1

Compare Source

What's Changed

Full Changelog: pointfreeco/swift-snapshot-testing@1.11.0...1.11.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants