From bc74342b39e2b1d0115364cf2aa90d8f874cb9b5 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Mon, 5 Sep 2022 17:35:13 +0100 Subject: [PATCH] prepare for v1.10.2 --- HISTORY.md | 11 +++++++++++ changes/1477-samuelcolvin.md | 3 --- changes/4457-samuelcolvin.md | 1 - changes/4470-samuelcolvin.md | 1 - changes/4474-sveinugu.md | 1 - changes/4476-hauntsaninja.md | 1 - changes/4477-PrettyWood.md | 1 - pydantic/version.py | 2 +- 8 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 changes/1477-samuelcolvin.md delete mode 100644 changes/4457-samuelcolvin.md delete mode 100644 changes/4470-samuelcolvin.md delete mode 100644 changes/4474-sveinugu.md delete mode 100644 changes/4476-hauntsaninja.md delete mode 100644 changes/4477-PrettyWood.md diff --git a/HISTORY.md b/HISTORY.md index 9e9eafe..48b9192 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,14 @@ +## v1.10.2 (2022-09-05) + +* **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](https://github.com/python/cpython/issues/95778) and + [CVE-2020-10735](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735), #1477 by @samuelcolvin +* fix: dataclass wrapper was not always called, #4477 by @PrettyWood +* Use `tomllib` on Python 3.11 when parsing `mypy` configuration, #4476 by @hauntsaninja +* Basic fix of `GenericModel` cache to detect order of arguments in `Union` models, #4474 by @sveinugu +* Fix mypy plugin when using bare types like `list` and `dict` as `default_factory`, #4457 by @samuelcolvin + ## v1.10.1 (2022-08-31) * Add `__hash__` method to `pydancic.color.Color` class, #4454 by @czaki diff --git a/changes/1477-samuelcolvin.md b/changes/1477-samuelcolvin.md deleted file mode 100644 index 816460f..0000000 --- a/changes/1477-samuelcolvin.md +++ /dev/null @@ -1,3 +0,0 @@ -Prevent long (length > `4_300`) strings/bytes as input to int fields, see -[python/cpython#95778](https://github.com/python/cpython/issues/95778) and -[CVE-2020-10735](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735) diff --git a/changes/4457-samuelcolvin.md b/changes/4457-samuelcolvin.md deleted file mode 100644 index e2a0c7f..0000000 --- a/changes/4457-samuelcolvin.md +++ /dev/null @@ -1 +0,0 @@ -Fix mypy plugin when using bare types like `list` and `dict` as `default_factory`. diff --git a/changes/4470-samuelcolvin.md b/changes/4470-samuelcolvin.md deleted file mode 100644 index a22a152..0000000 --- a/changes/4470-samuelcolvin.md +++ /dev/null @@ -1 +0,0 @@ -**Revert Change:** Revert percent encoding of URL parts which was originally added in #4224. diff --git a/changes/4474-sveinugu.md b/changes/4474-sveinugu.md deleted file mode 100644 index 891100b..0000000 --- a/changes/4474-sveinugu.md +++ /dev/null @@ -1 +0,0 @@ -Basic fix of GenericModel cache to detect order of arguments in Union models diff --git a/changes/4476-hauntsaninja.md b/changes/4476-hauntsaninja.md deleted file mode 100644 index 37b4cf5..0000000 --- a/changes/4476-hauntsaninja.md +++ /dev/null @@ -1 +0,0 @@ -Use `tomllib` on Python 3.11 when parsing `mypy` configuration. diff --git a/changes/4477-PrettyWood.md b/changes/4477-PrettyWood.md deleted file mode 100644 index b74b323..0000000 --- a/changes/4477-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -fix: dataclass wrapper was not always called diff --git a/pydantic/version.py b/pydantic/version.py index 2ec0b8d..32c6163 100644 --- a/pydantic/version.py +++ b/pydantic/version.py @@ -1,6 +1,6 @@ __all__ = 'compiled', 'VERSION', 'version_info' -VERSION = '1.10.1' +VERSION = '1.10.2' try: import cython # type: ignore