Skip to content

Commit 5d6f48c

Browse files
committed
prepare for v1.9.0a2
1 parent e882277 commit 5d6f48c

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

Diff for: .codecov.yml

-6
This file was deleted.

Diff for: HISTORY.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## v1.9.0a2 (2021-12-24)
2+
3+
* support generic models with discriminated union, #3551 by @PrettyWood
4+
* keep old behaviour of `json()` by default, #3542 by @PrettyWood
5+
* Removed typing-only `__root__` attribute from `BaseModel`, #3540 by @layday
6+
* Build Python 3.10 wheels, #3539 by @mbachry
7+
* Fix display of `extra` fields with model `__repr__`, #3234 by @cocolman
8+
* models copied via `Config.copy_on_model_validation` always have all fields, #3201 by @PrettyWood
9+
* nested ORM from nested dictionaries, #3182 by @PrettyWood
10+
* fix link to discriminated union section by @PrettyWood
11+
112
## v1.9.0a1 (2021-12-18)
213

314
Thank you to pydantic's sponsors:
@@ -15,6 +26,7 @@ for their kind support.
1526
* Complex types can be set via [nested environment variables](https://pydantic-docs.helpmanual.io/usage/settings/#parsing-environment-variable-values), e.g. `foo___bar`, #3159 by @Air-Mark
1627
* add a dark mode to _pydantic_ documentation, #2913 by @gbdlin
1728
* Add support for autocomplete in VS Code via `__dataclass_transform__`, #2721 by @tiangolo
29+
* Add "exclude" as a field parameter so that it can be configured using model config, #660 by @daviskirk
1830

1931
### Changes
2032

@@ -102,7 +114,6 @@ for their kind support.
102114
* stop calling parent class `root_validator` if overridden, #1895 by @PrettyWood
103115
* Add `repr` (defaults to `True`) parameter to `Field`, to hide it from the default representation of the `BaseModel`, #1831 by @fnep
104116
* Accept empty query/fragment URL parts, #1807 by @xavier
105-
* Add "exclude" as a field parameter so that it can be configured using model config instead of purely at `.dict` / `.json` export time, #660 by @daviskirk
106117

107118
## v1.8.2 (2021-05-11)
108119

Diff for: Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ benchmark-json:
100100
.PHONY: clean
101101
clean:
102102
rm -rf `find . -name __pycache__`
103-
rm -f `find . -type f -name '*.py[co]' `
104-
rm -f `find . -type f -name '*~' `
105-
rm -f `find . -type f -name '.*~' `
103+
rm -f `find . -type f -name '*.py[co]'`
104+
rm -f `find . -type f -name '*~'`
105+
rm -f `find . -type f -name '.*~'`
106106
rm -rf .cache
107107
rm -rf .pytest_cache
108108
rm -rf .mypy_cache
@@ -118,7 +118,6 @@ clean:
118118
rm -rf docs/_build
119119
rm -rf docs/.changelog.md docs/.version.md docs/.tmp_schema_mappings.html
120120
rm -rf fastapi/test.db
121-
rm -rf codecov.sh
122121
rm -rf coverage.xml
123122

124123
.PHONY: docs

Diff for: changes/3234-cocolman.md

-1
This file was deleted.

Diff for: changes/3540-layday.md

-1
This file was deleted.

Diff for: pydantic/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__all__ = 'VERSION', 'version_info'
22

3-
VERSION = '1.9.0a1'
3+
VERSION = '1.9.0a2'
44

55

66
def version_info() -> str:

0 commit comments

Comments
 (0)