Changelog
*Sourced from [insta's changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md).*
> # 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`](https://crates.io/crates/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
- [`5953ca3`](https://github.com/mitsuhiko/insta/commit/5953ca357eff3a93f8b5f528dd6ac5ec917a2f48) 0.11.0
- [`40e4e30`](https://github.com/mitsuhiko/insta/commit/40e4e304123aae22c01c3aa278064d0cbf3f6449) Fixed readme
- [`a04461b`](https://github.com/mitsuhiko/insta/commit/a04461b33103a4a7cd216d8b82c6e41f16db354a) Added screencast to readme
- [`61f7383`](https://github.com/mitsuhiko/insta/commit/61f738338dc1b55b747939fa170bba5d801f2cc8) Fixed bad URL
- [`32d78bb`](https://github.com/mitsuhiko/insta/commit/32d78bb560c745822851fb1b29eb82b59f7c6fe3) Remove outdated screencast gif
- [`fbf3f84`](https://github.com/mitsuhiko/insta/commit/fbf3f84ef8991759a73eee04f731f2e41bd7134e) cargo fmt
- [`9650730`](https://github.com/mitsuhiko/insta/commit/9650730d0b29837591b4c8480b62f18f229f9df0) Added upgrade command to changelog
- [`647bfb4`](https://github.com/mitsuhiko/insta/commit/647bfb458f5a6c18c9b78ad1464841784ba7c5c2) missing assert_serialized_snapshot_matches ([#67](https://github-redirect.dependabot.com/mitsuhiko/insta/issues/67))
- [`13efd81`](https://github.com/mitsuhiko/insta/commit/13efd8177b1c14127e5caaaa654331cbdfa25028) Added --release and --jobs to test command. Fixes [#66](https://github-redirect.dependabot.com/mitsuhiko/insta/issues/66)
- [`31280c6`](https://github.com/mitsuhiko/insta/commit/31280c6d824354e5456ef67fecae2cc227c04cc4) Simplified legacy macros
- Additional commits viewable in [compare view](https://github.com/mitsuhiko/insta/compare/0.10.1...0.11.0)
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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- 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.
Coverage remained the same at 73.077% when pulling 37810a3d35aa3f8a4e67e778e222e2f562e1baa0 on dependabot/cargo/insta-0.11.0 into 690c2be8a11a85150f55303bf67e74cf3e43c727 on master.
Bumps insta from 0.10.1 to 0.11.0.
Changelog
*Sourced from [insta's changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md).* > # 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`](https://crates.io/crates/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 --acceptCommits
- [`5953ca3`](https://github.com/mitsuhiko/insta/commit/5953ca357eff3a93f8b5f528dd6ac5ec917a2f48) 0.11.0 - [`40e4e30`](https://github.com/mitsuhiko/insta/commit/40e4e304123aae22c01c3aa278064d0cbf3f6449) Fixed readme - [`a04461b`](https://github.com/mitsuhiko/insta/commit/a04461b33103a4a7cd216d8b82c6e41f16db354a) Added screencast to readme - [`61f7383`](https://github.com/mitsuhiko/insta/commit/61f738338dc1b55b747939fa170bba5d801f2cc8) Fixed bad URL - [`32d78bb`](https://github.com/mitsuhiko/insta/commit/32d78bb560c745822851fb1b29eb82b59f7c6fe3) Remove outdated screencast gif - [`fbf3f84`](https://github.com/mitsuhiko/insta/commit/fbf3f84ef8991759a73eee04f731f2e41bd7134e) cargo fmt - [`9650730`](https://github.com/mitsuhiko/insta/commit/9650730d0b29837591b4c8480b62f18f229f9df0) Added upgrade command to changelog - [`647bfb4`](https://github.com/mitsuhiko/insta/commit/647bfb458f5a6c18c9b78ad1464841784ba7c5c2) missing assert_serialized_snapshot_matches ([#67](https://github-redirect.dependabot.com/mitsuhiko/insta/issues/67)) - [`13efd81`](https://github.com/mitsuhiko/insta/commit/13efd8177b1c14127e5caaaa654331cbdfa25028) Added --release and --jobs to test command. Fixes [#66](https://github-redirect.dependabot.com/mitsuhiko/insta/issues/66) - [`31280c6`](https://github.com/mitsuhiko/insta/commit/31280c6d824354e5456ef67fecae2cc227c04cc4) Simplified legacy macros - Additional commits viewable in [compare view](https://github.com/mitsuhiko/insta/compare/0.10.1...0.11.0)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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - 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.