]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
⬆ Require Pydantic > 1.0 (#1862)
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 9 Aug 2020 20:17:08 +0000 (22:17 +0200)
committerGitHub <noreply@github.com>
Sun, 9 Aug 2020 20:17:08 +0000 (22:17 +0200)
commite1758d107ea5eede358cfdbf69ae7829c8e65a92
tree884006598b1bd4a7fdc96565bb8f1cc6dfd3f7ad
parent3390182fc9b0fde3b263eaae255d9865d5c5bda6
⬆ Require Pydantic > 1.0 (#1862)

* 🔥 Remove support for Pydantic < 1.0

* 🔥 Remove deprecated skip_defaults from jsonable_encoder and set default for exclude to None, as in Pydantic

* ♻️ Set default of response_model_exclude=None as in Pydantic

* ⬆️ Require Pydantic >=1.0.0 in requirements
14 files changed:
fastapi/applications.py
fastapi/dependencies/models.py
fastapi/dependencies/utils.py
fastapi/encoders.py
fastapi/exceptions.py
fastapi/openapi/models.py
fastapi/openapi/utils.py
fastapi/params.py
fastapi/requests.py
fastapi/routing.py
fastapi/utils.py
pyproject.toml
tests/test_jsonable_encoder.py
tests/test_tutorial/test_body_fields/test_tutorial001.py