unstale

cargo / insta

insta

What changed in insta 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.

1 breaking4 new APIs and options2 behavior and defaults2 tooling9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.0 on npm

insta 118 changes

Breaking changes 1

  • The Comparator trait now requires Send + Sync bounds, consistent with Arc-based storage.

    1.47.2release notes

New APIs and options 4

  • Snapshot names can now accept Option<&OsStr>, such as Path::file_name(), without explicit string conversion.

    1.49.0release notes

  • Adds --nextest-profile to select the nextest profile.

    1.48.0release notes

  • Opt in to YAML literal blocks for multiline strings in snapshot metadata fields such as description and expression.

    1.48.0release notes

  • Adds a setting that removes ANSI escape sequences from snapshot content before comparison; requires the filters feature.

    1.48.0release notes

Behavior and default changes 2

  • The --snapshot filter accepts partial paths by matching any trailing path suffix, so a bare snapshot filename works.

    1.48.0release notes

  • Explicit snapshot handling options such as --accept now take precedence over CI=true, so users can override the usual --check behavior.

    1.48.0release notes

Tooling 2

  • Prebuilt cargo-insta binaries are now available for ARM64 Linux (aarch64-unknown-linux-gnu).

    1.49.0release notes

  • Snapshot mismatch hints for file snapshots now mention INSTA_UPDATE=always.

    1.49.0release notes

Fixes and other changes 9

  • This command no longer fails with a doctest target-selection error; like cargo test --all-targets, it no longer runs doctests.

    1.49.0release notes

  • Maps keyed by unit enum variants serialize keys using the serialized variant name, including serde renames.

    1.49.0release notes

  • Trailing semicolons are removed from serialization macro bodies to avoid compiler warnings when used in expression position.

    1.49.0release notes

  • Accepting a binary snapshot no longer fails when its data file is missing, such as when it is gitignored and not committed.

    1.48.0release notes

  • On Windows, the command no longer prints unusable \\?\-prefixed paths.

    1.48.0release notes

  • The --profile option now translates to --cargo-profile for the nextest runner instead of being forwarded as the nextest profile.

    1.48.0release notes

  • Restores Send + Sync on Redaction, reversing the semver-breaking change from 1.47.0.

    1.47.2release notes

  • Restores Send + Sync on Redactions, reversing the semver-breaking change from 1.47.0.

    1.47.2release notes

  • Restores Send + Sync on Settings, reversing the semver-breaking change from 1.47.0.

    1.47.2release notes