⬆ Bump inline-snapshot from 0.31.1 to 0.32.6 by dependabot[bot] · Pull Request #15409 · fastapi/fastapi · GitHub
Skip to content

⬆ Bump inline-snapshot from 0.31.1 to 0.32.6#15409

Merged
YuriiMotov merged 2 commits intomasterfrom
dependabot/uv/inline-snapshot-0.32.6
Apr 22, 2026
Merged

⬆ Bump inline-snapshot from 0.31.1 to 0.32.6#15409
YuriiMotov merged 2 commits intomasterfrom
dependabot/uv/inline-snapshot-0.32.6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

Bumps inline-snapshot from 0.31.1 to 0.32.6.

Release notes

Sourced from inline-snapshot's releases.

0.32.6

Fixed

  • Pydantic models, attrs and dataclasses with NewType-typed fields now generate correct snapshots that wrap the field value with the NewType constructor (e.g. Something(some_id=SomeID(1)) instead of Something(some_id=1)). This could only be fixed for Python >= 3.10.

0.32.5

Fixed

  • Fixed a bug where tuples used as snapshot keys caused problems because they had the same hash value (#358)

0.32.4

Added

  • Added context_managers parameter to Example.run_inline(), allowing tests to inject context managers (e.g. unittest.mock.patch) that are active during show_report().

Fixed

  • Fixed UsageError("unmanaged values can not be compared with snapshots") raised during session teardown when using -k to filter tests (#355). This was caused by inline-snapshot trying to update snapshots that were never compared. This is a rare edge case that caused problems when matchers were used, so it has been removed.

0.32.3

Changed

  • Improved performance of snapshot() by using lazy evaluation.

Fixed

  • Fixed code generation for Call objects created with builder.create_call().
  • use the handler for datetime types only for the concrete types and not the subclasses.

0.32.2

Fixed

  • Tuples in snapshots were converted internally into lists if they were evaluated more than once (#349)

0.32.1

Fixed

  • Fixed handling of datetime and time objects with timezone information. The tzinfo parameter is now properly included in snapshots, and timezone.utc is represented with the correct import (from datetime import timezone).

  • Fixed customize hook registration to properly check if objects are functions before inspecting the inline_snapshot_impl attribute, preventing potential attribute errors when scanning conftest modules.

0.32.0 customize everything

0.32.0 — 2026-02-13

Added

  • pathlib.Path/PurePath values are now never stored as Posix/WindowsPath or their Pure variants, which improves the writing of platform independent tests.
  • Support for import statement generation for all types and user-customized code.
  • Added a new way to customize snapshot creation with @customize.
  • Added a plugin system which allows you to reuse customizations across multiple projects.

... (truncated)

Changelog

Sourced from inline-snapshot's changelog.

0.32.6 — 2026-04-10

Fixed

  • Pydantic models, attrs and dataclasses with NewType-typed fields now generate correct snapshots that wrap the field value with the NewType constructor (e.g. Something(some_id=SomeID(1)) instead of Something(some_id=1)). This could only be fixed for Python >= 3.10.

0.32.5 — 2026-03-13

Fixed

  • Fixed a bug where tuples used as snapshot keys caused problems because they had the same hash value (#358)

0.32.4 — 2026-03-01

Added

  • Added context_managers parameter to Example.run_inline(), allowing tests to inject context managers (e.g. unittest.mock.patch) that are active during show_report().

Fixed

  • Fixed UsageError("unmanaged values cannot be compared with snapshots") raised during session teardown when using -k to filter tests (#355). This was caused by inline-snapshot trying to update snapshots that were never compared. This is a rare edge case that caused problems when matchers were used, so it has been removed.

0.32.3 — 2026-02-24

Changed

  • Improved performance of snapshot() by using lazy evaluation.

Fixed

  • Fixed code generation for Call objects created with builder.create_call().
  • use the handler for datetime types only for the concrete types and not the subclasses.

0.32.2 — 2026-02-21

Fixed

  • Tuples in snapshots were converted internally into lists if they were evaluated more than once (#349)

0.32.1 — 2026-02-17

Fixed

  • Fixed handling of datetime and time objects with timezone information. The tzinfo parameter is now properly included in snapshots, and timezone.utc is represented with the correct import (from datetime import timezone).

... (truncated)

Commits
  • 009d353 bump: version 0.32.5 → 0.32.6
  • ab847c1 Merge pull request #362 from 15r10nk/fix-typing-new-type
  • 515eb2c fix: fix typing.NewType handling in pydantic models, attrs and dataclasses
  • fa942c9 bump: version 0.32.4 → 0.32.5
  • 9e5250b Merge pull request #359 from 15r10nk/fix-snapshot-tuple-keys
  • aa6a773 fix: Fixed a bug where tuples used as snapshot keys caused problems because t...
  • ec644e4 bump: version 0.32.3 → 0.32.4
  • e88e065 Merge pull request #356 from 15r10nk/error-output
  • ea554e6 fix: UsageError("unmanaged values can not be compared with snapshots") when u...
  • fddfa4a bump: version 0.32.2 → 0.32.3
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [inline-snapshot](https://github.com/15r10nk/inline-snapshot) from 0.31.1 to 0.32.6.
- [Release notes](https://github.com/15r10nk/inline-snapshot/releases)
- [Changelog](https://github.com/15r10nk/inline-snapshot/blob/main/CHANGELOG.md)
- [Commits](15r10nk/inline-snapshot@0.31.1...0.32.6)

---
updated-dependencies:
- dependency-name: inline-snapshot
  dependency-version: 0.32.6
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Apr 22, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 22, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2026

@YuriiMotov YuriiMotov merged commit d9eb39d into master Apr 22, 2026
48 checks passed
@YuriiMotov YuriiMotov deleted the dependabot/uv/inline-snapshot-0.32.6 branch April 22, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file internal python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant