]>
git.ipfire.org Git - thirdparty/fastapi/fastapi.git/log
Izabela Guerreiro [Tue, 28 Jul 2020 22:31:07 +0000 (19:31 -0300)]
Change 'dicas de tipo' to 'type hints'
Izabela Guerreiro [Mon, 27 Jul 2020 02:00:28 +0000 (23:00 -0300)]
Portuguese translation python-types
Sebastián Ramírez [Wed, 22 Jul 2020 08:29:49 +0000 (10:29 +0200)]
📝 Update release notes
Sebastián Ramírez [Wed, 22 Jul 2020 08:28:27 +0000 (10:28 +0200)]
🐛 Update GitHub action context var for Gitter bot (#1766)
Sebastián Ramírez [Wed, 22 Jul 2020 06:47:48 +0000 (08:47 +0200)]
📝 Update release notes
Sebastián Ramírez [Wed, 22 Jul 2020 06:44:44 +0000 (08:44 +0200)]
🔖 Release version 0.60.1
Sebastián Ramírez [Wed, 22 Jul 2020 06:44:13 +0000 (08:44 +0200)]
📝 Update release notes
Sebastián Ramírez [Wed, 22 Jul 2020 06:43:26 +0000 (08:43 +0200)]
🔊 Add debugging logs for GitHub actions to introspect GitHub hidden context (#1764)
Sebastián Ramírez [Wed, 22 Jul 2020 06:32:22 +0000 (08:32 +0200)]
📝 Update release notes
Adrien Cacciaguerra [Wed, 22 Jul 2020 06:30:12 +0000 (08:30 +0200)]
💄 Use OS preference theme for docs (#1760)
Sebastián Ramírez [Wed, 22 Jul 2020 06:28:31 +0000 (08:28 +0200)]
📝 Update release notes
James Alford-Golojuch [Wed, 22 Jul 2020 06:25:32 +0000 (01:25 -0500)]
⬆ Updates Starlette to version 0.13.6 (#1759)
Co-authored-by: jalfordgolojuch <jalfordgolojuch@activecampaign.com>
Sebastián Ramírez [Wed, 22 Jul 2020 06:23:36 +0000 (08:23 +0200)]
📝 Update release notes
Sebastián Ramírez [Wed, 22 Jul 2020 06:19:26 +0000 (08:19 +0200)]
📌 Pin Swagger UI temporarily
Sebastián Ramírez [Tue, 21 Jul 2020 21:10:52 +0000 (23:10 +0200)]
📝 Update release notes
Sebastián Ramírez [Tue, 21 Jul 2020 21:08:14 +0000 (23:08 +0200)]
🚀 GitHub Actions update, use commit from PR, not pre-merge (#1761)
* 🔥 Remove deploy badge that won't show correctly until next release
after the fixes to the Gitter bot
* 🐛 Fix GitHub Action to upload docs artifacts with commit from PR, not pre-merge
* ♻️ Run zip docs and artifact upload only on PRs
Sebastián Ramírez [Mon, 20 Jul 2020 16:57:01 +0000 (18:57 +0200)]
📝 Update release notes
Sebastián Ramírez [Mon, 20 Jul 2020 16:56:13 +0000 (18:56 +0200)]
♻ Update GitHub actions (#1746)
* 🐛 Fix Gitter notification, use development gitter room until next release
* 🔥 Remove trigger docs preview step from build-docs workflow
as it requires a more privileged token, so it's now triggered by the preview docs watcher
* 🔊 Dump context when building to allow debugging how to refactor the Gitter bot
Sebastián Ramírez [Mon, 20 Jul 2020 16:26:56 +0000 (18:26 +0200)]
🔖 Release version 0.60.0
Sebastián Ramírez [Mon, 20 Jul 2020 16:22:29 +0000 (18:22 +0200)]
📝 Update release notes (#1745)
* 📝 Update release notes
* 📝 Update release notes
Sebastián Ramírez [Mon, 20 Jul 2020 15:55:02 +0000 (17:55 +0200)]
⚡ Run watch docs previews every hour
Sebastián Ramírez [Mon, 20 Jul 2020 15:48:43 +0000 (17:48 +0200)]
⚡ Fetch artifacts only once in preview docs GitHub action
Sebastián Ramírez [Mon, 20 Jul 2020 15:45:28 +0000 (17:45 +0200)]
🔒 Use personal access token to trigger docs previews
Sebastián Ramírez [Mon, 20 Jul 2020 15:13:27 +0000 (17:13 +0200)]
🔊 Add more logging to Watch Preview when artifact is not found
Sebastián Ramírez [Mon, 20 Jul 2020 14:59:09 +0000 (16:59 +0200)]
🐛 Fix Watch Preview Docs GitHub Action, strike 2
Sebastián Ramírez [Mon, 20 Jul 2020 14:47:48 +0000 (16:47 +0200)]
🐛 Fix Watch Previews action
Sebastián Ramírez [Mon, 20 Jul 2020 14:35:26 +0000 (16:35 +0200)]
🔧 Update Watch Docs Previews GitHub action
Sebastián Ramírez [Mon, 20 Jul 2020 14:33:17 +0000 (16:33 +0200)]
✨ Add GitHub Action to watch for missing preview docs (#1740)
* 📝 Update release notes
* 🔊 Make curl verbose when triggering docs preview
* 🔧 Update GitHub Actions circus to use commit hash
* ✨ Add PR docs preview watcher
Sebastián Ramírez [Sun, 19 Jul 2020 20:27:32 +0000 (22:27 +0200)]
⬆ Upgrade Deploy to Netlify action
Sebastián Ramírez [Sun, 19 Jul 2020 20:22:25 +0000 (22:22 +0200)]
🐛 Fix custom GitHub action
Sebastián Ramírez [Sun, 19 Jul 2020 20:11:28 +0000 (22:11 +0200)]
✨ Add internal GitHub action to deploy docs previews (#1739)
* 📝 Update release notes
* ✨ Add internal GitHub action to pull docs artifact
* 🙈 Add archive.zip to gitignore
Sebastián Ramírez [Sun, 19 Jul 2020 18:49:52 +0000 (20:49 +0200)]
🚀 Preview docs for external PRs (#1738)
* 🍱 Save docs zip when building docs
* 🙈 Add docs.zip artifact to .gitignore
* 🚀 Update deploy artifact name
* ♻️ Upload artifact directory
* ✨ Add WIP trigger docs preview
* ♻️ Update trigger docs preview
* 👷 Update env vars for docs preview
* 👷 Update PR extraction
* 👷 Try to show GitHub event
* 💚 Try to see if GitHub context templates is causing the problem
* 💚 Try to debug context GitHub event
* 🔊 Debug GitHub event context
* 👷 Update debugging action
* 👷 Update debug
* 👷 Update Action
* ♻️ Update script to trigger docs preview
* ⚡️ Try to use Zip again to improve speed
* 🔧 Update zip scripts
* ✨ Add preview docs on event
* 🚀 Trigger deploy preview on PRs
* 🐛 Fix trigger script env vars
Sebastián Ramírez [Sun, 19 Jul 2020 12:25:15 +0000 (14:25 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 19 Jul 2020 12:24:24 +0000 (14:24 +0200)]
✅ Add XML coverage report for GitHub Actions (#1737)
Sebastián Ramírez [Sun, 19 Jul 2020 12:10:51 +0000 (14:10 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 19 Jul 2020 12:09:55 +0000 (14:09 +0200)]
💄 Update badges, remove Travis (#1736)
* 💄 Update badges
* 🔥 Remove Travis
Sebastián Ramírez [Sun, 19 Jul 2020 12:04:45 +0000 (14:04 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 19 Jul 2020 12:03:38 +0000 (14:03 +0200)]
👷 Add GitHub Actions, move from Travis (#1735)
Sebastián Ramírez [Sun, 19 Jul 2020 10:19:39 +0000 (12:19 +0200)]
📝 Update release notes
JAYATI SHRIVASTAVA [Sun, 19 Jul 2020 10:17:50 +0000 (15:47 +0530)]
✨ Add support for adding OpenAPI schema for GET requests with a body (#1626)
* add test for get request body's openapi schema
* 📝 Update docs note for GET requests with body
* ✅ Update test for GET request with body, test it receives the body
* 🔇 Temporary type ignore while it's handled in Pydantic
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 10 Jul 2020 18:41:35 +0000 (20:41 +0200)]
🔖 Release version 0.59.0
Sebastián Ramírez [Fri, 10 Jul 2020 18:32:16 +0000 (20:32 +0200)]
📝 Update release notes
tomarv2 [Fri, 10 Jul 2020 18:31:15 +0000 (11:31 -0700)]
✏ Fix docstring typo for oauth2 utils (#1621)
Sebastián Ramírez [Fri, 10 Jul 2020 18:26:29 +0000 (20:26 +0200)]
📝 Update release notes
Brian Mboya [Fri, 10 Jul 2020 18:24:38 +0000 (21:24 +0300)]
📝 Update JWT docs to use python-jose (#1610)
* 📝 Update JWT docs with python-jose
* 📝 Update format and use python-jose in docs
* ➕ Add Python-jose to dependencies
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 10 Jul 2020 17:46:36 +0000 (19:46 +0200)]
📝 Update release notes
Sebastián Ramírez [Fri, 10 Jul 2020 17:45:47 +0000 (19:45 +0200)]
🐛 Re-enable search bar after adding markdown-data plugin (#1703)
Sebastián Ramírez [Fri, 10 Jul 2020 17:34:22 +0000 (19:34 +0200)]
📝 Update release notes
Rupsi Kaushik [Fri, 10 Jul 2020 17:28:18 +0000 (13:28 -0400)]
✨ Auto-generate OpenAPI servers from root_path (#1596)
* root_path included in servers object instead of path prefix
* ♻️ Refactor implementation of auto-including root_path in OpenAPI servers
* 📝 Update docs and examples for Behind a Proxy, including servers
* 📝 Update Extending OpenAPI as openapi_prefix is no longer needed
* ✅ Add extra tests for root_path in servers and root_path_in_servers=False
* 🍱 Update security docs images with relative token URL
* 📝 Update security docs with relative token URL
* 📝 Update example sources with relative token URLs
* ✅ Update tests with relative tokens
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Fri, 10 Jul 2020 12:48:42 +0000 (14:48 +0200)]
📝 Update release notes
Sebastián Ramírez [Fri, 10 Jul 2020 12:47:56 +0000 (14:47 +0200)]
✏️ Fix external links typo/link (#1702)
Sebastián Ramírez [Fri, 10 Jul 2020 12:35:28 +0000 (14:35 +0200)]
📝 Update release notes
Sebastián Ramírez [Fri, 10 Jul 2020 12:31:44 +0000 (14:31 +0200)]
✨ External links in docs with data file (#1701)
* ➕ Add mkdocs-markdownextradata-plugin for docs
* 🔧 Update MkDocs config file(s) to include external data
* ✨ Add external links data file
* 📝 Use external data file in External Links
* ♻️ Update data files for langs
The cost is some duplication 😔, these files are updated by the script, but to be able to serve locally they have to be duplicated
* ✨ Update docs script to copy data files
* 🔥 Remove needed duplication of data files for live docs in translations
Sebastián Ramírez [Fri, 10 Jul 2020 10:24:03 +0000 (12:24 +0200)]
📝 Update release notes
Davide Fiocco [Fri, 10 Jul 2020 10:21:46 +0000 (12:21 +0200)]
📝 Fix link to edit External Links, add additional link (#1669)
Added a link to the correct link to editing the en docs, plus an additional example (of mine!) which got some buzz on social media:
https://twitter.com/monodavide/status/
1276913357388382212
https://madewithml.com/projects/1649/model-serving-using-fastapi-and-streamlit/
Sebastián Ramírez [Fri, 10 Jul 2020 09:18:18 +0000 (11:18 +0200)]
📝 Update release notes
Katherine Bancroft [Fri, 10 Jul 2020 09:16:46 +0000 (02:16 -0700)]
📝 Add note in docs on order in Pydantic Unions (#1591)
* Add note on order in Unions
* Add an example of Union order
Co-authored-by: kbanc <katherine.bancoft@gmail.com>
Sebastián Ramírez [Fri, 10 Jul 2020 09:09:43 +0000 (11:09 +0200)]
📝 Update release notes
Sebastián Ramírez [Fri, 10 Jul 2020 09:08:19 +0000 (11:08 +0200)]
✔ Improve support for tests in editor (#1699)
* ♻️ Remove required extra steps to test in editor
* 🎨 Format lint script
* 📝 Remove obsolete extra steps required to test in editor from docs
* 🐛 Fix coverage
Sebastián Ramírez [Thu, 9 Jul 2020 22:16:35 +0000 (00:16 +0200)]
📝 Update release notes
Sebastián Ramírez [Thu, 9 Jul 2020 22:15:39 +0000 (00:15 +0200)]
📌 Pin dependencies (#1697)
* 📌 Pin dependencies
* 🐛 Fix config in pyproject.toml
Sebastián Ramírez [Thu, 9 Jul 2020 18:09:38 +0000 (20:09 +0200)]
📝 Update release notes
Brian Mboya [Thu, 9 Jul 2020 18:06:12 +0000 (21:06 +0300)]
⬆ Upgrade isort to version 5.x.x (#1670)
* Update isort script to match changes in the new release, isort v5.0.2
* Downgrade isort to version v4.3.21
* Add an alternative flag to --recursive in isort v5.0.2
* Add isort config file
* 🚚 Import from docs_src for tests
* 🎨 Format dependencies.utils
* 🎨 Remove isort combine_as_imports, keep black profile
* 🔧 Update isort config, use pyproject.toml, Black profile
* 🔧 Update format scripts to use explicit directories to format
otherwise it would try to format venv env directories, I have several with different Python versions
* 🎨 Format NoSQL tutorial after re-sorting imports
* 🎨 Fix format for __init__.py
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sun, 28 Jun 2020 21:48:30 +0000 (23:48 +0200)]
🔖 Release version 0.58.1
Sebastián Ramírez [Sun, 28 Jun 2020 21:43:30 +0000 (23:43 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 28 Jun 2020 21:42:32 +0000 (23:42 +0200)]
🎨 Add format, finishing period
Eyitayo Ogunbiyi [Sun, 28 Jun 2020 21:40:45 +0000 (22:40 +0100)]
📝 Add link to all valid pydantic data types (#1612)
Sebastián Ramírez [Sun, 28 Jun 2020 21:38:49 +0000 (23:38 +0200)]
📝 Update release notes
Dmytro Petruk [Sun, 28 Jun 2020 21:37:42 +0000 (22:37 +0100)]
🐛 Fix link in warning logs (#1611)
Co-authored-by: Dmytro Petruk <petruk@ebu.ch>
Sebastián Ramírez [Sun, 28 Jun 2020 21:35:21 +0000 (23:35 +0200)]
📝 Update release notes
molto [Sun, 28 Jun 2020 21:34:28 +0000 (05:34 +0800)]
📝 Fix bad link in docs (#1603)
Co-authored-by: lookyun <lookyun0504@outlook.com>
Sebastián Ramírez [Sun, 28 Jun 2020 21:30:22 +0000 (23:30 +0200)]
📝 Update release notes
Brian Mboya [Sun, 28 Jun 2020 21:28:35 +0000 (00:28 +0300)]
🙈 Add vim temporary files to gitignore (#1590)
Co-authored-by: asheux <brianashiundu000@gmail.com>
Sebastián Ramírez [Sun, 28 Jun 2020 21:27:40 +0000 (23:27 +0200)]
📝 Update release notes
Andreas Schlapbach [Sun, 28 Jun 2020 21:26:35 +0000 (23:26 +0200)]
✏ Fix typo in sub-applications (#1578)
Sebastián Ramírez [Sun, 28 Jun 2020 18:21:38 +0000 (20:21 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 28 Jun 2020 18:13:30 +0000 (20:13 +0200)]
📝 Use Optional in docs (#1644)
* Updated .py files with Optional tag (up to body_nested_models)
* Update optionals
* docs_src/ all updates, few I was unsure of
* Updated markdown files with Optional param
* es: Add Optional typing to index.md
* Last of markdown files updated with Optional param
* Update highlight lines
* it: Add Optional typings
* README.md: Update with Optional typings
* Update more highlight increments
* Update highlights
* schema-extra-example.md: Update highlights
* updating highlighting on website to reflect .py changes
* Update highlighting for query-params & response-directly
* Address PR comments
* Get rid of unnecessary comment
* ⏪ Revert Optional in Chinese docs as it probably also requires changes in text
* 🎨 Apply format
* ⏪ Revert modified example
* ♻️ Simplify example in docs
* 📝 Update OpenAPI callback example to use Optional
* ✨ Add Optional types to tests
* 📝 Update docs about query params, default to using Optional
* 🎨 Update code examples line highlighting
* 📝 Update nested models docs to use "type parameters" instead of "subtypes"
* 📝 Add notes about FastAPI usage of None
including:
= None
and
= Query(None)
and clarify relationship with Optional[str]
* 📝 Add note about response_model_by_alias
* ♻️ Simplify query param list example
* 🔥 Remove test for removed example
* ✅ Update test for updated example
Co-authored-by: Christopher Nguyen <chrisngyn99@gmail.com>
Co-authored-by: yk396 <yk396@cornell.edu>
Co-authored-by: Kai Chen <kaichen120@gmail.com>
Sebastián Ramírez [Sun, 28 Jun 2020 11:59:20 +0000 (13:59 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 28 Jun 2020 11:58:21 +0000 (13:58 +0200)]
✅ Update response_model_by_alias (#1642)
* Make openapi models honor response_model_by_alias
* Add test for response_model_by_alias working with openapi models
* ⏪ Revert changes
* ✅ Update and extend tests for response_model_by_alias
* ⏪ Revert test name change
* 📌 Pin Pytest and Pytest-Cov
Co-authored-by: Martin Zaťko <martin.zatko@kiwi.com>
Sebastián Ramírez [Sat, 27 Jun 2020 18:32:22 +0000 (20:32 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 27 Jun 2020 18:25:38 +0000 (20:25 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 27 Jun 2020 18:23:20 +0000 (20:23 +0200)]
📝 Update release notes
Xie Wei [Sat, 27 Jun 2020 18:29:41 +0000 (02:29 +0800)]
🌐 Add chinese translation for body-fields.md (#1569)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Xie Wei [Sat, 27 Jun 2020 18:24:10 +0000 (02:24 +0800)]
🌐 Update Chinese translation for index.md (#1564)
* keep up-to-date with main version
* fix 2 ignored quotes
Xie Wei [Sat, 27 Jun 2020 18:18:10 +0000 (02:18 +0800)]
🌐 Add Chinese translation for body-multiple-params.md (#1532)
* add chinese translation for body-multiple-params.md
* improve translations
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sat, 27 Jun 2020 18:13:07 +0000 (20:13 +0200)]
📝 Update release notes
Xie Wei [Sat, 27 Jun 2020 18:10:32 +0000 (02:10 +0800)]
✨ Add Chinese translation for path-params-numeric-validations.md (#1506)
* add chinese translation for path-params-numeric-validations.md
* improve translations
Sebastián Ramírez [Sat, 27 Jun 2020 18:00:03 +0000 (20:00 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 27 Jun 2020 17:59:10 +0000 (19:59 +0200)]
✨ Add GitHub action to label approved PRs (#1638)
Sebastián Ramírez [Mon, 15 Jun 2020 11:18:36 +0000 (13:18 +0200)]
🔖 Release version 0.58.0
Sebastián Ramírez [Mon, 15 Jun 2020 11:13:53 +0000 (13:13 +0200)]
📝 Update release notes
Sebastián Ramírez [Mon, 15 Jun 2020 11:12:12 +0000 (13:12 +0200)]
✨ Deep merge OpenAPI responses (#1577)
* override successful response
* ✨ Add deep_dict_udpate
* ✨ Merge additional responses with generated responses
* 🍱 Update docs screenshot
Co-authored-by: rkbeatss <rkaus053@uottawa.ca>
Sebastián Ramírez [Mon, 15 Jun 2020 10:42:48 +0000 (12:42 +0200)]
📝 Update release notes
Andrew [Sun, 14 Jun 2020 16:25:10 +0000 (12:25 -0400)]
📝 Mention in docs that subapps don't fire events (#1554)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sun, 14 Jun 2020 16:12:51 +0000 (18:12 +0200)]
📝 Update release notes
Andrew [Sun, 14 Jun 2020 16:07:39 +0000 (12:07 -0400)]
🐛 Fix body validation error response, remove variable name when it is not embedded (#1553)
Sebastián Ramírez [Sun, 14 Jun 2020 15:56:12 +0000 (17:56 +0200)]
📝 Update release notes
Sebastián Ramírez [Sun, 14 Jun 2020 13:48:20 +0000 (15:48 +0200)]
📝 Update release notes
Andrew [Sun, 14 Jun 2020 15:54:46 +0000 (11:54 -0400)]
🐛 Fix testing security scopes when using dependency overrides (#1549)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Vinny Do [Sun, 14 Jun 2020 13:46:49 +0000 (23:46 +1000)]
🐛 Fix JSON Schema "not" keyword (#1548)