From 8a261c1dfa1136f3c2aa1fb1b43b8b25882e6c2e Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 7 Nov 2019 15:20:27 +0000 Subject: [PATCH] uprev and generate history --- HISTORY.md | 8 ++++++++ changes/722-dmontagu.md | 1 - changes/936-dmontagu.md | 1 - changes/962-samuelcolvin.md | 2 -- changes/965-samuelcolvin.md | 1 - pydantic/version.py | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) delete mode 100644 changes/722-dmontagu.md delete mode 100644 changes/936-dmontagu.md delete mode 100644 changes/962-samuelcolvin.md delete mode 100644 changes/965-samuelcolvin.md diff --git a/HISTORY.md b/HISTORY.md index 5d003bd..be5d2e6 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,11 @@ +## v1.1 (2019-11-07) + +* Add a mypy plugin for type checking `BaseModel.__init__` and more, #722 by @dmontagu +* Change return type typehint for `GenericModel.__class_getitem__` to prevent PyCharm warnings, #936 by @dmontagu +* Fix usage of `Any` to allow `None`, also support `TypeVar` thus allowing use of un-parameterised collection types + e.g. `Dict` and `List`, #962 by @samuelcolvin +* Set `FieldInfo` on subfields to fix schema generation for complex nested types, #965 by @samuelcolvin + ## v1.0 (2019-10-23) * **Breaking Change:** deprecate the `Model.fields` property, use `Model.__fields__` instead, #883 by @samuelcolvin diff --git a/changes/722-dmontagu.md b/changes/722-dmontagu.md deleted file mode 100644 index 169f99d..0000000 --- a/changes/722-dmontagu.md +++ /dev/null @@ -1 +0,0 @@ -Add a mypy plugin for type checking `BaseModel.__init__` and more \ No newline at end of file diff --git a/changes/936-dmontagu.md b/changes/936-dmontagu.md deleted file mode 100644 index d5d5666..0000000 --- a/changes/936-dmontagu.md +++ /dev/null @@ -1 +0,0 @@ -Change return type typehint for `GenericModel.__class_getitem__` to prevent PyCharm warnings \ No newline at end of file diff --git a/changes/962-samuelcolvin.md b/changes/962-samuelcolvin.md deleted file mode 100644 index af848d1..0000000 --- a/changes/962-samuelcolvin.md +++ /dev/null @@ -1,2 +0,0 @@ -Fix usage of `Any` to allow `None`, also support `TypeVar` thus allowing use of un-parameterised collection types -e.g. `Dict` and `List` diff --git a/changes/965-samuelcolvin.md b/changes/965-samuelcolvin.md deleted file mode 100644 index 208765b..0000000 --- a/changes/965-samuelcolvin.md +++ /dev/null @@ -1 +0,0 @@ -Set `FieldInfo` on subfields to fix schema generation for complex nested types diff --git a/pydantic/version.py b/pydantic/version.py index aed6c16..d46de8d 100644 --- a/pydantic/version.py +++ b/pydantic/version.py @@ -2,4 +2,4 @@ from distutils.version import StrictVersion __all__ = ['VERSION'] -VERSION = StrictVersion('1.1a1') +VERSION = StrictVersion('1.1')