rednafi / fastapi-nano

🐍 Simple FastAPI template that mimics Flask's blueprint directory structure
MIT License
893 stars 95 forks source link

Bump fastapi from 0.96.0 to 0.97.0 #237

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps fastapi from 0.96.0 to 0.97.0.

Release notes

Sourced from fastapi's releases.

0.97.0

Features

  • ✨ Add support for dependencies in WebSocket routes. PR #4534 by @​paulo-raca.
  • ✨ Add exception handler for WebSocketRequestValidationError (which also allows to override it). PR #6030 by @​kristjanvalur.

Refactors

  • ⬆️ Upgrade and fully migrate to Ruff, remove isort, includes a couple of tweaks suggested by the new version of Ruff. PR #9660 by @​tiangolo.
  • ♻️ Update internal type annotations and upgrade mypy. PR #9658 by @​tiangolo.
  • ♻️ Simplify AsyncExitStackMiddleware as without Python 3.6 AsyncExitStack is always available. PR #9657 by @​tiangolo.

Upgrades

Internal

  • 💚 Update CI cache to fix installs when dependencies change. PR #9659 by @​tiangolo.
  • ⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras. PR #9655 by @​tiangolo.

0.96.1

Fixes

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 by @​Kludex.

Refactors

  • ♻ Remove media_type from ORJSONResponse as it's inherited from the parent class. PR #5805 by @​Kludex.
  • ♻ Instantiate HTTPException only when needed, optimization refactor. PR #5356 by @​pawamoy.

Docs

  • 🔥 Remove link to Pydantic's benchmark, as it was removed there. PR #5811 by @​Kludex.

Translations

  • 🌐 Fix spelling in Indonesian translation of docs/id/docs/tutorial/index.md. PR #5635 by @​purwowd.
  • 🌐 Add Russian translation for docs/ru/docs/tutorial/index.md. PR #5896 by @​Wilidon.
  • 🌐 Add Chinese translations for docs/zh/docs/advanced/response-change-status-code.md and docs/zh/docs/advanced/response-headers.md. PR #9544 by @​ChoyeonChern.
  • 🌐 Add Russian translation for docs/ru/docs/tutorial/schema-extra-example.md. PR #9621 by @​Alexandrhub.

Internal

... (truncated)

Commits
  • 3293510 🔖 Release version 0.97.0
  • 395ece7 📝 Update release notes
  • e958d30 📝 Update release notes
  • 34fca99 ⬆️ Upgrade Black (#9661)
  • 3289796 📝 Update release notes
  • 7167c77 ⬆️ Upgrade and fully migrate to Ruff, remove isort, includes a couple of twea...
  • ba882c1 📝 Update release notes
  • 4ac55af ♻️ Update internal type annotations and upgrade mypy (#9658)
  • 3390a82 📝 Update release notes
  • f5844e7 💚 Update CI cache to fix installs when dependencies change (#9659)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)