604 Commits (master)

Author SHA1 Message Date
Sebastián Ramírez 25382d2d19 🔖 Release version 0.93.0 2 years ago
Jordan Speicher cc9a73c3f8
Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) (#2944) 2 years ago
Sebastián Ramírez 6879082b36 🔖 Release version 0.92.0 2 years ago
Sebastián Ramírez 2ca77f9a4d 🔖 Release version 0.91.0 2 years ago
Sebastián Ramírez d566c6cbca
⬆️ Upgrade Starlette version to `0.24.0` and refactor internals for compatibility (#5985) 2 years ago
Sebastián Ramírez 6e94ec2bf0 🔖 Release version 0.90.1 2 years ago
Sebastián Ramírez 148bcf5ce4 🔖 Release version 0.90.0 2 years ago
Marcelo Trylesinski 9293795e99
⬆️ Bump Starlette from 0.22.0 to 0.23.0 (#5739) 2 years ago
Sebastián Ramírez 5905c3f740 🔖 Release version 0.89.1 2 years ago
Sebastián Ramírez fb8e9083f4
📝 Update docs and examples for Response Model with Return Type Annotations, and update runtime error (#5873) 2 years ago
Marcelo Trylesinski fba7493042
🐛 Ignore Response classes on return annotation (#5855) 2 years ago
Sebastián Ramírez 69bd7d8501 🔖 Release version 0.89.0 2 years ago
Yurii Karabas d0573f5713
Add support for function return type annotations to declare the `response_model` (#1436) 2 years ago
Sebastián Ramírez 612b8ff168 🔖 Release version 0.88.0 2 years ago
Sebastián Ramírez 7c5626bef7
⬆️ Upgrade Ruff (#5698) 2 years ago
Sebastián Ramírez 63a5ffcf57 🔖 Release version 0.87.0 2 years ago
Sebastián Ramírez fa74093440
Use Ruff for linting (#5630) 2 years ago
Sebastián Ramírez d537ee93d7
Re-export Starlette's `WebSocketException` and add it to docs (#5629) 2 years ago
Paweł Rubin fdbd48be5f
⬆ Upgrade Starlette to `0.21.0`, including the new [`TestClient` based on HTTPX](https://github.com/encode/starlette/releases/tag/0.21.0) (#5471) 2 years ago
Sebastián Ramírez ccd242348f 🔖 Release version 0.86.0 2 years ago
Adrian Garcia Badaracco ac9f56ea5e
🐛 Close FormData (uploaded files) after the request is done (#5465) 2 years ago
Sebastián Ramírez d0917ce015 🔖 Release version 0.85.2 2 years ago
Sebastián Ramírez 90fc4299d1 🔖 Release version 0.85.1 3 years ago
Jarro van Ginkel 0ae8db447a
🐛 Fix support for strings in OpenAPI status codes: `default`, `1XX`, `2XX`, `3XX`, `4XX`, `5XX` (#5187) 3 years ago
Sebastián Ramírez 1213227667 🔖 Release version 0.85.0 3 years ago
Sebastián Ramírez 74ce2204ae
⬆️ Upgrade mypy and tweak internal type annotations (#5398) 3 years ago
Marcelo Trylesinski adcf03f2bc
⬆ Upgrade version required of Starlette from `0.19.1` to `0.20.4` (#4820) 3 years ago
Sebastián Ramírez 1073062c7f 🔖 Release version 0.84.0 3 years ago
Ofek Lev 4267bd1f4f
🔧 Update package metadata, drop support for Python 3.6, move build internals from Flit to Hatch (#5240) 3 years ago
Sebastián Ramírez ed0fcba7cb 🔖 Release version 0.83.0 3 years ago
Irfanuddin Shafi Ahmed 4d270463af
🐛Fix `RuntimeError` raised when `HTTPException` has a status code with no content (#5365) 3 years ago
Thomas Meckel 0b4fe10c8f
🐛 Fix empty reponse body when default `status_code` is empty but the a `Response` parameter with `response.status_code` is set (#5360) 3 years ago
DCsunset 3ec498af63
Add support in `jsonable_encoder` for include and exclude with dataclasses (#4923) 3 years ago
Sebastián Ramírez 3079ba925e 🔖 Release version 0.82.0 3 years ago
Adrian Garcia Badaracco f8460a8b54
🐛 Allow exit code for dependencies with `yield` to always execute, by removing capacity limiter for them, to e.g. allow closing DB connections without deadlocks (#5122) 3 years ago
Mateusz Nowak dacb689290
Export `WebSocketState` in `fastapi.websockets` (#4376) 3 years ago
Charlie DiGiovanna 56f887de15
🐛 Make sure a parameter defined as required is kept required in OpenAPI even if defined as optional in another dependency (#4319) 3 years ago
Junghoon Yang 52b5b08910
♻ Internal small refactor, move `operation_id` parameter position in delete method for consistency with the code (#4474) 3 years ago
Marcelo Trylesinski 30b3905ef3
Support Python internal description on Pydantic model's docstring (#3032) 3 years ago
abc.zxy 7250c194da
Update `ORJSONResponse` to support non `str` keys and serializing Numpy arrays (#3892) 3 years ago
David Brochart d8b6aa630c
🐛 Fix support for path parameters in WebSockets (#3879) 3 years ago
Sebastián Ramírez 0bb8920ae1 🔖 Release version 0.81.0 3 years ago
Luis R 22bed0008c
🐛 Fix `jsonable_encoder` for dataclasses with pydantic-compatible fields (#3607) 3 years ago
Erik Vroon de6ccd7754
Add ReDoc `<noscript>` warning when JS is disabled (#5074) 3 years ago
pylounge dc10b81d05
♻ Simplify internal RegEx in `fastapi/utils.py` (#5057) 3 years ago
David Kim 0539dd9cd3
🔧 Fix Type hint of `auto_error` which does not need to be `Optional[bool]` (#4933) 3 years ago
Shahriyar Rzayev 00bdf533ef
♻ Change a `dict()` for `{}` in `fastapi/utils.py` (#3138) 3 years ago
Guillermo Quintana Pelayo a64387c3fc
♻ Move internal variable for errors in `jsonable_encoder` to put related code closer (#4560) 3 years ago
Muzaffer Cikay c8124496fc
♻ Simplify conditional assignment in `fastapi/dependencies/utils.py` (#4597) 3 years ago
Ori Levari 880c8b37cf
🐛 Fix support for extending `openapi_extras` with parameter lists (#4267) 3 years ago