chore(deps): update rust crate insta to v1.40.0 #53
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.33.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
v1.39.0
Compare Source
Fixed a bug in
require_full_match
. #485Fixed a bug that caused snapshot and module names to sometimes be inaccurate. #483
Insta will no longer error when attempting to remove snapshots that were already removed. #484
Added support for trailing commas in inline snapshots. #472
Don't pass
--color
in all cases tolibtest
any more to work around limitationswith custom test harnesses. #491
v1.38.0
Compare Source
Filters
is now constructible fromIntoIterator
. #400Change
std
macro calls to be fully qualified. This fixes issues wherethe prelude was not used or the macros were overridden. #469
v1.37.0
Compare Source
All macros for file snapshots should now handle trailing commas (but not yet inline snapshots)
Vendored old
yaml-rust
dependency to avoid rustsec warnings. #465v1.36.1
Compare Source
v1.36.0
Compare Source
Deprecate
INSTA_FORCE_UPDATE_SNAPSHOTS
env-var forINSTA_FORCE_UPDATE
.The latter was documented, the former was implemented. #449
Add
require_full_match
option. #448Deprecate
assert_display_snapshot!
. #385v1.35.1
Compare Source
v1.35.0
Compare Source
.config
was in the root.match .. { ... }
syntax to redactions for betterrustfmt
support. (#428)--package
parameter can be supplied multiple times now. (#427)inline snapshots that were never able to match. (#444)
cargo insta test
now accepts the--test
parameter multiple times. (#437)v1.34.0
Compare Source
cargo-insta
into a workspace. (#410)--manifest-path
with regards to virtual workspaces. (#409)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 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.