486 Commits (c165be380f87b7b079f98c5134cccef0c9d67e4d)

Author SHA1 Message Date
Sebastián Ramírez f8356d9fff 🔖 Release version 0.100.0 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 2 years ago
Sebastián Ramírez dd4e78ca7b 🔖 Release version 0.99.1 2 years ago
Sebastián Ramírez 07e1dea467
🐛 Fix JSON Schema accepting bools as valid JSON Schemas, e.g. `additionalProperties: false` (#9781) 2 years ago
Sebastián Ramírez 983f1d34db 🔖 Release version 0.99.0 2 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 2 years ago
Carson Crane 1f21b16e03
Add support for `deque` objects and children in `jsonable_encoder` (#9433) 2 years ago
Sebastián Ramírez 4721405ef7 🔖 Release version 0.98.0 2 years ago
cyberlis e94c13ce74
Add allow disabling `redirect_slashes` at the FastAPI app level (#3432) 2 years ago
Sebastián Ramírez 32935103b1 🔖 Release version 0.97.0 2 years ago
Sebastián Ramírez 7167c77a18
⬆️ Upgrade and fully migrate to Ruff, remove isort, includes a couple of tweaks suggested by the new version of Ruff (#9660) 2 years ago
Sebastián Ramírez 4ac55af283
♻️ Update internal type annotations and upgrade mypy (#9658) 2 years ago
Sebastián Ramírez 17e49bc9f7
♻️ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available (#9657) 2 years ago
Paulo Costa d8b8f211e8
Add support for `dependencies` in WebSocket routes (#4534) 2 years ago
Kristján Valur Jónsson ab03f22635
Add exception handler for `WebSocketRequestValidationError` (which also allows to override it) (#6030) 2 years ago
Sebastián Ramírez 19347bfc3c 🔖 Release version 0.96.1 2 years ago
Sebastián Ramírez 6dd8e567cc
🐛 Fix `HTTPException` header type annotations (#9648) 2 years ago
Marcelo Trylesinski 52fd0afc94
♻ Remove `media_type` from `ORJSONResponse` as it's inherited from the parent class (#5805) 2 years ago
Timothée Mazzucotelli 010d44ee1b
♻ Instantiate `HTTPException` only when needed, optimization refactor (#5356) 2 years ago
Sebastián Ramírez 2d35651a5a
🐛 Fix OpenAPI model fields int validations, change `gte` to `ge` (#9635) 2 years ago
Sebastián Ramírez 1574c96231 🔖 Release version 0.96.0 2 years ago
Zanie Adkins 27618aa2e8
Update `create_cloned_field` to use a global cache and improve startup performance (#4645) 2 years ago
Sebastián Ramírez 8cc967a760 🔖 Release version 0.95.2 2 years ago
Sebastián Ramírez c81e136d75 🔖 Release version 0.95.1 2 years ago
Sharon Yogev fdf66c825e
🐛 Fix using `Annotated` in routers or path operations decorated multiple times (#9315) 2 years ago
Sebastián Ramírez d666ccb622 🔖 Release version 0.95.0 2 years ago
Nadav Zingerman 375513f114
Add support for PEP-593 `Annotated` for specifying dependencies and parameters (#4871) 2 years ago
Sebastián Ramírez ef176c6631 🔖 Release version 0.94.1 2 years ago
Sebastián Ramírez 25aabe05ce
🎨 Fix types for lifespan, upgrade Starlette to 0.26.1 (#9245) 2 years ago
Sebastián Ramírez 392ffaae43 🔖 Release version 0.94.0 2 years ago
pre-commit-ci[bot] f04b61bd16
⬆ [pre-commit.ci] pre-commit autoupdate (#5709) 2 years ago
Sebastián Ramírez 8a4cfa52af
⬆️ Upgrade Starlette version, support new `lifespan` with state (#9239) 2 years ago
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