Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency pydantic to v1.10.13 [security] #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 25, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pydantic (changelog) ==1.6.2 -> ==1.10.13 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-3772

Regular expression denial of service in Pydantic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.


Release Notes

pydantic/pydantic (pydantic)

v1.10.13

Compare Source

v1.10.12

Compare Source

  • Fixes the maxlen property being dropped on deque validation. Happened only if the deque item has been typed. Changes the _validate_sequence_like func, #​6581 by @​maciekglowka

v1.10.11

Compare Source

  • Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, #​6361 by @​SharathHuddar

v1.10.10

Compare Source

v1.10.9

Compare Source

v1.10.8

Compare Source

v1.10.7

Compare Source

  • Fix creating schema from model using ConstrainedStr with regex as dict key, #​5223 by @​matejetz
  • Address bug in mypy plugin caused by explicit_package_bases=True, #​5191 by @​dmontagu
  • Add implicit defaults in the mypy plugin for Field with no default argument, #​5190 by @​dmontagu
  • Fix schema generated for Enum values used as Literals in discriminated unions, #​5188 by @​javibookline
  • Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes, #​5187 by @​dmontagu
  • Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin, #​5162 by @​cdce8p

v1.10.6

Compare Source

  • Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping functools.partial and functools.partialmethod when checking the signature, #​5126 by @​JensHeinrich
  • Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses, #​5111 by @​cdce8p
  • Raise ValidationError, not ConfigError, when a discriminator value is unhashable, #​4773 by @​kurtmckee

v1.10.5

Compare Source

v1.10.4

Compare Source

v1.10.3

Compare Source

NOTE: v1.10.3 was "yanked" from PyPI due to #​4885 which is fixed in v1.10.4

v1.10.2

Compare Source

v1.10.1

Compare Source

v1.10.0

Compare Source

v1.9.2

Compare Source

Revert Breaking Change: v1.9.1 introduced a breaking change where model fields were
deep copied by default, this release reverts the default behaviour to match v1.9.0 and before,
while also allow deep-copy behaviour via copy_on_model_validation = 'deep'. See #​4092 for more information.

  • Allow for shallow copies of model fields, Config.copy_on_model_validation is now a str which must be
    'none', 'deep', or 'shallow' corresponding to not copying, deep copy & shallow copy; default 'shallow',
    #​4093 by @​timkpaine

v1.9.1

Compare Source

Thank you to pydantic's sponsors:
@​tiangolo, @​stellargraph, @​JonasKs, @​grillazz, @​Mazyod, @​kevinalh, @​chdsbd, @​povilasb, @​povilasb, @​jina-ai,
@​mainframeindustries, @​robusta-dev, @​SendCloud, @​rszamszur, @​jodal, @​hardbyte, @​corleyma, @​daddycocoaman,
@​Rehket, @​jokull, @​reillysiemens, @​westonsteimel, @​primer-io, @​koxudaxi, @​browniebroke, @​stradivari96,
@​adriangb, @​kamalgill, @​jqueguiner, @​dev-zero, @​datarootsio, @​RedCarpetUp
for their kind support.

v1.9.0

Compare Source

Thank you to pydantic's sponsors:
@​sthagen, @​timdrijvers, @​toinbis, @​koxudaxi, @​ginomempin, @​primer-io, @​and-semakin, @​westonsteimel, @​reillysiemens,
@​es3n1n, @​jokull, @​JonasKs, @​Rehket, @​corleyma, @​daddycocoaman, @​hardbyte, @​datarootsio, @​jodal, @​aminalaee, @​rafsaf,
@​jqueguiner, @​chdsbd, @​kevinalh, @​Mazyod, @​grillazz, @​JonasKs, @​simw, @​leynier, @​xfenix
for their kind support.

Highlights
v1.9.0 (2021-12-31) Changes
v1.9.0a2 (2021-12-24) Changes
v1.9.0a1 (2021-12-18) Changes

v1.8.2

Compare Source

!!! warning
A security vulnerability, level "moderate" is fixed in v1.8.2. Please upgrade ASAP.
See security advisory CVE-2021-29510

  • Security fix: Fix date and datetime parsing so passing either 'infinity' or float('inf')
    (or their negative values) does not cause an infinite loop,
    see security advisory CVE-2021-29510
  • fix schema generation with Enum by generating a valid name, #​2575 by @​PrettyWood
  • fix JSON schema generation with a Literal of an enum member, #​2536 by @​PrettyWood
  • Fix bug with configurations declarations that are passed as
    keyword arguments during class creation, #​2532 by @​uriyyo
  • Allow passing json_encoders in class kwargs, #​2521 by @​layday
  • support arbitrary types with custom __eq__, #​2483 by @​PrettyWood
  • support Annotated in validate_arguments and in generic models with Python 3.9, #​2483 by @​PrettyWood

v1.8.1

Compare Source

Bug fixes for regressions and new features from v1.8


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants