diff --git a/HISTORY.md b/HISTORY.md index 692c8e2..c5aeda5 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,16 @@ +## v1.7.3 (2020-11-30) + +Thank you to pydantic's sponsors: +@timdrijvers, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @jorgecarleitao, @koxudaxi, @primer-api, +@mkeen, @meadsteve for their kind support. + +* fix: set right default value for required (optional) fields, #2142 by @PrettyWood +* fix: support `underscore_attrs_are_private` with generic models, #2138 by @PrettyWood +* fix: update all modified field values in `root_validator` when `validate_assignment` is on, #2116 by @PrettyWood +* Allow pickling of `pydantic.dataclasses.dataclass` dynamically created from a built-in `dataclasses.dataclass`, #2111 by @aimestereo +* Fix a regression where Enum fields would not propagate keyword arguments to the schema, #2109 by @bm424 +* Ignore `__doc__` as private attribute when `Config.underscore_attrs_are_private` is set, #2090 by @PrettyWood + ## v1.7.2 (2020-11-01) * fix slow `GenericModel` concrete model creation, allow `GenericModel` concrete name reusing in module, #2078 by @MrMrRobat diff --git a/pydantic/utils.py b/pydantic/utils.py index 1a2c2cb..ab2f3bc 100644 --- a/pydantic/utils.py +++ b/pydantic/utils.py @@ -646,7 +646,8 @@ _EMPTY = object() def all_identical(left: Iterable[Any], right: Iterable[Any]) -> bool: - """Check that the items of `left` are the same objects as those in `right`. + """ + Check that the items of `left` are the same objects as those in `right`. >>> a, b = object(), object() >>> all_identical([a, b, a], [a, b, a]) diff --git a/pydantic/version.py b/pydantic/version.py index 4ba6f2d..dd840e9 100644 --- a/pydantic/version.py +++ b/pydantic/version.py @@ -1,6 +1,6 @@ __all__ = 'VERSION', 'version_info' -VERSION = '1.7.2' +VERSION = '1.7.3' def version_info() -> str: