Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5da894d

Browse files
max-sixtyclaude
andauthored
Prepare release 1.44.0 (#820)
## Summary Prepare for the 1.44.0 release: - Bump version to 1.44.0 in `insta/Cargo.toml` and `cargo-insta/Cargo.toml` - Update CHANGELOG.md with all changes since 1.43.2 ## Changes in 1.44.0 - Added non-interactive snapshot review and reject modes for use in non-TTY environments (LLMs, CI pipelines, scripts) #815 - Add `--disable-nextest-doctest` flag with deprecation warning #803 - Add ergonomic `--test-runner-fallback` / `--no-test-runner-fallback` flags #811 - Apply redactions to snapshot metadata #813 - Remove confusing 'previously unseen snapshot' message #812 - Speed up JSON float rendering #806 (@nyurik) - Allow globset version up to 0.4.16 #810 (@g0hl1n) - Improve documentation #814 (@tshepang) - Enforce starting newlines in assertions #563 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent d8deb2f commit 5da894d

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

‎CHANGELOG.md‎

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

55
## Unreleased
66

7-
- Add `--disable-nextest-doctest` flag to `cargo insta test` to disable running doctests with
7+
## 1.44.0
8+
9+
- Added non-interactive snapshot review and reject modes for use in non-TTY environments
10+
(LLMs, CI pipelines, scripts). `cargo insta review --snapshot <path>` and
11+
`cargo insta reject --snapshot <path>` now work without a terminal. Enhanced
12+
`pending-snapshots` output with usage instructions and workspace-relative paths. #815
13+
- Add `--disable-nextest-doctest` flag to `cargo insta test` to disable running doctests with
814
nextest. Shows a deprecation warning when nextest is used with doctests without this flag, to prepare `cargo insta` to no longer run
915
a separate doctest process when using nextest in the future. #803
10-
16+
- Add ergonomic `--test-runner-fallback` / `--no-test-runner-fallback` flags to `cargo insta test`. #811
17+
- Apply redactions to snapshot metadata. #813
18+
- Remove confusing 'previously unseen snapshot' message. #812
19+
- Speed up JSON float rendering. #806 (@nyurik)
20+
- Allow globset version up to 0.4.16. #810 (@g0hl1n)
21+
- Improve documentation. #814 (@tshepang)
1122
- We no longer trim starting newlines during assertions, which allows asserting
1223
the number of leading newlines match. Existing assertions with different
1324
leading newlines will pass and print a warning suggesting running with
1425
`--force-update-snapshots`. They may fail in the future. (Note that we still
1526
currently allow differing _trailing_ newlines, though may adjust this in the
1627
future). #563
1728

18-
1929
## 1.43.2
2030

2131
- Fix panics when `cargo metadata` fails to execute or parse (e.g., when cargo is not in PATH or returns invalid output). Now falls back to using the manifest directory as the workspace root. #798 (@adriangb)

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

AltStyle によって変換されたページ (->オリジナル) /