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

chore(deps): update rust crate insta to v1.42.1 #873

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 25, 2025

This PR contains the following updates:

Package Type Update Change
insta (source) dev-dependencies minor 1.41.1 -> 1.42.1

Release Notes

mitsuhiko/insta (insta)

v1.42.1

Compare Source

  • Improved handling of control characters in inline snapshots. #​713
  • Add pending deprecation warning for --accept-unseen. We've left an issue
    open at #​659 eliciting feedback on
    whether anyone uses this for a few months. A warning will now be printed when
    --accept-unseen is used, and we'll eventually remove the feature unless we
    get some feedback that it's useful. #​668

v1.42.0

Compare Source

  • Text snapshots no longer contain snapshot_type: text in their metadata. For
    context, we originally added this in the prior release (1.41.0) to support
    binary snapshots, but some folks disliked the diff noise on any snapshot
    changes, and the maintainers' weighted votes favored reverting. I apologize
    that this will cause some additional churn for those who used cargo insta test --force-update-snapshots to update their snapshots to the 1.41 format;
    running this again with 1.42 will remove those metadata entries. To confirm:
    this doesn't affect whether snapshot tests pass or fail — the worst impact is
    some additional diffs in metadata. #​690
  • Pending snapshots are no longer removed throughout the workspace by
    cargo-insta before running tests. Instead, running a test will overwrite or
    remove its own pending snapshot. To remove all pending snapshots, use cargo insta reject or run tests with --unreferenced=delete. #​651
  • insta::internals::SettingsBindDropGuard (returned from
    Settings::bind_to_scope) no longer implements Send. This was incorrect and
    any tests relying on this behavior where not working properly. Fixes #​694 in
    #​695 by @​jalil-salame

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 is behind base branch, 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 force-pushed the renovate/insta-1.x-lockfile branch from 8dff4c7 to 6de9c66 Compare February 25, 2025 21:32
@maxjoehnk maxjoehnk merged commit 648b25f into main Feb 25, 2025
9 checks passed
@maxjoehnk maxjoehnk deleted the renovate/insta-1.x-lockfile branch February 25, 2025 22:21
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.

1 participant