Commit Graph

495 Commits

Author SHA1 Message Date
Sebastián Ramírez bd6b3b07c5 📝 Update release notes 2019-11-27 21:01:56 +01:00
Nicolas Marier 3cf8b86dc1 📝 Clarify docs for APIRouter dependencies (#698) 2019-11-27 21:00:34 +01:00
Sebastián Ramírez 55165f292a 📝 Update release notes 2019-11-27 20:53:00 +01:00
Sebastián Ramírez 4356cc9588 📝 Update release notes 2019-11-27 20:45:49 +01:00
euri10 cd9e87e60e 📝 Add FastAPI cheatsheet to links (#671) 2019-11-27 20:43:23 +01:00
Sebastián Ramírez 4834d87dcd 📝 Update release notes 2019-11-27 20:40:26 +01:00
Forest Monsen 7781cc0936 ✏️ Fix protocol separator typo (#647) 2019-11-27 20:37:19 +01:00
Sebastián Ramírez 23459d4a35 📝 Update release notes 2019-11-27 20:36:37 +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
Sebastián Ramírez bb8a630fc3 📝 Update release notes 2019-11-24 15:12:56 +01:00
Nicolas Delaby f5a503afae 📝 Replace guys by developers when a group of people is targeted (#645)
Just to make sure we include everyone, disregarding their gender.
2019-11-24 15:09:45 +01:00
Sebastián Ramírez 49fba853c2 📝 Update release notes 2019-11-24 15:06:31 +01:00
Steven Kalt bac2f587b7 📝 Document overriding operationId for all path operations using their function names (#642) 2019-11-24 15:00:51 +01:00
Sebastián Ramírez e1fd6785aa 📝 Update release notes 2019-11-24 14:25:51 +01:00
Sebastián Ramírez 933d4327fb 📝 Update release notes 2019-11-24 14:18:03 +01:00
Daniel Brotsky c7902dd23a Generate correct OpenAPI docs for responses with no content (#621) 2019-11-24 14:15:39 +01:00
Sebastián Ramírez c5f5e63810 📝 Update release notes 2019-11-23 23:00:52 +01:00
Nico Stapelbroek c3cc077fa9 📝 Remove $ sign from bash codeblocs in markdown (#613) 2019-11-23 22:59:15 +01:00
Sebastián Ramírez c6f98c009f 📝 Update release notes 2019-11-23 22:57:47 +01:00
Sebastián Ramírez e4206772cb 📝 Update release notes 2019-11-23 22:54:06 +01:00
svalouch 723ef07ccf 📝 Add documentation for self-serving static Swagger UI (#112) (#557) 2019-11-23 22:50:58 +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
Sebastián Ramírez 0192eab557 📝 Update release notes 2019-10-09 13:13:04 -05:00
Sebastián Ramírez 3f9f4a0f8f
Add dependencies with yield (used as context managers) (#595)
*  Add development/testing dependencies for Python 3.6

*  Add concurrency submodule with contextmanager_in_threadpool

*  Add AsyncExitStack to ASGI scope in FastAPI app call

*  Use async stack for contextmanager-able dependencies

including running in threadpool sync dependencies

*  Add tests for contextmanager dependencies

including internal raise checks when exceptions should be handled and when not

*  Add test for fake asynccontextmanager raiser

* 🐛 Fix mypy errors and coverage

* 🔇 Remove development logs and prints

*  Add tests for sub-contextmanagers, background tasks, and sync functions

* 🐛 Fix mypy errors for Python 3.7

* 💬 Fix error texts for clarity

* 📝 Add docs for dependencies with yield

*  Update SQL with SQLAlchemy tutorial to use dependencies with yield

and add an alternative with a middleware (from the old tutorial)

*  Update SQL tests to remove DB file during the same tests

*  Add tests for example with middleware

as a copy from the tests with dependencies with yield, removing the DB in the tests

* ✏️ Fix typos with suggestions from code review

Co-Authored-By: dmontagu <35119617+dmontagu@users.noreply.github.com>
2019-10-09 13:01:58 -05:00
Sebastián Ramírez 380e3731a8 📝 Update release notes 2019-10-09 12:48:01 -05:00
Sebastián Ramírez 5592fa0f6f 🔖 Release version 0.41.0 2019-10-07 06:44:07 -05:00
Sebastián Ramírez b65be5d496 📝 Update release notes 2019-10-05 13:19:10 -05:00
Sebastián Ramírez dfec2d7644 📝 Update release notes 2019-10-04 20:21:53 -05:00
dmontagu 8c3ef76139 Add better support for request body access/manipulation with custom classes (#589) 2019-10-04 19:23:34 -05:00
Sebastián Ramírez 7a504a721c 📝 Update release notes 2019-10-04 16:36:54 -05:00
Sebastián Ramírez fdb6d43e10 🔖 Release 0.40.0 2019-10-04 15:38:03 -05:00
Sebastián Ramírez a7c718e968 📝 Update release notes 2019-10-04 15:35:09 -05:00
sliptonic f4d753620b 📝 Add notes about installing python-multipart for forms (#574) 2019-10-04 15:33:42 -05:00
Sebastián Ramírez fadfe4c586 📝 Update release notes 2019-10-04 15:11:04 -05:00
Sebastián Ramírez 14daaf409f 📝 Update release notes 2019-10-04 15:07:22 -05:00
svalouch c7dc26b760 Allow docstrings to be truncated before being used for OpenAPI (#556) 2019-10-04 15:02:40 -05:00
Sebastián Ramírez f5ccb3c35d 📝 Update release notes 2019-10-03 19:37:23 -05:00
Sebastián Ramírez f8718072a0 📝 Update release notes 2019-10-03 19:10:34 -05:00
Sebastián Ramírez 6d5530ec1c 📝 Update release notes 2019-10-03 19:04:41 -05:00
prostomarkeloff 0761f11d1a ✏️ Fix typo in HTTP Basic auth tutorial (#514) 2019-10-03 19:01:41 -05:00
Sebastián Ramírez f2e7ef7056 📝 Update release notes 2019-10-03 19:00:13 -05:00
Fedor Ignatov d5d9a20937 📝 Fix incorrect example in docs - first steps (#511) 2019-10-03 18:57:49 -05:00
Sebastián Ramírez 96f092179f 📝 Update release notes 2019-10-03 18:43:15 -05:00
Sebastián Ramírez 78272ac1f3 🔖 Release 0.39.0 2019-09-29 17:17:44 -05:00
Sebastián Ramírez f1bee9a271 📝 Update release notes 2019-09-29 17:09:37 -05:00
Sebastián Ramírez b9cf69cd42 📝 Update release notes 2019-09-29 16:50:00 -05:00
Sebastián Ramírez 0c67022048 📝 Update release notes 2019-09-29 16:24:52 -05:00
Sebastián Ramírez 580cf8f4e2 🔖 Release 0.38.1 2019-09-01 07:56:37 -05:00
Sebastián Ramírez af390af77c 📝 Update release notes 2019-09-01 07:53:20 -05:00
Sebastián Ramírez 203e10596f 🔖 Release version 0.38.0.Support for Pydantic 0.32.2 and Starlette 0.12.8 2019-08-30 20:40:50 -05:00
Sebastián Ramírez 5a2278d09a 📝 Update release notes 2019-08-30 20:37:39 -05:00
Sebastián Ramírez 47a8387a04
📝 Add recent articles and opinions (#490) 2019-08-30 20:35:34 -05:00
Sebastián Ramírez 27ca0c9dca 📝 Update release notes 2019-08-30 19:47:17 -05:00
Sebastián Ramírez 4b74aef429 📝 Update release notes 2019-08-30 19:34:34 -05:00
Sebastián Ramírez 53da56146e 🔖 Release version 0.37.0 2019-08-30 19:10:43 -05:00
Sebastián Ramírez 3799b9027e 📝 Update release notes 2019-08-30 19:09:12 -05:00
Sebastián Ramírez 58dddc5e4f 📝 Update release notes 2019-08-30 19:02:29 -05:00
Sebastián Ramírez 5b3df28f0c 📝 Update release notes 2019-08-30 18:59:08 -05:00
Sebastián Ramírez f156f45193 📝 Update release notes 2019-08-30 18:37:42 -05:00
Sebastián Ramírez 937b462cdd 📝 Update release notes 2019-08-30 18:15:08 -05:00
Sebastián Ramírez c218e0d560 📝 Update release notes 2019-08-30 17:40:14 -05:00
Pablo Marti 1ed5aa23e6 ✏️ Fix typo in oauth2-jwt.md (#447) 2019-08-30 17:35:52 -05:00
Sebastián Ramírez 106d2171d8 📝 Update release notes 2019-08-30 17:34:45 -05:00
Sebastián Ramírez a7a92bc637 📝 Update release notes 2019-08-30 17:02:40 -05:00
naxty 68d1fea961 📝 Add article: Deploying a scikit-learn model with ONNX and FastAPI (#438) 2019-08-30 17:00:00 -05:00
Sebastián Ramírez 8c6b2d5804 📝 Update release notes 2019-08-30 16:48:53 -05:00
Sebastián Ramírez 44d63cd555 📝 Update release notes 2019-08-30 16:36:18 -05:00
Sebastián Ramírez c32e800c23 📝 Update release notes 2019-08-30 11:30:52 -05:00
Sebastián Ramírez 417a3ab140 🔖 Release 0.36.0 2019-08-26 08:28:33 -05:00
Sebastián Ramírez a3235ed8de 📝 Update release notes 2019-08-26 08:27:31 -05:00
Sebastián Ramírez b77a43bcac 📝 Update release notes 2019-08-24 22:08:10 -05:00
Sebastián Ramírez 51a928d3f5 📝 Update release notes 2019-08-24 20:08:04 -05:00
Sebastián Ramírez 033bc2a6c9 🔖 Release 0.35.0 2019-08-07 14:12:15 -05:00
Sebastián Ramírez 28d3b9f783 📝 Update release notes 2019-08-07 14:09:50 -05:00
Bronsen b66056aa34 📝 Fix plural-s without apostrophe in docs (#411) 2019-08-07 14:01:31 -05:00
Sebastián Ramírez 4f10b8b98d 📝 Update release notes 2019-08-07 13:57:41 -05:00
Sebastián Ramírez bf229ad5d8 🔖 Release 0.34.0 upgrading Starlette 2019-08-06 07:22:06 -05:00
Sebastián Ramírez d0319001be 📝 Update Release Notes 2019-08-06 07:13:24 -05:00
Sebastián Ramírez 6ca3ce80e4 📝 Update release notes 2019-07-12 19:15:21 -05:00
Sebastián Ramírez 6bf3ab3b7a 🔖 Release 0.33.0, including Pydantic 0.30.0 2019-07-12 19:01:27 -05:00
Sebastián Ramírez f5ea5eef2a 📝 Update release notes 2019-07-12 18:58:09 -05:00
Sebastián Ramírez e620aeb46d 🔖 Release 0.32.0, as PR ##347 might be a breaking change
in some specific cases
2019-07-12 18:32:30 -05:00
Sebastián Ramírez d1e2e46b80 🔖 Release 0.31.1 2019-07-12 18:30:54 -05:00
Sebastián Ramírez b1c4a8acd5 📝 Update release notes 2019-07-12 18:29:49 -05:00
Martino Mensio 362e2cdc79 📝 Fix small typo in docs for features (#380) 2019-07-12 18:28:07 -05:00
Sebastián Ramírez 93e6a08acd 📝 Update release notes 2019-07-12 18:25:04 -05:00
Ben Williams 3ec4342282 📝 Change limit default parameter to 10 in Query docs (#366)
Rest of docs reference 10 as the default.
2019-07-12 18:22:21 -05:00
Sebastián Ramírez dc483478eb 📝 Update release notes 2019-07-12 18:20:02 -05:00
Chris Withers bdd251a05b 📝 Tweak wording on OAuth2 scopes (#371) 2019-07-12 18:17:34 -05:00
Sebastián Ramírez 195559ccba 📝 Update release notes 2019-06-28 21:29:29 +02:00
Sebastián Ramírez 9a71672a95
📝 Update enum examples to use str, and improve Swagger UI in examples (#351) 2019-06-28 21:27:27 +02:00
Sebastián Ramírez 7e48be1561 📝 Update release notes 2019-06-28 20:57:14 +02:00
Sebastián Ramírez afbdf2546f 📝 Update release notes 2019-06-28 20:16:53 +02:00
Sebastián Ramírez 09d2747a70 📝 Update release notes 2019-06-28 20:00:24 +02:00
Sebastián Ramírez d3ea6f7514
📝 Add note to docs about including same router multiple times (#348) 2019-06-28 19:54:49 +02:00
Sebastián Ramírez 02187636ea 📝 Update release notes 2019-06-28 19:40:31 +02:00
Sebastián Ramírez b30cca8e9e 🔖 Release 0.31.0, upgrading Pydantic to 0.29 2019-06-28 17:01:04 +02:00
Sebastián Ramírez 3906777065 📝 Update release notes 2019-06-28 12:36:52 +02:00
Sebastián Ramírez 54368e7b22 🔖 Release 0.30.1 2019-06-28 09:39:29 +02:00