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.39.0
->1.40.0
Release Notes
mitsuhiko/insta (insta)
v1.40.0
Compare Source
cargo-insta
no longer panics when runningcargo insta test --accept --workspace
on a workspace with a default crate. #532
MSRV for
insta
has been raised to 1.60, and forcargo-insta
to 1.64.Added support for compact debug snapshots (
assert_compact_debug_snapshot
). #514Deprecate
--no-force-pass
incargo-insta
. The--check
option covers thesame functionality and has a clearer name. #513
Inline snapshots now use the required number of
#
s to escape the snapshotvalue, rather than always using
###
. This allows snapshotting values whichthemselves contain
###
. If there are no existing#
characters in thesnapshot value, a single
#
will be used. #540Inline snapshots can now be updated with
--force-update-snapshots
. #569cargo insta test
accepts multiple--exclude
flags. #520test
runner
in insta's yaml config works. #544Print a warning when encountering old snapshot formats. #503
Group the options in
cargo insta --help
, upgrade toclap
fromstructopt
. #518No longer suggest running
cargo insta
message when runningcargo insta test --check
. #515Print 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. #497Add a new integration test approach for
cargo-insta
and a set of integration tests. #537Enable Filters to be created from
IntoIterator
types, rather than justVec
s. #570Implemented total sort order for an internal
Key
type correctly. This prevents potentialcrashes 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.
This PR was generated by Mend Renovate. View the repository job log.