cds-snc / url-shortener

An API written in Python that shortens URLs
MIT License
4 stars 0 forks source link

chore(deps): update dependency fastapi to v0.97.0 #416

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fastapi ==0.96.0 -> ==0.97.0 age adoption passing confidence

Review


Release Notes

tiangolo/fastapi ### [`v0.97.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.97.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.96.1...0.97.0) ##### Features - ✨ Add support for `dependencies` in WebSocket routes. PR [#​4534](https://togithub.com/tiangolo/fastapi/pull/4534) by [@​paulo-raca](https://togithub.com/paulo-raca). - ✨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it). PR [#​6030](https://togithub.com/tiangolo/fastapi/pull/6030) by [@​kristjanvalur](https://togithub.com/kristjanvalur). ##### Refactors - ⬆️ Upgrade and fully migrate to Ruff, remove isort, includes a couple of tweaks suggested by the new version of Ruff. PR [#​9660](https://togithub.com/tiangolo/fastapi/pull/9660) by [@​tiangolo](https://togithub.com/tiangolo). - ♻️ Update internal type annotations and upgrade mypy. PR [#​9658](https://togithub.com/tiangolo/fastapi/pull/9658) by [@​tiangolo](https://togithub.com/tiangolo). - ♻️ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available. PR [#​9657](https://togithub.com/tiangolo/fastapi/pull/9657) by [@​tiangolo](https://togithub.com/tiangolo). ##### Upgrades - ⬆️ Upgrade Black. PR [#​9661](https://togithub.com/tiangolo/fastapi/pull/9661) by [@​tiangolo](https://togithub.com/tiangolo). ##### Internal - 💚 Update CI cache to fix installs when dependencies change. PR [#​9659](https://togithub.com/tiangolo/fastapi/pull/9659) by [@​tiangolo](https://togithub.com/tiangolo). - ⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras. PR [#​9655](https://togithub.com/tiangolo/fastapi/pull/9655) by [@​tiangolo](https://togithub.com/tiangolo). ### [`v0.96.1`](https://togithub.com/tiangolo/fastapi/releases/tag/0.96.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.96.0...0.96.1) ##### Fixes - 🐛 Fix `HTTPException` header type annotations. PR [#​9648](https://togithub.com/tiangolo/fastapi/pull/9648) by [@​tiangolo](https://togithub.com/tiangolo). - 🐛 Fix OpenAPI model fields int validations, `gte` to `ge`. PR [#​9635](https://togithub.com/tiangolo/fastapi/pull/9635) by [@​tiangolo](https://togithub.com/tiangolo). ##### Upgrades - 📌 Update minimum version of Pydantic to >=1.7.4. This fixes an issue when trying to use an old version of Pydantic. PR [#​9567](https://togithub.com/tiangolo/fastapi/pull/9567) by [@​Kludex](https://togithub.com/Kludex). ##### Refactors - ♻ Remove `media_type` from `ORJSONResponse` as it's inherited from the parent class. PR [#​5805](https://togithub.com/tiangolo/fastapi/pull/5805) by [@​Kludex](https://togithub.com/Kludex). - ♻ Instantiate `HTTPException` only when needed, optimization refactor. PR [#​5356](https://togithub.com/tiangolo/fastapi/pull/5356) by [@​pawamoy](https://togithub.com/pawamoy). ##### Docs - 🔥 Remove link to Pydantic's benchmark, as it was removed there. PR [#​5811](https://togithub.com/tiangolo/fastapi/pull/5811) by [@​Kludex](https://togithub.com/Kludex). ##### Translations - 🌐 Fix spelling in Indonesian translation of `docs/id/docs/tutorial/index.md`. PR [#​5635](https://togithub.com/tiangolo/fastapi/pull/5635) by [@​purwowd](https://togithub.com/purwowd). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/index.md`. PR [#​5896](https://togithub.com/tiangolo/fastapi/pull/5896) by [@​Wilidon](https://togithub.com/Wilidon). - 🌐 Add Chinese translations for `docs/zh/docs/advanced/response-change-status-code.md` and `docs/zh/docs/advanced/response-headers.md`. PR [#​9544](https://togithub.com/tiangolo/fastapi/pull/9544) by [@​ChoyeonChern](https://togithub.com/ChoyeonChern). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/schema-extra-example.md`. PR [#​9621](https://togithub.com/tiangolo/fastapi/pull/9621) by [@​Alexandrhub](https://togithub.com/Alexandrhub). ##### Internal - 🔧 Add sponsor Platform.sh. PR [#​9650](https://togithub.com/tiangolo/fastapi/pull/9650) by [@​tiangolo](https://togithub.com/tiangolo). - 👷 Add custom token to Smokeshow and Preview Docs for download-artifact, to prevent API rate limits. PR [#​9646](https://togithub.com/tiangolo/fastapi/pull/9646) by [@​tiangolo](https://togithub.com/tiangolo). - 👷 Add custom tokens for GitHub Actions to avoid rate limits. PR [#​9647](https://togithub.com/tiangolo/fastapi/pull/9647) by [@​tiangolo](https://togithub.com/tiangolo).

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone America/Montreal, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 Mend Renovate. View repository job log here.

patheard commented 1 year ago

https://github.com/cds-snc/platform-core-services/issues/390