mitsuhiko/insta (insta)
### [`v1.40.0`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1400)
[Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.39.0...1.40.0)
- `cargo-insta` no longer panics when running `cargo insta test --accept --workspace`
on a workspace with a default crate. [#532](https://redirect.github.com/mitsuhiko/insta/issues/532)
- MSRV for `insta` has been raised to 1.60, and for `cargo-insta` to 1.64.
- Added support for compact debug snapshots (`assert_compact_debug_snapshot`). [#514](https://redirect.github.com/mitsuhiko/insta/issues/514)
- Deprecate `--no-force-pass` in `cargo-insta`. The `--check` option covers the
same functionality and has a clearer name. [#513](https://redirect.github.com/mitsuhiko/insta/issues/513)
- Inline snapshots now use the required number of `#`s to escape the snapshot
value, rather than always using `###`. This allows snapshotting values which
themselves contain `###`. If there are no existing `#` characters in the
snapshot value, a single `#` will be used. [#540](https://redirect.github.com/mitsuhiko/insta/issues/540)
- Inline snapshots can now be updated with `--force-update-snapshots`. [#569](https://redirect.github.com/mitsuhiko/insta/issues/569)
- `cargo insta test` accepts multiple `--exclude` flags. [#520](https://redirect.github.com/mitsuhiko/insta/issues/520)
- `test` `runner` in insta's yaml config works. [#544](https://redirect.github.com/mitsuhiko/insta/issues/544)
- Print a warning when encountering old snapshot formats. [#503](https://redirect.github.com/mitsuhiko/insta/issues/503)
- Group the options in `cargo insta --help`, upgrade to `clap` from `structopt`. [#518](https://redirect.github.com/mitsuhiko/insta/issues/518)
- No longer suggest running `cargo insta` message when running `cargo insta test --check`. [#515](https://redirect.github.com/mitsuhiko/insta/issues/515)
- Print a clearer error message when accepting a snapshot that was removed. [#516](https://redirect.github.com/mitsuhiko/insta/issues/516)
- Mark `require-full-match` as experimental, given some corner-cases are currently difficult to manage. [#497](https://redirect.github.com/mitsuhiko/insta/issues/497)
- Add a new integration test approach for `cargo-insta` and a set of integration tests. [#537](https://redirect.github.com/mitsuhiko/insta/issues/537)
- Enable Filters to be created from `IntoIterator` types, rather than just `Vec`s. [#570](https://redirect.github.com/mitsuhiko/insta/issues/570)
- Implemented total sort order for an internal `Key` type correctly. This prevents potential
crashes introduced by the new sort algorithm in Rust 1.81. [#586](https://redirect.github.com/mitsuhiko/insta/issues/586)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.39.0
->1.40.0
Release Notes
mitsuhiko/insta (insta)
### [`v1.40.0`](https://redirect.github.com/mitsuhiko/insta/blob/HEAD/CHANGELOG.md#1400) [Compare Source](https://redirect.github.com/mitsuhiko/insta/compare/1.39.0...1.40.0) - `cargo-insta` no longer panics when running `cargo insta test --accept --workspace` on a workspace with a default crate. [#532](https://redirect.github.com/mitsuhiko/insta/issues/532) - MSRV for `insta` has been raised to 1.60, and for `cargo-insta` to 1.64. - Added support for compact debug snapshots (`assert_compact_debug_snapshot`). [#514](https://redirect.github.com/mitsuhiko/insta/issues/514) - Deprecate `--no-force-pass` in `cargo-insta`. The `--check` option covers the same functionality and has a clearer name. [#513](https://redirect.github.com/mitsuhiko/insta/issues/513) - Inline snapshots now use the required number of `#`s to escape the snapshot value, rather than always using `###`. This allows snapshotting values which themselves contain `###`. If there are no existing `#` characters in the snapshot value, a single `#` will be used. [#540](https://redirect.github.com/mitsuhiko/insta/issues/540) - Inline snapshots can now be updated with `--force-update-snapshots`. [#569](https://redirect.github.com/mitsuhiko/insta/issues/569) - `cargo insta test` accepts multiple `--exclude` flags. [#520](https://redirect.github.com/mitsuhiko/insta/issues/520) - `test` `runner` in insta's yaml config works. [#544](https://redirect.github.com/mitsuhiko/insta/issues/544) - Print a warning when encountering old snapshot formats. [#503](https://redirect.github.com/mitsuhiko/insta/issues/503) - Group the options in `cargo insta --help`, upgrade to `clap` from `structopt`. [#518](https://redirect.github.com/mitsuhiko/insta/issues/518) - No longer suggest running `cargo insta` message when running `cargo insta test --check`. [#515](https://redirect.github.com/mitsuhiko/insta/issues/515) - Print a clearer error message when accepting a snapshot that was removed. [#516](https://redirect.github.com/mitsuhiko/insta/issues/516) - Mark `require-full-match` as experimental, given some corner-cases are currently difficult to manage. [#497](https://redirect.github.com/mitsuhiko/insta/issues/497) - Add a new integration test approach for `cargo-insta` and a set of integration tests. [#537](https://redirect.github.com/mitsuhiko/insta/issues/537) - Enable Filters to be created from `IntoIterator` types, rather than just `Vec`s. [#570](https://redirect.github.com/mitsuhiko/insta/issues/570) - Implemented total sort order for an internal `Key` type correctly. This prevents potential crashes introduced by the new sort algorithm in Rust 1.81. [#586](https://redirect.github.com/mitsuhiko/insta/issues/586)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.