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.70.0 #80

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.68.2 -> ==0.70.0 age adoption passing confidence

Release Notes

tiangolo/fastapi ### [`v0.70.0`](https://togithub.com/tiangolo/fastapi/releases/0.70.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.69.0...0.70.0) This release just upgrades Starlette to the latest version, `0.16.0`, which includes several bug fixes and some small breaking changes. These last **three consecutive releases** are independent so that you can **migrate gradually**: - First to FastAPI `0.68.2`, with no breaking changes, but upgrading all the sub-dependencies. - Next to FastAPI `0.69.0`, which upgrades Starlette to `0.15.0`, with AnyIO support, and a higher chance of having breaking changes in your code. - Finally to FastAPI `0.70.0`, just upgrading Starlette to the latest version `0.16.0` with additional bug fixes. This way, in case there was a breaking change for your code in one of the releases, you can still benefit from the previous upgrades. ✨ ##### Breaking Changes - Upgrade - ⬆️ Upgrade Starlette to 0.16.0. PR [#​4016](https://togithub.com/tiangolo/fastapi/pull/4016) by [@​tiangolo](https://togithub.com/tiangolo). Also upgrades the ranges of optional dependencies: - `"jinja2 >=2.11.2,<4.0.0"` - `"itsdangerous >=1.1.0,<3.0.0"` ### [`v0.69.0`](https://togithub.com/tiangolo/fastapi/releases/0.69.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.68.2...0.69.0) ##### Breaking Changes - Upgrade This release adds support for [Trio](https://trio.readthedocs.io/en/stable/). ✨ It upgrades the version of Starlette to `0.15.0`, now based on [AnyIO](https://anyio.readthedocs.io/en/stable/), and the internal async components in **FastAPI** are now based on AnyIO as well, making it compatible with both **asyncio** and **Trio**. You can read the docs about running [FastAPI with Trio using Hypercorn](https://fastapi.tiangolo.com/deployment/manually/#hypercorn-with-trio). This release also removes `graphene` as an optional dependency for GraphQL. If you need to work with GraphQL, the recommended library now is [Strawberry](https://strawberry.rocks/). You can read the new [FastAPI with GraphQL docs](https://fastapi.tiangolo.com/advanced/graphql/). ##### Features - ✨ Add support for Trio via AnyIO, upgrading Starlette to `0.15.0`. PR [#​3372](https://togithub.com/tiangolo/fastapi/pull/3372) by [@​graingert](https://togithub.com/graingert). - ➖ Remove `graphene` as an optional dependency. PR [#​4007](https://togithub.com/tiangolo/fastapi/pull/4007) by [@​tiangolo](https://togithub.com/tiangolo). ##### Docs - 📝 Add docs for using Trio with Hypercorn. PR [#​4014](https://togithub.com/tiangolo/fastapi/pull/4014) by [@​tiangolo](https://togithub.com/tiangolo). - ✏ Fix typos in Deployment Guide. PR [#​3975](https://togithub.com/tiangolo/fastapi/pull/3975) by [@​ghandic](https://togithub.com/ghandic). - 📝 Update docs with pip install calls when using extras with brackets, use quotes for compatibility with Zsh. PR [#​3131](https://togithub.com/tiangolo/fastapi/pull/3131) by [@​tomwei7](https://togithub.com/tomwei7). - 📝 Add external link to article: Deploying ML Models as API Using FastAPI and Heroku. PR [#​3904](https://togithub.com/tiangolo/fastapi/pull/3904) by [@​kaustubhgupta](https://togithub.com/kaustubhgupta). - ✏ Fix typo in file paths in `docs/en/docs/contributing.md`. PR [#​3752](https://togithub.com/tiangolo/fastapi/pull/3752) by [@​NinaHwang](https://togithub.com/NinaHwang). - ✏ Fix a typo in `docs/en/docs/advanced/path-operation-advanced-configuration.md` and `docs/en/docs/release-notes.md`. PR [#​3750](https://togithub.com/tiangolo/fastapi/pull/3750) by [@​saintmalik](https://togithub.com/saintmalik). - ✏️ Add a missing comma in the security tutorial. PR [#​3564](https://togithub.com/tiangolo/fastapi/pull/3564) by [@​jalvaradosegura](https://togithub.com/jalvaradosegura). - ✏ Fix typo in `docs/en/docs/help-fastapi.md`. PR [#​3760](https://togithub.com/tiangolo/fastapi/pull/3760) by [@​jaystone776](https://togithub.com/jaystone776). - ✏ Fix typo about file path in `docs/en/docs/tutorial/bigger-applications.md`. PR [#​3285](https://togithub.com/tiangolo/fastapi/pull/3285) by [@​HolyDorus](https://togithub.com/HolyDorus). - ✏ Re-word to clarify test client in `docs/en/docs/tutorial/testing.md`. PR [#​3382](https://togithub.com/tiangolo/fastapi/pull/3382) by [@​Bharat123rox](https://togithub.com/Bharat123rox). - 📝 Fix incorrect highlighted code. PR [#​3325](https://togithub.com/tiangolo/fastapi/pull/3325) by [@​paxcodes](https://togithub.com/paxcodes). - 📝 Add external link to article: How-to deploy FastAPI app to Heroku. PR [#​3241](https://togithub.com/tiangolo/fastapi/pull/3241) by [@​Jarmos-san](https://togithub.com/Jarmos-san). - ✏ Fix typo (mistranslation) in `docs/en/docs/advanced/templates.md`. PR [#​3211](https://togithub.com/tiangolo/fastapi/pull/3211) by [@​oerpli](https://togithub.com/oerpli). - 📝 Remove note about (now supported) feature from Swagger UI in `docs/en/docs/tutorial/request-files.md`. PR [#​2803](https://togithub.com/tiangolo/fastapi/pull/2803) by [@​gsganden](https://togithub.com/gsganden). - ✏ Fix typo re-word in `docs/tutorial/handling-errors.md`. PR [#​2700](https://togithub.com/tiangolo/fastapi/pull/2700) by [@​graue70](https://togithub.com/graue70). ##### Translations - 🌐 Initialize Azerbaijani translations. PR [#​3941](https://togithub.com/tiangolo/fastapi/pull/3941) by [@​madatbay](https://togithub.com/madatbay). - 🌐 Add Turkish translation for `docs/fastapi-people.md`. PR [#​3848](https://togithub.com/tiangolo/fastapi/pull/3848) by [@​BilalAlpaslan](https://togithub.com/BilalAlpaslan). ##### Internal - 📝 Add supported Python versions badge. PR [#​2794](https://togithub.com/tiangolo/fastapi/pull/2794) by [@​hramezani](https://togithub.com/hramezani). - ✏ Fix link in Japanese docs for `docs/ja/docs/deployment/docker.md`. PR [#​3245](https://togithub.com/tiangolo/fastapi/pull/3245) by [@​utamori](https://togithub.com/utamori). - 🔧 Correct DeprecationWarning config and comment in pytest settings. PR [#​4008](https://togithub.com/tiangolo/fastapi/pull/4008) by [@​graingert](https://togithub.com/graingert). - 🔧 Swap light/dark theme button icon. PR [#​3246](https://togithub.com/tiangolo/fastapi/pull/3246) by [@​eddsalkield](https://togithub.com/eddsalkield). - 🔧 Lint only in Python 3.7 and above. PR [#​4006](https://togithub.com/tiangolo/fastapi/pull/4006) by [@​tiangolo](https://togithub.com/tiangolo). - 🔧 Add GitHub Action notify-translations config for Azerbaijani. PR [#​3995](https://togithub.com/tiangolo/fastapi/pull/3995) 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: a231d26e2f3c312a59ca3e0198c21dc5c065b383

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

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