Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mitsuhiko/insta
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.46.2
Choose a base ref
...
head repository: mitsuhiko/insta
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.46.3
Choose a head ref
  • 2 commits
  • 6 files changed
  • 2 contributors

Commits on Feb 2, 2026

  1. Fix escaped format inline snapshots not stripping formatting newline (#…

    …869)
    
    ## Summary
    
    - Fixes the remaining issue from #865 where escaped format inline
    snapshots would trigger unfixable "legacy format" warnings
    - Simplifies the fix by teaching `from_inline_literal` to recognize
    escaped format and skip stripping, rather than adding a formatting
    newline just to remove it
    - Consolidates the `has_control_chars` logic into a documented
    `needs_escaped_format()` helper
    
    ## Test plan
    
    - [x] `cargo test --package insta` passes
    - [x] `cargo test --package cargo-insta --test functional inline::`
    passes (10 tests)
    - [x] Added `test_existing_escaped_snapshot_no_legacy_warning`
    functional test for the exact issue case
    - [x] Simplified unit test from 80+ lines to 15 lines
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    ---------
    
    Co-authored-by: Claude <[email protected]>
    max-sixty and claude authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    b26bc7f View commit details
    Browse the repository at this point in the history
  2. Release 1.46.3 (#870)

    ## Summary
    
    - Bump version to 1.46.3
    - Update CHANGELOG with fix for #865
    
    ### Changes included in this release
    
    - Fix inline escaped snapshots incorrectly stripping leading newlines
    when content contains control characters like carriage returns
    
    > _This was written by Claude Code on behalf of max-sixty_
    max-sixty authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    1324590 View commit details
    Browse the repository at this point in the history
Loading