Skip to content

Bump pydantic-xml from 2.20.0 to 2.21.0#3375

Merged
github-actions[bot] merged 2 commits into
mainfrom
dependabot/uv/pydantic-xml-2.21.0
May 27, 2026
Merged

Bump pydantic-xml from 2.20.0 to 2.21.0#3375
github-actions[bot] merged 2 commits into
mainfrom
dependabot/uv/pydantic-xml-2.21.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Bumps pydantic-xml from 2.20.0 to 2.21.0.

Release notes

Sourced from pydantic-xml's releases.

release 2.21.0

  • feat: plain validator support added.
  • feat: json only fields support added.
  • feat: option to deserialize empty xml elements data as empty strings not Nones.
  • fix: base model nsmap override bug fixed.
  • fix: pydantic beta versions (e.g. 2.13.0b1) compatibility added.
Changelog

Sourced from pydantic-xml's changelog.

2.21.0 (2026-05-17)

  • feat: plain validator support added.
  • feat: json only fields support added.
  • feat: option to deserialize empty xml elements data as empty strings not Nones.
  • fix: base model nsmap override bug fixed.
  • fix: pydantic beta versions (e.g. 2.13.0b1) compatibility added.
Commits
  • d3c727f Merge pull request #327 from dapper91/dev
  • 995d92e bump version 2.21.0.
  • bcd9ba9 Merge pull request #326 from dapper91/feat/empty-as-string
  • f250cbe feat: option to deserialize empty xml element data as empty string not None.
  • a21a459 Merge pull request #325 from dapper91/feat/no-xml-field
  • 57e8964 feat: json only field support added.
  • 3b947e2 Merge pull request #324 from dapper91/feat/plain-validator
  • 990a743 feat: plain validator support added.
  • 6f56203 Merge pull request #323 from dapper91/fix/base-nsmap-override
  • 3cf316e fix: base model nsmap override bug fixed.
  • 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 [pydantic-xml](https://github.com/dapper91/pydantic-xml) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/dapper91/pydantic-xml/releases)
- [Changelog](https://github.com/dapper91/pydantic-xml/blob/master/CHANGELOG.rst)
- [Commits](dapper91/pydantic-xml@v2.20.0...v2.21.0)

---
updated-dependencies:
- dependency-name: pydantic-xml
  dependency-version: 2.21.0
  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:uv Pull requests that update python:uv code labels May 21, 2026
@github-actions github-actions Bot enabled auto-merge (squash) May 21, 2026 17:46
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.34%. Comparing base (7157d59) to head (5647f91).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3375      +/-   ##
==========================================
+ Coverage   93.33%   93.34%   +0.01%     
==========================================
  Files         504      507       +3     
  Lines       46327    46451     +124     
  Branches     6326     6341      +15     
==========================================
+ Hits        43240    43361     +121     
- Misses       1998     2000       +2     
- Partials     1089     1090       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

pydantic-xml 2.21.0 added an empty_as_string parameter to
BaseXmlModel.from_xml. Add it to the Boundless override so the
signature stays compatible with the supertype and mypy passes.
@github-actions github-actions Bot merged commit e0cf02e into main May 27, 2026
21 checks passed
@github-actions github-actions Bot deleted the dependabot/uv/pydantic-xml-2.21.0 branch May 27, 2026 14:26
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant