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

Update Rust crate insta to v1.42.0 #263

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 5, 2025

This PR contains the following updates:

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

Release Notes

mitsuhiko/insta (insta)

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 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: Enabled.

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.

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.

0 participants