Commit Graph

642 Commits

Author SHA1 Message Date
Sebastián Ramírez b76334f544
📝 Settings using lru_cache (#1214)
*  Update settings examples to use lru_cache

* 📝 Update docs for Settings, using @lru_cache

* 🎨 Update lru_cache colors to show difference in stored values
2020-04-04 21:39:15 +02:00
Sebastián Ramírez 14b467db06 📝 Update release notes 2020-04-02 07:03:00 +02:00
Camila Gutierrez 3a0c22ce7d
🌐 Translate index to Spanish (#1201) 2020-04-02 07:00:50 +02:00
Sebastián Ramírez 3b7e4e0544 📝 Update release notes 2020-04-02 06:59:19 +02:00
alexmitelman d4d5b21b2e
📝 Add documentation about settings and env vars (#1118)
* Add doc and example for env var config

* Syntax highlight for .env file

* Add test for configuration docs

* 📝 Update settings docs, add more examples

*  Add tests for settings

* 🚚 Rename "Application Configuration" to "Metadata and Docs URLs"

to disambiguate between that and settings

* 🔥 Remove replaced example file

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-04-02 06:55:20 +02:00
Sebastián Ramírez 6e1cd45a46 🔖 Release version 0.53.2 2020-03-30 21:49:50 +02:00
Sebastián Ramírez b86d130eb6 📝 Update release notes 2020-03-30 21:47:11 +02:00
Sebastián Ramírez 042c697b6b 📝 Update release notes 2020-03-30 20:49:24 +02:00
Sebastián Ramírez 210af1fd3d 📝 Update release notes 2020-03-30 20:42:46 +02:00
Sebastián Ramírez 4f88a5fddb 📝 Update release notes 2020-03-30 20:26:07 +02:00
Ikkyu eb6be1d725
💬 Add new language of docs: zh (#1187) 2020-03-30 20:14:58 +02:00
Sebastián Ramírez 1d99681fd4 📝 Update release notes 2020-03-30 12:01:30 +02:00
Sebastián Ramírez 544afaff97
📝 Add docs for adding example to schema (#1185) 2020-03-30 11:58:48 +02:00
Sebastián Ramírez e6b3b994be 🔖 Release version 0.53.1 2020-03-29 22:08:54 +02:00
Sebastián Ramírez 67f148ff83 📝 Update release notes 2020-03-29 22:06:02 +02:00
Sebastián Ramírez 6c34600599
🐛 Fix include docs example file (#1182) 2020-03-29 22:05:24 +02:00
John Paton 016a4b7491
📝 Add documentation of example kwarg of Field (#1106)
* Add documentation of example kwarg of Field

* 📝 Update info about schema examples

* 🚚 Move example file to new directory

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-03-29 21:43:31 +02:00
Sebastián Ramírez be21b74ad5 📝 Update release notes 2020-03-29 19:28:53 +02:00
Sebastián Ramírez 0d165d1efa 📝 Update release notes 2020-03-29 18:52:33 +02:00
YangQuan 9d54215a3a
📝 Add example of Pycharm in tutorial/debugging.md (#1096)
* add example of pycharm in tutorial/debugging.md

* 📝 Update PyCharm debug instructions and screenshot

* 🚚 Move image to new location in docs

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-03-29 18:50:29 +02:00
Sebastián Ramírez 8ab916baed 📝 Update release notes 2020-03-29 17:53:49 +02:00
Paul-Louis NECH c83c50b27d
✏️ Fix typo (#1148) 2020-03-29 17:51:58 +02:00
Sebastián Ramírez c2ad214a84 📝 Update release notes 2020-03-29 17:05:03 +02:00
Sebastián Ramírez 459f0e11e5
🏁 Update Windows development environment and tests (#1179)
* 🏁 Fix ./scripts/docs.py encoding for Windows

* 🔥 Remove ujson from tests as it prevents Windows development

It's still tested by Starlette anyway

* 📝 Update development instructions for Windows

* 🎨 Update format for WSGIMiddleware example

*  Update tests to run on Windows
2020-03-29 17:04:04 +02:00
Sebastián Ramírez 56e43ba204 🔖 Release version 0.53.0 2020-03-27 17:56:41 +01:00
Sebastián Ramírez 10485cad5a 📝 Update release notes 2020-03-27 17:52:33 +01:00
Sebastián Ramírez 53a7798e58
🎨 Update badge for coverage (#1175)
from shields.io, as Codecov's one shows coverage for the last PR from a fork at master
2020-03-27 17:51:58 +01:00
Sebastián Ramírez 372ed58677 📝 Update release notes 2020-03-27 17:33:51 +01:00
Sebastián Ramírez 02a6fcad98 📝 Update release notes 2020-03-27 17:29:11 +01:00
Ari Bajo 651ced68bf
🐛 Fix GZipMiddleware code block linking to TrustedHostMiddleware in docs (#1138) 2020-03-27 17:27:57 +01:00
Sebastián Ramírez 670b64360d 📝 Update release notes 2020-03-27 17:20:01 +01:00
Sebastián Ramírez d1f067dc5b 📝 Update release notes 2020-03-27 17:16:45 +01:00
Sebastián Ramírez 38fd8a674b 📝 Update release notes 2020-03-27 17:04:25 +01:00
Ben bd37d8d04f
📝 Add new external link (#1112)
* Added new external link

I added an article in which I briefly explain how to build an Apache Kafka producer / consumer with FastAPI and aiokafka.

* 📝 Update format

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-03-27 17:02:18 +01:00
Sebastián Ramírez bc99ad0ad1 📝 Update release notes 2020-03-27 16:21:28 +01:00
Sebastián Ramírez 869c7389e2 📝 Update release notes 2020-03-27 15:34:16 +01:00
Aakash Nand 2738df3801
Add Gitter chat to docs (#1061)
* implemented chat feature using sidecar from starlette docs

* 🔥 Use external Gitter sidecar JS

*  Re-implement Gitter chat after multi-lang

* 🔥 Remove moved file

Co-authored-by: Aakash Nand <aakashnand@nttv6.jp>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-03-27 15:32:15 +01:00
Sebastián Ramírez 433d7862ea 📝 Update release notes 2020-03-27 10:21:40 +01:00
Sebastián Ramírez 7625e1e386
📝 Update and simplify translations docs (#1171) 2020-03-27 10:20:39 +01:00
Sebastián Ramírez 53e773a2e1 📝 Update release notes 2020-03-26 22:24:36 +01:00
Camila Gutierrez c13b54ad0e
🏁 Change docs address to localhost for Windows (#1169) 2020-03-26 22:22:34 +01:00
Sebastián Ramírez 71c2abb41d 📝 Update release notes 2020-03-26 20:13:03 +01:00
Sebastián Ramírez 6205935323
Add support for docs translations (#1168)
* 🌐 Refactor file structure to support internationalization

*  Update tests changed after i18n

* 🔀 Merge Typer style from master

* 🔧 Update MkConfig with Typer-styles

* 🎨 Format mkdocs.yml with cannonical form

* 🎨 Format mkdocs.yml

* 🔧 Update MkDocs config

*  Add docs translation scripts dependencies

*  Add Typer scripts to handle translations

*  Add missing translation snippet to include

*  Update contributing docs, add docs for translations

* 🙈 Add docs_build to gitignore

* 🔧 Update scripts with new locations and docs scripts

* 👷 Update docs deploy action with translations

* 📝 Add note about languages not supported in the theme

*  Add first translation, for Spanish
2020-03-26 20:09:53 +01:00
Sebastián Ramírez 5fd5b6e72d 📝 Update release notes 2020-03-24 20:39:47 +01:00
Sebastián Ramírez faf88cea0b
🎨 Update terminal examples and Typer note (#1139)
* 🎨 Update terminal examples with Termynal

* 🍱 Add Termynal scripts and styles from Typer for terminal examples
2020-03-19 14:39:29 +01:00
Sebastián Ramírez 025b38df40 🔖 Release version 0.52.0 2020-03-01 22:34:38 +01:00
Sebastián Ramírez ac60cba75f 📝 Update release notes 2020-03-01 22:33:11 +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 c65fdc4bed 📝 Update release notes 2020-03-01 21:58:36 +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 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