Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

⬆️ Update insta requirement from 0.13 to 0.15 #20

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on insta to permit the latest version.

Changelog

Sourced from insta's changelog.

Changelog

0.13.1

  • Added support for INSTA_UPDATE=unseen to write out unseen snapshots without review (#96)
  • Added the backtrace feature which adds support for test name (and thus snapshot name) recovery from the backtrace if rust-test is not used in concurrent mode (#94, #98)

0.13

  • Add support for deep wildcard matches (#92)
  • Use module paths for test names (#87)
  • Do not emit useless indentations for empty lines (#88)

0.12

  • Improve redactions support (#81)
  • Deprecated macros are now hidden
  • Reduce number of dependencies further.
  • Added support for newtype struct redactions.
  • Fixed bugs with recursive content operations (#80)

0.11

  • redactions are now an optional feature that must be turned on to be used (redactions).
  • RON format is now an optional feature that must be turned on to be used (ron).
  • added support for sorting maps before serialization.
  • added settings support.
  • added support for overriding the snapshot path.
  • correctly handle nested macros that might contain inline snapshots.
  • use thread name as snapshot name for inline snapshots.
  • use leading whitespace normalization for inline snapshots.
  • removed creator and created field from snapshot metadata.
  • removed the _matches suffix from all macros.
  • added an --accept option to cargo insta test
  • added --force-update-snapshots option to cargo insta test
  • added --jobs and --release argument to cargo insta test.

To upgrade to the new insta macros and snapshot formats you can use fastmod and cargo-insta together:

$ cargo install fastmod
$ cargo install cargo-insta
$ fastmod '\bassert_([a-z]+_snapshot)_matches!' 'assert_${1}!' -e rs --accept-all
$ cargo insta test --all --force-update-snapshots --accept
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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

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.13.0...0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 9, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #22.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/insta-0.15 branch April 15, 2020 04:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants