Commit Graph

653 Commits

Author SHA1 Message Date
Sebastián Ramírez 55afb70b37 📝 Update release notes 2020-01-18 19:08:24 +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 3b40c557ce 📝 Update release notes 2020-01-18 18:06:20 +01:00
Sebastián Ramírez 3a5158a784 🔖 Release version 0.47.0 2020-01-18 17:14:59 +01:00
Sebastián Ramírez bd581c5337 📝 Update release notes 2020-01-18 17:14:03 +01:00
Sebastián Ramírez 22982287ff
📝 Refactor docs, "Tutorial - User Guide" and "Advanced User Guide" (#887) 2020-01-18 16:21:54 +01:00
Sebastián Ramírez a41a729682
🎨 Tweak external links, Markdown format, typos (#881) 2020-01-17 16:24:05 +01:00
Pavel Isaev 174e7b1730 🔒 Check both username and password in security tutorial (#865) 2020-01-17 12:49:54 +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 180b842a1e
📝 Add external links, dynamic GitHub topic projects, and formatting (#850) 2020-01-17 10:46:44 +01:00
Sebastián Ramírez 3f53deebc9
🐛 Fix Peewee contextvars handling in docs (#879) 2020-01-17 09:59:38 +01:00
Sebastián Ramírez e5d7878856
Use venv with Flit for local development, instead of requiring Flit and Pipenv (#877) 2020-01-17 09:51:03 +01:00
Sebastián Ramírez 3eca945bd1 📝 Udpate release notes 2020-01-12 20:43:46 +01:00
Zachary Wasserman ba9c9a3f78 🔒 Update HTTP Basic Auth docs fixing timing attacks (#807) 2020-01-12 20:38:39 +01:00
Sebastián Ramírez a9673f145a 🔖 Release version 0.46.0 2020-01-08 23:28:03 +01:00
Sebastián Ramírez aa28784f6b 📝 Update release notes 2020-01-08 23:26:15 +01:00
Sebastián Ramírez 7b3319ddab
✏️ Tweak typos and configs (#837) 2020-01-08 23:25:29 +01:00
Sebastián Ramírez 6a20078259 📝 Update release notes 2020-01-08 23:03:08 +01:00
wxq0309 d0ab909544 📝 Add link to Chinese FastAPI posts (#810) 2020-01-08 23:01:58 +01:00
Sebastián Ramírez 13da029dca 📝 Update release notes 2020-01-08 22:51:55 +01:00
Sebastián Ramírez a0c8f93231 📝 Update release notes 2020-01-08 22:35:33 +01:00
Christoph Deil cad6a6e0c1 📝 Highlight all new lines in docs example upgrade (#795) 2020-01-08 22:34:14 +01:00
Sebastián Ramírez fd5ba77b83 📝 Update release notes 2020-01-08 22:23:54 +01:00
James Kaplan cb1410426e 🐛 Fix callback handling in sub-routers (#792) 2020-01-08 22:22:14 +01:00
Sebastián Ramírez 7b31e52766 📝 Update release notes 2020-01-08 22:02:32 +01:00
Sebastián Ramírez 462e24e864 📝 Update release notes 2020-01-08 22:00:44 +01:00
Xucong ZHAN 9f9ed7a6bd 📝 Add four JP articles to external links (#783) 2020-01-08 21:58:33 +01:00
Sebastián Ramírez b6ea9ea2ca 📝 Update release notes 2020-01-08 21:53:14 +01:00
Sebastián Ramírez 08fc2a41ca 📝 Update release notes 2020-01-08 19:16:57 +01:00
Dustyposa 8d3dcbcd1b fix type UrlStr -> HttpUrl (#832) 2020-01-08 00:08:43 -08:00
Justin DuJardin 861ed37c97 📝 update twitter compose tweet links (#813)
The links to post @tiangolo were not working
2019-12-30 15:22:11 -07:00
Sebastián Ramírez 7a445402d4 📝 Update release notes 2019-12-13 11:32:17 +01:00
Sebastián Ramírez 04c8502cc7
📝 Add docs for correctly using Peewee (#789) 2019-12-13 11:29:18 +01:00
Sebastián Ramírez c7c69586ae 🔖 Release version 0.45.0 2019-12-11 18:05:19 +01:00
Sebastián Ramírez 4e09feda9e 📝 Update release notes 2019-12-11 18:02:53 +01:00
Ben Dayan 73260971b5 Add support for OpenAPI Callbacks (#722) 2019-12-11 17:58:00 +01:00
Sebastián Ramírez b36bfff56e 📝 Update release notes 2019-12-09 20:04:04 +01:00
Sebastián Ramírez 7bc78c5fd3 📝 Update release notes 2019-12-09 19:15:37 +01:00
prostomarkeloff ae8fa3aacd 📝 Add article about FastAPI to external links (#766) 2019-12-09 19:13:28 +01:00
Sebastián Ramírez 08bc120771 📝 Update release notes 2019-12-09 19:01:40 +01:00
Sebastián Ramírez a39efb029f
💬 Rephrase handling-errors to remove gender while keeping readability (#780) 2019-12-09 18:59:29 +01:00
Sebastián Ramírez 58ca98285f 📝 Update release notes 2019-12-09 18:43:09 +01:00
prostomarkeloff 3f5f81bbdc 📝 Change 'Schema' to 'Field' in docs (#746) 2019-12-09 14:48:54 +01:00
Sebastián Ramírez 90236c8135 🔖 Release version 0.44.1 2019-12-05 00:17:04 +01:00
Sebastián Ramírez c200bc2240 📝 Update release notes 2019-11-29 09:02:21 +01:00
Sebastián Ramírez e9861cd918
🍱 Add GitHub social preview assets to git (#752) 2019-11-29 08:52:03 +01:00
Sebastián Ramírez 202fa11d50 📝 Update release notes 2019-11-29 08:30:10 +01:00
Sebastián Ramírez c1788a25c7 📝 Update release notes 2019-11-29 07:04:01 +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
Sebastián Ramírez 4f3764faa9 📝 Update release notes 2019-11-27 22:14:36 +01:00
Sebastián Ramírez 06df32e84c 📝 Update release notes 2019-11-27 21:29:14 +01:00
bundabrg 28c089c029 ✏️ Fix typos in docs (#734) 2019-11-27 21:27:56 +01:00
Sebastián Ramírez 44b26bb64c 📝 Update release notes 2019-11-27 21:25:09 +01:00
Sebastián Ramírez 23f5940e8b 📝 Update release notes 2019-11-27 21:08:37 +01:00
OcasoProtal 4915cf0561 🐛 Fix XML example (#710) 2019-11-27 21:06:50 +01:00
Sebastián Ramírez a1c9eff041 📝 Update release notes 2019-11-27 21:05:39 +01:00
Nicolas Marier 57cb3f3089 📝 Fix typos and wording in deployment docs (#700) 2019-11-27 21:03:41 +01:00
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
Sebastián Ramírez acc556e416 📝 Update release notes 2019-06-27 22:44:54 +02:00
Sebastián Ramírez 700585f99d
📝 Add section about external links to docs (#341) 2019-06-27 22:44:15 +02:00
Sebastián Ramírez 4c2993f353 📝 Update release notes 2019-06-27 21:53:59 +02:00
Sebastián Ramírez 8d86fca027 📝 Update release notes 2019-06-27 21:33:07 +02:00
Sebastián Ramírez fc0716a7dd
📝 Update Docs: Help FastAPI (#339) 2019-06-27 21:32:27 +02:00
Sebastián Ramírez 1e593dc4d4 📝 Update release notes 2019-06-27 20:53:54 +02:00
Sebastián Ramírez 06eb775c63 📝 Update release notes 2019-06-27 13:27:53 +02:00
Camila Gutierrez ab77c069d4 📝 Update, simplify, and clarify the SQL tutorial (#331) 2019-06-27 13:25:16 +02:00
Sebastián Ramírez 46fffc0e94 📝 Update release notes 2019-06-27 13:22:56 +02:00
cyril 1c2cdb97e9 📝 Add online SQLite browsers to docs (#330) 2019-06-27 13:12:38 +02:00
Sebastián Ramírez 76b6fd5c18 🔖 Release 0.30.0 2019-06-20 12:32:24 +02:00
Sebastián Ramírez a2fb716035 📝 Update release notes 2019-06-20 12:30:54 +02:00
Sebastián Ramírez aa84ac8e3e
Implement support for Pydantic's ORM mode (#322)
*  Implement support for Pydantic's ORM mode

* 🏗️ Re-structure/augment SQL tutorial source using ORM mode

* 📝 Update SQL docs with SQLAlchemy, ORM mode, relationships

* 🔥 Remove unused util in tutorial

* 📝 Add tutorials for simple dict bodies and responses

* 🔥 Remove old SQL tutorial

*  Add/update tests for SQL tutorial

*  Add tests for simple dicts (body and response)

* 🐛 Fix cloning field from original field
2019-06-20 11:31:32 +02:00
Sebastián Ramírez 4ed2bd1fea 📝 Update release notes 2019-06-18 13:54:36 +02:00
Sebastián Ramírez 06d0918c3d 📝 Update release notes 2019-06-18 09:49:43 +02:00
Sebastián Ramírez bdd794a0e6 📝 Update release notes 2019-06-18 09:40:31 +02:00
Sebastián Ramírez c26f1760d4 🔖 Release 0.29.1 2019-06-13 18:47:43 +02:00
Sebastián Ramírez e5fa4b0af6 📝 Update release notes 2019-06-13 18:39:17 +02:00
dmontagu 120ab08360 📝 Update response-directly.md, fix link (#306) 2019-06-13 18:34:20 +02:00
Andrew Widdersheim 3f5521fdfb 📝 Fix default response model docs (#288)
Fix a discrepancy in the `tax` parameters default value between the docs
and the code example.
2019-06-13 18:31:48 +02:00
Sebastián Ramírez 7244e4b612 🔖 Release version 0.29.0 2019-06-06 14:31:50 +04:00
Sebastián Ramírez d329745064 📝 Update release notes 2019-06-06 14:30:28 +04:00
Sebastián Ramírez 5f7fe926ab
Add support for Response parameters to set headers, cookies, and status codes (#294)
*  Add support for declaring a Response parameter to set headers and cookies

*  Add source for docs and tests

* 📝 Add docs for setting headers, cookies and status code

* 📝 Add attribution to Hug for inspiring response parameters
2019-06-06 14:29:40 +04:00
Sebastián Ramírez c8eea09664 📝 Update release notes 2019-06-05 21:20:12 +04:00
Sebastián Ramírez 5700d65188 🔖 Release 0.28.0 2019-06-05 21:13:32 +04:00
Sebastián Ramírez 46178a5347 📝 Update release notes 2019-06-05 21:09:11 +04:00
Sebastián Ramírez bff5dbbf5d
Implement dependency value cache per request (#292)
*  Add dependency cache, with support for disabling it

*  Add tests for dependency cache

* 📝 Add docs about dependency value caching
2019-06-05 21:00:54 +04:00
Sebastián Ramírez 09cd7c47a1
Implement dependency overrides for testing (#291)
*  Implement dependency overrides for testing

*  Add docs source tests and extra tests for dependency overrides

* 📝 Add docs for testing dependencies with overrides
2019-06-05 15:43:18 +04:00
Sebastián Ramírez e2fadcbc90 🔖 Release version 0.27.2 2019-06-03 22:03:24 +04:00
Sebastián Ramírez b3bb29afa8 📝 Update relase notes 2019-06-03 22:01:09 +04:00
Sebastián Ramírez c7db2ff858
🐛 Fix path and query parameters receiving dict as valid (#287)
* 🐛 Fix path and query parameters accepting dict

*  Add several tests to ensure invalid types are not accepted

* 📝 Document (to include tested source) using query params with list

* 🐛 Fix OpenAPI schema in query with list tutorial
2019-06-03 21:59:40 +04:00
Sebastián Ramírez 2a7ef5504a 🔖 Release 0.27.1 2019-06-03 18:44:03 +04:00
Sebastián Ramírez 27964c5ffd 📝 Update release notes 2019-06-01 10:00:26 +04:00
Sebastián Ramírez d61f5e4b55 📝 Update release notes 2019-05-30 19:43:32 +04:00
Sebastián Ramírez 9da626eb2c 🔖 Release version 0.27.0 2019-05-30 17:48:52 +04:00
Sebastián Ramírez 6f74c7327b 📝 Update release notes 2019-05-30 17:45:38 +04:00
dmontagu 360a2797c1 🐛 Fix docs link in oauth2-scopes.md (#275)
#274
2019-05-30 17:43:18 +04:00
Sebastián Ramírez 0552977cd6 📝 Update release notes 2019-05-30 17:41:40 +04:00
Sebastián Ramírez bd407cc4ed
Refactor param extraction using Pydantic Field (#278)
*  Refactor parameter dependency using Pydantic Field

* ⬆️ Upgrade required Pydantic version with latest Shape values

*  Add tutorials and code for using Enum and Optional

*  Add tests for tutorials with new types and extra cases

* ♻️ Format, clean, and add annotations to dependencies.utils

* 📝 Update tutorial for query parameters with list defaults

*  Add tests for query param with list default
2019-05-30 17:40:43 +04:00
Sebastián Ramírez 83b1a117cc 🔖 Release version 0.26.0 2019-05-29 19:29:44 +04:00
Sebastián Ramírez 2a1ff213a0 📝 Update release notes 2019-05-29 16:33:19 +04:00
Sebastián Ramírez 62af6e0eeb
Separate Pydantic's ValidationError handler and improve docs for error handling (#273)
*  Implement separated ValidationError handlers and custom exceptions

*  Add tutorial source examples and tests

* 📝 Add docs for custom exception handlers

* 📝 Update docs section titles
2019-05-29 16:27:55 +04:00