Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update insta requirement from 0.16.1 to 1.13.0 #4137

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 7, 2022

Updates the requirements on insta to permit the latest version.

Changelog

Sourced from insta's changelog.

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

  • Added the ability to redact into a key. (#192)
  • Insta now memorizes assertion line numbers in snapshots. While these will quickly be old, they are often useful when reviewing snapshots immediately after creation with cargo-insta. (#191)

1.7.2

  • Fixed an issue where selectors could not start with underscore. (#189)
  • Allow passing arguments to cargo test. (#183)
  • Avoid the use of Box::leak. (#185)
  • When INSTA_WORKSPACE_ROOT is set, the value is used as the manifest directory rather than whatever CARGO_MANIFEST_DIR was set to at compile

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

@dependabot dependabot bot added the C-Dependencies A change to the crates that Bevy depends on label Mar 7, 2022
@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Mar 7, 2022
@alice-i-cecile alice-i-cecile removed the S-Needs-Triage This issue needs to be labelled label Mar 7, 2022
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.13.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/insta-1.13.0 branch from 61bd54b to 3a4868b Compare March 19, 2022 04:16
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 28, 2022

Superseded by #4349.

@dependabot dependabot bot closed this Mar 28, 2022
@dependabot dependabot bot deleted the dependabot/cargo/insta-1.13.0 branch March 28, 2022 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Dependencies A change to the crates that Bevy depends on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant