Skip to content

Commit 8a5b775

Browse files
max-sixtyclaude
andauthored
Release 1.46.1 (#859)
## Summary - Fix inline snapshot corruption when multiple snapshots appear inside `with_settings!` macro #858 ## Test plan - [x] All tests pass - [x] Pre-commit passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of max-sixty_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 822f404 commit 8a5b775

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## 1.46.1
6+
7+
- Fix inline snapshot corruption when multiple snapshots appear inside `with_settings!` macro. #858
8+
59
## 1.46.0
610

711
- 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

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.46.0"
3+
version = "1.46.1"
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.46.0", path = "../insta", features = [
17+
insta = { version = "=1.46.1", 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.46.0"
3+
version = "1.46.1"
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)