chore(deps): update rust crate insta to 1.21.0
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| insta (source) | dev-dependencies | minor | 1.15.0 -> 1.21.0 |
Release Notes
mitsuhiko/insta
v1.21.0
- Fixed an issue that broke support for older rust versions. (#292)
- Added
cargo insta showcommand to render a snapshot. - Added support for compact JSON snapshots. (#288)
v1.20.0
cargo instanow supports nextest as test runner. (#285)- The
glob!macro now defers failures by default. (#284)
v1.19.1
- Added support for numeric keys in JSON which regressed in 0.18.0. (#281)
v1.19.0
- Removed
backtracefeature. - Removed
serializationfeature. assert_json_snapshot!andassert_yaml_snapshot!now require thejsonandyamlfeature respectively.- Doctests now emit a warning that inline snapshot updating is not supported (#272)
- Added support for
INSTA_GLOB_FILTERto skip over tests expanded from a glob. (#274)
v1.18.2
- Avoid the use of
#[allow(unused)]in the macro. (#271)
v1.18.1
- Fixed a regression in the JSON serialization format with newtypes and tuple variants. (#270)
v1.18.0
Settings::bindnow can return a result.- Expose the drop guard type of
bind_to_scope. - The
serdedependency is now optional. While still enabled by default users need to opt intoyamlandjsonfeatures explicitly to regain support for it. To avoid the defaultserdedependency the default features just need to be disabled. (#255) - Deprecated unused
serializationfeatures. - Deprecated unused
backtracefeature. - Removed deprecated
Settings::bind_to_thread.
Breaking Changes / Upgrading: If you are upgrading to serde 1.18.0 you will
receive deprecating warnings if you are using the assert_yaml_snapshot! and
assert_json_snapshot! macros. These macros will continue to function in the
future but they will require explicit opting into the yaml and json features.
To silence the warning add them to your insta dependency. Additionally the
backtrace feature was deprecated. It is no longer needed so just remove it.
v1.17.2
- Remove an accidentaly debug print output.
v1.17.1
- Added support for nextest. (#242)
- Resolved an issue where inline snapshot tests in doctests refused to work. (#252)
v1.17.0
- Fixed an issue in
cargo-instawhere sometimes accepting inline snapshots would crash with an out of bounds panic. - Added new
filtersfeature. (#245) - Disallow unnamed snapshots in doctests. (#246)
with_settings!macro now inherits the former settings rather than resetting. (#249)- Added support for
Settings::bind_to_scopeand deprecatedSettings::bind_to_thread. (#250) - Added support for
minimal-versionsbuilds.
v1.16.0
- Added
--no-quiet/-Qflag tocargo insta testto suppress the quiet flag. This works around limitations with custom test harnesses such as cucumber. - Update RON to 0.7.1.
- Improved ergonomics around
with_settings!. It's now a perfect match to the settings object's setter methods. - Added
descriptionandinfoto snapshots. (#239) - Added
omit_expressionsetting. (#239) - Added improved support for running insta from doctests. (#243)
Configuration
📅 Schedule: Branch creation - "every weekend" (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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.