v1.10.2
版本发布时间: 2022-09-06 01:59:59
pydantic/pydantic最新发布版本:v2.9.2(2024-09-17 22:59:21)
- Revert Change: Revert percent encoding of URL parts which was originally added in #4224, #4470 by @samuelcolvin
- Prevent long (length >
4_300
) strings/bytes as input to int fields, see python/cpython#95778 and CVE-2020-10735, #1477 by @samuelcolvin - fix: dataclass wrapper was not always called, #4477 by @PrettyWood
- Use
tomllib
on Python 3.11 when parsingmypy
configuration, #4476 by @hauntsaninja - Basic fix of
GenericModel
cache to detect order of arguments inUnion
models, #4474 by @sveinugu - Fix mypy plugin when using bare types like
list
anddict
asdefault_factory
, #4457 by @samuelcolvin
Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.1...v1.10.2