Skip to content

Commit b521f6b

Browse files
authored
prepare v1.2 (pydantic#1042)
* making field-reuse idempotent (pydantic#1016) * making field-reuse idempotent * fix for 3.6 * correct change details * uprev * generate HISTORY.md
1 parent d9bbb05 commit b521f6b

21 files changed

+57
-20
lines changed

HISTORY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## v1.2 (2019-11-28)
2+
3+
* Add benchmarks for `cattrs`, #513 by @sebastianmika
4+
* Add `exclude_none` option to `dict()` and friends, #587 by @niknetniko
5+
* Add benchmarks for `valideer`, #670 by @gsakkis
6+
* Add `parse_obj_as` and `parse_file_as` functions for ad-hoc parsing of data into arbitrary pydantic-compatible types, #934 by @dmontagu
7+
* Add `allow_reuse` argument to validators, thus allowing validator reuse, #940 by @dmontagu
8+
* Add support for mapping types for custom root models, #958 by @dmontagu
9+
* Mypy plugin support for dataclasses, #966 by @koxudaxi
10+
* Add support for dataclasses default factory, #968 by @ahirner
11+
* Add a `ByteSize` type for converting byte string (`1GB`) to plain bytes, #977 by @dgasmith
12+
* Fix mypy complaint about `@root_validator(pre=True)`, #984 by @samuelcolvin
13+
* Add manylinux binaries for python 3.8 to pypi, also support manylinux2010, #994 by @samuelcolvin
14+
* Adds ByteSize conversion to another unit, #995 by @dgasmith
15+
* Fix `__str__` and `__repr__` inheritance for models, #1022 by @samuelcolvin
16+
* add testimonials section to docs, #1025 by @sullivancolin
17+
* Add support for `typing.Literal` for Python 3.8, #1026 by @dmontagu
18+
* Add support for required `Optional` with `name: Optional[AnyType] = Field(...)` and refactor `ModelField` creation to preserve `required` parameter value, #1031 by @tiangolo
19+
20+
## v1.1.1 (2019-11-20)
21+
22+
* Fix bug where use of complex fields on sub-models could cause fields to be incorrectly configured, #1015 by @samuelcolvin
23+
124
## v1.1 (2019-11-07)
225

326
* Add a mypy plugin for type checking `BaseModel.__init__` and more, #722 by @dmontagu

changes/1022-samuelcolvin.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1025-sullivancolin.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1026-dmontagu.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1031-tiangolo.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/513-sebastianmika.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/587-niknetniko.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/670-gsakkis.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/934-dmontagu.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/940-dmontagu.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)