Sourced from insta's releases.
1.46.0
Release Notes
- Add
INSTA_PENDING_DIRenvironment variable for Bazel and other hermetic build systems. When set, pending snapshots are written to a separate directory while keeping the source tree read-only. We are very open to feedback on this feature. #852- Fix documentation for
test.runner_fallbackconfig key. #853Install cargo-insta 1.46.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/insta/releases/download/1.46.0/cargo-insta-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/mitsuhiko/insta/releases/download/1.46.0/cargo-insta-installer.ps1 | iex"Download cargo-insta 1.46.0
File Platform Checksum cargo-insta-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum cargo-insta-x86_64-apple-darwin.tar.xz Intel macOS checksum cargo-insta-x86_64-pc-windows-msvc.zip x64 Windows checksum cargo-insta-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum cargo-insta-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum 1.45.1
Release Notes
- Fix backward compatibility with TOML format produced by insta < 1.45.0. #849 (
@chitoku-k)Install cargo-insta 1.45.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/insta/releases/download/1.45.1/cargo-insta-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/mitsuhiko/insta/releases/download/1.45.1/cargo-insta-installer.ps1 | iex"Download cargo-insta 1.45.1
... (truncated)
Sourced from insta's changelog.
1.46.0
- Add
INSTA_PENDING_DIRenvironment variable for Bazel and other hermetic build systems. When set, pending snapshots are written to a separate directory while keeping the source tree read-only. We are very open to feedback on this feature. #852- Fix documentation for
test.runner_fallbackconfig key. #8531.45.1
- Fix backward compatibility with TOML format produced by insta < 1.45.0. #849 (
@chitoku-k)1.45.0
- Add external diff tool support via
INSTA_DIFF_TOOLenvironment variable. When set, insta uses the specified tool (e.g.,delta,difftastic) to display snapshot diffs instead of the built-in diff. The tool is invoked as<tool> <old_file> <new_file>. #844- Add
test.disable_nextest_doctestconfig option toinsta.yaml, allowing users to silence the nextest doctest warning via config instead of passing--dndevery time. #842- Skip non-insta snapshot files in unreferenced detection. Projects using both insta and other snapshot tools (like vitest or jest) can now use
--unreferenced=rejectwithout false positives on.snapfiles from other tools. #846- Collect warnings from tests for display after run. Ensures deprecation warnings are visible even when nextest suppresses stdout/stderr from passing tests. #840
- Update TOML serialization to be up-to-date and backwards-compatible. #834 (
@spoutn1k)- Support
clippy::needless_raw_stringslint by only using raw strings when content contains backslashes or quotes. #828
7d27e3a
Release 1.46.0 (#855)3aa59d6
Add INSTA_PENDING_DIR environment variable for hermetic builds (#852)fd40cf7
Fix docs for test.runner_fallback config key (#853)ac191ba
Add test for multiline snapshots without special characters (#848)55f6999
Release 1.45.1 (#850)00b1cd4
Fix backward compatibility with TOML format produced by insta <
1.45.0 (#849)681a026
Release 1.45.0 (#847)ad233cd
Skip non-insta snapshot files in unreferenced detection (#846)d8e8dfe
Collect warnings from tests for display after run (#840)521812c
Support clippy::needless_raw_strings lint (#828)