Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Aug 22, 2024
1 parent 3c12deb commit 475641a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to insta and cargo-insta are documented here.

## 1.40.0

- We no longer trim starting newlines during assertions, allowing asserting
leading newlines match those in a snapshot value. Existing assertions with
different leading newlines will pass with a warning suggesting using
`--force-update-snapshots` to update a snapshot, and will fail in the future.
(Note that we currently allowing differing trailing newlines but may adjust
this in the future). #569

- `cargo-insta` no longer panics when running `cargo test --accept --workspace`
on a workspace with a default crate. #532

Expand Down

0 comments on commit 475641a

Please sign in to comment.