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.12 to 0.13 #19

Merged
merged 1 commit into from
Jan 27, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on insta to permit the latest version.

Changelog

Sourced from insta's 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
  • 4f9e70e Updated changelog for 0.13.1
  • 74210cd Add support for test name recovery from the call stack (#98)
  • 6df4f1f Fix some broken tests and add them to the make command (#97)
  • a6d9a08 Add support for unseen snapshot writing (#96)
  • c9136af ref: kill uuid for just some time to cut down on deps
  • ba58158 0.13.0
  • 39c150f Update readme
  • 3cea163 Update changelog
  • 8262c58 feat: Added support for deep redactions. Fixes #90
  • 0c02ead fix: Remove an incorrect dbg statement
  • Additional commits viewable in compare view

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.12.0...0.13.1)

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 Jan 27, 2020
@mergify mergify bot merged commit dfab16c into master Jan 27, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/insta-0.13 branch January 27, 2020 05:46
mockersf pushed a commit that referenced this pull request Jan 27, 2020
Merge pull request #19 from mockersf/dependabot/cargo/insta-0.13

⬆️ Update insta requirement from 0.12 to 0.13
mockersf pushed a commit that referenced this pull request Jan 30, 2020
Merge pull request #19 from mockersf/dependabot/cargo/insta-0.13

⬆️ Update insta requirement from 0.12 to 0.13
mockersf pushed a commit that referenced this pull request Feb 6, 2020
Merge pull request #19 from mockersf/dependabot/cargo/insta-0.13

⬆️ Update insta requirement from 0.12 to 0.13
mockersf pushed a commit that referenced this pull request Feb 13, 2020
Merge pull request #19 from mockersf/dependabot/cargo/insta-0.13

⬆️ Update insta requirement from 0.12 to 0.13
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.

0 participants