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

Commits on Mar 29, 2026

  1. Add regression test for sort_maps not sorting Vecs (#892)

    Adds a regression test ensuring `sort_maps` only sorts map keys, not
    sequence values. The bug in #876 sorted all `Seq` values (including
    `Vec`), which broke snapshot stability for ordered collections.
    
    The test snapshots a `HashMap` containing a `Vec` with `sort_maps`
    enabled and asserts the Vec order is preserved.
    
    > _This was written by Claude Code on behalf of max-sixty_
    
    ---------
    
    Co-authored-by: Claude <noreply@anthropic.com>
    max-sixty and claude authored Mar 29, 2026
    Configuration menu
    Copy the full SHA
    65a5233 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2026

  1. Revert Arc→Rc change, restore Send + Sync on Settings (#893)

    The Arc→Rc change (#873) and Send+Sync removal (#874) were
    semver-breaking — they removed auto-trait impls from `Settings`,
    `Redactions`, `Redaction`, and `SettingsBindDropGuard`. This broke
    downstream crates like
    [cedar-policy](cedar-policy/cedar-spec#917)
    that depend on `Send + Sync`.
    
    This reverts to `Arc` and restores `Send + Sync` bounds on `Redaction`
    and `dynamic_redaction()`. Also adds `Send + Sync` to the `Comparator`
    trait (new in 1.47.0) since `Arc<ActualSettings>` requires it. A
    compile-time assertion prevents future regressions.
    
    TODOs mark the `Arc` usage and `Comparator` bounds as candidates for
    removal in the next breaking change.
    
    Thanks to @john-h-kastner-aws for reporting in #873 (comment).
    
    > _This was written by Claude Code on behalf of @max-sixty_
    
    Co-authored-by: Claude <noreply@anthropic.com>
    max-sixty and claude authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    094b1cf View commit details
    Browse the repository at this point in the history
  2. Release 1.47.2 (#894)

    Patch release restoring `Send + Sync` on `Settings`, `Redactions`, and
    `Redaction` after the semver-breaking change in 1.47.0.
    
    Follow-up to #893.
    
    > _This was written by Claude Code on behalf of @max-sixty_
    
    ---------
    
    Co-authored-by: Claude <noreply@anthropic.com>
    max-sixty and claude authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    0ddf1e8 View commit details
    Browse the repository at this point in the history
Loading