492 Commits (d1622447eec3414e730d58bb11719b5d93770b91)

Author SHA1 Message Date
Sebastián Ramírez d1622447ee 🔖 Release version 0.100.0-beta3 2 years ago
Sebastián Ramírez 7ea3d642c0
♻️ Tweak type annotations and Pydantic version range (#9801) 2 years ago
Sebastián Ramírez d4e3dcfa3a
♻️ Use new Pydantic v2 JSON Schema generator (#9813) 2 years ago
Sebastián Ramírez 00e080ab42
Add new Pydantic Field param options to Query, Cookie, Body, etc. (#9797) 2 years ago
Sebastián Ramírez b892664f25
♻️ Deprecate parameter `regex`, use `pattern` instead (#9786) 2 years ago
Sebastián Ramírez 9889182d50
️ Revert usage of custom logic for TypeAdapter JSON Schema, solved on the Pydantic side (#9787) 2 years ago
Sebastián Ramírez 54feaad147
🔀 Merge master, fix valid JSON Schema accepting bools (#9782) 2 years ago
Sebastián Ramírez d6db5d4f58
OpenAPI 3.1.0 with Pydantic v2, merge `master` (#9773) 2 years ago
Sebastián Ramírez 1d8d8925fc 🔖 Release version 0.100.0-beta2 2 years ago
Pastukhov Nikita d5952d6db5
🐛 Fix support for Pydantic v2.0, small changes in their final release (#9771) 2 years ago
Sebastián Ramírez 6dc975da9d
♻️ Refactor parts that use optional requirements to make them compatible with installations without them (#9707) 2 years ago
Sebastián Ramírez e7b3d47af3 🔖 Release version 0.100.0-beta1 2 years ago
Sebastián Ramírez cfb00b2119
♻️ Refactor internals for test coverage and performance (#9691) 2 years ago
Sebastián Ramírez c58e2b2d1e
👷 Add CI for both Pydantic v1 and v2 (#9688) 2 years ago
Sebastián Ramírez bd32fecaf6
Pydantic v2 migration, initial implementation (#9500) 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