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.1
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.2
Choose a head ref
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on Jan 29, 2026

  1. Remove globset version cap (#864)

    ## Summary
    
    - Remove `< 0.4.17` upper bound on globset dependency
    - Lockfile stays pinned to 0.4.9, so existing users unaffected
    - Users on Rust 1.84+ can use MSRV-aware resolver if they update
    
    Closes #863
    
    > _This was written by Claude Code on behalf of @max-sixty_
    
    Co-authored-by: Claude <noreply@anthropic.com>
    max-sixty and claude authored Jan 29, 2026
    Configuration menu
    Copy the full SHA
    2a9f7ad View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2026

  1. Fix inline snapshot corruption with carriage returns (#866)

    ## Summary
    
    - Fix `leading_space()` to only treat space and tab as indentation, not
    all whitespace
    - Preserves carriage returns (`\r`) and other control characters in
    snapshot content
    - Add unit test and functional test for regression
    
    ## Background
    
    The `leading_space()` function used `is_whitespace()` which includes
    `\r` as whitespace. This caused carriage returns at the start of lines
    to be incorrectly stripped as "indentation" during snapshot
    normalization. After accepting a snapshot containing `\r`, the test
    would continue to fail because the `\r` was lost.
    
    ## Test plan
    
    - [x] Unit test: `test_snapshot_contents_to_inline` - tests
    `to_inline()` with `\r` at start of line
    - [x] Functional test: `test_carriage_return_preserved` - tests full
    accept-and-rerun flow
    - [x] All existing tests pass
    
    Fixes #865
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude <noreply@anthropic.com>
    max-sixty and claude authored Jan 31, 2026
    Configuration menu
    Copy the full SHA
    97c6f57 View commit details
    Browse the repository at this point in the history
  2. Release 1.46.2 (#867)

    ## Summary
    
    - Fix inline snapshot corruption with carriage returns. #866
    - Remove globset version cap. #864
    
    > _This was written by Claude Code on behalf of @max-sixty_
    
    Co-authored-by: Claude <noreply@anthropic.com>
    max-sixty and claude authored Jan 31, 2026
    Configuration menu
    Copy the full SHA
    2ab00cc View commit details
    Browse the repository at this point in the history
Loading