Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Update dependency fastapi to ^0.111.0 #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 3, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fastapi ^0.95.0 -> ^0.111.0 age adoption passing confidence

Release Notes

tiangolo/fastapi (fastapi)

v0.111.0

Compare Source

Features

Try it out with:

$ pip install --upgrade fastapi

$ fastapi dev main.py

 ╭────────── FastAPI CLI - Development mode ───────────╮
 │                                                     │
 │  Serving at: http://127.0.0.1:8000                  │
 │                                                     │
 │  API docs: http://127.0.0.1:8000/docs               │
 │                                                     │
 │  Running in development mode, for production use:   │
 │                                                     │
 │  fastapi run                                        │
 │                                                     │
 ╰─────────────────────────────────────────────────────╯

INFO:     Will watch for changes in these directories: ['/home/user/code/awesomeapp']
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [2248755] using WatchFiles
INFO:     Started server process [2248757]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
Refactors
  • 🔧 Add configs and setup for fastapi-slim including optional extras fastapi-slim[standard], and fastapi including by default the same standard extras. PR #​11503 by @​tiangolo.

v0.110.3

Compare Source

Latest Changes

Docs
Translations
  • 🌐 Add Traditional Chinese translation for docs/zh-hant/benchmarks.md. PR #​11484 by @​KNChiu.
  • 🌐 Update Chinese translation for docs/zh/docs/fastapi-people.md. PR #​11476 by @​billzhong.
  • 🌐 Add Chinese translation for docs/zh/docs/how-to/index.md and docs/zh/docs/how-to/general.md. PR #​11443 by @​billzhong.
  • 🌐 Add Spanish translation for cookie-params docs/es/docs/tutorial/cookie-params.md. PR #​11410 by @​fabianfalon.
Internal

v0.110.2

Compare Source

Fixes
  • 🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic UndefinedType. PR #​9929 by @​arjwilliams.
Refactors
  • ♻️ Simplify Pydantic configs in OpenAPI models in fastapi/openapi/models.py. PR #​10886 by @​JoeTanto2.
  • ✨ Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response. PR #​11461 by @​tiangolo.
Docs
Translations
Internal

v0.110.1

Compare Source

Fixes
Refactors
Upgrades
  • ⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. PR #​11266 by @​nothielf.
Docs
Translations
Internal

v0.110.0

Compare Source

Breaking Changes
  • 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. PR #​11191 by @​tiangolo.
    • This is a breaking change (and only slightly) if you used dependencies with yield, used except in those dependencies, and didn't raise again.
    • This was reported internally by @​rushilsrivastava as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released.
    • Read the new docs: Dependencies with yield and except.

In short, if you had dependencies that looked like:

def my_dep():
    try:
        yield
    except SomeException:
        pass

Now you need to make sure you raise again after except, just as you would in regular Python:

def my_dep():
    try:
        yield
    except SomeException:
        raise
Docs
Translations

v0.109.2

Compare Source

Upgrades
Translations
Internal

v0.109.1

Compare Source

Security fixes
  • ⬆️ Upgrade minimum version of python-multipart to >=0.0.7 to fix a vulnerability when using form data with a ReDos attack. You can also simply upgrade python-multipart.

Read more in the advisory: Content-Type Header ReDoS.

Features
Refactors
  • ✅ Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite. PR #​10876 by @​emmettbutler.
  • ♻️ Simplify string format with f-strings in fastapi/utils.py. PR #​10576 by @​eukub.
  • 🔧 Fix Ruff configuration unintentionally enabling and re-disabling mccabe complexity check. PR #​10893 by @​jiridanek.
  • ✅ Re-enable test in tests/test_tutorial/test_header_params/test_tutorial003.py after fix in Starlette. PR #​10904 by @​ooknimm.
Docs
Translations
  • 🌐 Add Spanish translation for docs/es/docs/external-links.md. PR #​10933 by @​pablocm83.
  • 🌐 Update Korean translation for docs/ko/docs/tutorial/first-steps.md, docs/ko/docs/tutorial/index.md, docs/ko/docs/tutorial/path-params.md, and docs/ko/docs/tutorial/query-params.md. PR #​4218 by @​SnowSuno.
  • 🌐 Add Chi

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot changed the title Update dependency fastapi to ^0.96.0 Update dependency fastapi to ^0.97.0 Jun 12, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from d2fb391 to 7abf4f7 Compare June 12, 2023 01:24
@renovate renovate bot changed the title Update dependency fastapi to ^0.97.0 Update dependency fastapi to ^0.98.0 Jun 22, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 7abf4f7 to 28dbfd1 Compare June 22, 2023 19:20
@renovate renovate bot changed the title Update dependency fastapi to ^0.98.0 Update dependency fastapi to ^0.99.0 Jun 30, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 28dbfd1 to 23e8bfe Compare June 30, 2023 19:40
@renovate renovate bot changed the title Update dependency fastapi to ^0.99.0 Update dependency fastapi to ^0.100.0 Jul 7, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 23e8bfe to c64b6ec Compare July 7, 2023 19:14
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from c64b6ec to 0ef7610 Compare July 19, 2023 16:59
@renovate renovate bot changed the title Update dependency fastapi to ^0.100.0 Update dependency fastapi to ^0.101.0 Aug 4, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 0ef7610 to 62b95d9 Compare August 4, 2023 22:17
@renovate renovate bot changed the title Update dependency fastapi to ^0.101.0 Update dependency fastapi to ^0.102.0 Aug 25, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 62b95d9 to f27fde4 Compare August 25, 2023 21:52
@renovate renovate bot changed the title Update dependency fastapi to ^0.102.0 Update dependency fastapi to ^0.103.0 Aug 26, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from f27fde4 to 27b09f0 Compare August 26, 2023 20:34
@renovate renovate bot changed the title Update dependency fastapi to ^0.103.0 Update dependency fastapi to ^0.104.0 Oct 18, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 27b09f0 to 892c56a Compare October 18, 2023 13:51
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 892c56a to dfdaa71 Compare December 12, 2023 03:07
@renovate renovate bot changed the title Update dependency fastapi to ^0.104.0 Update dependency fastapi to ^0.105.0 Dec 12, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from dfdaa71 to 45ef490 Compare December 25, 2023 18:56
@renovate renovate bot changed the title Update dependency fastapi to ^0.105.0 Update dependency fastapi to ^0.106.0 Dec 25, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 45ef490 to 5d0fbd9 Compare December 26, 2023 19:21
@renovate renovate bot changed the title Update dependency fastapi to ^0.106.0 Update dependency fastapi to ^0.107.0 Dec 26, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 5d0fbd9 to 280beac Compare December 26, 2023 22:40
@renovate renovate bot changed the title Update dependency fastapi to ^0.107.0 Update dependency fastapi to ^0.108.0 Dec 26, 2023
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 280beac to 9d5f0ec Compare January 11, 2024 16:07
@renovate renovate bot changed the title Update dependency fastapi to ^0.108.0 Update dependency fastapi to ^0.109.0 Jan 11, 2024
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 9d5f0ec to 949f46c Compare February 25, 2024 01:06
@renovate renovate bot changed the title Update dependency fastapi to ^0.109.0 Update dependency fastapi to ^0.110.0 Feb 25, 2024
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 949f46c to e482208 Compare May 3, 2024 01:34
@renovate renovate bot changed the title Update dependency fastapi to ^0.110.0 Update dependency fastapi to ^0.111.0 May 3, 2024
Copy link
Contributor Author

renovate bot commented May 3, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: server/poetry.lock
Updating dependencies
Resolving dependencies...

Creating virtualenv buzz-MdywG-0F-py3.12 in /home/ubuntu/.cache/pypoetry/virtualenvs

Because no versions of fastapi match >0.111.0,<0.112.0
 and fastapi (0.111.0) depends on fastapi-cli (>=0.0.2), fastapi (>=0.111.0,<0.112.0) requires fastapi-cli (>=0.0.2).
And because no versions of fastapi-cli match >0.0.2
 and fastapi-cli (0.0.2) depends on uvicorn (>=0.29.0), fastapi (>=0.111.0,<0.112.0) requires uvicorn (>=0.29.0).
Because no versions of uvicorn match >0.29.0
 and uvicorn (0.29.0) depends on uvicorn (0.29.0), uvicorn (>=0.29.0) requires uvicorn (0.29.0).
Thus, fastapi (>=0.111.0,<0.112.0) requires uvicorn (0.29.0).
So, because buzz depends on both fastapi (^0.111.0) and uvicorn (^0.22.0), version solving failed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants