Skip to content

chore(ci): Update Rust crate insta to v1.46.3#5434

Merged
baszalmstra merged 1 commit intomainfrom
renovate/insta-1.x-lockfile
Feb 13, 2026
Merged

chore(ci): Update Rust crate insta to v1.46.3#5434
baszalmstra merged 1 commit intomainfrom
renovate/insta-1.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 3, 2026

This PR contains the following updates:

Package Type Update Change
insta (source) dev-dependencies minor 1.43.21.46.3
insta (source) workspace.dependencies minor 1.43.21.46.3

Release Notes

mitsuhiko/insta (insta)

v1.46.3

Compare Source

  • Fix inline escaped snapshots incorrectly stripping leading newlines when content contains control characters like carriage returns. The escaped format (used for snapshots with control chars) now correctly preserves the original content without stripping a non-existent formatting newline. #​865

v1.46.2

Compare Source

  • Fix inline snapshot corruption with carriage returns. The leading_space() function incorrectly treated \r as indentation, causing carriage returns to be stripped from snapshot content. #​866
  • Remove < 0.4.17 upper bound on globset dependency. #​864

v1.46.1

Compare Source

  • Fix inline snapshot corruption when multiple snapshots appear inside with_settings! macro. #​858

v1.46.0

Compare Source

  • 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
  • Fix documentation for test.runner_fallback config key. #​853

v1.45.1

Compare Source

v1.45.0

Compare Source

  • Add external diff tool support via INSTA_DIFF_TOOL environment 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_doctest config option to insta.yaml, allowing users to silence the nextest doctest warning via config instead of passing --dnd every 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=reject without false positives on .snap files 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_strings lint by only using raw strings when content contains backslashes or quotes. #​828

v1.44.3

Compare Source

  • Fix a regression in 1.44.2 where merge conflict detection was too aggressive, incorrectly flagging snapshot content containing ====== or similar patterns as conflicts. #​832
  • Fix a regression in 1.42.2 where inline snapshot updates would corrupt the file when code preceded the macro (e.g., let output = assert_snapshot!(...)). #​833

v1.44.2

Compare Source

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

v1.44.1

Compare Source

  • Add --dnd alias for --disable-nextest-doctest flag to make it easier to silence the deprecation warning. #​822
  • Update cargo-dist to 0.30.2 and fix Windows runner to use windows-2022. #​821

v1.44.0

Compare Source

  • Added non-interactive snapshot review and reject modes for use in non-TTY environments
    (LLMs, CI pipelines, scripts). cargo insta review --snapshot <path> and
    cargo insta reject --snapshot <path> now work without a terminal. Enhanced
    pending-snapshots output with usage instructions and workspace-relative paths. #​815
  • Add --disable-nextest-doctest flag to cargo insta test to disable running doctests with
    nextest. Shows a deprecation warning when nextest is used with doctests without this flag, to prepare cargo insta to no longer run
    a separate doctest process when using nextest in the future. #​803
  • Add ergonomic --test-runner-fallback / --no-test-runner-fallback flags to cargo insta test. #​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)
  • We no longer trim starting newlines during assertions, which allows asserting
    the number of leading newlines match. Existing assertions with different
    leading newlines will pass and print a warning suggesting running with
    --force-update-snapshots. They may fail in the future. (Note that we still
    currently allow differing trailing newlines, though may adjust this in the
    future). #​563

Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Feb 3, 2026
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch from f82ec8a to 6c1e136 Compare February 9, 2026 08:46
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch from 6c1e136 to 5ea44e1 Compare February 12, 2026 10:52
@baszalmstra baszalmstra enabled auto-merge (squash) February 13, 2026 15:21
@baszalmstra baszalmstra merged commit 5bd9f0b into main Feb 13, 2026
38 checks passed
@baszalmstra baszalmstra deleted the renovate/insta-1.x-lockfile branch February 13, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant