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.40.0 #21

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2024

This PR contains the following updates:

Package Type Update Change
insta (source) dev-dependencies minor 1.39.0 -> 1.40.0

Release Notes

mitsuhiko/insta (insta)

v1.40.0

Compare Source

  • cargo-insta no longer panics when running cargo insta test --accept --workspace
    on a workspace with a default crate. #​532

  • MSRV for insta has been raised to 1.60, and for cargo-insta to 1.64.

  • Added support for compact debug snapshots (assert_compact_debug_snapshot). #​514

  • Deprecate --no-force-pass in cargo-insta. The --check option covers the
    same functionality and has a clearer name. #​513

  • Inline snapshots now use the required number of #s to escape the snapshot
    value, rather than always using ###. This allows snapshotting values which
    themselves contain ###. If there are no existing # characters in the
    snapshot value, a single # will be used. #​540

  • Inline snapshots can now be updated with --force-update-snapshots. #​569

  • cargo insta test accepts multiple --exclude flags. #​520

  • test runner in insta's yaml config works. #​544

  • Print a warning when encountering old snapshot formats. #​503

  • Group the options in cargo insta --help, upgrade to clap from structopt. #​518

  • No longer suggest running cargo insta message when running cargo insta test --check. #​515

  • Print a clearer error message when accepting a snapshot that was removed. #​516

  • Mark require-full-match as experimental, given some corner-cases are currently difficult to manage. #​497

  • Add a new integration test approach for cargo-insta and a set of integration tests. #​537

  • Enable Filters to be created from IntoIterator types, rather than just Vecs. #​570

  • Implemented total sort order for an internal Key type correctly. This prevents potential
    crashes introduced by the new sort algorithm in Rust 1.81. #​586


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.


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

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

@akrantz01 akrantz01 merged commit d3e6e6d into main Sep 16, 2024
21 checks passed
@akrantz01 akrantz01 deleted the renovate/insta-1.x-lockfile branch September 16, 2024 15:28
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