]>
git.ipfire.org Git - thirdparty/fastapi/fastapi.git/log
Yağızcan Değirmenci [Sat, 8 Aug 2020 18:19:14 +0000 (21:19 +0300)]
✏ Fix documentation typo in Query Parameters and String Validations (#1832)
Sebastián Ramírez [Sat, 8 Aug 2020 18:07:03 +0000 (20:07 +0200)]
📝 Update release notes
Felix Böhm [Sat, 8 Aug 2020 18:01:18 +0000 (20:01 +0200)]
📝 Add documentation about async tests (pytest-asyncio and httpx) (#1619)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Sat, 8 Aug 2020 07:20:37 +0000 (09:20 +0200)]
📝 Update release notes
Sebastián Ramírez [Sat, 8 Aug 2020 07:14:10 +0000 (09:14 +0200)]
✨ Raise early when using form data without installing python-multipart (#1851)
* Check if Form exists and multipart is in virtual environment
* Remove unused import
* Move BodyFieldInfo check to separate helper function
* Fix type UploadFile to File for BodyFieldInfo check
* Working solution. Kind of nasty though.
* Use better method of determing if correct package imported
* Use better method of determing if correct package imported
* Add raising exceptions, update error messages
* Check if Form exists and multipart is in virtual environment
* Move BodyFieldInfo check to separate helper function
* Fix type UploadFile to File for BodyFieldInfo check
* Use better method of determing if correct package imported
* Add raising exceptions, update error messages
* Removed unused import, added comments
Co-authored-by: Christopher Nguyen <chrisngyn99@gmail.com>
* Updated what kind of exception will be thrown
* Add type annotations
Adds annotations to is_form_data
* Fix import order
* Add basic tests
* Fixed Travis tests
* Replace logging with fastapi logger
* Change AttributeError to ImportError to fix exception handling
* Fixing tests
* Catch ModuleNotFoundError first
Fix code coverage
* Update fastapi/dependencies/utils.py
Remove error spaces when printing
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
* Update fastapi/dependencies/utils.py
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
* Removed spaces in error printing
* ♻️ Refactor form data detection
* ✅ Update/increase tests for incorrect multipart install
* 🔥 Remove deprecated Travis (moved to GitHub Actions)
Co-authored-by: yk396 <yk396@cornell.edu>
Co-authored-by: Christopher Nguyen <chrisngyn99@gmail.com>
Co-authored-by: Kai Chen <kaichen120@gmail.com>
Co-authored-by: Chris N <hello@chris-nguyen.me>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 17:28:49 +0000 (19:28 +0200)]
📝 Update release notes
Sebastián Ramírez [Mon, 3 Aug 2020 17:28:02 +0000 (19:28 +0200)]
👷 Re-enable Gitter releases bot (#1831)
Sebastián Ramírez [Mon, 3 Aug 2020 16:38:27 +0000 (18:38 +0200)]
📝 Update release notes
s2s [Mon, 3 Aug 2020 16:37:02 +0000 (12:37 -0400)]
📝 Add link in sql-databases.md tutorial to async-sql-databases.md in advanced section. (#1813)
* Add link in sql-databases.md tutorial section to async-sql-databases.md in advanced section.
* 🎨 Update note format
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 16:27:03 +0000 (18:27 +0200)]
📝 Update release notes
Eduard Iskandarov [Mon, 3 Aug 2020 16:25:01 +0000 (21:25 +0500)]
✏ Fix documentation typo in behind a proxy tutorial (#1807)
Sebastián Ramírez [Mon, 3 Aug 2020 16:14:15 +0000 (18:14 +0200)]
📝 Update release notes
Izabela Guerreiro [Mon, 3 Aug 2020 16:12:30 +0000 (13:12 -0300)]
✏ Fix typo in portuguese docs (#1795)
Sebastián Ramírez [Mon, 3 Aug 2020 16:05:05 +0000 (18:05 +0200)]
📝 Update release notes
Sebastián Ramírez [Mon, 3 Aug 2020 16:04:05 +0000 (18:04 +0200)]
🌐 Add Ukrainian language setup, without index translation (#1830)
Sebastián Ramírez [Mon, 3 Aug 2020 15:41:50 +0000 (17:41 +0200)]
📝 Update release notes
Marcelo Trylesinski [Mon, 3 Aug 2020 15:39:48 +0000 (17:39 +0200)]
:pencil: Update external links (#1786)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 15:26:12 +0000 (17:26 +0200)]
📝 Update release notes
Henry Betts [Mon, 3 Aug 2020 15:24:29 +0000 (16:24 +0100)]
🐛 Fix encoding a Pydantic model that inherits from another with json_encoders (#1769)
Sebastián Ramírez [Mon, 3 Aug 2020 13:32:03 +0000 (15:32 +0200)]
📝 Update release notes
Nima Mashhadi M. Reza [Mon, 3 Aug 2020 13:30:23 +0000 (18:00 +0430)]
⚡ Simplify and improve jsonable_encoder (#1754)
Co-authored-by: nimashadix <nimashadix@pop-os.localdomain>
Sebastián Ramírez [Mon, 3 Aug 2020 13:19:33 +0000 (15:19 +0200)]
📝 Update relase notes
Yurii Karabas [Mon, 3 Aug 2020 13:16:51 +0000 (16:16 +0300)]
♻ Simplify code syntax in several places (#1753)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 12:30:25 +0000 (14:30 +0200)]
📝 Update release notes
Nima Mashhadi M. Reza [Mon, 3 Aug 2020 12:29:07 +0000 (16:59 +0430)]
🎨 Add typing.Optional to variables that accept None as value (#1731)
Co-authored-by: nimashadix <nimashadix@pop-os.localdomain>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 11:50:22 +0000 (13:50 +0200)]
📝 Update release notes
नवुले पवन कुमार राव [Mon, 3 Aug 2020 11:48:30 +0000 (17:18 +0530)]
📝 Add article: Deploy FastAPI on Azure App Service (#1726)
Sebastián Ramírez [Mon, 3 Aug 2020 08:46:33 +0000 (10:46 +0200)]
📝 Update release notes
Smart [Mon, 3 Aug 2020 08:45:22 +0000 (05:45 -0300)]
📝 Add external link to starlette docs for WebSocket testing (#1717)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 08:34:05 +0000 (10:34 +0200)]
📝 Update release notes
Bloodielie [Mon, 3 Aug 2020 08:32:06 +0000 (11:32 +0300)]
♻ Refactor and merge for loops in dependant creation (#1714)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 07:55:21 +0000 (09:55 +0200)]
📝 Update release notes
Francesco Frassinelli [Mon, 3 Aug 2020 07:53:56 +0000 (09:53 +0200)]
📝 Add HTML media type to template docs (#1690)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 07:28:03 +0000 (09:28 +0200)]
📝 Update release notes
Nils Lindemann [Mon, 3 Aug 2020 07:27:02 +0000 (09:27 +0200)]
✏ Fix typos and rewording in docs for security (#1678)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 07:13:17 +0000 (09:13 +0200)]
📝 Update release notes
Nils Lindemann [Mon, 3 Aug 2020 07:12:07 +0000 (09:12 +0200)]
✏ Fix typos in docs for dependencies (#1675)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 3 Aug 2020 06:46:50 +0000 (08:46 +0200)]
📝 Update release notes
Bar Harel [Mon, 3 Aug 2020 06:43:04 +0000 (09:43 +0300)]
🐛 Fix app.extra type annotation (#1659)
Co-authored-by: bar.harel <bar.harel@biocatch.com>
Sebastián Ramírez [Mon, 3 Aug 2020 06:34:35 +0000 (08:34 +0200)]
📝 Update release notes
Adrien Cacciaguerra [Mon, 3 Aug 2020 06:33:43 +0000 (08:33 +0200)]
⬆️ Bump mkdocs-material (#1789)
Sebastián Ramírez [Mon, 3 Aug 2020 06:11:00 +0000 (08:11 +0200)]
📝 Update release notes
Sebastián Ramírez [Mon, 3 Aug 2020 06:09:58 +0000 (08:09 +0200)]
👷 Update docs previews, remove commit comments (#1826)
as previews use the latest commit from master
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