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.10 to 0.11 #7

Merged
merged 1 commit into from
Aug 29, 2019

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.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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

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.10.0...0.11.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 Aug 29, 2019
@mockersf mockersf merged commit e083bc6 into master Aug 29, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/insta-0.11 branch August 29, 2019 19:57
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

1 participant