Changelog

All notable changes to insta and cargo-insta are documented here.

1.7.0

1.6.3

1.6.2

1.6.1

1.6.0

1.5.3

1.5.2

1.5.1

1.5.0

1.4.0

1.3.0

1.2.0

1.1.0

1.0.0

0.16.1

0.16.0

0.15.0

0.14.0

0.13.1

0.13

0.12

0.11

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_${`}!' -e rs --accept-all
$ cargo insta test --all --force-update-snapshots --accept
Found an issue? You can edit this page on GitHub.