# What changed in inline-snapshot

> 10 changes in inline-snapshot 0.35 to 0.36 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/pypi/inline-snapshot/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## inline-snapshot 0.36

### Breaking changes

- Built-in literal values are always managed; registering their types as unmanaged now raises TypeError. (0.36.1) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/v0.36.1)

### New APIs and options

- The hook receives the corresponding existing snapshot value, or `...` when there is no corresponding snapshot. (0.36.0) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/0.36.0)

### Performance

- Comparisons avoid unnecessary deep copies of immutable built-in values. (0.36.1) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/v0.36.1)
- Conversion of literal constants is faster, especially for large lists and dictionaries. (0.36.1) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/v0.36.1)
- Conversion reads AST constant values directly instead of compiling and evaluating them. (0.36.1) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/v0.36.1)
- Source representations are generated only when needed, improving performance when comparing matching snapshots with updates disabled. (0.36.1) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/v0.36.1)

### Behavior and default changes

- Registrations are scoped to the current snapshot context and inherited from the parent context. (0.36.1) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/v0.36.1)

### Fixes and other changes

- The short report now hides snapshot representation change messages when show-updates is disabled. (0.36.1) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/v0.36.1)

## inline-snapshot 0.35

### Fixes and other changes

- Trimming no longer changes snapshots when a test fails or pytest is limited to selected tests; skipped tests and fixture teardown errors do not block it. An explicit trim request overrides the safeguard. (0.35.4) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/0.35.4)
- Fixed a crash during session finalization when pytest's capture plugin is disabled. (0.35.4) — [release notes](https://github.com/15r10nk/inline-snapshot/releases/tag/0.35.4)
