vue-compiler icon indicating copy to clipboard operation
vue-compiler copied to clipboard

chore(deps): update rust crate insta to 1.21.0

Open renovate[bot] opened this issue 3 years ago • 0 comments

Mend Renovate

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 show command to render a snapshot.
  • Added support for compact JSON snapshots. (#​288)

v1.20.0

Compare Source

  • cargo insta now supports nextest as test runner. (#​285)
  • The glob! macro now defers failures by default. (#​284)

v1.19.1

Compare Source

  • Added support for numeric keys in JSON which regressed in 0.18.0. (#​281)

v1.19.0

Compare Source

  • Removed backtrace feature.
  • Removed serialization feature.
  • assert_json_snapshot! and assert_yaml_snapshot! now require the json and yaml feature respectively.
  • Doctests now emit a warning that inline snapshot updating is not supported (#​272)
  • Added support for INSTA_GLOB_FILTER to skip over tests expanded from a glob. (#​274)

v1.18.2

Compare Source

  • Avoid the use of #[allow(unused)] in the macro. (#​271)

v1.18.1

Compare Source

  • Fixed a regression in the JSON serialization format with newtypes and tuple variants. (#​270)

v1.18.0

  • Settings::bind now can return a result.
  • Expose the drop guard type of bind_to_scope.
  • The serde dependency is now optional. While still enabled by default users need to opt into yaml and json features explicitly to regain support for it. To avoid the default serde dependency the default features just need to be disabled. (#​255)
  • Deprecated unused serialization features.
  • Deprecated unused backtrace feature.
  • 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-insta where sometimes accepting inline snapshots would crash with an out of bounds panic.
  • Added new filters feature. (#​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_scope and deprecated Settings::bind_to_thread. (#​250)
  • Added support for minimal-versions builds.

v1.16.0

Compare Source

  • Added --no-quiet/-Q flag to cargo insta test to 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 description and info to snapshots. (#​239)
  • Added omit_expression setting. (#​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.

renovate[bot] avatar Jul 22 '22 00:07 renovate[bot]