Skip to content

build(deps): bump pydantic-settings from 2.14.2 to 2.16.3 - #46

Merged
ggapp1 merged 1 commit into
mainfrom
dependabot/uv/pydantic-settings-2.16.2
Nov 16, 2026
Merged

ggapp1 merged 1 commit into
mainfrom
dependabot/uv/pydantic-settings-2.16.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps pydantic-settings from 2.14.2 to 2.16.3.

Release notes

Sourced from pydantic-settings's releases.

v2.16.3

Highlights

This patch release fixes a security issue in the default secrets source, a regression from 2.14.2 that dropped nested secrets on Kubernetes, and a CliApp.serialize round-trip bug with CliUnknownArgs.

Security

  • SecretsSettingsSource no longer follows symlinks that resolve outside secrets_dir (#1138, fixes #1137). A secret file that is a symbolic link to a file outside secrets_dir was read into the matching field, so anyone who could place a link in secrets_dir could make the application load any file it can read. This is the plain-source counterpart of GHSA-4xgf-cpjx-pc3j, whose fix in 2.14.2 covered only NestedSecretsSettingsSource. Links that stay inside secrets_dir, such as the Kubernetes secret volume layout (passwd linking to ..data/passwd), still work.

Behavior changes

  • A secret file that resolves outside secrets_dir is now skipped with a warning instead of being read (#1138). If you deliberately point secret files at targets elsewhere on disk, move or copy the targets into secrets_dir, or point secrets_dir at the directory that holds them.
  • NestedSecretsSettingsSource skips hidden entries (names starting with .) again, as it did before 2.14.2, and stops with a SettingsError after 10,000 entries (#1070).

Bug fixes

Secrets

  • With secrets_nested_subdir=True, a directory reached through a second symlink is loaded again (#1070, fixes #1061). Since 2.14.2, only the name that sorted first was walked, so the standard Kubernetes secret volume layout (db linking to ..data/db) silently lost its nested secrets.
  • A symlink loop inside secrets_dir is skipped instead of aborting the load with RuntimeError on Python 3.11 and 3.12 (#1070, #1138).

CLI

  • CliApp.serialize keeps each level's CliUnknownArgs before that level's subcommand token (#1050, fixes #1048). They were emitted after the last subcommand, so parsing the output again moved a parent's unknown args onto the subcommand.

What's Changed

New Contributors

Full Changelog: pydantic/pydantic-settings@v2.16.2...v2.16.3

v2.16.2

Highlights

This patch release fixes env decoding of nested dictionary values, CliApp handling of AliasPath, nested secrets directory precedence and discriminated union defaults with nested_model_default_partial_update.

Behavior changes

  • An explicit secrets_dir on NestedSecretsSettingsSource now takes precedence (#1093). Previously it was ignored when the wrapped SecretsSettingsSource inherited a directory from model config, and an explicit empty list was masked too. The order is now: the wrapper's secrets_dir argument, then the wrapped source's directory, then model config. If you pass both Settings(_secrets_dir=...) and NestedSecretsSettingsSource(..., secrets_dir=...), the wrapper's argument now wins.

Bug fixes

... (truncated)

Commits
  • 50e676c Prepare release 2.16.3
  • e394a88 Prevent SecretsSettingsSource from following symlinks outside secrets_dir (#1...
  • 2e66451 Load nested secrets reached through a second directory link (#1070)
  • 0379552 Fix CliApp.serialize moving a parent unknown args into the subcommand (#1050)
  • 94150a0 Prepare release 2.16.2 (#1111)
  • 9e02de0 Fix JSON decoding of nested dictionary environment values (#1109)
  • 7e2dacb Fix CliApp reconstruction of AliasPath inputs (#1096)
  • 2d1f924 Fix explicit nested secrets directory precedence (#1093)
  • e9588ae Fix regressions from nested dict union value decoding (#1089) (#1097)
  • e71a53e Decode nested dictionary values with complex union types (#1089)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 5, 2026
@ggapp1

ggapp1 commented Nov 16, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [pydantic-settings](https://github.com/pydantic/pydantic-settings) from 2.14.2 to 2.16.3.
- [Release notes](https://github.com/pydantic/pydantic-settings/releases)
- [Commits](pydantic/pydantic-settings@v2.14.2...v2.16.3)

---
updated-dependencies:
- dependency-name: pydantic-settings
  dependency-version: 2.16.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump pydantic-settings from 2.14.2 to 2.16.2 build(deps): bump pydantic-settings from 2.14.2 to 2.16.3 Nov 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/pydantic-settings-2.16.2 branch from e16244d to 8d0b26d Compare November 16, 2026 16:18
@ggapp1
ggapp1 merged commit 5511b79 into main Nov 16, 2026
6 checks passed
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