From 0a9e000db7bc13b76b728d82df53a3e4c24b43f4 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 29 Dec 2022 11:25:31 +0000 Subject: [PATCH] prepare for v1.10.3, fix #4552 --- HISTORY.md | 16 ++++++++++++++++ changes/2276-samuelcolvin.md | 1 - changes/4487-PrettyWood.md | 1 - changes/4500-samuelcolvin.md | 1 - changes/4538-sisp.md | 1 - changes/4551-mfulgo.md | 1 - changes/4568-mfulgo.md | 1 - changes/4641-jparise.md | 1 - changes/4689-morian.md | 1 - changes/4695-PrettyWood.md | 1 - changes/4767-samuelcolvin.md | 1 - changes/4781-Bobronium.md | 1 - changes/4878-PrettyWood.md | 1 - changes/4883-gou177.md | 1 - pydantic/version.py | 2 +- 15 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 changes/2276-samuelcolvin.md delete mode 100644 changes/4487-PrettyWood.md delete mode 100644 changes/4500-samuelcolvin.md delete mode 100644 changes/4538-sisp.md delete mode 100644 changes/4551-mfulgo.md delete mode 100644 changes/4568-mfulgo.md delete mode 100644 changes/4641-jparise.md delete mode 100644 changes/4689-morian.md delete mode 100644 changes/4695-PrettyWood.md delete mode 100644 changes/4767-samuelcolvin.md delete mode 100644 changes/4781-Bobronium.md delete mode 100644 changes/4878-PrettyWood.md delete mode 100644 changes/4883-gou177.md diff --git a/HISTORY.md b/HISTORY.md index 13a66fde09..9185449e17 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,19 @@ +## v1.10.3 (2022-12-29) + +* fix parsing of custom root models, #4883 by @gou177 +* fix: use dataclass proxy for frozen or empty dataclasses, #4878 by @PrettyWood +* Fix `schema` and `schema_json` on models where a model instance is a one of default values, #4781 by @Bobronium +* Add Jina AI to sponsors on docs index page, #4767 by @samuelcolvin +* fix: support assignment on `DataclassProxy`, #4695 by @PrettyWood +* Add `postgresql+psycopg` as allowed scheme for `PostgreDsn` to make it usable with SQLAlchemy 2, #4689 by @morian +* Allow dict schemas to have both `patternProperties` and `additionalProperties`, #4641 by @jparise +* Fixes error passing None for optional lists with `unique_items`, #4568 by @mfulgo +* Fix `GenericModel` with `Callable` param raising a `TypeError`, #4551 by @mfulgo +* Fix field regex with `StrictStr` type annotation, #4538 by @sisp +* Correct `dataclass_transform` keyword argument name from `field_descriptors` to `field_specifiers`, #4500 by @samuelcolvin +* fix: avoid multiple calls of `__post_init__` when dataclasses are inherited, #4487 by @PrettyWood +* Reduce the size of binary wheels, #2276 by @samuelcolvin + ## v1.10.2 (2022-09-05) * **Revert Change:** Revert percent encoding of URL parts which was originally added in #4224, #4470 by @samuelcolvin diff --git a/changes/2276-samuelcolvin.md b/changes/2276-samuelcolvin.md deleted file mode 100644 index ad2bbd41b0..0000000000 --- a/changes/2276-samuelcolvin.md +++ /dev/null @@ -1 +0,0 @@ -Reduce the size of binary wheels. diff --git a/changes/4487-PrettyWood.md b/changes/4487-PrettyWood.md deleted file mode 100644 index 8f18dd0c50..0000000000 --- a/changes/4487-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -fix: avoid multiple calls of `__post_init__` when dataclasses are inherited diff --git a/changes/4500-samuelcolvin.md b/changes/4500-samuelcolvin.md deleted file mode 100644 index 24cda1cbf4..0000000000 --- a/changes/4500-samuelcolvin.md +++ /dev/null @@ -1 +0,0 @@ -Correct `dataclass_transform` keyword argument name from `field_descriptors` to `field_specifiers` diff --git a/changes/4538-sisp.md b/changes/4538-sisp.md deleted file mode 100644 index afb3312ba5..0000000000 --- a/changes/4538-sisp.md +++ /dev/null @@ -1 +0,0 @@ -Fix field regex with `StrictStr` type annotation. diff --git a/changes/4551-mfulgo.md b/changes/4551-mfulgo.md deleted file mode 100644 index 1d9871a41a..0000000000 --- a/changes/4551-mfulgo.md +++ /dev/null @@ -1 +0,0 @@ -Fix `GenericModel` with `Callable` param raising a `TypeError` diff --git a/changes/4568-mfulgo.md b/changes/4568-mfulgo.md deleted file mode 100644 index dfbe63d9fc..0000000000 --- a/changes/4568-mfulgo.md +++ /dev/null @@ -1 +0,0 @@ -Fixes error passing None for optional lists with `unique_items` diff --git a/changes/4641-jparise.md b/changes/4641-jparise.md deleted file mode 100644 index b671f3c620..0000000000 --- a/changes/4641-jparise.md +++ /dev/null @@ -1 +0,0 @@ -Allow dict schemas to have both `patternProperties` and `additionalProperties` diff --git a/changes/4689-morian.md b/changes/4689-morian.md deleted file mode 100644 index 10f8f429f3..0000000000 --- a/changes/4689-morian.md +++ /dev/null @@ -1 +0,0 @@ -Add `postgresql+psycopg` as allowed scheme for `PostgreDsn` to make it usable with SQLAlchemy 2 diff --git a/changes/4695-PrettyWood.md b/changes/4695-PrettyWood.md deleted file mode 100644 index c26b609d57..0000000000 --- a/changes/4695-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -fix: support assignment on `DataclassProxy` diff --git a/changes/4767-samuelcolvin.md b/changes/4767-samuelcolvin.md deleted file mode 100644 index 85f14a670f..0000000000 --- a/changes/4767-samuelcolvin.md +++ /dev/null @@ -1 +0,0 @@ -Add Jina AI to sponsors on docs index page. diff --git a/changes/4781-Bobronium.md b/changes/4781-Bobronium.md deleted file mode 100644 index 26d1221db9..0000000000 --- a/changes/4781-Bobronium.md +++ /dev/null @@ -1 +0,0 @@ -Fix `schema` and `schema_json` on models where a model instance is a one of default values. diff --git a/changes/4878-PrettyWood.md b/changes/4878-PrettyWood.md deleted file mode 100644 index bd05c96d15..0000000000 --- a/changes/4878-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -fix: use dataclass proxy for frozen or empty dataclasses diff --git a/changes/4883-gou177.md b/changes/4883-gou177.md deleted file mode 100644 index b72d82c6c4..0000000000 --- a/changes/4883-gou177.md +++ /dev/null @@ -1 +0,0 @@ -fix parsing of custom root models \ No newline at end of file diff --git a/pydantic/version.py b/pydantic/version.py index 32c61633f7..d65155a00c 100644 --- a/pydantic/version.py +++ b/pydantic/version.py @@ -1,6 +1,6 @@ __all__ = 'compiled', 'VERSION', 'version_info' -VERSION = '1.10.2' +VERSION = '1.10.3' try: import cython # type: ignore