Commit Graph

109 Commits

Author SHA1 Message Date
Sebastián Ramírez dc7838eec3
🔥 Drop/close Gitter chat. Questions should go to GitHub Discussions, free conversations to Discord. (#10485) 2023-10-20 12:39:03 +04:00
Sebastián Ramírez 2ba7586ff3
⬆️ Drop support for Python 3.7, require Python 3.8 or above (#10442)
* 📝 Update docs, require Python 3.8+, drop 3.7

* 🔧 Update pyproject.toml, drop support for Python 3.7, require Python 3.8+

* 👷 Update CI GitHub Actions, drop support for Python 3.7, require 3.8+

* 📝 Update docs' references to Python 3.6 and 3.7, use Python 3.8
2023-10-17 09:59:11 +04:00
mkdir700 1453cea404
🌐 Add Chinese translation for `docs/zh/docs/async.md` (#5591)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jedore <jedore_fight@189.cn>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: 吴定焕 <108172295+wdh99@users.noreply.github.com>
2023-09-27 15:47:21 -05:00
jaystone776 0e2ca1cacb
🌐 Update Chinese translation for `docs/tutorial/security/simple-oauth2.md` (#3844)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-25 18:06:09 -05:00
xzmeng 2fcd8ce8ec
🌐 Add Chinese translation for `docs/zh/docs/deployment/versions.md` (#10276)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Big Yellow Dog <dognasus@outlook.com>
2023-09-22 18:30:46 -05:00
PieCat bf952d345c
🌐 Add Chinese translation for `docs/zh/docs/advanced/generate-clients.md` (#9883)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: xzmeng <aumo@foxmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-09-02 17:18:30 +02:00
吴定焕 e081145c7d
🌐 Add Chinese translation for `docs/zh/docs/tutorial/background-tasks.md` (#9812)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-27 20:55:40 +02:00
mahone3297 943baa387f
🌐 Update Chinese translations with new source files (#9738)
Co-authored-by: mkdir700 <mkdir700@gmail.com>
2023-07-27 20:49:03 +02:00
Creat55 703a1f200a
🌐 Update Chinese translation for `docs/zh/docs/tutorial/handling-errors.md` (#9485)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-07-27 20:42:48 +02:00
Sebastián Ramírez 51d3a8ff12
🔨 Add MkDocs hook that renames sections based on the first index file (#9737) 2023-06-24 16:47:15 +02:00
я котик пур-пур cfc06a3a3d
📝 Update docs on Pydantic using ujson internally (#5804)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 17:06:25 +00:00
lordqyxz fa7474b2e8
🌐 Add Chinese translation for `docs/zh/docs/advanced/security/index.md` (#9666)
Co-authored-by: shiyz <shiyz@finchina.com>
2023-06-22 18:19:49 +02:00
雨过初晴 804a0a90cf
🌐 Add Chinese translations for `docs/zh/docs/advanced/settings.md` (#9652) 2023-06-22 18:18:04 +02:00
雨过初晴 4a7b21483b
🌐 Add Chinese translations for `docs/zh/docs/advanced/websockets.md` (#9651) 2023-06-22 18:17:12 +02:00
吴定焕 e17cacfee4
🌐 Add Chinese translation for `docs/zh/docs/tutorial/testing.md` (#9641)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-22 18:16:06 +02:00
Sebastián Ramírez 6595658324
⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras (#9655) 2023-06-11 23:38:15 +02:00
雨过初晴 57679e8370
🌐 Add Chinese translations for `docs/zh/docs/advanced/response-change-status-code.md` and `docs/zh/docs/advanced/response-headers.md` (#9544) 2023-06-10 22:30:28 +02:00
吴定焕 d057294de1
🌐 Add Chinese translation for `docs/zh/docs/tutorial/static-files.md` (#9436)
Add Chinese translation for docs/zh/docs/tutorial/static-files.md
2023-06-03 14:49:32 +02:00
Sebastián Ramírez 69673548bc
📝 Update order of examples, latest Python version first, and simplify version tab names (#9269)
* 📝 Simplify names in Python versions in tabs in docs

* 📝 Update docs for Types Intro, explain Python 3.6+, Python 3.9+, Python 3.10+

* 📝 Re-order all Python examples, show latest Python versions first
2023-03-18 17:16:02 +01:00
Ben Ho 3178c17776
🌐 Fix typo in Chinese translation for `docs/zh/docs/benchmarks.md` (#4269)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-01-07 14:33:29 +00:00
Sebastián Ramírez f92f87d379
📝 Update references to Requests for tests to HTTPX, and add HTTPX to extras (#5628) 2022-11-13 16:20:05 +01:00
ZHCai a0c677ef0d
🌐 Update wording in Chinese translation for `docs/zh/docs/python-types.md` (#5416) 2022-11-03 13:07:49 +01:00
jaystone776 058cb6e88e
🌐 Update Chinese translation for `docs/tutorial/security/oauth2-jwt.md` (#3846)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-11-03 11:50:48 +00:00
Zssaer fcab59be88
🌐 Add Chinese translation for `docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md` (#4971)
Co-authored-by: Jeodre <jedore_fight@189.cn>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-10-31 19:08:15 +01:00
非法操作 db4452d47e
🌐 Update Chinese translation for `docs/zh/docs/tutorial/query-params-str-validations.md` (#5255)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-31 18:57:38 +01:00
Zssaer 9974c4b6ac
🌐 Add Chinese translation for `docs/zh/docs/tutorial/sql-databases.md` (#4999)
Co-authored-by: mkdir700 <56359329+mkdir700@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-31 18:56:49 +01:00
ASpathfinder a26a3c1cbf
🌐 Add Chinese translation for `docs/zh/docs/advanced/wsgi.md` (#4505)
Co-authored-by: Jeodre <jedore_fight@189.cn>
Co-authored-by: KellyAlsa-massive-win <lhz928441818@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-31 18:43:39 +01:00
zhangbo 22524a1610
✏ Fix typo in docs about contributing, for compatibility with `pip` in Zsh (#5523)
Co-authored-by: zhangbo <zhangbo@zjptmc.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-10-31 16:46:37 +00:00
yuk115nt5now bfb1422555
🌐 Fix typo in Chinese translation for `docs/zh/docs/tutorial/security/first-steps.md` (#5530) 2022-10-31 17:39:44 +01:00
Ofek Lev 4267bd1f4f
🔧 Update package metadata, drop support for Python 3.6, move build internals from Flit to Hatch (#5240)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-09-14 20:31:19 +02:00
ASpathfinder dc1534736d
🌐 Update Chinese translation for `docs/zh/docs/tutorial/request-files.md` (#4529)
Co-authored-by: KellyAlsa-massive-win <lhz928441818@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-09-04 15:40:14 +02:00
Zssaer 0d43b6552b
🌐 Add Chinese translation for `docs/zh/docs/tutorial/encoder.md` (#4969) 2022-09-04 15:39:06 +02:00
Yumihiki 38802eefeb
📝 Quote `pip install` command for Zsh compatibility in multiple languages (#5214)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-18 16:16:54 +00:00
zhangbo fb849ee7ef
🌐 Add translation for `docs/zh/docs/advanced/response-cookies.md` (#4638)
Co-authored-by: zhangbo <zhangbo@zjptmc.com>
2022-08-18 18:09:38 +02:00
jaystone776 dc7e13846c
🌐 Add Chinese translation for `docs/tutorial/security/first-steps.md` (#3841)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-18 15:57:21 +00:00
Sebastián Ramírez ca437cdfab
📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908)
* 📝 Add docs recommending Union over Optional

* 📝 Update docs recommending Union over Optional

* 📝 Update source examples for docs, recommend Union over Optional

* 📝 Update highlighted lines with updated source examples

* 📝 Update highlighted lines in Markdown with recent code changes

* 📝 Update docs, use Union instead of Optional

* ♻️ Update source examples to recommend Union over Optional

* 🎨 Update highlighted code in Markdown after moving from Optional to Union
2022-05-14 06:59:59 -05:00
Sebastián Ramírez 3d0f130ff3
🔧 Add pre-commit with first config and first formatting pass (#4888)
* 🔧 Add first pre-commit config

* 🎨 Format YAML files with pre-commit

* 🎨 Format Markdown with pre-commit

* 🎨 Format SVGs, drawio, JS, HTML with pre-commit

*  Add pre-commit to dev dependencies

* ⬇️ Extend pre-commit range to support Python 3.6
2022-05-12 00:06:16 +00:00
Kinuax cb5a200a7c
✏ Fix links to Pydantic docs (#4670)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-11 17:03:41 +00:00
Yue Chen 4fa0cd4def
🌐 Update source example highlights for `docs/zh/docs/tutorial/query-params-str-validations.md` (#4237)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-10 01:25:28 +00:00
alm c0d6865c10
🌐 Remove translation docs references to aiofiles as it's no longer needed since AnyIO (#3594)
Co-authored-by: AlonMenczer <alonm@spotnix.io>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-09 20:07:37 -05:00
wakabame e5980a71c2
🌐 Fix live docs server for translations for some languages (#4729)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-05-10 00:27:05 +00:00
jaystone776 e1c6d7d310
🌐 Update Chinese translation for `docs/help-fastapi.md` (#3847) 2022-01-16 20:41:59 +01:00
jaystone776 5c62a59e7b
🌐 Add Chinese translation for `docs\tutorial\path-operation-configuration.md` (#3312)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-01-16 19:34:28 +00:00
jaystone776 e0e3224588
🌐 Delete old Chinese translation for `docs/deployment.md` (#3840)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-10-05 11:03:59 +00:00
jaystone776 13bf477579
🌐 Add Chinese translation for `docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md` (#3492)
Co-authored-by: Waynerv <ampedee@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-08-18 13:49:44 +00:00
jaystone776 8c5d1f30dc
🌐 Add Chinese translation for `docs/tutorial/dependencies/sub-dependencies.md` (#3491)
Co-authored-by: Waynerv <ampedee@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-08-18 13:31:59 +00:00
Sebastián Ramírez 53a86a885d
Update computation of FastAPI People and sponsors (#3714) 2021-08-18 09:47:39 +00:00
Sebastián Ramírez 4d4452ede5
🔥 Remove/clean extra imports from examples in docs for features (#3709) 2021-08-17 20:00:29 +00:00
jaystone776 962578bec2
🌐 Add Chinese translation for `docs/tutorial/dependencies/index.md` (#3489)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-07-29 22:21:38 +02:00
jaystone776 016c3f0d5b
🌐 Add Chinese translation for `docs/tutorial/dependencies/global-dependencies.md` (#3493)
as title
2021-07-29 22:15:54 +02:00