Skip to content

chore: Bump syrupy from 5.5.3 to 6.0.0 - #1145

Merged
ekampf merged 1 commit into
mainfrom
dependabot/pip/syrupy-6.0.0
Aug 26, 2026
Merged

chore: Bump syrupy from 5.5.3 to 6.0.0#1145
ekampf merged 1 commit into
mainfrom
dependabot/pip/syrupy-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2026

Copy link
Copy Markdown
Contributor

Bumps syrupy from 5.5.3 to 6.0.0.

Release notes

Sourced from syrupy's releases.

v6.0.0

Syrupy 6.0.0

(2026-08-22)

Syrupy 6 focuses on better built-in serialization, clearer snapshot workflows, and large-suite performance. Please review the breaking changes before upgrading.

Most suites should not need significant snapshot updates on upgrade — the main exception is dataclass usage (see below). Syrupy v6 does not change the required Python version or other package dependencies. Support for Python 3.10 will instead be dropped in the next Syrupy major version (v7).

Full Changelog: syrupy-project/syrupy@v5.5.3...v6.0.0


Breaking Changes

Built-in dataclass serialization (removed DataclassPlugin)

stdlib dataclasses are now serialized natively by the Amber serializer. The separate DataclassPlugin has been removed.

  • If you used DataclassPlugin: remove imports and plugin wiring. Behavior should match what the plugin produced; no snapshot rewrite should be needed for the dataclass shape itself.
  • If you did not use the plugin: dataclass snapshots may change from a repr-style string to structured Amber form (field-by-field). Re-run with --snapshot-update where those assertions fail.

Example of what to remove:

# Before (v5)
from syrupy.extensions.amber.dataclasses_plugin import DataclassPlugin
class MySerializer(AmberDataSerializer):
serializer_plugins = [DataclassPlugin, ...]

# After (v6) — dataclasses work with the default Amber extension
assert MyDataclass(...) == snapshot

Attrs and Pydantic models are unchanged and still need their serializer plugins. See the serializer plugins example.

(#1220, closes #1048)

JSON datetime.date snapshots

The JSON extension now serializes datetime.date as YYYY-MM-DD instead of a repr string. Existing JSON snapshots that contain dates will need an update.

(#1216, closes #1058)

path_value nested path replacement in default (literal) mode

path_value(..., regex=False) now correctly replaces values at nested paths such as user.token. Previously, the default-mode lookup missed escaped path keys, so nested values were left unchanged (and could leak into committed snapshots).

... (truncated)

Changelog

Sourced from syrupy's changelog.

v6.0.0 (2026-08-22)

What's Changed

... (truncated)

Commits
  • 621af75 chore(release): 6.0.0 [skip ci]
  • 3a9f691 fix: single file snapshot no longer buffers in memory (#1223)
  • ab13f8d chore: sponsorship (#1224)
  • 98f989c feat: add --snapshot-declaration-order for respecting declaration order (#1222)
  • b549b4b feat: built-in support for Dataclasses (#1220)
  • d34933f chore: use the benchmarks git branch (#1221)
  • f6eda02 chore(ci): permissions for gh-pages
  • a5ce049 chore(deps): update actions/configure-pages action to v6 (#1219)
  • c0cb162 chore: update github pages
  • 4d59bde chore: update docs for v6 release (#1218)
  • 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 [syrupy](https://github.com/syrupy-project/syrupy) from 5.5.3 to 6.0.0.
- [Release notes](https://github.com/syrupy-project/syrupy/releases)
- [Changelog](https://github.com/syrupy-project/syrupy/blob/main/CHANGELOG.md)
- [Commits](syrupy-project/syrupy@v5.5.3...v6.0.0)

---
updated-dependencies:
- dependency-name: syrupy
  dependency-version: 6.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 26, 2026
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.83%. Comparing base (c3974bf) to head (051fe40).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1145   +/-   ##
=======================================
  Coverage   97.83%   97.83%           
=======================================
  Files          32       32           
  Lines        1940     1940           
  Branches      213      213           
=======================================
  Hits         1898     1898           
  Misses         23       23           
  Partials       19       19           

Impacted file tree graph

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ekampf
ekampf merged commit b65ee02 into main Aug 26, 2026
13 checks passed
@ekampf
ekampf deleted the dependabot/pip/syrupy-6.0.0 branch August 26, 2026 16:28
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant