Skip to content

core: bump pydantic from 2.14.1 to 2.14.2 - #27576

Merged
emilburzo merged 1 commit into
mainfrom
dependabot/uv/pydantic-2.14.2
Nov 4, 2026
Merged

emilburzo merged 1 commit into
mainfrom
dependabot/uv/pydantic-2.14.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 2026

Copy link
Copy Markdown
Contributor

Bumps pydantic from 2.14.1 to 2.14.2.

Release notes

Sourced from pydantic's releases.

v2.14.2 2026-10-29

v2.14.2 (2026-10-29)

This release addresses 2 security issues, GHSA-qpmf-fgh3-ff25 and GHSA-3r8g-cqwr-jr29.

Packaging

Performance

Fixes

  • Make JSON validation by iteration consistent with Python approach by @​davidhewitt in #13275.

    JSON validation now handles field lookup and extra data the same way as Python validation. In particular, keys that only match an unused alias or field name are now treated as extra data, instead of being silently dropped:

    from pydantic import BaseModel, ConfigDict
    from pydantic.alias_generators import to_camel
    class Page(BaseModel):
    model_config = ConfigDict(extra='forbid', alias_generator=to_camel)
    page_size: int = 10
    
    Page.model_validate_json('{"page_size": 50}')
    Before: Page(page_size=10)
    After: ValidationError (extra_forbidden)

    See the pull request for the full list of behavior changes. This change addresses GHSA-qpmf-fgh3-ff25.

  • Ignore extra data matching a field name in TypedDict and dataclasses with extra=allow by @​Viicos in #14090. Addresses GHSA-3r8g-cqwr-jr29.

  • Fix unpickling of generic classes defined in separate module by @​Viicos in #13994

  • Support explicit by_alias overriding validate_by_alias in validation JSON schemas by @​Viicos in #13997

  • Fix mypy plugin crash on deferred empty model by @​ilevkivskyi in #14027

  • Fix infinite recursion when validating an invalid default with PydanticUseDefault by @​Viicos in #14028

  • Implement recursion guard for validate_strings() by @​Viicos in #14029

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.14.2 (2026-10-29)

GitHub release

What's Changed

Packaging

Performance

Fixes

  • Make JSON validation by iteration consistent with Python approach by @​davidhewitt in #13275.

    JSON validation now handles field lookup and extra data the same way as Python validation. In particular, keys that only match an unused alias or field name are now treated as extra data, instead of being silently dropped:

    from pydantic import BaseModel, ConfigDict
    from pydantic.alias_generators import to_camel
    class Page(BaseModel):
    model_config = ConfigDict(extra='forbid', alias_generator=to_camel)
    page_size: int = 10
    
    Page.model_validate_json('{"page_size": 50}')
    Before: Page(page_size=10)
    After: ValidationError (extra_forbidden)

    See the pull request for the full list of behavior changes.

  • Fix unpickling of generic classes defined in separate module by @​Viicos in #13994

  • Support explicit by_alias overriding validate_by_alias in validation JSON schemas by @​Viicos in #13997

  • Fix mypy plugin crash on deferred empty model by @​ilevkivskyi in #14027

  • Fix infinite recursion when validating an invalid default with PydanticUseDefault by @​Viicos in #14028

  • Implement recursion guard for validate_strings() by @​Viicos in #14029

  • Support named tuples in Sequence serialization by @​Viicos in #14033

... (truncated)

Commits
  • aa540ac Update changelog for v2.14.2
  • 6cde12f Update changelog for v2.14.2
  • 2db7c25 Fix deep copy of self-referential models
  • d783154 Update changelog for v2.14.2
  • df49b6c Avoid heap allocation for small JSON model field buffers
  • cd93e69 Skip decorator field checks when no field decorators exist
  • 2771e57 Make JSON validation by iteration consistent with Python approach
  • 8102e3f Avoid Python tuple allocation during model fields validation
  • dd139b5 Bump pydantic.v1 namespace to v1.10.27
  • 66155f9 Prepare release v2.14.2
  • 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)

@dependabot
dependabot Bot requested a review from a team as a code owner November 4, 2026 04:09
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 4, 2026
@netlify

netlify Bot commented Nov 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 50dbf71
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6aeab005a01874f2e01d866d
😎 Deploy Preview https://deploy-preview-27576--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.97%. Comparing base (f8dde2e) to head (4736d84).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27576      +/-   ##
==========================================
- Coverage   93.00%   92.97%   -0.04%     
==========================================
  Files        1226     1226              
  Lines       85235    85235              
  Branches     4894     4894              
==========================================
- Hits        79270    79244      -26     
- Misses       5878     5904      +26     
  Partials       87       87              
Flag Coverage Δ
conformance 30.57% <ø> (+<0.01%) ⬆️
e2e 35.31% <ø> (+<0.01%) ⬆️
integration 27.73% <ø> (-0.32%) ⬇️
rust 51.12% <ø> (ø)
unit 94.53% <ø> (+<0.01%) ⬆️
unit-migrate 94.54% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@emilburzo
emilburzo enabled auto-merge (squash) November 4, 2026 08:25
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 41800915716 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-4736d847621c8a468fba5becd2ecf1598fff8916
# Distroless image: AUTHENTIK_TAG=gh-4736d847621c8a468fba5becd2ecf1598fff8916-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-4736d847621c8a468fba5becd2ecf1598fff8916
        # Distroless image: tag: gh-4736d847621c8a468fba5becd2ecf1598fff8916-distroless

Afterwards, run the upgrade commands from the latest release notes.

@emilburzo
emilburzo force-pushed the dependabot/uv/pydantic-2.14.2 branch from 50dbf71 to 4736d84 Compare November 4, 2026 08:37
@emilburzo
emilburzo merged commit 88bd5bc into main Nov 4, 2026
170 checks passed
@emilburzo
emilburzo deleted the dependabot/uv/pydantic-2.14.2 branch November 4, 2026 09:07
kensternberg-authentik added a commit that referenced this pull request Nov 4, 2026
* main: (176 commits)
  flows: format titles correct on first render if possible (#27589)
  common/saml: Add ability to select nameid unspecified (#27027)
  core: bump cachetools from 7.2.7 to 7.2.8 (#27575)
  core: bump pytest from 9.1.1 to 9.2.0 (#27573)
  core: bump django from 5.2.18 to 5.2.19 (#27574)
  core: bump pydantic from 2.14.1 to 2.14.2 (#27576)
  ci: bump taiki-e/install-action from 2.88.1 to 2.89.0 in /.github/actions/setup (#27577)
  common/saml: skip Ed25519 tests when FIPS is enabled (#27583)
  outposts/proxy: verify ML-DSA signed tokens (#27171)
  web: bump js-yaml from 4.3.0 to 4.3.2 (#27522)
  web: bump shell-quote from 1.9.0 to 1.12.0 (#27531)
  web/admin: allow adding source to identification stage after creation (#27485)
  web: bump @xmldom/xmldom from 0.8.13 to 0.8.15 in /web (#27520)
  web: bump source-map-js from 1.2.1 to 1.2.2 (#27523)
  web: bump follow-redirects from 1.16.0 to 1.16.2 (#27524)
  web: bump joi from 17.13.4 to 17.13.9 (#27525)
  web: bump smol-toml from 1.8.0 to 1.9.1 (#27526)
  web: bump markdown-it from 14.3.0 to 14.3.3 (#27528)
  web: bump fast-uri from 3.1.8 to 3.1.9 (#27529)
  web: bump image-size from 2.0.2 to 2.0.4 (#27530)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 4, 2026
* main:
  flows: format titles correct on first render if possible (#27589)
  common/saml: Add ability to select nameid unspecified (#27027)
  core: bump cachetools from 7.2.7 to 7.2.8 (#27575)
  core: bump pytest from 9.1.1 to 9.2.0 (#27573)
  core: bump django from 5.2.18 to 5.2.19 (#27574)
  core: bump pydantic from 2.14.1 to 2.14.2 (#27576)
  ci: bump taiki-e/install-action from 2.88.1 to 2.89.0 in /.github/actions/setup (#27577)
  common/saml: skip Ed25519 tests when FIPS is enabled (#27583)
  outposts/proxy: verify ML-DSA signed tokens (#27171)
  web: bump js-yaml from 4.3.0 to 4.3.2 (#27522)
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant