toyai / python-playground

Interactive Playground for Python
https://python-playground.netlify.app
MIT License
12 stars 1 forks source link

chore(deps): update dependency fastapi to v0.68.1 #72

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fastapi ==0.65.2 -> ==0.68.1 age adoption passing confidence

Release Notes

tiangolo/fastapi ### [`v0.68.1`](https://togithub.com/tiangolo/fastapi/releases/0.68.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.68.0...0.68.1) - ✨ Add support for `read_with_orm_mode`, to support [SQLModel](https://sqlmodel.tiangolo.com/) relationship attributes. PR [#​3757](https://togithub.com/tiangolo/fastapi/pull/3757) by [@​tiangolo](https://togithub.com/tiangolo). ##### Translations - 🌐 Add Portuguese translation of `docs/fastapi-people.md`. PR [#​3461](https://togithub.com/tiangolo/fastapi/pull/3461) by [@​ComicShrimp](https://togithub.com/ComicShrimp). - 🌐 Add Chinese translation for `docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#​3492](https://togithub.com/tiangolo/fastapi/pull/3492) by [@​jaystone776](https://togithub.com/jaystone776). - 🔧 Add new Translation tracking issues for German and Indonesian. PR [#​3718](https://togithub.com/tiangolo/fastapi/pull/3718) by [@​tiangolo](https://togithub.com/tiangolo). - 🌐 Add Chinese translation for `docs/tutorial/dependencies/sub-dependencies.md`. PR [#​3491](https://togithub.com/tiangolo/fastapi/pull/3491) by [@​jaystone776](https://togithub.com/jaystone776). - 🌐 Add Portuguese translation for `docs/advanced/index.md`. PR [#​3460](https://togithub.com/tiangolo/fastapi/pull/3460) by [@​ComicShrimp](https://togithub.com/ComicShrimp). - 🌐 Portuguese translation of `docs/async.md`. PR [#​1330](https://togithub.com/tiangolo/fastapi/pull/1330) by [@​Serrones](https://togithub.com/Serrones). - 🌐 Add French translation for `docs/async.md`. PR [#​3416](https://togithub.com/tiangolo/fastapi/pull/3416) by [@​Smlep](https://togithub.com/Smlep). ##### Internal - ✨ Add GitHub Action: Notify Translations. PR [#​3715](https://togithub.com/tiangolo/fastapi/pull/3715) by [@​tiangolo](https://togithub.com/tiangolo). - ✨ Update computation of FastAPI People and sponsors. PR [#​3714](https://togithub.com/tiangolo/fastapi/pull/3714) by [@​tiangolo](https://togithub.com/tiangolo). - ✨ Enable recent Material for MkDocs Insiders features. PR [#​3710](https://togithub.com/tiangolo/fastapi/pull/3710) by [@​tiangolo](https://togithub.com/tiangolo). - 🔥 Remove/clean extra imports from examples in docs for features. PR [#​3709](https://togithub.com/tiangolo/fastapi/pull/3709) by [@​tiangolo](https://togithub.com/tiangolo). - ➕ Update docs library to include sources in Markdown. PR [#​3648](https://togithub.com/tiangolo/fastapi/pull/3648) by [@​tiangolo](https://togithub.com/tiangolo). - ⬆ Enable tests for Python 3.9. PR [#​2298](https://togithub.com/tiangolo/fastapi/pull/2298) by [@​Kludex](https://togithub.com/Kludex). - 👥 Update FastAPI People. PR [#​3642](https://togithub.com/tiangolo/fastapi/pull/3642) by [@​github-actions\[bot\]](https://togithub.com/apps/github-actions). ### [`v0.68.0`](https://togithub.com/tiangolo/fastapi/releases/0.68.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.67.0...0.68.0) ##### Features - ✨ Add support for extensions and updates to the OpenAPI schema in each *path operation*. New docs: [FastAPI Path Operation Advanced Configuration - OpenAPI Extra](https://fastapi.tiangolo.com/advanced/path-operation-advanced-configuration/#openapi-extra). Initial PR [#​1922](https://togithub.com/tiangolo/fastapi/pull/1922) by [@​edouardlp](https://togithub.com/edouardlp). - ✨ Add additonal OpenAPI metadata parameters to `FastAPI` class, shown on the automatic API docs UI. New docs: [Metadata and Docs URLs](https://fastapi.tiangolo.com/tutorial/metadata/). Initial PR [#​1812](https://togithub.com/tiangolo/fastapi/pull/1812) by [@​dkreeft](https://togithub.com/dkreeft). - ✨ Add `description` parameter to all the security scheme classes, e.g. `APIKeyQuery(name="key", description="A very cool API key")`. PR [#​1757](https://togithub.com/tiangolo/fastapi/pull/1757) by [@​hylkepostma](https://togithub.com/hylkepostma). - ✨ Update OpenAPI models, supporting recursive models and extensions. PR [#​3628](https://togithub.com/tiangolo/fastapi/pull/3628) by [@​tiangolo](https://togithub.com/tiangolo). - ✨ Import and re-export data structures from Starlette, used by Request properties, on `fastapi.datastructures`. Initial PR [#​1872](https://togithub.com/tiangolo/fastapi/pull/1872) by [@​jamescurtin](https://togithub.com/jamescurtin). ##### Docs - 📝 Update docs about async and response-model with more gender neutral language. PR [#​1869](https://togithub.com/tiangolo/fastapi/pull/1869) by [@​Edward-Knight](https://togithub.com/Edward-Knight). ##### Translations - 🌐 Add Russian translation for `docs/python-types.md`. PR [#​3039](https://togithub.com/tiangolo/fastapi/pull/3039) by [@​dukkee](https://togithub.com/dukkee). - 🌐 Add Chinese translation for `docs/tutorial/dependencies/index.md`. PR [#​3489](https://togithub.com/tiangolo/fastapi/pull/3489) by [@​jaystone776](https://togithub.com/jaystone776). - 🌐 Add Russian translation for `docs/external-links.md`. PR [#​3036](https://togithub.com/tiangolo/fastapi/pull/3036) by [@​dukkee](https://togithub.com/dukkee). - 🌐 Add Chinese translation for `docs/tutorial/dependencies/global-dependencies.md`. PR [#​3493](https://togithub.com/tiangolo/fastapi/pull/3493) by [@​jaystone776](https://togithub.com/jaystone776). - 🌐 Add Portuguese translation for `docs/deployment/versions.md`. PR [#​3618](https://togithub.com/tiangolo/fastapi/pull/3618) by [@​lsglucas](https://togithub.com/lsglucas). - 🌐 Add Japanese translation for `docs/tutorial/security/oauth2-jwt.md`. PR [#​3526](https://togithub.com/tiangolo/fastapi/pull/3526) by [@​sattosan](https://togithub.com/sattosan). ##### Internal - ✅ Add the `docs_src` directory to test coverage and update tests. Initial PR [#​1904](https://togithub.com/tiangolo/fastapi/pull/1904) by [@​Kludex](https://togithub.com/Kludex). - 🔧 Add new GitHub templates with forms for new issues. PR [#​3612](https://togithub.com/tiangolo/fastapi/pull/3612) by [@​tiangolo](https://togithub.com/tiangolo). - 📝 Add official FastAPI Twitter to docs: [@​fastapi](https://twitter.com/fastapi). PR [#​3578](https://togithub.com/tiangolo/fastapi/pull/3578) by [@​tiangolo](https://togithub.com/tiangolo). ### [`v0.67.0`](https://togithub.com/tiangolo/fastapi/releases/0.67.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.66.1...0.67.0) ##### Features - ✨ Add support for `dataclasses` in request bodies and `response_model`. New documentation: [Advanced User Guide - Using Dataclasses](https://fastapi.tiangolo.com/advanced/dataclasses/). PR [#​3577](https://togithub.com/tiangolo/fastapi/pull/3577) by [@​tiangolo](https://togithub.com/tiangolo). - ✨ Support `dataclasses` in responses. PR [#​3576](https://togithub.com/tiangolo/fastapi/pull/3576) by [@​tiangolo](https://togithub.com/tiangolo), continuation from initial PR [#​2722](https://togithub.com/tiangolo/fastapi/pull/2722) by [@​amitlissack](https://togithub.com/amitlissack). ##### Docs - 📝 Add external link: How to Create A Fake Certificate Authority And Generate TLS Certs for FastAPI. PR [#​2839](https://togithub.com/tiangolo/fastapi/pull/2839) by [@​aitoehigie](https://togithub.com/aitoehigie). - ✏ Fix code highlighted line in: `body-nested-models.md`. PR [#​3463](https://togithub.com/tiangolo/fastapi/pull/3463) by [@​jaystone776](https://togithub.com/jaystone776). - ✏ Fix typo in `body-nested-models.md`. PR [#​3462](https://togithub.com/tiangolo/fastapi/pull/3462) by [@​jaystone776](https://togithub.com/jaystone776). - ✏ Fix typo "might me" -> "might be" in `docs/en/docs/tutorial/schema-extra-example.md`. PR [#​3362](https://togithub.com/tiangolo/fastapi/pull/3362) by [@​dbrakman](https://togithub.com/dbrakman). - 📝 Add external link: Building simple E-Commerce with NuxtJS and FastAPI. PR [#​3271](https://togithub.com/tiangolo/fastapi/pull/3271) by [@​ShahriyarR](https://togithub.com/ShahriyarR). - 📝 Add external link: Serve a machine learning model using Sklearn, FastAPI and Docker. PR [#​2974](https://togithub.com/tiangolo/fastapi/pull/2974) by [@​rodrigo-arenas](https://togithub.com/rodrigo-arenas). - ✏️ Fix typo on docstring in datastructures file. PR [#​2887](https://togithub.com/tiangolo/fastapi/pull/2887) by [@​Kludex](https://togithub.com/Kludex). - 📝 Add External Link: Deploy FastAPI on Ubuntu and Serve using Caddy 2 Web Server. PR [#​3572](https://togithub.com/tiangolo/fastapi/pull/3572) by [@​tiangolo](https://togithub.com/tiangolo). - 📝 Add External Link, replaces [#​1898](https://togithub.com/tiangolo/fastapi/issues/1898). PR [#​3571](https://togithub.com/tiangolo/fastapi/pull/3571) by [@​tiangolo](https://togithub.com/tiangolo). ##### Internal - 🎨 Improve style for sponsors, add radius border. PR [#​2388](https://togithub.com/tiangolo/fastapi/pull/2388) by [@​Kludex](https://togithub.com/Kludex). - 👷 Update GitHub Action latest-changes. PR [#​3574](https://togithub.com/tiangolo/fastapi/pull/3574) by [@​tiangolo](https://togithub.com/tiangolo). - 👷 Update GitHub Action latest-changes. PR [#​3573](https://togithub.com/tiangolo/fastapi/pull/3573) by [@​tiangolo](https://togithub.com/tiangolo). - 👷 Rename and clarify CI workflow job names. PR [#​3570](https://togithub.com/tiangolo/fastapi/pull/3570) by [@​tiangolo](https://togithub.com/tiangolo). - 👷 Update GitHub Action latest-changes, strike 2 ⚾. PR [#​3575](https://togithub.com/tiangolo/fastapi/pull/3575) by [@​tiangolo](https://togithub.com/tiangolo). - 🔧 Sort external links in docs to have the most recent at the top. PR [#​3568](https://togithub.com/tiangolo/fastapi/pull/3568) by [@​tiangolo](https://togithub.com/tiangolo). ### [`v0.66.1`](https://togithub.com/tiangolo/fastapi/releases/0.66.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.66.0...0.66.1) ##### Translations - 🌐 Add basic setup for German translations. PR [#​3522](https://togithub.com/tiangolo/fastapi/pull/3522) by [@​0x4Dark](https://togithub.com/0x4Dark). - 🌐 Add Portuguese translation for `docs/tutorial/security/index.md`. PR [#​3507](https://togithub.com/tiangolo/fastapi/pull/3507) by [@​oandersonmagalhaes](https://togithub.com/oandersonmagalhaes). - 🌐 Add Portuguese translation for `docs/deployment/index.md`. PR [#​3337](https://togithub.com/tiangolo/fastapi/pull/3337) by [@​lsglucas](https://togithub.com/lsglucas). ##### Internal - 🔧 Configure strict pytest options and update/refactor tests. Upgrade pytest to `>=6.2.4,<7.0.0` and pytest-cov to `>=2.12.0,<3.0.0`. Initial PR [#​2790](https://togithub.com/tiangolo/fastapi/pull/2790) by [@​graingert](https://togithub.com/graingert). - ⬆️ Upgrade python-jose dependency to `>=3.3.0,<4.0.0` for tests. PR [#​3468](https://togithub.com/tiangolo/fastapi/pull/3468) by [@​tiangolo](https://togithub.com/tiangolo). ### [`v0.66.0`](https://togithub.com/tiangolo/fastapi/releases/0.66.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.65.3...0.66.0) ##### Features - ✨ Allow setting the `response_class` to `RedirectResponse` or `FileResponse` and returning the URL from the function. New and updated docs are in the tutorial section **Custom Response - HTML, Stream, File, others**, in [RedirectResponse](https://fastapi.tiangolo.com/advanced/custom-response/#redirectresponse) and in [FileResponse](https://fastapi.tiangolo.com/advanced/custom-response/#fileresponse). PR [#​3457](https://togithub.com/tiangolo/fastapi/pull/3457) by [@​tiangolo](https://togithub.com/tiangolo). ##### Fixes - 🐛 Fix include/exclude for dicts in `jsonable_encoder`. PR [#​2016](https://togithub.com/tiangolo/fastapi/pull/2016) by [@​Rubikoid](https://togithub.com/Rubikoid). - 🐛 Support custom OpenAPI / JSON Schema fields in the generated output OpenAPI. PR [#​1429](https://togithub.com/tiangolo/fastapi/pull/1429) by [@​jmagnusson](https://togithub.com/jmagnusson). ##### Translations - 🌐 Add Spanish translation for `tutorial/query-params.md`. PR [#​2243](https://togithub.com/tiangolo/fastapi/pull/2243) by [@​mariacamilagl](https://togithub.com/mariacamilagl). - 🌐 Add Spanish translation for `advanced/response-directly.md`. PR [#​1253](https://togithub.com/tiangolo/fastapi/pull/1253) by [@​jfunez](https://togithub.com/jfunez). - 🌐 Add Spanish translation for `advanced/additional-status-codes.md`. PR [#​1252](https://togithub.com/tiangolo/fastapi/pull/1252) by [@​jfunez](https://togithub.com/jfunez). - 🌐 Add Spanish translation for `advanced/path-operation-advanced-configuration.md`. PR [#​1251](https://togithub.com/tiangolo/fastapi/pull/1251) by [@​jfunez](https://togithub.com/jfunez). ### [`v0.65.3`](https://togithub.com/tiangolo/fastapi/releases/0.65.3) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.65.2...0.65.3) ##### Fixes - ♻ Assume request bodies contain JSON when no Content-Type header is provided. This fixes a breaking change introduced by [0.65.2 with PR #​2118](https://togithub.com/tiangolo/fastapi/pull/2118). It should allow upgrading FastAPI applications with clients that send JSON data without a `Content-Type` header. And there's still protection against CSRFs. PR [#​3456](https://togithub.com/tiangolo/fastapi/pull/3456) by [@​tiangolo](https://togithub.com/tiangolo). ##### Translations - 🌐 Initialize Indonesian translations. PR [#​3014](https://togithub.com/tiangolo/fastapi/pull/3014) by [@​pace-noge](https://togithub.com/pace-noge). - 🌐 Add Spanish translation of Tutorial - Path Parameters. PR [#​2219](https://togithub.com/tiangolo/fastapi/pull/2219) by [@​mariacamilagl](https://togithub.com/mariacamilagl). - 🌐 Add Spanish translation of Tutorial - First Steps. PR [#​2208](https://togithub.com/tiangolo/fastapi/pull/2208) by [@​mariacamilagl](https://togithub.com/mariacamilagl). - 🌐 Portuguese translation of Tutorial - Body - Fields. PR [#​3420](https://togithub.com/tiangolo/fastapi/pull/3420) by [@​ComicShrimp](https://togithub.com/ComicShrimp). - 🌐 Add Chinese translation for Tutorial - Request - Forms - and - Files. PR [#​3249](https://togithub.com/tiangolo/fastapi/pull/3249) by [@​jaystone776](https://togithub.com/jaystone776). - 🌐 Add Chinese translation for Tutorial - Handling - Errors. PR [#​3299](https://togithub.com/tiangolo/fastapi/pull/3299) by [@​jaystone776](https://togithub.com/jaystone776). - 🌐 Add Chinese translation for Tutorial - Form - Data. PR [#​3248](https://togithub.com/tiangolo/fastapi/pull/3248) by [@​jaystone776](https://togithub.com/jaystone776). - 🌐 Add Chinese translation for Tutorial - Body - Updates. PR [#​3237](https://togithub.com/tiangolo/fastapi/pull/3237) by [@​jaystone776](https://togithub.com/jaystone776). - 🌐 Add Chinese translation for FastAPI People. PR [#​3112](https://togithub.com/tiangolo/fastapi/pull/3112) by [@​hareru](https://togithub.com/hareru). - 🌐 Add French translation for Project Generation. PR [#​3197](https://togithub.com/tiangolo/fastapi/pull/3197) by [@​Smlep](https://togithub.com/Smlep). - 🌐 Add French translation for Python Types Intro. PR [#​3185](https://togithub.com/tiangolo/fastapi/pull/3185) by [@​Smlep](https://togithub.com/Smlep). - 🌐 Add French translation for External Links. PR [#​3103](https://togithub.com/tiangolo/fastapi/pull/3103) by [@​Smlep](https://togithub.com/Smlep). - 🌐 Add French translation for Alternatives, Inspiration and Comparisons. PR [#​3020](https://togithub.com/tiangolo/fastapi/pull/3020) by [@​rjNemo](https://togithub.com/rjNemo). - 🌐 Fix Chinese translation code snippet mismatch in Tutorial - Python Types Intro. PR [#​2573](https://togithub.com/tiangolo/fastapi/pull/2573) by [@​BoYanZh](https://togithub.com/BoYanZh). - 🌐 Add Portuguese translation for Development Contributing. PR [#​1364](https://togithub.com/tiangolo/fastapi/pull/1364) by [@​Serrones](https://togithub.com/Serrones). - 🌐 Add Chinese translation for Tutorial - Request - Files. PR [#​3244](https://togithub.com/tiangolo/fastapi/pull/3244) by [@​jaystone776](https://togithub.com/jaystone776). ##### Internal - 👥 Update FastAPI People. PR [#​3450](https://togithub.com/tiangolo/fastapi/pull/3450) by [@​github-actions\[bot\]](https://togithub.com/apps/github-actions). - 👥 Update FastAPI People. PR [#​3319](https://togithub.com/tiangolo/fastapi/pull/3319) by [@​github-actions\[bot\]](https://togithub.com/apps/github-actions). - ⬆ Upgrade docs development dependency on `typer-cli` to >=0.0.12 to fix conflicts. PR [#​3429](https://togithub.com/tiangolo/fastapi/pull/3429) by [@​tiangolo](https://togithub.com/tiangolo).

Configuration

📅 Schedule: "before 2am" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

netlify[bot] commented 2 years ago

✔️ Deploy Preview for python-playground ready!

🔨 Explore the source changes: 40cdfc4cff48eaed50c9095a47b5a314b0bcce72

🔍 Inspect the deploy log: https://app.netlify.com/sites/python-playground/deploys/6125ac54e8744e00072b13f6

😎 Browse the preview: https://deploy-preview-72--python-playground.netlify.app/