Skip to content

Update insta requirement from 0.16.1 to 1.16.0#45

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/insta-1.16.0
Closed

Update insta requirement from 0.16.1 to 1.16.0#45
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/insta-1.16.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 25, 2022

Updates the requirements on insta to permit the latest version.

Changelog

Sourced from insta's changelog.

1.16.0

  • 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)

1.15.0

  • Bump minimum version of Rust to 1.56.1. This was done because the used serde-yaml dependency no longer supports older versions of Rust.

1.14.1

  • Update uuid crate to 1.0.0. (#228)
  • Use inline block format also for strings of form "foo\n". (#225)

1.14.0

  • Fixed a bug that caused insta to panic if inline snapshot assertions moved since the time of the snapshot creation. (#220)
  • cargo insta test now returns non zero status code when snapshots are left for review. (#222)
  • Assertion failures now mention cargo insta test. (#223)

1.13.0

  • Fixed a bug where an extra newline was emitted following the snapshot header.
  • assertion_line is no longer retained in snapshots. (#218)

1.12.0

  • Add support for sorting redactions (sorted_redaction and Settings::sort_selector). (#212)
  • Changed snapshot name detection to no longer use thread names but function names. (#213)

Upgrade Notes:

Insta used to detect the current test name by using the current thread name. This appeared to work well but unfortunately ran into various limitations. In particular in some cases the thread name was truncated, missing or did not point to the current test name. To better support different platforms and situations insta now uses the function name instead.

This however changes behavior. In particular if you are using a helper function to assert, a different snapshot name will now be used. You can work around this issue

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [insta](https://github.com/mitsuhiko/insta) to permit the latest version.
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](mitsuhiko/insta@0.16.1...1.16.0)

---
updated-dependencies:
- dependency-name: insta
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 25, 2022

The following labels could not be found: C-Dependencies.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 1, 2022

Superseded by #46.

@dependabot dependabot bot closed this Aug 1, 2022
@dependabot dependabot bot deleted the dependabot/cargo/insta-1.16.0 branch August 1, 2022 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants