Commit Graph

2375 Commits

Author SHA1 Message Date
github-actions 4f9ad80f5d 📝 Update release notes 2024-01-12 14:15:52 +00:00
github-actions ca33b6edac 📝 Update release notes 2024-01-12 14:10:54 +00:00
github-actions 38915783fc 📝 Update release notes 2024-01-12 14:03:51 +00:00
Jacob McDonald 7e0e16fa36
📝 Add warning about lifespan functions and backwards compatibility with events (#10734)
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
2024-01-12 15:03:25 +01:00
github-actions dc704036a2 📝 Update release notes 2024-01-12 13:40:15 +00:00
theoohoho f1329abf99
✏️ Fix broken link in `docs/tutorial/sql-databases.md` in several languages (#10716) 2024-01-12 08:39:54 -05:00
github-actions 753c8136d8 📝 Update release notes 2024-01-12 11:15:04 +00:00
github-actions 6a4aed45f0 📝 Update release notes 2024-01-12 11:13:22 +00:00
github-actions e0eaaee749 📝 Update release notes 2024-01-12 11:11:15 +00:00
Turabek Gaybullaev ea84587a2f
✏️ Remove broken links from `external_links.yml` (#10943) 2024-01-12 12:10:55 +01:00
github-actions 5f37d3870b 📝 Update release notes 2024-01-11 22:25:58 +00:00
Ezzeddin Abdullah 0c796747a3
📝 Update template docs with more info about `url_for` (#5937)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-11 23:25:37 +01:00
github-actions 22e68b151d 📝 Update release notes 2024-01-11 21:21:57 +00:00
Piotr Szaciłowski fd97e8efe4
📝 Update usage of Token model in security docs (#9313)
Co-authored-by: Alejandra Sánchez <ing.alejandrasanchezv@gmail.com>
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-11 16:21:35 -05:00
github-actions 53a3dd7408 📝 Update release notes 2024-01-11 20:18:31 +00:00
Pedro Augusto de Paula Barbosa d192ddacec
✏️ Update highlighted line in `docs/en/docs/tutorial/bigger-applications.md` (#5490)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
2024-01-11 21:18:07 +01:00
github-actions cbcd3fe863 📝 Update release notes 2024-01-11 20:01:57 +00:00
Ankit Anchlia b62e379a55
📝 Add External Link: Explore How to Effectively Use JWT With FastAPI (#10212)
Co-authored-by: Ankit <aanchlia@bluemoonforms.com>
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
2024-01-11 20:59:29 +01:00
github-actions 99769b9669 📝 Update release notes 2024-01-11 19:57:48 +00:00
Hungtsetse f74aeb0067
📝 Add hyperlink to `docs/en/docs/tutorial/static-files.md` (#10243) 2024-01-11 14:56:09 -05:00
github-actions 4dde172a96 📝 Update release notes 2024-01-11 19:52:37 +00:00
Nicoló Lino e6759aa604
📝 Add External Link: Instrument a FastAPI service adding tracing with OpenTelemetry and send/show traces in Grafana Tempo (#9440)
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
2024-01-11 14:52:15 -05:00
github-actions 0be64abac7 📝 Update release notes 2024-01-11 17:43:08 +00:00
Nils Lindemann 0380ca3e69
📝 Review and rewording of `en/docs/contributing.md` (#10480)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-11 21:42:43 +04:00
github-actions 3325635eed 📝 Update release notes 2024-01-11 17:29:48 +00:00
Mikhail Rozhkov abe7db6b24
📝 Add External Link: ML serving and monitoring with FastAPI and Evidently (#9701)
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-11 21:29:24 +04:00
github-actions 6761fc1fa4 📝 Update release notes 2024-01-11 16:31:38 +00:00
malicious 838e9c964e
📝 Reword in docs, from "have in mind" to "keep in mind" (#10376)
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
2024-01-11 20:31:18 +04:00
github-actions facdc91629 📝 Update release notes 2024-01-11 16:07:29 +00:00
Jeny Sadadia 1369c45c2e
📝 Add External Link: Talk by Jeny Sadadia (#10265)
Signed-off-by: Jeny Sadadia <jeny.sadadia@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-11 16:07:05 +00:00
github-actions fedee4d028 📝 Update release notes 2024-01-11 15:59:47 +00:00
Nils Lindemann 6bda1326a4
📝 Add location info to `tutorial/bigger-applications.md` (#10552) 2024-01-11 16:59:27 +01:00
Sebastián Ramírez cb95d1cb89 🔖 Release version 0.109.0 2024-01-11 16:32:00 +01:00
github-actions 7c1aeb5db2 📝 Update release notes 2024-01-11 15:30:35 +00:00
github-actions c3e0625423 📝 Update release notes 2024-01-11 14:35:15 +00:00
s111d c46eba8004
✏️ Fix typo in `docs/en/docs/alternatives.md` (#10931)
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
2024-01-11 09:33:57 -05:00
github-actions 5b1e6865c5 📝 Update release notes 2024-01-11 14:33:27 +00:00
Nils Lindemann 69cb005f61
📝 Replace `email` with `username` in `docs_src/security/tutorial007` code examples (#10649) 2024-01-11 09:33:05 -05:00
github-actions 0da980cb0b 📝 Update release notes 2024-01-10 21:00:51 +00:00
Nils Lindemann 135dcba746
📝 Add VS Code tutorial link (#10592)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-11 01:00:32 +04:00
github-actions 21145d8e9f 📝 Update release notes 2024-01-10 20:56:59 +00:00
github-actions 91d7fb6d25 📝 Update release notes 2024-01-10 19:14:15 +00:00
Sebastián Ramírez b584faffee
📝 Add notes about Pydantic v2's new `.model_dump()` (#10929) 2024-01-10 19:13:55 +00:00
github-actions 1334485435 📝 Update release notes 2024-01-10 18:15:28 +00:00
Sungyun Hur 843bc85155
📝 Fix broken link in `docs/en/docs/tutorial/sql-databases.md` (#10765)
Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com>
2024-01-10 13:15:04 -05:00
github-actions 1cd23a1dbc 📝 Update release notes 2024-01-10 17:43:56 +00:00
github-actions 7e0cdf2510 📝 Update release notes 2024-01-10 17:19:42 +00:00
Sebastián Ramírez 84cd488df1
📝 Add External Link: FastAPI application monitoring made easy (#10917)
Co-authored-by: Simon Gurcke <simon@gurcke.de>
2024-01-10 21:19:21 +04:00
github-actions 958425a899 📝 Update release notes 2024-01-09 20:37:29 +00:00
Craig Blaszczyk 7eeacc9958
Generate automatic language names for docs translations (#5354)
Co-authored-by: Craig Blaszczyk <craig@boughtbymany.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-09 20:37:09 +00:00
github-actions 3b9a2bcb1b 📝 Update release notes 2024-01-09 18:35:49 +00:00
github-actions f73be1d599 📝 Update release notes 2024-01-09 18:33:22 +00:00
github-actions dd6cf5d710 📝 Update release notes 2024-01-09 18:32:18 +00:00
github-actions aa6586d51a 📝 Update release notes 2024-01-09 18:24:21 +00:00
s111d f43fc82267
✏️ Fix typos in `docs/en/docs/alternatives.md` and `docs/en/docs/tutorial/dependencies/index.md` (#10906)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-09 22:22:46 +04:00
Sebastián Ramírez 0108b002f3
👥 Update FastAPI People (#10871)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-09 13:20:37 -05:00
Dmitry Volodin f226040d28
✏️ Fix typos in `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md` (#10834)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-09 22:19:59 +04:00
github-actions cbd53f3bc8 📝 Update release notes 2024-01-09 18:15:02 +00:00
github-actions 809b21c849 📝 Update release notes 2024-01-09 18:12:12 +00:00
John Philip 7dd944deda
📝 Add article: "Building a RESTful API with FastAPI: Secure Signup and Login Functionality Included" (#9733)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-09 21:49:58 +04:00
Andrew Chang-DeWitt 6f43539d87
📝 Add warning about lifecycle events with `AsyncClient` (#4167)
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>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-01-09 21:45:52 +04:00
github-actions d62b3ea69c 📝 Update release notes 2024-01-09 17:32:21 +00:00
github-actions d2c7ffb447 📝 Update release notes 2024-01-09 17:31:25 +00:00
github-actions 43489beb98 📝 Update release notes 2024-01-09 17:00:36 +00:00
github-actions 5e5cabefe1 📝 Update release notes 2024-01-09 16:51:05 +00:00
github-actions 6c15776406 📝 Update release notes 2024-01-09 16:50:06 +00:00
github-actions c2dc0252b0 📝 Update release notes 2024-01-09 16:38:21 +00:00
github-actions 04dbcf416c 📝 Update release notes 2024-01-09 16:31:04 +00:00
Clarence ed3e79be77
✏️ Fix typos in `/docs/reference/exceptions.md` and `/en/docs/reference/status.md` (#10809) 2024-01-09 17:30:58 +01:00
Kay Jan aa53a48fe3
✏️ Fix typo in `openapi-callbacks.md` (#10673) 2024-01-09 17:21:54 +01:00
github-actions cee422f073 📝 Update release notes 2024-01-09 16:09:04 +00:00
github-actions 9ddc71e317 📝 Update release notes 2024-01-09 16:08:31 +00:00
github-actions d305a67a81 📝 Update release notes 2024-01-09 16:07:49 +00:00
github-actions 8f70f8c43b 📝 Update release notes 2024-01-09 16:03:03 +00:00
github-actions 11a5993c8c 📝 Update release notes 2024-01-09 16:01:13 +00:00
github-actions c5bbcb8c9c 📝 Update release notes 2024-01-09 15:49:16 +00:00
github-actions f27e818edb 📝 Update release notes 2024-01-09 15:47:49 +00:00
github-actions fe620a6c12 📝 Update release notes 2024-01-09 15:46:50 +00:00
github-actions d29709fee8 📝 Update release notes 2024-01-09 15:43:37 +00:00
github-actions 623ee4460b 📝 Update release notes 2024-01-09 15:41:08 +00:00
github-actions 271b4f3144 📝 Update release notes 2024-01-09 15:37:13 +00:00
github-actions c471c93113 📝 Update release notes 2024-01-09 15:36:04 +00:00
github-actions b4ad143e37 📝 Update release notes 2024-01-09 15:33:53 +00:00
github-actions 01b106c290 📝 Update release notes 2024-01-09 15:31:54 +00:00
github-actions d6b4c6c65c 📝 Update release notes 2024-01-09 15:31:14 +00:00
github-actions 0a3dc7d107 📝 Update release notes 2024-01-09 15:28:54 +00:00
github-actions ce9aba258e 📝 Update release notes 2024-01-09 15:22:55 +00:00
github-actions f9cbaa5f39 📝 Update release notes 2024-01-09 15:18:47 +00:00
github-actions 5b63406aa5 📝 Update release notes 2024-01-09 15:12:19 +00:00
github-actions ca10d3927b 📝 Update release notes 2024-01-09 15:11:39 +00:00
github-actions 631601787b 📝 Update release notes 2024-01-09 15:11:10 +00:00
github-actions 635d1a2d6d 📝 Update release notes 2024-01-09 15:04:35 +00:00
github-actions 7fbb7963d3 📝 Update release notes 2024-01-09 14:57:58 +00:00
github-actions fe694766ae 📝 Update release notes 2024-01-09 14:45:35 +00:00
github-actions 897cde9fe2 📝 Update release notes 2024-01-09 14:37:53 +00:00
github-actions ed628ddb92 📝 Update release notes 2024-01-09 14:37:20 +00:00
Keshav Malik 57d4d93841
📝 Add blog for FastAPI & Supabase (#6018)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-01-09 18:32:46 +04:00
github-actions 136fe2b70f 📝 Update release notes 2024-01-09 14:30:16 +00:00
github-actions d5498274f9 📝 Update release notes 2024-01-09 14:21:30 +00:00
github-actions 04016d3bf9 📝 Update release notes 2024-01-08 18:50:12 +00:00
Sebastián Ramírez 040ad986d4 ✏️ Fix typo in release notes 2023-12-26 21:47:18 +01:00
github-actions 84d400b916 📝 Update release notes 2023-12-26 20:37:55 +00:00
Sebastián Ramírez fe0249a23e 🔖 Release version 0.108.0 2023-12-26 21:17:18 +01:00
github-actions 43e2223804 📝 Update release notes 2023-12-26 20:12:59 +00:00
Sebastián Ramírez c55f90df32
⬆️ Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and usage of templates with new Starlette arguments (#10846)
* 📝 Update docs for compatibility with Starlette 0.29.0 and new template arguments

* ⬆️ Upgrade Starlette to >=0.29.0,<0.33.0

* 📌 Remove AnyIO pin
2023-12-26 21:12:34 +01:00
Sebastián Ramírez f933fd6ff8 🔖 Release version 0.107.0 2023-12-26 20:04:08 +01:00
github-actions 9090bf4084 📝 Update release notes 2023-12-26 19:03:31 +00:00
github-actions a751032c09 📝 Update release notes 2023-12-26 17:23:45 +00:00
Alejandra 505ae06c0b
📝 Add docs: Node.js script alternative to update OpenAPI for generated clients (#10845) 2023-12-26 18:23:20 +01:00
github-actions 4de60e153a 📝 Update release notes 2023-12-26 17:14:13 +00:00
Alejandra 8b5843ebcd
📝 Restructure Docs section in Contributing page (#10844)
📝 Restructure Docs section in Contributing page
2023-12-26 18:13:50 +01:00
Sebastián Ramírez 5826c4f31f 📝 Tweak release notes 2023-12-25 19:06:04 +01:00
Sebastián Ramírez 91510db620 🔖 Release version 0.106.0 2023-12-25 19:01:26 +01:00
Sebastián Ramírez bcd5a424cd 📝 Update release notes 2023-12-25 19:00:47 +01:00
github-actions 678bed2fc9 📝 Update release notes 2023-12-25 17:57:54 +00:00
Sebastián Ramírez a4aa79e0b4
Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831)
* ♻️ Refactor dependency AsyncExitStack logic, exit dependencies after creating the response, before sending it

*  Update tests for dependencies exit, check they are finished before the response is sent

* 🔥 Remove ExitAsyncStackMiddleware as it's no longer needed

* 📝 Update docs for dependencies with yield

* 📝 Update release notes

* 📝 Add source examples for new dependencies with yield raising

*  Add tests for new dependencies raising after yield

* 📝 Update release notes
2023-12-25 18:57:35 +01:00
github-actions e7756ae7dc 📝 Update release notes 2023-12-20 17:06:01 +00:00
Sebastián Ramírez dc2fdd56af
👥 Update FastAPI People (#10567)
Co-authored-by: github-actions <github-actions@github.com>
2023-12-20 18:05:37 +01:00
Sebastián Ramírez 36c2667768 📝 Update release notes 2023-12-12 00:34:36 +00:00
Sebastián Ramírez d8185efb6e 🔖 Release version 0.105.0 2023-12-12 00:32:48 +00:00
github-actions fc51d7e3c7 📝 Update release notes 2023-12-12 00:29:29 +00:00
github-actions ba99214417 📝 Update release notes 2023-12-12 00:23:15 +00:00
github-actions 73dcc40f09 📝 Update release notes 2023-12-06 11:34:10 +00:00
Sebastián Ramírez 33493ce694
🔧 Update sponsors, add PropelAuth (#10760) 2023-12-06 12:33:48 +01:00
github-actions 01e570c56d 📝 Update release notes 2023-12-04 11:11:17 +00:00
github-actions 8cf2fa0fe4 📝 Update release notes 2023-11-30 20:48:22 +00:00
Sebastián Ramírez 99a2ec981b
📝 Tweak default suggested configs for generating clients (#10736) 2023-11-30 21:48:01 +01:00
github-actions 6fb951bae2 📝 Update release notes 2023-11-28 12:10:38 +00:00
Sebastián Ramírez 13cef7a21a
🔧 Update sponsors, remove Fern (#10729) 2023-11-28 13:10:12 +01:00
github-actions e9ce31e96b 📝 Update release notes 2023-11-28 10:52:59 +00:00
Sebastián Ramírez 1560879a84
🔧 Update sponsors, add Scalar (#10728) 2023-11-28 10:52:35 +00:00
github-actions ac93277d3b 📝 Update release notes 2023-11-18 13:47:35 +00:00
Sebastián Ramírez 71d51a9953
🔧 Update sponsors, add Codacy (#10677) 2023-11-18 14:47:04 +01:00
github-actions 81bab77617 📝 Update release notes 2023-11-18 13:38:23 +00:00
Sebastián Ramírez 781984b226
🔧 Update sponsors, add Reflex (#10676) 2023-11-18 14:38:01 +01:00
github-actions 480620372a 📝 Update release notes 2023-11-04 02:03:01 +00:00
Sebastián Ramírez b04d07c933
📝 Update release notes, move and check latest-changes (#10588) 2023-11-04 06:02:18 +04:00
github-actions 46335068d2 📝 Update release notes 2023-11-04 01:53:13 +00:00
Sebastián Ramírez 1c25e2d8dc 📝 Update release notes 2023-10-30 15:12:57 +04:00
Sebastián Ramírez 7e5afe2cb9 🔖 Release version 0.104.1 2023-10-30 14:04:54 +04:00
Sebastián Ramírez 6c53ddd084 📝 Update release notes 2023-10-30 14:04:14 +04:00
github-actions 0f1ddf5f69 📝 Update release notes 2023-10-30 09:59:37 +00:00
Alejandra Klachquin 758a8f29e1
📌 Pin Swagger UI version to 5.9.0 temporarily to handle a bug crashing it in 5.9.1 (#10529)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-30 13:58:58 +04:00
github-actions e4b21c6eab 📝 Update release notes 2023-10-30 08:08:48 +00:00
Koke 759378d67f
✏️ Update Pydantic links to dotenv support (#10511) 2023-10-30 12:00:16 +04:00
github-actions e7204ac7bf 📝 Update release notes 2023-10-30 07:52:04 +00:00
github-actions 7702c5af36 📝 Update release notes 2023-10-30 07:51:12 +00:00
github-actions 0066578bbe 📝 Update release notes 2023-10-30 07:42:04 +00:00
Hasnat Sajid 6b903ff1fb
✏️ Update links in `docs/en/docs/async.md` and `docs/zh/docs/async.md` to make them relative (#10498) 2023-10-30 11:07:15 +04:00
github-actions b84f9f6ecb 📝 Update release notes 2023-10-29 09:49:57 +00:00
github-actions 38db1fe074 📝 Update release notes 2023-10-29 09:33:47 +00:00
github-actions 378e590757 📝 Update release notes 2023-10-29 09:33:30 +00:00
github-actions 072c701b0e 📝 Update release notes 2023-10-29 09:12:56 +00:00
github-actions 2754d4e0fe 📝 Update release notes 2023-10-25 08:25:52 +00:00
Sebastián Ramírez f7e338dcd8
🔧 Update sponsors badges, Databento (#10519) 2023-10-25 12:25:03 +04:00
github-actions 223970e03c 📝 Update release notes 2023-10-24 20:26:43 +00:00
Sebastián Ramírez 2e14c69c31
👷 Adopt Ruff format (#10517)
* 🔧 Update pre-commit, use ruff format

* ⬆️ Upgrade dependencies, use Ruff for formatting

* 🔧 Update Ruff config

* 🔨 Update lint and format scripts, use Ruff

* 🎨 Format internals with Ruff

* 🎨 Format docs scripts

* 🎨 Format tests

* 🎨 Format extra commas in src for docs

* 📝 Update docs mentioning `@lru_cache()`, use `@lru_cache` instead to keep consistency with the format

* 🎨 Update src for docs, use plain `@lru_cache`

* 🎨 Update src for docs format and docs references
2023-10-25 00:26:06 +04:00
github-actions 4ef7a40eae 📝 Update release notes 2023-10-22 10:04:16 +00:00
github-actions f9b53ae778 📝 Update release notes 2023-10-22 07:35:50 +00:00
Sebastián Ramírez e8bd645fa9
📝 Update data structure and render for external-links (#10495)
* 📝 Update data structure and render for external-links

* 📝 Update translations for external links
2023-10-22 11:35:13 +04:00
github-actions 808e3bb9d5 📝 Update release notes 2023-10-21 07:11:00 +00:00
github-actions ab65486e75 📝 Update release notes 2023-10-20 09:21:13 +00:00
worldworm 9b3e166b43
✏️ Fix link to SPDX license identifier in `docs/en/docs/tutorial/metadata.md` (#10433)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-10-20 13:19:31 +04:00
github-actions 07a9b240e9 📝 Update release notes 2023-10-20 09:13:35 +00:00
Giulio Davide Carparelli 89e03bad16
📝 Update example validation error from Pydantic v1 to match Pydantic v2 in `docs/en/docs/tutorial/path-params.md` (#10043) 2023-10-20 13:08:42 +04:00
github-actions f41eb5e005 📝 Update release notes 2023-10-20 09:03:34 +00:00
github-actions eb017270fc 📝 Update release notes 2023-10-20 09:00:53 +00:00
Heinz-Alexander Fuetterer ae84ff6e44
✏️ Fix typos in emoji docs and in some source examples (#10438) 2023-10-20 13:00:44 +04:00
github-actions f785a6ce90 📝 Update release notes 2023-10-20 09:00:11 +00:00
Surav Shrestha 6dac39dbca
✏️ Fix typo in `docs/en/docs/reference/dependencies.md` (#10465) 2023-10-20 12:58:51 +04:00
yogabonito 4bd1430677
✏️ Fix typos and rewordings in `docs/en/docs/tutorial/body-nested-models.md` (#10468) 2023-10-20 12:58:03 +04:00
github-actions cda5e770ab 📝 Update release notes 2023-10-20 08:56:08 +00:00
yogabonito 57a030175e
📝 Update docs, remove references to removed `pydantic.Required` in `docs/en/docs/tutorial/query-params-str-validations.md` (#10469) 2023-10-20 12:55:30 +04:00
github-actions 968afca058 📝 Update release notes 2023-10-20 08:53:37 +00:00
Tiago Silva 6eb30959bc
✏️ Fix typo in `docs/en/docs/reference/index.md` (#10467)
Fix small typo in reference/index.md
2023-10-20 12:52:59 +04:00
github-actions dcbe7f7ac0 📝 Update release notes 2023-10-20 08:39:45 +00:00
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
github-actions 7670a132b3 📝 Update release notes 2023-10-20 08:28:05 +00:00
Sebastián Ramírez 38f191dcd3 🔖 Release version 0.104.0 2023-10-18 16:51:07 +04:00
Sebastián Ramírez 76e547f254 📝 Update release notes 2023-10-18 16:50:22 +04:00
github-actions f056d001e5 📝 Update release notes 2023-10-18 12:37:29 +00:00
Sebastián Ramírez 05ca41cfd1
Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392)
*  Add mkdocstrings and griffe-typingdoc to dependencies

* 🔧 Add mkdocstrings configs to MkDocs

* 📝 Add first WIP reference page

* ⬆️ Upgrade typing-extensions to the minimum version including Doc()

* 📝 Add docs to FastAPI parameters

* 📝 Add docstrings for OpenAPI docs utils

* 📝 Add docstrings for security utils

* 📝 Add docstrings for UploadFile

* 📝 Update docstrings in FastAPI class

* 📝 Add docstrings for path operation methods

* 📝 Add docstring for jsonable_encoder

* 📝 Add docstrings for exceptions

* 📝 Add docstsrings for parameter functions

* 📝 Add docstrings for responses

* 📝 Add docstrings for APIRouter

* ♻️ Sub-class BackgroundTasks to document it with docstrings

* 📝 Update usage of background tasks in dependencies

*  Update tests with new deprecation warnings

* 📝 Add new reference docs

* 🔧 Update MkDocs with new reference docs

*  Update pytest fixture, deprecation is raised only once

* 🎨 Update format for types in exceptions.py

* ♻️ Update annotations in BackgroundTask, `Annotated` can't take ParamSpec's P.args or P.kwargs

* ✏️ Fix typos caught by @pawamoy

* 🔧 Update and fix MkDocstrings configs from @pawamoy tips

* 📝 Update reference docs

* ✏️ Fix typos found by @pawamoy

*  Add HTTPX as a dependency for docs, for the TestClient

* 🔧 Update MkDocs config, rename websockets reference

* 🔇 Add type-ignores for Doc as the stubs haven't been released for mypy

* 🔥 Remove duplicated deprecated notice

* 🔇 Remove typing error for unreleased stub in openapi/docs.py

*  Add tests for UploadFile for coverage

* ⬆️ Upgrade griffe-typingdoc==0.2.2

* 📝 Refactor docs structure

* 🔨 Update README generation with new index frontmatter and style

* 🔨 Update generation of languages, remove from top menu, keep in lang menu

* 📝 Add OpenAPI Pydantic models

* 🔨 Update docs script to not translate Reference and Release Notes

* 🔧 Add reference for OpenAPI models

* 🔧 Update MkDocs config for mkdocstrings insiders

* 👷 Install mkdocstring insiders in CI for docs

* 🐛 Fix MkDocstrings insiders install URL

*  Move dependencies shared by docs and tests to its own requirements file

* 👷 Update cache keys for test and docs dependencies

* 📝 Remove no longer needed __init__ placeholder docstrings

* 📝 Move docstring for APIRouter to the class level (not __init__ level)

* 🔥 Remove no longer needed dummy placeholder __init__ docstring
2023-10-18 16:36:40 +04:00
github-actions 3fa44aabe3 📝 Update release notes 2023-10-17 07:20:59 +00:00
github-actions 912e4bb906 📝 Update release notes 2023-10-17 07:20:20 +00:00
github-actions e5fd92a7ab 📝 Update release notes 2023-10-17 07:19:26 +00:00
github-actions 4ef8c3286d 📝 Update release notes 2023-10-17 05:59:55 +00: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
github-actions c1adce4fe9 📝 Update release notes 2023-10-04 22:52:00 +00:00
Sebastián Ramírez 89789c80ae
🔧 Update sponsors, Bump.sh images (#10381) 2023-10-04 22:51:10 +00:00
github-actions cb4f0e57ce 📝 Update release notes 2023-10-02 23:12:28 +00:00
Sebastián Ramírez 568b35f3df
👥 Update FastAPI People (#10363)
Co-authored-by: github-actions <github-actions@github.com>
2023-10-02 18:11:52 -05:00
Sebastián Ramírez 1bf5e7a10e 🔖 Release 0.103.2 2023-09-28 14:57:42 -05:00
Sebastián Ramírez fcda32d231 📝 Update release notes 2023-09-28 14:56:50 -05:00
github-actions d769da3c38 📝 Update release notes 2023-09-28 19:42:38 +00:00
Sebastián Ramírez 2f50ae8825
🔧 Update sponsors, remove Flint (#10349) 2023-09-28 14:41:17 -05:00
github-actions 831b5d5402 📝 Update release notes 2023-09-28 04:15:17 +00:00
github-actions b944b55dfc 📝 Update release notes 2023-09-27 23:02:35 +00:00
github-actions 1c4a9e91b6 📝 Update release notes 2023-09-27 20:55:18 +00:00
github-actions 99ffbcdee0 📝 Update release notes 2023-09-27 20:53:18 +00:00
github-actions 27870e20f5 📝 Update release notes 2023-09-27 20:48:01 +00:00
github-actions 073e7fc950 📝 Update release notes 2023-09-25 23:08:51 +00:00
github-actions 255e743f98 📝 Update release notes 2023-09-25 23:05:48 +00:00
github-actions 14e0914fcf 📝 Update release notes 2023-09-25 23:02:43 +00:00
github-actions c75cdc6d9a 📝 Update release notes 2023-09-25 23:00:56 +00:00
github-actions 69a7c99b44 📝 Update release notes 2023-09-22 23:39:37 +00:00
github-actions 79399e43df 📝 Update release notes 2023-09-22 23:37:34 +00:00
github-actions f4bc0d8205 📝 Update release notes 2023-09-22 23:31:21 +00:00
github-actions 46d1da08da 📝 Update release notes 2023-09-15 08:39:26 +00:00
Sebastián Ramírez 571c7a7aba
🔧 Update sponsors, enable Svix (revert #10228) (#10253)
* 🔧 Update sponsors, remove Svix (revert #10228)

This reverts commit e0a99e24b8.

* 🔧 Tweak and update sponsors data
2023-09-15 10:38:48 +02:00
github-actions c6437d555d 📝 Update release notes 2023-09-10 10:37:04 +00:00
Sebastián Ramírez e0a99e24b8
🔧 Update sponsors, remove Svix (#10228) 2023-09-10 12:36:28 +02:00
github-actions a10c35673d 📝 Update release notes 2023-09-10 10:19:02 +00:00
Sebastián Ramírez 766dfb5b38
🔧 Update sponsors, add Bump.sh (#10227) 2023-09-10 12:18:26 +02:00
Sebastián Ramírez bfde8f3ef2 🔖 Release version 0.103.1 2023-09-02 19:10:19 +02:00
Sebastián Ramírez ce8ee1410a 📝 Update release notes 2023-09-02 19:09:47 +02:00
github-actions 118010ad5e 📝 Update release notes 2023-09-02 17:06:22 +00:00
github-actions 8562cae44b 📝 Update release notes 2023-09-02 17:05:59 +00:00
Pablo Dorrío Vázquez c502197d7c
✏️ Fix validation parameter name in docs, from `regex` to `pattern` (#10085) 2023-09-02 19:02:26 +02:00
github-actions 7f1dedac2c 📝 Update release notes 2023-09-02 17:01:44 +00:00
github-actions 7802454131 📝 Update release notes 2023-09-02 16:56:04 +00:00
Yusuke Tamura caf0b688cd
✏️ Fix indent format in `docs/en/docs/deployment/server-workers.md` (#10066)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-02 18:55:26 +02:00
github-actions a6d893fe98 📝 Update release notes 2023-09-02 16:16:38 +00:00
Olaoluwa Afolabi 1711c1e95f
🌐 Add Yoruba translation for `docs/yo/docs/index.md` (#10033)
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>
2023-09-02 18:12:44 +02:00
github-actions 34028290f5 📝 Update release notes 2023-09-02 16:03:22 +00:00
github-actions aa43afa4c0 📝 Update release notes 2023-09-02 16:00:21 +00:00
Hasnat Sajid 0ea23e2a8d
✏️ Fix link to Pydantic docs in `docs/en/docs/tutorial/extra-data-types.md` (#10155)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-09-02 17:55:41 +02:00
github-actions 7fe952f522 📝 Update release notes 2023-09-02 15:54:22 +00:00
github-actions 28bf4abf1f 📝 Update release notes 2023-09-02 15:50:11 +00:00
github-actions 1866abffc1 📝 Update release notes 2023-09-02 15:49:31 +00:00
Poupapaa 2e32957198
✏️ Fix typo in `docs/en/docs/tutorial/handling-errors.md` (#10170)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-09-02 17:43:16 +02:00
github-actions b2562c5c73 📝 Update release notes 2023-09-02 15:41:53 +00:00
github-actions a55f3204ef 📝 Update release notes 2023-09-02 15:37:56 +00:00
github-actions 59cbeccac0 📝 Update release notes 2023-09-02 15:36:34 +00:00
Ragul K 4e93f8e0bc
✏️ Fix typo in `docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md` (#10172)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-09-02 17:32:48 +02:00
github-actions 48f6ccfe7d 📝 Update release notes 2023-09-02 15:31:37 +00:00
github-actions 8cb33e9b47 📝 Update release notes 2023-09-02 15:24:05 +00:00
xzmeng d8f2f39f6d
✏️ Fix typos in `docs/en/docs/how-to/separate-openapi-schemas.md` and `docs/en/docs/tutorial/schema-extra-example.md` (#10189) 2023-09-02 17:22:24 +02:00
github-actions 82ff9a6920 📝 Update release notes 2023-09-02 15:19:08 +00:00
github-actions ee0b28a398 📝 Update release notes 2023-09-01 23:33:31 +00:00
Sebastián Ramírez 4bfe83bd27
👥 Update FastAPI People (#10186)
Co-authored-by: github-actions <github-actions@github.com>
2023-09-02 01:32:40 +02:00
github-actions 7a63d11093 📝 Update release notes 2023-09-01 21:36:46 +00:00
Sebastián Ramírez a3f1689d78 📝 Update release notes 2023-08-26 20:14:42 +02:00
Sebastián Ramírez 415eb1405a 🔖 Release version 0.103.0 2023-08-26 20:10:27 +02:00
Sebastián Ramírez bd32bca55c 📝 Update release notes 2023-08-26 20:09:59 +02:00
github-actions df16699dd8 📝 Update release notes 2023-08-26 18:03:56 +00:00
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152)
* ♻️ Refactor model for OpenAPI Examples to use a reusable TypedDict

*  Add support for openapi_examples in parameters

* 📝 Add new docs examples for new parameter openapi_examples

* 📝 Update docs for Schema Extra to include OpenAPI examples

*  Add tests for new source examples, for openapi_examples

*  Add tests for openapi_examples corner cases and all parameters

* 💡 Tweak and ignore type annotation checks for custom TypedDict
2023-08-26 20:03:13 +02:00
github-actions 5f855b1179 📝 Update release notes 2023-08-26 13:20:54 +00:00
Sebastián Ramírez 594b1ae0c3
📝 Add note to docs about Separate Input and Output Schemas with FastAPI version (#10150) 2023-08-26 15:20:04 +02:00
Sebastián Ramírez f3ab547c0c 📝 Update release notes 2023-08-25 21:23:44 +02:00
Sebastián Ramírez 9cf9e1084d 🔖 Release version 0.102.0 2023-08-25 21:18:38 +02:00
Sebastián Ramírez 859d40407c 📝 Update release notes 2023-08-25 21:18:09 +02:00
github-actions 098778e07f 📝 Update release notes 2023-08-25 19:11:02 +00:00
Sebastián Ramírez ea43f227e5
Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (#10145)
* 📝 Add docs for Separate OpenAPI Schemas for Input and Output

* 🔧 Add new docs page to MkDocs config

*  Add separate_input_output_schemas parameter to FastAPI class

* 📝 Add source examples for separating OpenAPI schemas

*  Add tests for separated OpenAPI schemas

* 📝 Add source examples for Python 3.10, 3.9, and 3.7+

* 📝 Update docs for Separate OpenAPI Schemas with new multi-version examples

*  Add and update tests for different Python versions

*  Add tests for corner cases with separate_input_output_schemas

* 📝 Update tutorial to use Union instead of Optional

* 🐛 Fix type annotations

* 🐛 Fix correct import in test

* 💄 Add CSS to simulate browser windows for screenshots

*  Add playwright as a dev dependency to automate generating screenshots

* 🔨 Add Playwright scripts to generate screenshots for new docs

* 📝 Update docs, tweak text to match screenshots

* 🍱 Add screenshots for new docs
2023-08-25 21:10:22 +02:00
github-actions 10a127ea4a 📝 Update release notes 2023-08-19 19:54:40 +00:00
Sebastián Ramírez 8cd7cfc2b6
📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (#10114)
* 📝 Start How To docs section, move Peewee, remove Peewee from dependencies

* 🚚 Move em files to new locations

* 🚚 Move and re-structure advanced docs, move relevant to How To

* 🔧 Update MkDocs config, new files in How To

* 📝 Move docs for Conditional OpenAPI for Japanese to How To

* 📝 Move example source files for Extending OpenAPI into each of the new sections

*  Update tests with new locations for source files

* 🔥 Remove init from Peewee examples
2023-08-19 21:54:04 +02:00
github-actions 3971c44a38 📝 Update release notes 2023-08-19 18:48:35 +00:00
github-actions b406dd9174 📝 Update release notes 2023-08-19 14:09:02 +00:00
Sebastián Ramírez 8e38261787
📝 Update Advanced docs, add links to sponsor courses (#10113) 2023-08-19 16:08:16 +02:00
github-actions 486cd139a9 📝 Update release notes 2023-08-19 13:51:12 +00:00
Sebastián Ramírez 08feaf0cc4
📝 Update docs for generating clients (#10112) 2023-08-19 15:49:54 +02:00
github-actions 0fe434ca68 📝 Update release notes 2023-08-19 13:34:10 +00:00
Sebastián Ramírez d1c0e5a89f
📝 Tweak MkDocs and add redirects (#10111) 2023-08-19 13:33:32 +00:00
github-actions e04953a9e0 📝 Update release notes 2023-08-19 13:12:09 +00:00
Sebastián Ramírez d4201a49bc
📝 Restructure docs for cloud providers, include links to sponsors (#10110) 2023-08-19 15:11:35 +02:00
github-actions a6ae5af7d6 📝 Update release notes 2023-08-17 08:52:40 +00:00
Sebastián Ramírez e93d15cf9a
🔧 Update sponsors, add Speakeasy (#10098) 2023-08-17 10:51:58 +02:00
Sebastián Ramírez 50b6ff7da6 📝 Update release notes 2023-08-14 12:02:43 +02:00
github-actions d46cd0b1f0 📝 Update release notes 2023-08-14 09:50:40 +00:00
github-actions dafaf6a34c 📝 Update release notes 2023-08-14 09:17:05 +00:00
github-actions 87cc40e483 📝 Update release notes 2023-08-14 09:15:26 +00:00
github-actions 014262c203 📝 Update release notes 2023-08-14 09:13:05 +00:00
github-actions 48d203a1e7 📝 Update release notes 2023-08-14 09:10:51 +00:00
github-actions 78f38c6bfd 📝 Update release notes 2023-08-10 15:59:15 +00:00
github-actions 5c2a155809 📝 Update release notes 2023-08-10 15:55:32 +00:00
github-actions 1f0d9086b3 📝 Update release notes 2023-08-10 15:53:06 +00:00
Nguyễn Khắc Thành f0ab797de4
🌐 Add Vietnamese translation for `docs/vi/docs/python-types.md` (#10047)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-10 17:52:25 +02:00
github-actions 82fafcc7ea 📝 Update release notes 2023-08-09 17:05:31 +00:00
Sebastián Ramírez 87398723f9
🔧 Add sponsor Porter (#10051) 2023-08-09 19:04:49 +02:00
github-actions 01383a57cb 📝 Update release notes 2023-08-09 13:27:14 +00:00
Sebastián Ramírez 14c96ef31b
🔧 Update sponsors, add Jina back as bronze sponsor (#10050) 2023-08-09 15:26:33 +02:00
github-actions 942ee69d85 📝 Update release notes 2023-08-05 08:46:58 +00:00
github-actions 6df10c9753 📝 Update release notes 2023-08-05 08:44:36 +00:00
github-actions 0f4a962c20 📝 Update release notes 2023-08-05 08:43:01 +00:00
Francis Bergin 69d5ebf34d
✏️ Fix typo in release notes (#9835) 2023-08-05 10:40:24 +02:00
github-actions bb7bbafb5f 📝 Update release notes 2023-08-05 08:38:32 +00:00
github-actions 87e126be2e 📝 Update release notes 2023-08-05 08:36:27 +00:00
Adejumo Ridwan Suleiman 33e77b6e25
📝 Add external article: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI (#9847) 2023-08-05 10:36:05 +02:00
github-actions 51f5497f3f 📝 Update release notes 2023-08-05 08:35:55 +00:00
Vicente Merino 0b496ea1f8
📝 Fix typo in `docs/en/docs/contributing.md` (#9878)
Co-authored-by: Vicente Merino <vmerino@rexmas.com>
2023-08-05 10:34:07 +02:00
Reza Rohani b76112f1a5
📝 Fix code highlighting in `docs/en/docs/tutorial/bigger-applications.md` (#9806)
Update bigger-applications.md
2023-08-05 10:33:08 +02:00
github-actions f2e80fae09 📝 Update release notes 2023-08-05 08:28:26 +00:00
github-actions d86a695db9 📝 Update release notes 2023-08-05 08:26:40 +00:00
github-actions abfcb59fd0 📝 Update release notes 2023-08-05 08:23:39 +00:00
github-actions 0148c9508c 📝 Update release notes 2023-08-05 08:23:14 +00:00
Sebastián Ramírez 8adbafc076 🔖 Release version 0.101.0 2023-08-04 23:00:17 +02:00
Sebastián Ramírez 4b5277744a 📝 Update release notes 2023-08-04 22:59:44 +02:00
github-actions 89a7cea561 📝 Update release notes 2023-08-04 20:58:08 +00:00
Sebastián Ramírez 944c591803 📝 Update release notes 2023-08-04 22:50:34 +02:00
github-actions 1c20514738 📝 Update release notes 2023-08-04 20:47:42 +00:00
github-actions d943e02232 📝 Update release notes 2023-08-04 18:19:22 +00:00
github-actions b3a1f91004 📝 Update release notes 2023-08-04 17:48:24 +00:00
github-actions 3af7265a43 📝 Update release notes 2023-08-03 16:00:19 +00:00
github-actions 10b4c31f06 📝 Update release notes 2023-08-03 15:47:35 +00:00
github-actions 94c48cfc8c 📝 Update release notes 2023-08-03 15:25:10 +00:00
github-actions a73cdaed35 📝 Update release notes 2023-08-03 14:25:48 +00:00
Sebastián Ramírez 3fa6cfbcc5
👥 Update FastAPI People (#9999)
Co-authored-by: github-actions <github-actions@github.com>
2023-08-03 16:25:11 +02:00
github-actions ad1d7f539e 📝 Update release notes 2023-08-03 14:13:59 +00:00
github-actions 3829129245 📝 Update release notes 2023-08-02 18:58:29 +00:00
github-actions 165f29fe5e 📝 Update release notes 2023-08-02 15:57:57 +00:00
github-actions b473cdd88d 📝 Update release notes 2023-08-02 15:29:13 +00:00
github-actions 2d8a776836 📝 Update release notes 2023-08-02 15:15:10 +00:00
github-actions 01f91fdb57 📝 Update release notes 2023-08-01 21:40:00 +00:00
Sebastián Ramírez c2a33f1087
🍱 Update sponsors, Fern badge (#9982) 2023-08-01 23:39:22 +02:00
github-actions 6c8c3b788b 📝 Update release notes 2023-08-01 09:20:23 +00:00
github-actions 74de15d0df 📝 Update release notes 2023-07-31 21:49:56 +00:00
Sebastián Ramírez 1da0a7afbd
🔧 Update sponsor Fern (#9979) 2023-07-31 23:49:19 +02:00
github-actions d38e86ef20 📝 Update release notes 2023-07-31 19:54:46 +00:00
github-actions cd6d75e451 📝 Update release notes 2023-07-28 12:16:16 +00:00
Sebastián Ramírez 076bdea671
🌐 Remove Vietnamese note about missing translation (#9957) 2023-07-28 14:15:29 +02:00
Sebastián Ramírez 8d27236648 🔖 Release version 0.100.1 2023-07-27 21:16:01 +02:00
Sebastián Ramírez effa578b8d 📝 Update release notes 2023-07-27 21:15:16 +02:00
github-actions bec5530ac8 📝 Update release notes 2023-07-27 19:14:48 +00:00
github-actions 643d8e41c4 📝 Update release notes 2023-07-27 19:08:23 +00:00
github-actions c52c940066 📝 Update release notes 2023-07-27 19:04:24 +00:00
github-actions 77cfb3c822 📝 Update release notes 2023-07-27 18:59:56 +00:00
github-actions e334065d10 📝 Update release notes 2023-07-27 18:57:37 +00:00
github-actions 5d3f51c8bc 📝 Update release notes 2023-07-27 18:56:19 +00:00
github-actions a52875c656 📝 Update release notes 2023-07-27 18:54:32 +00:00
Sebastián Ramírez 570ca011f9
🔧 Update sponsors, add Fern (#9956) 2023-07-27 20:53:51 +02:00
github-actions 02ed00cc47 📝 Update release notes 2023-07-27 18:53:03 +00:00
github-actions 35707a1b29 📝 Update release notes 2023-07-27 18:51:59 +00:00
github-actions d7c6894b8b 📝 Update release notes 2023-07-27 18:50:16 +00:00
github-actions 6a95a3a8e7 📝 Update release notes 2023-07-27 18:48:28 +00:00
github-actions 39318a39f4 📝 Update release notes 2023-07-27 18:43:30 +00:00
github-actions 7cdea41431 📝 Update release notes 2023-07-27 18:23:13 +00:00
github-actions f7e3559bd5 📝 Update release notes 2023-07-09 15:45:55 +00:00
github-actions 2d69531509 📝 Update release notes 2023-07-09 15:44:58 +00:00
Sebastián Ramírez 73c39745d8
👥 Update FastAPI People (#9775)
Co-authored-by: github-actions <github-actions@github.com>
2023-07-09 17:44:21 +02:00
github-actions ea92dcaa01 📝 Update release notes 2023-07-09 15:40:19 +00:00
github-actions eaa14e18d3 📝 Update release notes 2023-07-09 14:37:16 +00:00
github-actions c165be380f 📝 Update release notes 2023-07-07 18:15:42 +00:00
Sebastián Ramírez 5f85e2cf58
📝 Update links for self-hosted Swagger UI, point to v5, for OpenAPI 31.0 (#9834)
📝 Update links for self-hosted Swagger UI, point to v5, for OpenAPI 3.1.0
2023-07-07 20:15:08 +02:00
Sebastián Ramírez f8356d9fff 🔖 Release version 0.100.0 2023-07-07 19:25:59 +02:00
Sebastián Ramírez 179e409159 📝 Update release notes 2023-07-07 19:14:54 +02:00
github-actions bb7e5b7261 📝 Update release notes 2023-07-07 17:12:58 +00:00
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816)
*  Pydantic v2 migration, initial implementation (#9500)

*  Add compat layer, for Pydantic v1 and v2

*  Re-export Pydantic needed internals from compat, to later patch them for v1

* ♻️ Refactor internals to use new compatibility layers and run with Pydantic v2

* 📝 Update examples to run with Pydantic v2

*  Update tests to use Pydantic v2

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

*  Temporarily disable Peewee tests, afterwards I'll enable them only for Pydantic v1

* 🐛 Fix JSON Schema generation and OpenAPI ref template

* 🐛 Fix model field creation with defaults from Pydantic v2

* 🐛 Fix body field creation, with new FieldInfo

*  Use and check new ResponseValidationError for server validation errors

*  Fix test_schema_extra_examples tests with ResponseValidationError

*  Add dirty-equals to tests for compatibility with Pydantic v1 and v2

*  Add util to regenerate errors with custom loc

*  Generate validation errors with loc

*  Update tests for compatibility with Pydantic v1 and v2

*  Update tests for Pydantic v2 in tests/test_filter_pydantic_sub_model.py

*  Refactor tests in tests/test_dependency_overrides.py for Pydantic v2, separate parameterized into independent tests to use insert_assert

*  Refactor OpenAPI test for tests/test_infer_param_optionality.py for consistency, and make it compatible with Pydantic v1 and v2

*  Update tests for tests/test_multi_query_errors.py for Pydantic v1 and v2

*  Update tests for tests/test_multi_body_errors.py for Pydantic v1 and v2

*  Update tests for tests/test_multi_body_errors.py for Pydantic v1 and v2

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* ♻️ Refactor tests for tests/test_path.py to inline pytest parameters, to make it easier to make them compatible with Pydantic v2

*  Refactor and udpate tests for tests/test_path.py for Pydantic v1 and v2

* ♻️ Refactor and update tests for tests/test_query.py with compatibility for Pydantic v1 and v2

*  Fix test with optional field without default None

*  Update tests for compatibility with Pydantic v2

*  Update tutorial tests for Pydantic v2

* ♻️ Update OAuth2 dependencies for Pydantic v2

* ♻️ Refactor str check when checking for sequence types

* ♻️ Rename regex to pattern to keep in sync with Pydantic v2

* ♻️ Refactor _compat.py, start moving conditional imports and declarations to specifics of Pydantic v1 or v2

*  Update tests for OAuth2 security optional

*  Refactor tests for OAuth2 optional for Pydantic v2

*  Refactor tests for OAuth2 security for compatibility with Pydantic v2

* 🐛 Fix location in compat layer for Pydantic v2 ModelField

*  Refactor tests for Pydantic v2 in tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

* 🐛 Add missing markers in Python 3.9 tests

*  Refactor tests for bigger apps for consistency with annotated ones and with support for Pydantic v2

* 🐛 Fix jsonable_encoder with new Pydantic v2 data types and Url

* 🐛 Fix invalid JSON error for compatibility with Pydantic v2

*  Update tests for behind_a_proxy for Pydantic v2

*  Update tests for tests/test_tutorial/test_body/test_tutorial001_py310.py for Pydantic v2

*  Update tests for tests/test_tutorial/test_body/test_tutorial001.py with Pydantic v2 and consistency with Python 3.10 tests

*  Fix tests for tutorial/body_fields for Pydantic v2

*  Refactor tests for tutorial/body_multiple_params with Pydantic v2

*  Update tests for tutorial/body_nested_models for Pydantic v2

*  Update tests for tutorial/body_updates for Pydantic v2

*  Update test for tutorial/cookie_params for Pydantic v2

*  Fix tests for tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py for Pydantic v2

*  Update tests for tutorial/dataclasses for Pydantic v2

*  Update tests for tutorial/dependencies for Pydantic v2

*  Update tests for tutorial/extra_data_types for Pydantic v2

*  Update tests for tutorial/handling_errors for Pydantic v2

*  Fix test markers for Python 3.9

*  Update tests for tutorial/header_params for Pydantic v2

*  Update tests for Pydantic v2 in tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

*  Fix extra tests for Pydantic v2

*  Refactor test for parameters, to later fix Pydantic v2

*  Update tests for tutorial/query_params for Pydantic v2

* ♻️ Update examples in docs to use new pattern instead of the old regex

*  Fix several tests for Pydantic v2

*  Update and fix test for ResponseValidationError

* 🐛 Fix check for sequences vs scalars, include bytes as scalar

* 🐛 Fix check for complex data types, include UploadFile

* 🐛 Add list to sequence annotation types

* 🐛 Fix checks for uploads and add utils to find if an annotation is an upload (or bytes)

*  Add UnionType and NoneType to compat layer

*  Update tests for request_files for compatibility with Pydantic v2 and consistency with other tests

*  Fix testsw for request_forms for Pydantic v2

*  Fix tests for request_forms_and_files for Pydantic v2

*  Fix tests in tutorial/security for compatibility with Pydantic v2

* ⬆️ Upgrade required version of email_validator

*  Fix tests for params repr

*  Add Pydantic v2 pytest markers

* Use match_pydantic_error_url

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* Use field_serializer instead of encoders in some tests

* Show Undefined as ... in repr

* Mark custom encoders test with xfail

* Update test to reflect new serialization of Decimal as str

* Use `model_validate` instead of `from_orm`

* Update JSON schema to reflect required nullable

* Add dirty-equals to pyproject.toml

* Fix locs and error creation for use with pydantic 2.0a4

* Use the type adapter for serialization. This is hacky.

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

*  Refactor test_multi_body_errors for compatibility with Pydantic v1 and v2

*  Refactor test_custom_encoder for Pydantic v1 and v2

*  Set input to None for now, for compatibility with current tests

* 🐛 Fix passing serialization params to model field when handling the response

* ♻️ Refactor exceptions to not depend on Pydantic ValidationError class

* ♻️ Revert/refactor params to simplify repr

*  Tweak tests for custom class encoders for Pydantic v1 and v2

*  Tweak tests for jsonable_encoder for Pydantic v1 and v2

*  Tweak test for compatibility with Pydantic v1 and v2

* 🐛 Fix filtering data with subclasses

* 🐛 Workaround examples in OpenAPI schema

*  Add skip marker for SQL tutorial, needs to be updated either way

*  Update test for broken JSON

*  Fix test for broken JSON

*  Update tests for timedeltas

*  Fix test for plain text validation errors

*  Add markers for Pydantic v1 exclusive tests (for now)

*  Update test for path_params with enums for compatibility with Pydantic v1 and v2

*  Update tests for extra examples in OpenAPI

*  Fix tests for response_model with compatibility with Pydantic v1 and v2

* 🐛 Fix required double serialization for different types of models

*  Fix tests for response model with compatibility with new Pydantic v2

* 🐛 Import Undefined from compat layer

*  Fix tests for response_model for Pydantic v2

*  Fix tests for schema_extra for Pydantic v2

*  Add markers and update tests for Pydantic v2

* 💡 Comment out logic for double encoding that breaks other usecases

*  Update errors for int parsing

* ♻️ Refactor re-enabling compatibility for Pydantic v1

* ♻️ Refactor OpenAPI utils to re-enable support for Pydantic v1

* ♻️ Refactor dependencies/utils and _compat for compatibility with Pydantic v1

* 🐛 Fix and tweak compatibility with Pydantic v1 and v2 in dependencies/utils

*  Tweak tests and examples for Pydantic v1

* ♻️ Tweak call to ModelField.validate for compatibility with Pydantic v1

*  Use new global override TypeAdapter from_attributes

*  Update tests after updating from_attributes

* 🔧 Update pytest config to avoid collecting tests from docs, useful for editor-integrated tests

*  Add test for data filtering, including inheritance and models in fields or lists of models

* ♻️ Make OpenAPI models compatible with both Pydantic v1 and v2

* ♻️ Fix compatibility for Pydantic v1 and v2 in jsonable_encoder

* ♻️ Fix compatibility in params with Pydantic v1 and v2

* ♻️ Fix compatibility when creating a FieldInfo in Pydantic v1 and v2 in utils.py

* ♻️ Fix generation of flat_models and JSON Schema definitions in _compat.py for Pydantic v1 and v2

* ♻️ Update handling of ErrorWrappers for Pydantic v1

* ♻️ Refactor checks and handling of types an sequences

* ♻️ Refactor and cleanup comments with compatibility for Pydantic v1 and v2

* ♻️ Update UploadFile for compatibility with both Pydantic v1 and v2

* 🔥 Remove commented out unneeded code

* 🐛 Fix mock of get_annotation_from_field_info for Pydantic v1 and v2

* 🐛 Fix params with compatibility for Pydantic v1 and v2, with schemas and new pattern vs regex

* 🐛 Fix check if field is sequence for Pydantic v1

*  Fix tests for custom_schema_fields, for compatibility with Pydantic v1 and v2

*  Simplify and fix tests for jsonable_encoder with compatibility for Pydantic v1 and v2

*  Fix tests for orm_mode with Pydantic v1 and compatibility with Pydantic v2

* ♻️ Refactor logic for normalizing Pydantic v1 ErrorWrappers

* ♻️ Workaround for params with examples, before defining what to deprecate in Pydantic v1 and v2 for examples with JSON Schema vs OpenAPI

*  Fix tests for Pydantic v1 and v2 for response_by_alias

*  Fix test for schema_extra with compatibility with Pydantic v1 and v2

* ♻️ Tweak error regeneration with loc

* ♻️ Update error handling and serializationwith compatibility for Pydantic v1 and v2

* ♻️ Re-enable custom encoders for Pydantic v1

* ♻️ Update ErrorWrapper reserialization in Pydantic v1, do it outside of FastAPI ValidationExceptions

*  Update test for filter_submodel, re-structure to simplify testing while keeping division of Pydantic v1 and v2

*  Refactor Pydantic v1 only test that requires modifying environment variables

* 🔥 Update test for plaintext error responses, for Pydantic v1 and v2

* ️ Revert changes in DB tutorial to use Pydantic v1 (the new guide will have SQLModel)

*  Mark current SQL DB tutorial tests as Pydantic only

* ♻️ Update datastructures for compatibility with Pydantic v1, not requiring pydantic-core

* ♻️ Update encoders.py for compatibility with Pydantic v1

* ️ Revert changes to Peewee, the docs for that are gonna live in a new HowTo section, not in the main tutorials

* ♻️ Simplify response body kwargs generation

* 🔥 Clean up comments

* 🔥 Clean some tests and comments

*  Refactor tests to match new Pydantic error string URLs

*  Refactor tests for recursive models for Pydantic v1 and v2

*  Update tests for Peewee, re-enable, Pydantic-v1-only

* ♻️ Update FastAPI params to take regex and pattern arguments

* ️ Revert tutorial examples for pattern, it will be done in a subsequent PR

* ️ Revert changes in schema extra examples, it will be added later in a docs-specific PR

* 💡 Add TODO comment to document str validations with pattern

* 🔥 Remove unneeded comment

* 📌 Upgrade Pydantic pin dependency

* ⬆️ Upgrade email_validator dependency

* 🐛 Tweak type annotations in _compat.py

* 🔇 Tweak mypy errors for compat, for Pydantic v1 re-imports

* 🐛 Tweak and fix type annotations

*  Update requirements-test.txt, re-add dirty-equals

* 🔥 Remove unnecessary config

* 🐛 Tweak type annotations

* 🔥 Remove unnecessary type in dependencies/utils.py

* 💡 Update comment in routing.py

---------

Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* 👷 Add CI for both Pydantic v1 and v2 (#9688)

* 👷 Test and install Pydantic v1 and v2 in CI

* 💚 Tweak CI config for Pydantic v1 and v2

* 💚 Fix Pydantic v2 specification in CI

* 🐛 Fix type annotations for compatibility with Python 3.7

* 💚 Install Pydantic v2 for lints

* 🐛 Fix type annotations for Pydantic v2

* 💚 Re-use test cache for lint

* ♻️ Refactor internals for test coverage and performance (#9691)

* ♻️ Tweak import of Annotated from typing_extensions, they are installed anyway

* ♻️ Refactor _compat to define functions for Pydantic v1 or v2 once instead of checking inside

*  Add test for UploadFile for Pydantic v2

* ♻️ Refactor types and remove logic for impossible cases

*  Add missing tests from test refactor for path params

*  Add tests for new decimal encoder

* 💡 Add TODO comment for decimals in encoders

* 🔥 Remove unneeded dummy function

* 🔥 Remove section of code in field_annotation_is_scalar covered by sub-call to field_annotation_is_complex

* ♻️ Refactor and tweak variables and types in _compat

*  Add tests for corner cases and compat with Pydantic v1 and v2

* ♻️ Refactor type annotations

* 🔖 Release version 0.100.0-beta1

* ♻️ Refactor parts that use optional requirements to make them compatible with installations without them (#9707)

* ♻️ Refactor parts that use optional requirements to make them compatible with installations without them

* ♻️ Update JSON Schema for email field without email-validator installed

* 🐛 Fix support for Pydantic v2.0, small changes in their final release (#9771)

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>

* 🔖 Release version 0.100.0-beta2

*  OpenAPI 3.1.0 with Pydantic v2, merge `master` (#9773)

*  Add dirty-equals as a testing dependency (#9778)

 Add dirty-equals as a testing dependency, it seems it got lsot at some point

* 🔀 Merge master, fix valid JSON Schema accepting bools (#9782)

* ️ Revert usage of custom logic for TypeAdapter JSON Schema, solved on the Pydantic side (#9787)

️ Revert usage of custom logic for TypeAdapter JSON Schema, solved on Pydantic side

* ♻️ Deprecate parameter `regex`, use `pattern` instead (#9786)

* 📝 Update docs to deprecate regex, recommend pattern

* ♻️ Update examples to use new pattern instead of regex

* 📝 Add new example with deprecated regex

* ♻️ Add deprecation notes and warnings for regex

*  Add tests for regex deprecation

*  Update tests for compatibility with Pydantic v1

*  Update docs to use Pydantic v2 settings and add note and example about v1 (#9788)

*  Add pydantic-settings to all extras

* 📝 Update docs for Pydantic settings

* 📝 Update Settings source examples to use Pydantic v2, and add a Pydantic v1 version

*  Add tests for settings with Pydantic v1 and v2

* 🔥 Remove solved TODO comment

* ♻️ Update conditional OpenAPI to use new Pydantic v2 settings

*  Update tests to import Annotated from typing_extensions for Python < 3.9 (#9795)

*  Add pydantic-extra-types to fastapi[extra]

*  temp: Install Pydantic from source to test JSON Schema metadata fixes (#9777)

*  Install Pydantic from source, from branch for JSON Schema with metadata

*  Update dependencies, install Pydantic main

*  Fix dependency URL for Pydantic from source

*  Add pydantic-settings for test requirements

* 💡 Add TODO comments to re-enable Pydantic main (not from source) (#9796)

*  Add new Pydantic Field param options to Query, Cookie, Body, etc. (#9797)

* 📝 Add docs for Pydantic v2 for `docs/en/docs/advanced/path-operation-advanced-configuration.md` (#9798)

* 📝 Update docs in examples for settings with Pydantic v2 (#9799)

* 📝 Update JSON Schema `examples` docs with Pydantic v2 (#9800)

* ♻️ Use new Pydantic v2 JSON Schema generator (#9813)

Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>

* ♻️ Tweak type annotations and Pydantic version range (#9801)

* 📌 Re-enable GA Pydantic, for v2, require minimum 2.0.2 (#9814)

* 🔖 Release version 0.100.0-beta3

* 🔥 Remove duplicate type declaration from merge conflicts (#9832)

* 👷‍♂️ Run tests with Pydantic v2 GA (#9830)

👷 Run tests for Pydantic v2 GA

* 📝 Add notes to docs expecting Pydantic v2 and future updates (#9833)

* 📝 Update index with new extras

* 📝 Update release notes

---------

Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pastukhov Nikita <diementros@yandex.ru>
2023-07-07 19:12:13 +02:00
Sebastián Ramírez 8a198fc1ed 📝 Update release notes 2023-07-02 18:00:12 +02:00
github-actions 6bd4f53531 📝 Update release notes 2023-07-02 15:59:00 +00:00
github-actions 0f105d9076 📝 Update release notes 2023-07-01 16:44:12 +00:00
Sebastián Ramírez 4d83f984cc
📝 Update source examples to use new JSON Schema examples field (#9776)
* 📝 Update source examples to use new JSON Schema examples field

*  Update tests for JSON Schema examples

* 📝 Update highlights in JSON Schema examples
2023-07-01 18:43:29 +02:00
Sebastián Ramírez 983f1d34db 🔖 Release version 0.99.0 2023-06-30 20:55:17 +02:00
Sebastián Ramírez efc2bcc57a 📝 Update release notes 2023-06-30 20:54:25 +02:00
github-actions b757211299 📝 Update release notes 2023-06-30 18:25:53 +00:00
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770)
*  Update OpenAPI models for JSON Schema 2020-12 and OpenAPI 3.1.0

*  Add support for summary and webhooks

*  Update JSON Schema for UploadFiles

* ️ Revert making paths optional, to ensure always correctness

* ️ Keep UploadFile as format: binary for compatibility with the rest of Pydantic bytes fields in v1

*  Update version of OpenAPI generated to 3.1.0

*  Update the version of Swagger UI

* 📝 Update docs about extending OpenAPI

* 📝 Update docs and links to refer to OpenAPI 3.1.0

*  Update logic for handling webhooks

* ♻️ Update parameter functions and classes, deprecate example and make examples the main field

*  Update tests for OpenAPI 3.1.0

* 📝 Update examples for OpenAPI metadata

*  Add and update tests for OpenAPI metadata

* 📝 Add source example for webhooks

* 📝 Update docs for metadata

* 📝 Update docs for Schema extra

* 📝 Add docs for webhooks

* 🔧 Add webhooks docs to MkDocs

*  Update tests for extending OpenAPI

*  Add tests for webhooks

* ♻️ Refactor generation of OpenAPI and JSON Schema with params

* 📝 Update source examples for field examples

*  Update tests for examples

*  Make sure the minimum version of typing-extensions installed has deprecated() (already a dependency of Pydantic)

* ✏️ Fix typo in Webhooks example code

* 🔥 Remove commented out code of removed nullable field

* 🗑️ Add deprecation warnings for example argument

*  Update tests to check for deprecation warnings

*  Add test for webhooks with security schemes, for coverage

* 🍱 Update image for metadata, with new summary

* 🍱 Add docs image for Webhooks

* 📝 Update docs for webhooks, add docs UI image
2023-06-30 20:25:16 +02:00
github-actions 02fc9e8a63 📝 Update release notes 2023-06-30 16:23:36 +00:00
Sebastián Ramírez 0a8423d792
🔨 Enable linenums in MkDocs Material during local live development to simplify highlighting code (#9769) 2023-06-30 18:23:02 +02:00
github-actions 0f390cd4b5 📝 Update release notes 2023-06-28 16:39:44 +00:00
github-actions d409c05d6f 📝 Update release notes 2023-06-27 01:14:01 +00:00
github-actions 706d74b6ad 📝 Update release notes 2023-06-27 01:10:40 +00:00
github-actions 6c143b930d 📝 Update release notes 2023-06-27 01:07:03 +00:00
github-actions dffca555ff 📝 Update release notes 2023-06-27 01:06:48 +00:00
github-actions a95af94669 📝 Update release notes 2023-06-27 01:02:34 +00:00
github-actions 317cef3f8a 📝 Update release notes 2023-06-27 01:00:55 +00:00
github-actions 47524eee1b 📝 Update release notes 2023-06-26 16:03:19 +00:00
Sebastián Ramírez 872af100f5
📝 Fix form for the FastAPI and friends newsletter (#9749) 2023-06-26 18:02:34 +02:00
github-actions d1c5c5c97c 📝 Update release notes 2023-06-26 14:06:24 +00:00
Sebastián Ramírez ed297bb2e0
Add Material for MkDocs Insiders features and cards (#9748)
*  Add dependencies for MkDocs Insiders

* 🙈 Add Insider's .cache to .gitignore

* 🔧 Update MkDocs configs for Insiders

* 💄 Add custom Insiders card layout, while the custom logo is provided from upstream

* 🔨 Update docs.py script to dynamically enable insiders if it's installed

* 👷 Add cache for MkDocs Material Insiders' cards

* 🔊 Add a small log to the docs CLI

* 🔊 Tweak logs, only after exporting languages

* 🐛 Fix accessing non existing env var

* 🔧 Invalidate deps cache

* 🔧 Tweak cache IDs

* 👷 Update cache for installing insiders

* 🔊 Log insiders

* 💚 Invalidate cache

* 👷 Tweak cache keys

* 👷 Trigger CI and test cache

* 🔥 Remove cache comment

* ️ Optimize cache usage for first runs of docs

* 👷 Tweak cache for MkDocs Material cards

* 💚 Trigger CI to test cache
2023-06-26 16:05:43 +02:00
github-actions afc237ad53 📝 Update release notes 2023-06-25 12:57:53 +00:00
Sebastián Ramírez b107b6a096
🔥 Remove languages without translations (#9743)
* 🔥 Remove lang directories for empty translations

* 🔥 Remove untranslated langs from main config
2023-06-25 14:57:19 +02:00
github-actions be8e704e46 📝 Update release notes 2023-06-25 12:34:39 +00:00
Sebastián Ramírez 5656ed09ef
Refactor docs for building scripts, use MkDocs hooks, simplify (remove) configs for languages (#9742)
*  Add MkDocs hooks to re-use all config from en, and auto-generate missing docs files form en

* 🔧 Update MkDocs config for es

* 🔧 Simplify configs for all languages

*  Compute available languages from MkDocs Material for config overrides in hooks

* 🔧 Update config for MkDocs for en, to make paths compatible for other languages

* ♻️ Refactor scripts/docs.py to remove all custom logic that is now handled by the MkDocs hooks

* 🔧 Remove ta language as it's incomplete (no translations and causing errors)

* 🔥 Remove ta lang, no translations available

* 🔥 Remove dummy overrides directories, no longer needed

*  Use the same missing-translation.md file contents for hooks

* ️ Restore and refactor new-lang command

* 📝 Update docs for contributing with new simplified workflow for translations

* 🔊 Enable logs so that MkDocs can show its standard output on the docs.py script
2023-06-25 14:33:58 +02:00
github-actions c563b5bcf1 📝 Update release notes 2023-06-24 14:47:59 +00: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
github-actions 3aea9acc68 📝 Update release notes 2023-06-24 12:31:54 +00:00
github-actions 8cee653ad8 📝 Update release notes 2023-06-24 12:29:17 +00:00
github-actions 7d865c9487 📝 Update release notes 2023-06-24 00:00:47 +00:00
github-actions 2848951082 📝 Update release notes 2023-06-23 23:52:34 +00:00
github-actions 1471bc956c 📝 Update release notes 2023-06-23 18:17:17 +00:00
github-actions 5a3bbb62de 📝 Update release notes 2023-06-23 17:55:46 +00:00
Sebastián Ramírez 4721405ef7 🔖 Release version 0.98.0 2023-06-22 19:58:22 +02:00
Sebastián Ramírez 8066f85b3f 📝 Update release notes 2023-06-22 19:57:25 +02:00
github-actions 2ffb08d0bc 📝 Update release notes 2023-06-22 17:52:55 +00:00
github-actions 41d774ed6d 📝 Update release notes 2023-06-22 17:44:21 +00:00
github-actions a01c2ca3dd 📝 Update release notes 2023-06-22 17:43:29 +00:00
github-actions fdc713428e 📝 Update release notes 2023-06-22 17:26:46 +00:00
github-actions 586de94ca1 📝 Update release notes 2023-06-22 17:12:59 +00:00
github-actions 4842dfadcf 📝 Update release notes 2023-06-22 17:07:05 +00: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
github-actions c812b42293 📝 Update release notes 2023-06-22 17:04:50 +00:00
ivan-abc 68ce5b37dc
✏ Rewording in `docs/en/docs/tutorial/debugging.md` (#9581)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 17:04:16 +00:00
github-actions 0dc9a377dc 📝 Update release notes 2023-06-22 17:02:08 +00:00
Pankaj Kumar d82700c96d
✏️ Fix tooltips for light/dark theme toggler in docs (#9588) 2023-06-22 19:01:28 +02:00
github-actions fafe670db6 📝 Update release notes 2023-06-22 16:53:00 +00:00
github-actions e76dd3e70d 📝 Update release notes 2023-06-22 16:44:41 +00:00
Marcel Sander e5f3d6a5eb
📝 Add german blog post (Domain-driven Design mit Python und FastAPI) (#9261) 2023-06-22 18:44:05 +02:00
github-actions 7217f167d4 📝 Update release notes 2023-06-22 16:41:05 +00:00
github-actions 762ede2bec 📝 Update release notes 2023-06-22 16:40:50 +00:00
jyothish-mohan a3b1478221
✏️ Tweak wording in `docs/en/docs/tutorial/security/index.md` (#9561) 2023-06-22 18:40:32 +02:00
github-actions b1f27c96c4 📝 Update release notes 2023-06-22 16:35:04 +00:00
github-actions c7dad1bb59 📝 Update release notes 2023-06-22 16:33:28 +00:00
Alexandr 0ef164e1ee
📝 Update `Annotated` notes in `docs/en/docs/tutorial/schema-extra-example.md` (#9620)
Update for docs/tutorial/schema-extra-example.md

When working on the translation, I noticed that this page is missing the annotated tips that can be found in the rest of the documentation (I checked, and it's the only page where they're missing).
2023-06-22 18:32:53 +02:00
github-actions fd6a78cbfe 📝 Update release notes 2023-06-22 16:20:40 +00:00
github-actions 2f0541f17a 📝 Update release notes 2023-06-22 16:18:54 +00:00
github-actions 847befdc1d 📝 Update release notes 2023-06-22 16:17:50 +00:00
github-actions 1182b36362 📝 Update release notes 2023-06-22 16:16:43 +00:00
github-actions 234cecb5bf 📝 Update release notes 2023-06-22 16:14:54 +00:00
github-actions 223ed67682 📝 Update release notes 2023-06-22 14:30:35 +00:00
github-actions 09319d6271 📝 Update release notes 2023-06-22 14:29:41 +00:00
github-actions 7505f24f2e 📝 Update release notes 2023-06-22 11:47:12 +00:00
github-actions a2aede32b4 📝 Update release notes 2023-06-22 11:43:21 +00:00
Ricardo Castro 7c66ec8a8b
✏️ Fix typo `Annotation` -> `Annotated` in `docs/en/docs/tutorial/query-params-str-validations.md` (#9625)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 11:42:48 +00:00
github-actions d47eea9bb6 📝 Update release notes 2023-06-22 11:35:49 +00:00
github-actions 3279f0ba63 📝 Update release notes 2023-06-22 11:32:46 +00:00
github-actions 05c5ce3689 📝 Update release notes 2023-06-22 11:26:45 +00:00
github-actions 2f048f7199 📝 Update release notes 2023-06-22 11:20:49 +00:00
Harsha Laxman 2cef119cd7
📝 Use in memory database for testing SQL in docs (#1223)
Co-authored-by: Harsha Laxman <harsh@Harshas-MacBook-Pro.local>
Co-authored-by: Marcelo Trylesinski <marcelotryle@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>
2023-06-22 11:20:12 +00:00
github-actions dd1c2018dc 📝 Update release notes 2023-06-22 10:38:27 +00:00
github-actions b7ce10079e 📝 Update release notes 2023-06-19 12:34:13 +00:00
Sebastián Ramírez 87d5870314
🔧 Update sponsors, add Flint (#9699)
* 🔧 Set up sponsor Flint

* 🔧 Add configs for Flint sponsor
2023-06-19 12:33:32 +00:00
github-actions 49bc3e0873 📝 Update release notes 2023-06-16 14:49:35 +00:00
Sebastián Ramírez 32935103b1 🔖 Release version 0.97.0 2023-06-12 00:50:06 +02:00
Sebastián Ramírez 395ece75aa 📝 Update release notes 2023-06-12 00:49:35 +02:00
github-actions e958d30d1d 📝 Update release notes 2023-06-11 22:47:16 +00:00
github-actions 3289796286 📝 Update release notes 2023-06-11 22:38:17 +00:00
github-actions ba882c10fe 📝 Update release notes 2023-06-11 22:16:38 +00:00
github-actions 3390a82832 📝 Update release notes 2023-06-11 22:09:33 +00:00
github-actions 32cefb9bff 📝 Update release notes 2023-06-11 21:49:52 +00:00
github-actions df58ecdee2 📝 Update release notes 2023-06-11 21:38:54 +00: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
github-actions c8b729aea7 📝 Update release notes 2023-06-11 20:36:12 +00:00
github-actions ee96a099d8 📝 Update release notes 2023-06-11 19:08:50 +00:00
Sebastián Ramírez f5e2dd8025 📝 Update release notes 2023-06-11 00:03:27 +02:00
Sebastián Ramírez 19347bfc3c 🔖 Release version 0.96.1 2023-06-10 23:51:40 +02:00
Sebastián Ramírez 20d93fad94 📝 Update release notes 2023-06-10 23:50:09 +02:00
github-actions 58e50622de 📝 Update release notes 2023-06-10 20:58:55 +00:00
Sebastián Ramírez 4ac8b8e443
🔧 Add sponsor Platform.sh (#9650) 2023-06-10 22:58:15 +02:00
github-actions 3d162455a7 📝 Update release notes 2023-06-10 20:49:25 +00:00
github-actions 4c64c15ead 📝 Update release notes 2023-06-10 20:37:02 +00:00
github-actions 9b14107695 📝 Update release notes 2023-06-10 20:31:03 +00:00
github-actions 6fe26b5689 📝 Update release notes 2023-06-10 20:29:47 +00:00
github-actions ca8ddb2893 📝 Update release notes 2023-06-10 17:23:47 +00:00
github-actions ae5c51afa6 📝 Update release notes 2023-06-10 17:06:14 +00:00
Marcelo Trylesinski 19757d1859
🔥 Remove link to Pydantic's benchmark, as it was removed there (#5811)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-10 19:05:42 +02:00
github-actions e645a2db1b 📝 Update release notes 2023-06-10 17:05:03 +00:00
github-actions 503cec5649 📝 Update release notes 2023-06-10 16:03:40 +00:00
github-actions 2c7a0aca95 📝 Update release notes 2023-06-10 14:26:29 +00:00
github-actions d189c38aaf 📝 Update release notes 2023-06-10 12:06:21 +00:00
github-actions 4b31beef35 📝 Update release notes 2023-06-08 18:31:33 +00:00
github-actions 155fc5e24e 📝 Update release notes 2023-06-07 20:44:47 +00:00
Sebastián Ramírez 1574c96231 🔖 Release version 0.96.0 2023-06-03 16:29:23 +02:00
Sebastián Ramírez 99ed2a227f 📝 Update release notes 2023-06-03 16:28:37 +02:00
github-actions 6b72d54136 📝 Update release notes 2023-06-03 14:20:32 +00:00
github-actions 4d5e40190b 📝 Update release notes 2023-06-03 14:19:04 +00:00
github-actions b086b6580d 📝 Update release notes 2023-06-03 14:15:41 +00:00
github-actions 47c13874a0 📝 Update release notes 2023-06-03 14:06:48 +00:00
github-actions ede2b53a0f 📝 Update release notes 2023-06-03 14:06:02 +00:00
github-actions 8e1280bf87 📝 Update release notes 2023-06-03 14:01:51 +00:00
github-actions 5d2942f8fd 📝 Update release notes 2023-06-03 13:58:16 +00:00
github-actions ee017fdffa 📝 Update release notes 2023-06-03 13:58:09 +00:00
github-actions d5b588f246 📝 Update release notes 2023-06-03 13:57:42 +00:00
github-actions 1ecc9a1810 📝 Update release notes 2023-06-03 13:56:26 +00:00
github-actions f0b4d590af 📝 Update release notes 2023-06-03 13:56:16 +00:00
github-actions beedcd90c7 📝 Update release notes 2023-06-03 13:56:02 +00:00
github-actions f2b0670f04 📝 Update release notes 2023-06-03 13:55:50 +00:00
github-actions 795419ceee 📝 Update release notes 2023-06-03 13:54:48 +00:00
github-actions 2c091aa0a4 📝 Update release notes 2023-06-03 13:52:14 +00:00
Sebastián Ramírez 68809d6f97
🔧 Update sponsors, remove InvestSuite (#9612) 2023-06-03 13:51:39 +00:00
github-actions 3c7a4b568c 📝 Update release notes 2023-06-03 13:38:23 +00:00
Lemonyte ffb818970f
✏️ Fix typo in Deta deployment tutorial (#9501)
Fix typo (Data -> Deta)
2023-06-03 14:32:40 +02:00
github-actions[bot] e0961cbd1c
👥 Update FastAPI People (#9602)
Co-authored-by: github-actions <github-actions@github.com>
2023-06-03 14:09:57 +02:00
Sebastián Ramírez 8cc967a760 🔖 Release version 0.95.2 2023-05-16 15:39:43 +02:00
Sebastián Ramírez 6d235d1fe1 📝 Update release notes 2023-05-16 15:38:23 +02:00
github-actions 66259ddbb5 📝 Update release notes 2023-05-16 13:30:24 +00:00
github-actions d59c27d017 📝 Update release notes 2023-05-09 14:32:48 +00:00
Samuel Colvin 5100a98ccd
🐛 Fix `flask.escape` warning for internal tests (#9468)
* fix flask.escape warning

* 📝 Fix highlight in docs for WSGI

---------

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-05-09 14:32:00 +00:00
github-actions fe55402776 📝 Update release notes 2023-05-08 21:36:55 +00:00
github-actions 028e7cad67 📝 Update release notes 2023-05-08 21:08:08 +00:00
Bighneswar Parida 724060df43
📝 Update Deta deployment tutorial for compatibility with Deta Space (#6004)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lemonyte <49930425+lemonyte@users.noreply.github.com>
Co-authored-by: xeust <maxeust@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-05-08 14:32:02 +02:00
github-actions 490bde7169 📝 Update release notes 2023-05-08 11:18:04 +00:00
github-actions 3f5cfdc3fe 📝 Update release notes 2023-05-08 11:17:05 +00:00
github-actions bdb32bfe03 📝 Update release notes 2023-05-08 11:16:10 +00:00
Saleumsack KEOBOUALAY ed1f93f803
🌐 Add setup for translations to Lao (#9396)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-08 13:15:37 +02:00
github-actions 33fa1b0927 📝 Update release notes 2023-05-08 11:14:57 +00:00
github-actions 778b909cc1 📝 Update release notes 2023-05-08 11:11:35 +00:00
github-actions 60ef67a66b 📝 Update release notes 2023-05-02 06:28:23 +00:00
MariiaRomaniuk 055cf356ca
✏ Fix command to install requirements in Windows (#9445)
fix command to install requirements
2023-05-01 23:27:49 -07:00
github-actions 8ac8d70d52 📝 Update release notes 2023-04-25 19:12:33 +00:00
github-actions 0ef0aa55b0 📝 Update release notes 2023-04-25 19:08:41 +00:00
Evzen Ptacek 0e75981bd0
🌐 Initiate Czech translation setup (#9288)
Initiate Czech translation setup

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-25 12:08:01 -07:00
github-actions 1bc156482f 📝 Update release notes 2023-04-25 18:46:57 +00:00
github-actions bd51832394 📝 Update release notes 2023-04-25 18:45:08 +00:00
github-actions 7f3e0fe8a7 📝 Update release notes 2023-04-25 18:28:42 +00:00
github-actions bde0316227 📝 Update release notes 2023-04-25 18:27:12 +00:00
github-actions a73570a832 📝 Update release notes 2023-04-25 18:26:51 +00:00
Sebastián Ramírez c81e136d75 🔖 Release version 0.95.1 2023-04-13 12:04:52 -07:00
Sebastián Ramírez 79846b2d2b 📝 Update release notes 2023-04-13 12:04:11 -07:00
github-actions 1ccc5a862b 📝 Update release notes 2023-04-13 18:58:35 +00:00
Geoff Dworkin 8df86309c8
📝 Add notification message warning about old versions of FastAPI not supporting `Annotated` (#9298)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-13 18:57:59 +00:00
github-actions 925ba5c652 📝 Update release notes 2023-04-13 18:44:47 +00:00
Leonardo Marinho de Melo Júnior 1bb998d516
📝 Fix typo in `docs/en/docs/advanced/behind-a-proxy.md` (#5681)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-13 18:44:09 +00:00