Update Rust crate insta to v1.43.2 #263
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.41.1->1.43.2Release Notes
mitsuhiko/insta (insta)
v1.43.2Compare Source
cargo metadatafails to execute or parse (e.g., when cargo is not in PATH or returns invalid output). Now falls back to using the manifest directory as the workspace root. #798 (@adriangb)uninlined_format_argslint warnings. #801INSTA_GLOB_FILTER. #786libccrate to0.2.174, fixing building on musl targets, and increasing the MSRV ofinstato1.64.0(released Sept 2022). #784v1.43.1Compare Source
This release in identical in rust code to 1.43.0, but reruns the GitHub Actions
workflows, which failed to create a release within GitHub for 1.43.0.
v1.43.0Compare Source
cargo insta review:Ato accept all,Rto reject all, andSto skip all remaining snapshots.#745
--unreferenced=auto(or other relevant values) no longer cleans up pendingsnapshots. A bug where
cargo insta test --unreferenced=autowouldincorrectly pass on new pending snapshots has been fixed.
cargo-nextestbin withINSTA_CARGO_NEXTEST_BIN. #721 (Louis Fruleux)INSTA_WORKSPACE_ROOTat compile time. This is useful for reproducible binariesso they don't contain references to
CARGO_MANIFEST_DIR. #726 (Pascal Bach)linked-hash-mapandpin-projectdependencies. #742, #741, #738cargo insta reviewfails with a helpful error message when run in a non-TTY environment.v1.42.2Compare Source
unseenoption in CLI, as it's pending deprecation. #732\tand\x1b(ANSI color escape) from causing snapshots to be escaped. #715allow_duplicates! { .. }. #712v1.42.1Compare Source
--accept-unseen. We've left an issueopen at #659 eliciting feedback on
whether anyone uses this for a few months. A warning will now be printed when
--accept-unseenis used, and we'll eventually remove the feature unless weget some feedback that it's useful. #668
v1.42.0Compare Source
snapshot_type: textin their metadata. Forcontext, 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-snapshotsto 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
cargo-instabefore running tests. Instead, running a test will overwrite orremove its own pending snapshot. To remove all pending snapshots, use
cargo insta rejector run tests with--unreferenced=delete. #651insta::internals::SettingsBindDropGuard(returned fromSettings::bind_to_scope) no longer implementsSend. This was incorrect andany 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.
This PR was generated by Mend Renovate. View the repository job log.