inline-snapshot breaking changes
Updated December 4, 2026
On this page
Latest version 0.37.0, released November 18, 2026. Source repository
Its 0.32.0 release drops Python 3.8. Python end of life dates.
inline-snapshot 0.37.0 breaking changes
- Signature changed
inline_snapshot.fix_pytest_diff.SnapshotValue.__init__
Was def __init__(self, old_value, ast_node: Optional[ast.expr], context: AdapterContext, data: SnapshotData, *, call_node: Optional[ast.Call] = None, on_change: Optional[Callable[[SnapshotData, AdapterContext], None]] = None); now def... pypi.org - Signature changed
inline_snapshot.plugin.Builder.__init__
Was def __init__(self, _snapshot_context: AdapterContext, _build_new_value: bool = False) -> None; now def __init__(self, _snapshot_context: SnapshotContext, _build_new_value: bool = False) -> None. pypi.org
inline-snapshot 0.36.2 breaking changes
- Removed
inline_snapshot.fix_pytest_diff.GenericValue
inline_snapshot.fix_pytest_diff.GenericValue was removed in inline-snapshot 0.36.2 pypi.org - Removed
inline_snapshot.pydantic_fix.SnapshotBase
inline_snapshot.pydantic_fix.SnapshotBase was removed in inline-snapshot 0.36.2 pypi.org
inline-snapshot 0.36.1 breaking changes
- Behavior changed
Unmanaged type registrations apply only to the current snapshot context and inherit from the parent context. Registrations made elsewhere may no longer take effect. github.com - Behavior changed
Built-in literal values are always managed now. Registering their types as unmanaged raises TypeError, so remove those registrations. github.com
inline-snapshot 0.36.0 breaking changes
- Removed
inline_snapshot.plugin.Custom.original_value
Custom.original_value was removed in inline-snapshot 0.36.0 pypi.org - Signature changed
inline_snapshot.plugin.Builder.__init__
Was def __init__(self, _snapshot_context: AdapterContext, _build_new_value: bool = False, _recursive: bool = True) -> None; now def __init__(self, _snapshot_context: AdapterContext, _build_new_value: bool = False) -> None. pypi.org - Signature changed
inline_snapshot.plugin.InlineSnapshotPluginSpec.customize
Was def customize(self, value: Any, builder: Builder, local_vars: Dict[str, Any], global_vars: Dict[str, Any]) -> Any; now def customize(self, value: Any, builder: Builder, local_vars: Dict[str, Any], global_vars: Dict[str, Any]... pypi.org
inline-snapshot 0.35.4 breaking changes
- Behavior changed
Running with --inline-snapshot=trim no longer changes snapshots when a test body fails or pytest is limited with -k, a test path, or a node ID, unless trim is requested explicitly. A message explains when trimming was disabled. github.com - Signature changed
inline_snapshot.pytest_plugin.SnapshotSession.show_report
Was def show_report(self, con: Console); now def show_report(self, con: Console, *, trim_allowed: bool = True, trim_disabled_reasons: Sequence[str] = ()). pypi.org
inline-snapshot 0.35.0 breaking changes
- Behavior changed
Source files using external() are now tracked in .inline-snapshot/files_using_external.txt, and that list is used to detect and trim unused external snapshots. github.com - Configuration changed
tool.inline-snapshot.test-dir
The tool.inline-snapshot.test-dir option is now only used as a compatibility fallback when files_using_external.txt does not exist yet. Users relying on it should expect tracking to come from the new file in storage-dir. github.com - Signature changed
inline_snapshot.testing.Example.change_code
Was def change_code(self, mapping: Callable[[str], str]) -> Example; now def change_code(self, mapping: Callable[[str], str], *, filename: str | None = None) -> Example. pypi.org - Signature changed
inline_snapshot.testing.Example.run_pytest
Was def run_pytest(self, args: list[str] = [], *, term_columns=80, env: dict[str, str] = {}, changed_files: SnapshotArg[dict[str, str]] = {}, report: Snapshot[str] | None = None, error: SnapshotArg[str] = '', stderr: SnapshotArg[str] = ''... pypi.org
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
inline-snapshot 0.34.0 breaking changes
- Signature changed
inline_snapshot.get_snapshot_value
Was def get_snapshot_value(snapshot_value: Snapshot[T]) -> T; now def get_snapshot_value(snapshot_value: Snapshot[T], which: Literal['new', 'old'] = 'new') -> Union[T, EllipsisType]. pypi.org - Signature changed
inline_snapshot.pytest_plugin.unwrap
Was def unwrap(value); now def unwrap(value, which) -> Tuple[Any, bool]. pypi.org
inline-snapshot 0.33.0 breaking changes
- Renamed
inline_snapshot.extra.Snapshot
Use inline_snapshot.extra.SnapshotArg instead. pypi.org - Behavior changed
Example.run_inline
Exception strings in the raises argument are now formatted the same way inline_snapshot.extra.raises formats them, so existing expected strings may need updating. github.com
And 9 more in this version.
inline-snapshot 0.32.0 breaking changes
- Removed
Python 3.8 is no longer supported because it is end-of-life. Stay on 0.31.x or upgrade your Python runtime before updating. github.com - Removed
CPython 3.8 and 3.9 are no longer supported. Stay on the previous version or upgrade your Python runtime before updating. github.com
And 4 more in this version.
inline-snapshot 0.31.0 breaking changes
- Behavior changed
external
Using external() in files outside tests/ (or the configured tool.inline-snapshot.test-dir) now raises an exception. Move such tests into the test directory. github.com
inline-snapshot 0.29.0 breaking changes
- Removed
inline_snapshot.pytest_plugin.apply_all
inline_snapshot.pytest_plugin.apply_all was removed in inline-snapshot 0.29.0 pypi.org - Removed
inline_snapshot.pytest_plugin.apply_changes
inline_snapshot.pytest_plugin.apply_changes was removed in inline-snapshot 0.29.0 pypi.org
And 19 more in this version.
inline-snapshot 0.28.0 breaking changes
- Removed
inline_snapshot.pytest_plugin.External
inline_snapshot.pytest_plugin.External was removed in inline-snapshot 0.28.0 pypi.org - Removed
inline_snapshot.pytest_plugin.ExternalFile
inline_snapshot.pytest_plugin.ExternalFile was removed in inline-snapshot 0.28.0 pypi.org
And 4 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.