You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gustav Larsson
748840e77f
Fix non-deterministic openapi spec
v0.128.0 introduced non-deterministic openapi spec schema naming in
the case of multiple pydantic models with the same name.
Commit [e300630 ](e300630551 (diff-1086603fdd56511aafd1d279396b142b803e48164327148e6de26cef4cdaed81L504))
removed the check for conflicting names.
The component names two classes named `User` would randomly be either
```
User
tests__test_duplicate_model_names_openapi__b__model__User
```
```
tests__test_duplicate_model_names_openapi__a__model__User
User
```
With this change, we reintroduce the conflict check to always use
a hash of the fully qualified names in case of conflict.
5 months ago
..
_compat
Fix non-deterministic openapi spec
5 months ago
dependencies
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
middleware
🐛 Fix support for `StreamingResponse`s with dependencies with `yield` or `UploadFile`s, close after the response is done (#14099)
10 months ago
openapi
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
security
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
7 months ago
__init__.py
🔖 Release version 0.128.0
7 months ago
__main__.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
2 years ago
applications.py
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
7 months ago
background.py
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
7 months ago
cli.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
2 years ago
concurrency.py
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
7 months ago
datastructures.py
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
encoders.py
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
exception_handlers.py
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077)
10 months ago
exceptions.py
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
logger.py
🔊 Refactor logging (#781)
7 years ago
param_functions.py
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
params.py
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
py.typed
✨ add py.typed to ship typing information (#209)
7 years ago
requests.py
⬆ Require Pydantic > 1.0 (#1862)
6 years ago
responses.py
✨ Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392)
3 years ago
routing.py
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
staticfiles.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
templating.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
testclient.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
types.py
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564)
7 months ago
utils.py
➖ Drop support for `pydantic.v1` (#14609)
7 months ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
4 years ago