Skip to content

Update insta requirement from 0.16.1 to 1.14.1#41

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

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

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 6, 2022

Updates the requirements on insta to permit the latest version.

Changelog

Sourced from insta's changelog.

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 unfortunatley 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 by using a helper macro instead or to explicitly pass a snapshot name in such situations.

1.11.0

  • Trim down some unnecessary dependencies and switch to once_cell. (#208)

1.10.0

  • Update internal dependencies for console and ron.

1.9.0

  • cargo-insta now correctly handles the package (-p) argument on test when deleting unreferenced snapshots. (#201)

1.8.0

... (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.14.1)

---
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 Jun 6, 2022

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

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 20, 2022

Superseded by #42.

@dependabot dependabot bot closed this Jun 20, 2022
@dependabot dependabot bot deleted the dependabot/cargo/insta-1.14.1 branch June 20, 2022 23:16
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