Sebastián Ramírez
e6b3b994be
🔖 Release version 0.53.1
2020-03-29 22:08:54 +02:00
voegtlel
0f152b4e97
🐛 Check already cloned fields in create_cloned_field to support recursive models ( #1164 )
...
* FIX : #894
Include recursion check for create_cloned_field.
Added test for recursive model.
* ♻️ Refactor and format create_cloned_field()
Co-authored-by: Lukas Voegtle <lukas.voegtle@sick.de >
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2020-03-29 19:26:29 +02:00
Sebastián Ramírez
56e43ba204
🔖 Release version 0.53.0
2020-03-27 17:56:41 +01:00
adg-mh
1f53fef70a
✏️ Update doc string with correct class name ( #1126 )
2020-03-27 17:18:23 +01:00
juhovh-aiven
aea04ee32e
🐛 Fix exclude_unset and aliases in response model validation ( #1074 )
...
* Fix exclude_unset and aliases in response model validation.
* ✨ Use by_alias from param 🤷
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2020-03-27 16:19:17 +01:00
Sebastián Ramírez
025b38df40
🔖 Release version 0.52.0
2020-03-01 22:34:38 +01:00
Sebastián Ramírez
94ee932351
✨ Add ORJSONResponse ( #1065 )
...
* ✨ Add ORJSONResponse
* 📝 Add tutorial using ORJSONResponse
* ✅ Add test for ORJSONResponse
* 📝 Update index.md
2020-03-01 22:30:58 +01:00
Sebastián Ramírez
cf760d6802
🔖 Release version 0.51.0
2020-03-01 22:02:51 +01:00
Sebastián Ramírez
0ac9b3ee5c
✨ Re-export utils from Starlette ( #1064 )
...
* ✨ Re-export main features used from Starlette to simplify developer's code
* ♻️ Refactor Starlette exports
* ♻️ Refactor tutorial examples to use re-exported utils from Starlette
* 📝 Add examples for all middlewares
* 📝 Add new docs for middlewares
* 📝 Add examples for custom responses
* 📝 Extend docs for custom responses
* 📝 Update docs and add notes explaining re-exports from Starlette everywhere
* 🍱 Update screenshot for HTTP status
* 🔧 Update MkDocs config with new content
* ♻️ Refactor tests to use re-exported utils from Starlette
* ✨ Re-export WebSocketDisconnect from Starlette for tests
* ✅ Add extra tests for extra re-exported middleware
* ✅ Add tests for re-exported responses from Starlette
* ✨ Add docs about mounting WSGI apps
* ➕ Add Flask as a dependency to test WSGIMiddleware
* ✅ Test WSGIMiddleware example
2020-03-01 21:49:20 +01:00
Sebastián Ramírez
f2bd2c44e2
🔖 Release version 0.50.0
2020-02-29 21:49:09 +01:00
Sebastián Ramírez
4e8080f290
📌 Upgrade Starlette version ( #1057 )
2020-02-29 21:28:23 +01:00
Sebastián Ramírez
d4ddf4e62a
🔖 Release 0.49.2
2020-02-29 18:19:52 +01:00
Patrick McKenna
e26f94018c
♻️ Refactor serialize_response parameter name ( #1031 )
2020-02-29 17:33:02 +01:00
sm-Fifteen
1ce67887b9
♻️ Refactor function calling a path operation function to simplify profiling ( #1027 )
2020-02-29 17:28:30 +01:00
Patrick McKenna
afad59dfbb
🐛 Admit valid types for Pydantic fields as responses models ( #1017 )
2020-02-29 14:04:35 +01:00
Sebastián Ramírez
9958d93120
🔖 Release 0.49.1
2020-02-28 22:48:03 +01:00
merowinger92
74c4d1c1db
🐛 Fix declaring a single parameter per name ( #994 )
2020-02-28 22:36:30 +01:00
Sebastián Ramírez
9c3c9b6e78
🔖 Release version 0.49.0
2020-02-16 21:11:28 +01:00
Patrick McKenna
3c1803897f
🐛 Fix path encoding ( #978 )
2020-02-16 21:06:41 +01:00
Sebastián Ramírez
e0c3519b94
✨ Allow callables (as functools.partial) in path operations ( #977 )
2020-02-12 21:36:14 +01:00
Sebastián Ramírez
d91b2b3ee8
🔖 Release version 0.48.0
2020-02-04 05:43:07 +01:00
Sebastián Ramírez
2e0a102565
🔇 Log email-validator not installed only when used ( #946 )
2020-02-04 05:31:01 +01:00
David Montague
c425509d57
🐛 Fix body parsing ( #918 )
2020-02-04 05:01:59 +01:00
李冬冬
a448bd63bd
🐛 Allow Any type for enums in OpenAPI ( #906 )
2020-02-04 04:37:47 +01:00
Andy Smith
70bdade23b
🐛 Fix Pydantic field clone logic with validators ( #899 )
2020-02-04 04:03:51 +01:00
Sebastián Ramírez
b307d38897
♻️ Update default API title from "Fast API" to "FastAPI" for consistency ( #890 )
2020-01-18 19:07:42 +01:00
Sebastián Ramírez
a085898309
🔖 Release version 0.47.1
2020-01-18 18:06:47 +01:00
Sebastián Ramírez
75a07f24bf
🔒 Fix clone field implementation to handle sub-models in response_model ( #889 )
2020-01-18 18:03:51 +01:00
Sebastián Ramírez
7cea84b74c
🐛 Fix FastAPI serialization of Pydantic ORM mode blocking the event loop ( #888 )
2020-01-18 17:32:57 +01:00
Sebastián Ramírez
3a5158a784
🔖 Release version 0.47.0
2020-01-18 17:14:59 +01:00
Nik
874d24181e
🐛 Fix validating form params declared with classes (list, tuple, set, etc) ( #856 )
2020-01-17 12:45:55 +01:00
Aviram Hassan
5db99a27cf
✨ add body to RequestValidationError for easier debugging ( #853 )
2020-01-17 12:37:44 +01:00
Sebastián Ramírez
a9673f145a
🔖 Release version 0.46.0
2020-01-08 23:28:03 +01:00
Jesse P. Johnson
91fe90e8e6
✨ Implement OAuth2 authorization_code integration ( #797 )
2020-01-08 22:47:19 +01:00
James Kaplan
cb1410426e
🐛 Fix callback handling in sub-routers ( #792 )
2020-01-08 22:22:14 +01:00
Roald Storm
b85b2e3942
✨ Add support for subtypes of main types in jsonable_encoder
2020-01-08 21:50:21 +01:00
Sebastián Ramírez
c7c69586ae
🔖 Release version 0.45.0
2019-12-11 18:05:19 +01:00
Ben Dayan
73260971b5
✨ Add support for OpenAPI Callbacks ( #722 )
2019-12-11 17:58:00 +01:00
Sebastián Ramírez
83d04df8a6
🔊 Refactor logging ( #781 )
2019-12-09 20:02:44 +01:00
Sebastián Ramírez
90236c8135
🔖 Release version 0.44.1
2019-12-05 00:17:04 +01:00
dmontagu
19c77e35bd
🐛 Fix issue with exotic pydantic error serialization ( #748 )
2019-11-29 07:02:10 +01:00
Sebastián Ramírez
cc4c13e4ae
🔖 Release 0.44.0, with support for Pydantic v1 and above! 🎉
2019-11-27 22:16:29 +01:00
Stéphane Wirtel
e04bae2286
🐛 Fix the usage of custom_encoder for jsonable_encoder #714 ( #715 )
2019-11-27 21:23:23 +01:00
François Voron
f3ddc7bdeb
🐛 Allow async class methods as dependencies ( #681 )
2019-11-27 20:51:30 +01:00
dmontagu
ab2b86fe2c
✨ Add support for Pydantic v1 and above 🎉 ( #646 )
...
* Make compatible with pydantic v1
* Remove unused import
* Remove unused ignores
* Update pydantic version
* Fix minor formatting issue
* ⏪ Revert removing iterate_in_threadpool
* ✨ Add backwards compatibility with Pydantic 0.32.2
with deprecation warnings
* ✅ Update tests to not break when using Pydantic < 1.0.0
* 📝 Update docs for Pydantic version 1.0.0
* 📌 Update Pydantic range version to support from 0.32.2
* 🎨 Format test imports
* ✨ Add support for Pydantic < 1.2 for populate_validators
* ✨ Add backwards compatibility for Pydantic < 1.2.0 with required fields
* 📌 Relax requirement for Pydantic to < 2.0.0 🎉 🚀
* 💚 Update pragma coverage for older Pydantic versions
2019-11-27 20:32:02 +01:00
Sebastián Ramírez
90a5796b94
🔖 Release 0.43.0
2019-11-24 18:56:11 +01:00
James Addison
4e50f53459
🐛 Fixing validator-caused incorrect output key order ( #637 )
2019-11-24 14:23:33 +01:00
Daniel Brotsky
c7902dd23a
✨ Generate correct OpenAPI docs for responses with no content ( #621 )
2019-11-24 14:15:39 +01:00
François Voron
8609beb9ab
🚨 Fix black linting ( #682 )
2019-11-23 22:43:43 +01:00
Sebastián Ramírez
65536cbf63
🔖 Release version 0.42.0: Answer to the Ultimate Question of Life, the Universe, and Everything
2019-10-09 13:16:45 -05:00