Skip to content

chore: bump msgspec from 0.20.0 to 0.21.1#461

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/msgspec-0.21.1
Open

chore: bump msgspec from 0.20.0 to 0.21.1#461
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/msgspec-0.21.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps msgspec from 0.20.0 to 0.21.1.

Release notes

Sourced from msgspec's releases.

Version 0.21.1

  • Fix ValidationError and DecodeError raised in dec_hook being incorrectly wrapped in another ValidationError (#1013).
  • Fix a potential NULL dereference in structmeta_get_module_ns (#1016).
  • Fix a reference leak in ms_passes_big_int_constraints (#1017).
  • Fix missing ref_template parameter in msgspec.json.schema type stub (#1002).
  • Clarify order='deterministic' encoder docstrings (#1011).
  • Add a porting guide for users migrating from orjson (#1007).

Version 0.21.0

  • Fix a segfault on Python 3.13+ that could occur when creating structs that contained a __dict__, instead of only using __slots__ (#960).
  • Improve type annotations for msgspec.UNSET (#975).
  • Fix hashing of decoded tuples on Python 3.14 (#980).
  • Add ref_template arg to msgspec.json.schema (#983).
  • Add missing libm linkage to some architectures (#993).
  • Fix memory leak when decoding sets (#991).
  • Add uniqueItems annotation to set/frozenset JSON schemas (#984).
  • BREAKING: Call __post_init__ from msgspec.structs.replace/copy.replace (#1000).
Changelog

Sourced from msgspec's changelog.

Version 0.21.1 (2026-04-13)

  • Fix ValidationError and DecodeError raised in dec_hook being incorrectly wrapped in another ValidationError ({pr}1013).
  • Fix a potential NULL dereference in structmeta_get_module_ns ({pr}1016).
  • Fix a reference leak in ms_passes_big_int_constraints ({pr}1017).
  • Fix missing ref_template parameter in msgspec.json.schema type stub ({pr}1002).
  • Clarify order='deterministic' encoder docstrings ({pr}1011).
  • Add a porting guide for users migrating from orjson ({pr}1007).

Version 0.21.0 (2026-04-08)

  • Fix a segfault on Python 3.13+ that could occur when creating structs that contained a __dict__, instead of only using __slots__ ({pr}960).
  • Improve type annotations for msgspec.UNSET ({pr}975).
  • Fix hashing of decoded tuples on Python 3.14 ({pr}980).
  • Add ref_template arg to msgspec.json.schema ({pr}983).
  • Add missing libm linkage to some architectures ({pr}993).
  • Fix memory leak when decoding sets ({pr}991).
  • Add uniqueItems annotation to set/frozenset JSON schemas ({pr}984).
  • BREAKING: Call __post_init__ from msgspec.structs.replace/copy.replace ({pr}1000).
Commits
  • 10c9ac4 Add changelog for 0.21.1 (#1020)
  • 0e29058 Add porting guide for users coming from orjson (#1007)
  • 88ce26d fix reference leak in ms_passes_big_int_constraints (#1017)
  • bcb7a2b fix NULL check in structmeta_get_module_ns (#1016)
  • 42f9184 Fix logo in README for dark and light modes (#969)
  • 4ce20fa fix wrapping ValidationError and DecodeError in ValidationError in `dec...
  • 20cc59d Clarify wording of order='deterministic' in encoder docstrings (#1011)
  • 08edcff Update Pydantic doc links to new site structure (#1008)
  • 4024c90 Add ref_tempalte to json.pyi (#1002)
  • f99dca7 Update changelog for release 0.21.0 (#1001)
  • 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 [msgspec](https://github.com/jcrist/msgspec) from 0.20.0 to 0.21.1.
- [Release notes](https://github.com/jcrist/msgspec/releases)
- [Changelog](https://github.com/jcrist/msgspec/blob/main/docs/changelog.md)
- [Commits](jcrist/msgspec@0.20.0...0.21.1)

---
updated-dependencies:
- dependency-name: msgspec
  dependency-version: 0.21.1
  dependency-type: direct:production
  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 Pull requests that update python code labels Apr 13, 2026
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.

0 participants