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.41.0 #13956

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 28, 2024

This PR contains the following updates:

Package Type Update Change
insta (source) workspace.dependencies minor 1.40.0 -> 1.41.0

Release Notes

mitsuhiko/insta (insta)

v1.41.0

Compare Source

  • Experimental support for binary snapshots. #​610 (Florian Plattner)

  • --force-update-snapshots now causes cargo-insta to write every snapshot, regardless of whether
    snapshots fully match, and now implies --accept. This
    allows for --force-update-snapshots to update inline snapshots'
    delimiters and indentation.

    For the previous behavior of --force-update-snapshots, which limited writes to
    snapshots which didn't fully match, use --require-full-match.
    The main difference between --require-full-match and the existing behavior of --force-update-snapshots
    is a non-zero exit code on any snapshots which don't fully match.

    Like the previous behavior or --force-update-snapshots, --require-full-match
    doesn't track inline snapshots' delimiters or
    indentation, so can't update if those don't match. #​644

  • Inline snapshots only use # characters as delimiters when required. #​603

  • Warnings for undiscovered snapshots are more robust, and include files with
    custom snapshot extensions. #​637

  • Insta runs correctly on packages which reference rust files in a parent path. #​626

  • Warnings are printed when any snapshot uses a legacy format. #​599

  • cargo insta --version now prints a version. #​665

  • insta now internally uses INSTA_UPDATE=force rather than
    INSTA_FORCE_UPDATE=1. (This doesn't affect users of cargo-insta, which
    handles this internally.) #​482

  • cargo-insta's integration tests continue to grow over the past couple of versions,
    and now offer coverage of most of cargo-insta's interface.


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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 internal An internal refactor or improvement label Oct 28, 2024
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch from 68d9b6f to 0d3e223 Compare October 28, 2024 06:18
@MichaReiser MichaReiser enabled auto-merge (squash) October 28, 2024 06:51
@MichaReiser MichaReiser merged commit 41f7451 into main Oct 28, 2024
19 checks passed
@MichaReiser MichaReiser deleted the renovate/insta-1.x-lockfile branch October 28, 2024 06:51
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant