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
f0beab1778
📝 Update release notes
2020-02-29 21:48:11 +01:00
Sebastián Ramírez
95f2dc065e
📝 Add link to the Release Notes from the section about pinning versions for deployment ( #1058 )
2020-02-29 21:47:46 +01:00
Sebastián Ramírez
fbbed6fe81
📝 Update release notes
2020-02-29 19:22:08 +01:00
Sebastián Ramírez
2d5a5d0d9e
📝 Add docs about pinning versions for deployment ( #1056 )
2020-02-29 19:20:18 +01:00
Sebastián Ramírez
d4ddf4e62a
🔖 Release 0.49.2
2020-02-29 18:19:52 +01:00
Sebastián Ramírez
cb25dab986
📝 Update release notes
2020-02-29 18:01:40 +01:00
Sebastián Ramírez
7aa1628336
📝 Update release notes
2020-02-29 18:00:57 +01:00
sattosan
1dbd3d7aa7
✏️ Fix broken links in release notes ( #1052 )
2020-02-29 18:00:40 +01:00
sattosan
24e73e01c7
✏️ Fix typo in release notes ( #1051 )
2020-02-29 17:56:41 +01:00
Sebastián Ramírez
8e0200607f
📝 Update release notes
2020-02-29 17:16:00 +01:00
Sebastián Ramírez
48b5ef1681
📝 Update release notes
2020-02-29 14:06:45 +01:00
Sebastián Ramírez
0f9be1d2e7
📝 Update release notes
2020-02-29 13:16:20 +01:00
Vegard Stikbakke
48c2406495
🎨 Fix markdown code section rendering error in SQL tutorial ( #1015 )
2020-02-29 12:40:09 +01:00
Sebastián Ramírez
9958d93120
🔖 Release 0.49.1
2020-02-28 22:48:03 +01:00
Sebastián Ramírez
b63512cd92
📝 Update release notes
2020-02-28 22:46:55 +01:00
Sebastián Ramírez
9c3c9b6e78
🔖 Release version 0.49.0
2020-02-16 21:11:28 +01:00
Sebastián Ramírez
687871e46a
📝 Update release notes
2020-02-16 21:08:58 +01:00
T. Tokusumi
1c3289f115
📝 Add link: JP articles related to fastapi ( #974 )
2020-02-16 21:00:42 +01:00
Taras Sotnikov
35d41adc7b
📝 Fix broken link in docs ( #949 )
2020-02-16 20:57:29 +01:00
Sebastián Ramírez
9a3dd91030
📝 Update release notes
2020-02-16 20:55:07 +01:00
Sebastián Ramírez
017eae63b1
📝 Update release notes
2020-02-16 20:53:50 +01:00
Nikita Kolesov
8af4454251
✏️ Fix typo ( #941 )
2020-02-16 20:51:18 +01:00
Sebastián Ramírez
adf252768c
📝 Update docs for dependencies with yield ( #986 )
2020-02-16 20:49:12 +01:00
Sebastián Ramírez
3705bdefd5
📝 Update release notes
2020-02-16 19:48:52 +01:00
Sebastián Ramírez
25e94d6344
✨ Add mermaid.js support in Markdown fenced blocks for diagrams ( #985 )
2020-02-16 19:48:20 +01:00
Sebastián Ramírez
26c345b766
📝 Update release notes
2020-02-15 13:26:01 +01:00
Sebastián Ramírez
66954c7ded
📝 Update release notes
2020-02-12 21:37:05 +01:00
Sebastián Ramírez
d91b2b3ee8
🔖 Release version 0.48.0
2020-02-04 05:43:07 +01:00
Sebastián Ramírez
1623b26855
📝 Update release notes
2020-02-04 05:42:12 +01:00
Sebastián Ramírez
636ce6b3f7
📝 Update Peewee docs, simplify with double dependency with yield ( #947 )
2020-02-04 05:28:19 +01:00
नवुले पवन कुमार राव
1fd1e8733a
📝 Add link: Create and Deploy FastAPI app to Heroku ( #942 )
2020-02-04 05:25:00 +01:00
raphaelauv
44b45caf65
📝 Update Sanic description as it is now ASGI too 🎉 ( #932 )
2020-02-04 05:14:07 +01:00
Maciej Marzęta
e6da96fbb7
✏️ Fix typos ( #920 )
2020-02-04 05:04:32 +01:00
adursun
d8451f75a4
✏️ Fix typo ( #916 )
2020-02-04 04:57:18 +01:00
Ben
27fb2b358c
📝 Add article to external links ( #901 )
2020-02-04 04:25:52 +01:00
Timothée Mazzucotelli
68723d5291
📝 Add note about Body parameters without Pydantic ( #900 )
2020-02-04 04:17:20 +01:00
linchiwei123
4f964939a1
🐛 Fix middleware docs link ( #893 )
2020-02-04 03:27:10 +01:00
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