Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support inline snapshot API migrations #779

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

stephencelis
Copy link
Member

Now that inline snapshotting is extensible let's also make it a little more flexible. By referencing a list of deprecated trailing closure labels, we can allow folks to provide automatic migration paths for recording over old snapshots.

@stephencelis stephencelis merged commit 7323e72 into main Oct 2, 2023
3 checks passed
@stephencelis stephencelis deleted the inline-snapshot-migrations branch October 2, 2023 21:44
isismsilva referenced this pull request in powerhome/playbook-swift Oct 3, 2023
#166)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[pointfreeco/swift-snapshot-testing](https://togithub.com/pointfreeco/swift-snapshot-testing)
| minor | `from: "1.13.0"` -> `from: "1.14.0"` |

---

### Release Notes

<details>
<summary>pointfreeco/swift-snapshot-testing
(pointfreeco/swift-snapshot-testing)</summary>

###
[`v1.14.0`](https://togithub.com/pointfreeco/swift-snapshot-testing/releases/tag/1.14.0)

[Compare
Source](https://togithub.com/pointfreeco/swift-snapshot-testing/compare/1.13.0...1.14.0)

#### What's Changed

- Added: Support for inline snapshot API migrations
([https://github.com/pointfreeco/swift-snapshot-testing/pull/779](https://togithub.com/pointfreeco/swift-snapshot-testing/pull/779))
- Updated: Pinned SwiftSyntax to 509.0.0
([https://github.com/pointfreeco/swift-snapshot-testing/pull/774](https://togithub.com/pointfreeco/swift-snapshot-testing/pull/774)).
- Fixed: Escape carriage returns explicitly in inline snapshots
([https://github.com/pointfreeco/swift-snapshot-testing/pull/772](https://togithub.com/pointfreeco/swift-snapshot-testing/pull/772)).
- Infrastructure: CONTRIBUTING.md fixes (thanks
[@&#8203;soo941226](https://togithub.com/soo941226),
[https://github.com/pointfreeco/swift-snapshot-testing/pull/773](https://togithub.com/pointfreeco/swift-snapshot-testing/pull/773)).

#### New Contributors

- [@&#8203;soo941226](https://togithub.com/soo941226) made their first
contribution in
[https://github.com/pointfreeco/swift-snapshot-testing/pull/773](https://togithub.com/pointfreeco/swift-snapshot-testing/pull/773)

**Full Changelog**:
pointfreeco/swift-snapshot-testing@1.13.0...1.14.0

</details>

---

### Configuration

📅 **Schedule**: 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/powerhome/PlaybookSwift).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Muhieddine-El-Kaissi pushed a commit to thumbtack/swift-snapshot-testing that referenced this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants