Skip to content

Commit 7d27e3a

Browse files
max-sixtyclaude
andauthored
Release 1.46.0 (#855)
## Summary - Add `INSTA_PENDING_DIR` environment variable for Bazel and other hermetic build systems - Fix documentation for `test.runner_fallback` config key - Fix missing attribution for #834 ## Test plan - [x] All tests pass - [x] Pre-commit passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3aa59d6 commit 7d27e3a

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

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

5+
## 1.46.0
6+
7+
- Add `INSTA_PENDING_DIR` environment 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
8+
- Fix documentation for `test.runner_fallback` config key. #853
9+
510
## 1.45.1
611

712
- Fix backward compatibility with TOML format produced by insta < 1.45.0. #849 (@chitoku-k)
@@ -12,7 +17,7 @@ All notable changes to insta and cargo-insta are documented here.
1217
- Add `test.disable_nextest_doctest` config option to `insta.yaml`, allowing users to silence the nextest doctest warning via config instead of passing `--dnd` every time. #842
1318
- Skip non-insta snapshot files in unreferenced detection. Projects using both insta and other snapshot tools (like vitest or jest) can now use `--unreferenced=reject` without false positives on `.snap` files from other tools. #846
1419
- Collect warnings from tests for display after run. Ensures deprecation warnings are visible even when nextest suppresses stdout/stderr from passing tests. #840
15-
- Update TOML serialization to be up-to-date and backwards-compatible. #834
20+
- Update TOML serialization to be up-to-date and backwards-compatible. #834 (@spoutn1k)
1621
- Support `clippy::needless_raw_strings` lint by only using raw strings when content contains backslashes or quotes. #828
1722

1823
## 1.44.3

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-insta/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-insta"
3-
version = "1.45.1"
3+
version = "1.46.0"
44
license = "Apache-2.0"
55
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
66
description = "A review tool for the insta snapshot testing library for Rust"
@@ -14,7 +14,7 @@ readme = "README.md"
1414
rust-version = "1.65.0"
1515

1616
[dependencies]
17-
insta = { version = "=1.45.1", path = "../insta", features = [
17+
insta = { version = "=1.46.0", path = "../insta", features = [
1818
"json",
1919
"yaml",
2020
"redactions",

insta/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "insta"
3-
version = "1.45.1"
3+
version = "1.46.0"
44
license = "Apache-2.0"
55
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
66
description = "A snapshot testing library for Rust"

0 commit comments

Comments
 (0)