Skip to content

Commit e65d112

Browse files
committed
uprev
1 parent 065ae2e commit e65d112

20 files changed

+26
-23
lines changed

HISTORY.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
1+
## v1.3 (2019-12-21)
2+
3+
* Change `schema` and `schema_model` to handle dataclasses by using their `__pydantic_model__` feature, #792 by @aviramha
4+
* Added option for `root_validator` to be skipped if values validation fails using keyword `skip_on_failure=True`, #1049 by @aviramha
5+
* Allow `Config.schema_extra` to be a callable so that the generated schema can be post-processed, #1054 by @selimb
6+
* Update mypy to version 0.750, #1057 by @dmontagu
7+
* Trick Cython into allowing str subclassing, #1061 by @skewty
8+
* Prevent type attributes being added to schema unless the attribute `__schema_attributes__` is `True`, #1064 by @samuelcolvin
9+
* Change `BaseModel.parse_file` to use `Config.json_loads`, #1067 by @kierandarcy
10+
* Fix for optional `Json` fields, #1073 by @volker48
11+
* Change the default number of threads used when compiling with cython to one,
12+
allow override via the `CYTHON_NTHREADS` environment variable, #1074 by @samuelcolvin
13+
* Run FastAPI tests during Pydantic's CI tests, #1075 by @tiangolo
14+
* My mypy strictness constraints, and associated tweaks to type annotations, #1077 by @samuelcolvin
15+
* Add `__eq__` to SecretStr and SecretBytes to allow "value equals", #1079 by @sbv-trueenergy
16+
* Fix schema generation for nested None case, #1088 by @lutostag
17+
* Consistent checks for sequence like objects, #1090 by @samuelcolvin
18+
* Fix `Config` inheritance on `BaseSettings` when used with `env_prefix`, #1091 by @samuelcolvin
19+
* Fix for `__modify_schema__` when it conflicted with `field_class_to_schema*`, #1102 by @samuelcolvin
20+
* docs: Fix explanation of case sensitive environment variable names when populating `BaseSettings` subclass attributes, #1105 by @tribals
21+
* Rename django-rest-framework benchmark in documentation, #1119 by @frankie567
22+
123
## v1.2 (2019-11-28)
224

3-
* **Possible Breaking Change:** Add support for required `Optional` with `name: Optional[AnyType] = Field(...)`
25+
* **Possible Breaking Change:** Add support for required `Optional` with `name: Optional[AnyType] = Field(...)`
426
and refactor `ModelField` creation to preserve `required` parameter value, #1031 by @tiangolo;
527
see [here](https://pydantic-docs.helpmanual.io/usage/models/#required-optional-fields) for details
628
* Add benchmarks for `cattrs`, #513 by @sebastianmika
@@ -34,10 +56,10 @@
3456
## v1.0 (2019-10-23)
3557

3658
* **Breaking Change:** deprecate the `Model.fields` property, use `Model.__fields__` instead, #883 by @samuelcolvin
37-
* **Breaking Change:** Change the precedence of aliases so child model aliases override parent aliases,
59+
* **Breaking Change:** Change the precedence of aliases so child model aliases override parent aliases,
3860
including using `alias_generator`, #904 by @samuelcolvin
3961
* **Breaking change:** Rename `skip_defaults` to `exclude_unset`, and add ability to exclude actual defaults, #915 by @dmontagu
40-
* Add `**kwargs` to `pydantic.main.ModelMetaclass.__new__` so `__init_subclass__` can take custom parameters on extended
62+
* Add `**kwargs` to `pydantic.main.ModelMetaclass.__new__` so `__init_subclass__` can take custom parameters on extended
4163
`BaseModel` classes, #867 by @retnikt
4264
* Fix field of a type that has a default value, #880 by @koxudaxi
4365
* Use `FutureWarning` instead of `DeprecationWarning` when `alias` instead of `env` is used for settings models, #881 by @samuelcolvin

changes/1049-aviramha.md

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

changes/1054-selimb.md

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

changes/1057-dmontagu.md

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

changes/1061-skewty.md

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

changes/1064-samuelcolvin.md

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

changes/1067-kierandarcy.md

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

changes/1073-volker48.md

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

changes/1074-samuelcolvin.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

changes/1075-tiangolo.md

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

changes/1077-samuelcolvin.md

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

changes/1079-sbv-trueenergy.md

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

changes/1088-lutostag.md

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

changes/1090-samuelcolvin.md

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

changes/1091-samuelcolvin.md

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

changes/1102-samuelcolvin.md

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

changes/1105-tribals.md

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

changes/1119-frankie567.md

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

changes/792-aviramha.md

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

pydantic/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__all__ = ['VERSION']
44

5-
VERSION = StrictVersion('1.3a1')
5+
VERSION = StrictVersion('1.3')

0 commit comments

Comments
 (0)