Skip to content

Commit 6cb41af

Browse files
max-sixtyclaude
andauthored
Prepare release 1.44.2 (#831)
## Summary Prepare for the 1.44.2 patch release with four changes since 1.44.1. ## Changes - Fix backward compatibility for legacy inline snapshot format. Snapshots using single-line content in multiline raw strings now correctly match again. (#830) - Handle merge conflicts in snapshot files gracefully. When a snapshot file contains git merge conflict markers, insta now detects them and treats the snapshot as missing, allowing tests to continue and create a new pending snapshot for review. (#829) - Skip nextest_doctest tests when cargo-nextest is not installed. (#826) - Fix functional tests failing under nextest due to inherited `NEXTEST_RUN_ID` environment variable. (#824) ## Version Updates - Bump version to 1.44.2 in `insta/Cargo.toml` and `cargo-insta/Cargo.toml` - Update CHANGELOG.md with release notes - Update Cargo.lock ## Test plan - [x] All tests pass - [x] Pre-commit lints pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8838b2f commit 6cb41af

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to insta and cargo-insta are documented here.
44

55
## Unreleased
66

7+
## 1.44.2
8+
9+
- Fix a rare backward compatibility issue where inline snapshots using an uncommon legacy format (single-line content stored in multiline raw strings) could fail to match after 1.44.0. #830
10+
- Handle merge conflicts in snapshot files gracefully. When a snapshot file contains git merge conflict markers, insta now detects them and treats the snapshot as missing, allowing tests to continue and create a new pending snapshot for review. #829
11+
- Skip nextest_doctest tests when cargo-nextest is not installed. #826
12+
- Fix functional tests failing under nextest due to inherited `NEXTEST_RUN_ID` environment variable. #824
13+
714
## 1.44.1
815

916
- Add `--dnd` alias for `--disable-nextest-doctest` flag to make it easier to silence the deprecation warning. #822

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