diff --git a/HISTORY.md b/HISTORY.md index 05d9d13..21f9c88 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,16 @@ +## v1.8.1 (2021-03-03) + +Bug fixes for regressions and new features from `v1.8` + +* allow elements of `Config.field` to update elements of a `Field`, #2461 by @samuelcolvin +* fix validation with a `BaseModel` field and a custom root type, #2449 by @PrettyWood +* expose `Pattern` encoder to `fastapi`, #2444 by @PrettyWood +* enable the Hypothesis plugin to generate a constrained float when the `multiple_of` argument is specified, #2442 by @tobi-lipede-oodle +* Avoid `RecursionError` when using some types like `Enum` or `Literal` with generic models, #2436 by @PrettyWood +* do not overwrite declared `__hash__` in subclasses of a model, #2422 by @PrettyWood +* fix `mypy` complaints on `Path` and `UUID` related custom types, #2418 by @PrettyWood +* Support properly variable length tuples of compound types, #2416 by @PrettyWood + ## v1.8 (2021-02-26) Thank you to pydantic's sponsors: diff --git a/changes/2416-PrettyWood.md b/changes/2416-PrettyWood.md deleted file mode 100644 index 8be855a..0000000 --- a/changes/2416-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -Support properly variable length tuples of compound types diff --git a/changes/2418-PrettyWood.md b/changes/2418-PrettyWood.md deleted file mode 100644 index cceb189..0000000 --- a/changes/2418-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -fix `mypy` complaints on `Path` and `UUID` related custom types diff --git a/changes/2422-PrettyWood.md b/changes/2422-PrettyWood.md deleted file mode 100644 index 740c220..0000000 --- a/changes/2422-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -do not overwrite declared `__hash__` in subclasses of a model diff --git a/changes/2436-PrettyWood.md b/changes/2436-PrettyWood.md deleted file mode 100644 index 44d63fb..0000000 --- a/changes/2436-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -Avoid `RecursionError` when using some types like `Enum` or `Literal` with generic models \ No newline at end of file diff --git a/changes/2442-tobi-lipede-oodle.md b/changes/2442-tobi-lipede-oodle.md deleted file mode 100644 index 0d947ef..0000000 --- a/changes/2442-tobi-lipede-oodle.md +++ /dev/null @@ -1 +0,0 @@ -enable the Hypothesis plugin to generate a constrained float when the `multiple_of` argument is specified. \ No newline at end of file diff --git a/changes/2444-PrettyWood.md b/changes/2444-PrettyWood.md deleted file mode 100644 index 0d7b9af..0000000 --- a/changes/2444-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -expose `Pattern` encoder to `fastapi` diff --git a/changes/2449-PrettyWood.md b/changes/2449-PrettyWood.md deleted file mode 100644 index 1568805..0000000 --- a/changes/2449-PrettyWood.md +++ /dev/null @@ -1 +0,0 @@ -fix validation with a `BaseModel` field and a custom root type diff --git a/changes/2461-samuelcolvin.md b/changes/2461-samuelcolvin.md deleted file mode 100644 index 03a3a42..0000000 --- a/changes/2461-samuelcolvin.md +++ /dev/null @@ -1 +0,0 @@ -fix: allow elements of `Config.field` to update elements of a `Field` diff --git a/pydantic/version.py b/pydantic/version.py index 43ad06b..0614cbe 100644 --- a/pydantic/version.py +++ b/pydantic/version.py @@ -1,6 +1,6 @@ __all__ = 'VERSION', 'version_info' -VERSION = '1.8' +VERSION = '1.8.1' def version_info() -> str: