diff --git a/CHANGELOG.md b/CHANGELOG.md index be1b18ba..86f78e15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,16 +6,17 @@ All notable changes to insta and cargo-insta are documented here. - Experimental support for binary snapshots. #610 (Florian Plattner) -- `--force-update-snapshots` now writes every snapshot, regardless of whether - `insta` evaluates a write is required, and now implies `--accept`. This +- `--force-update-snapshots` now causes `cargo-insta` to write every snapshot, regardless of whether + it evaluates snapshots fully match, and now implies `--accept`. This allows for `--force-update-snapshots` to update inline snapshots when - delimiters or indents require updating. + delimiters or indentation can be updated. - For the existing behavior of limiting writes which `insta` can evaluate are - required, use `--require-full-match`. The main difference between + For the existing behavior of limiting writes to when `insta` evaluates writes + are required, use `--require-full-match`. The main difference between `--require-full-match` and the existing behavior of `--force-update-snapshots` - is that the test run will return a non-zero exit code if any snapshots don't - match fully. #644 + is that `cargo-insta` will return a non-zero exit code if any snapshots don't + match fully. `--require-full-match` doesn't track inline snapshots' delimiters or + indentation. #644 - Inline snapshots only use `#` characters as delimiters when required. #603 @@ -27,9 +28,12 @@ All notable changes to insta and cargo-insta are documented here. - Warnings are printed when any snapshot uses a legacy format. #599 - `insta` now internally uses `INSTA_UPDATE=force` rather than - `INSTA_FORCE_UPDATE`. (This doesn't affect users of `cargo-insta`, which + `INSTA_FORCE_UPDATE=1`. (This doesn't affect users of `cargo-insta`, which handles this internally.) #482 +- `cargo-insta`'s integration tests continue to grow over the past couple of versions, + and now offer coverage of most of `cargo-insta`'s interface. + ## 1.40.0 - `cargo-insta` no longer panics when running `cargo insta test --accept --workspace`