diff --git a/HISTORY.md b/HISTORY.md index ff0de8550b..a24e90204b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,13 @@ +## v2.0.2 (2023-07-05) + +* Fix bug where round-trip pickling/unpickling a `RootModel` would change the value of `__dict__`, #6457 by @dmontagu +* Allow single-item discriminated unions, #6405 by @dmontagu +* Fix issue with union parsing of enums, #6440 by @dmontagu +* Docs: Fixed `constr` documentation, renamed old `regex` to new `pattern`, #6452 by @miili +* Change `GenerateJsonSchema.generate_definitions` signature, #6436 by @dmontagu + +See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0.2) + ## v2.0.1 (2023-07-04) First patch release of Pydantic V2 diff --git a/changes/6452-miili.md b/changes/6452-miili.md deleted file mode 100644 index b89f90787c..0000000000 --- a/changes/6452-miili.md +++ /dev/null @@ -1 +0,0 @@ -Docs: Fixed `constr` documentation, renamed old `regex` to new `pattern`. diff --git a/changes/6457-dmontagu.md b/changes/6457-dmontagu.md deleted file mode 100644 index dc43386b48..0000000000 --- a/changes/6457-dmontagu.md +++ /dev/null @@ -1 +0,0 @@ -Fix bug where round-trip pickling/unpickling a `RootModel` would change the value of `__dict__`. diff --git a/pydantic/version.py b/pydantic/version.py index bb5f5cf4ed..85e16b593b 100644 --- a/pydantic/version.py +++ b/pydantic/version.py @@ -3,7 +3,7 @@ __all__ = 'VERSION', 'version_info' -VERSION = '2.0.1' +VERSION = '2.0.2' """The version of Pydantic."""