API & Backend

FastAPI Release Notes 2026: Every Version Explained for Testers

Every FastAPI release from 0.137 to 0.165, grouped by series, with the breaking changes to check and what each one means for your API tests.

14 min read
FastAPI Release Notes 2026: Every Version Explained for Testers
What You Will Learn
AI Overview: FastAPI Release Notes in Brief
FastAPI Release Notes at a Glance
Breaking Changes in the FastAPI Release Notes to Check Before You Upgrade
FastAPI Release Notes 0.162 to 0.165: Limits, Concurrency and Python 3.15
โšก Quick Answer
FastAPI release notes for 2026, spanning versions 0.137.0 to 0.165.0, detail crucial changes affecting API behavior. QA engineers and SDETs must test new stricter parsing of empty/null request values and verify HTTP 413/400 responses for oversized bodies or too many form fields. Pinning exact FastAPI versions in CI environments helps manage breaking changes frequently introduced in 0.x releases.

FastAPI release notes move fast: since June 2026 the project shipped 79 versions, from 0.137.0 to 0.165.0. This page tracks every release that changes how your API behaves, grouped by series, with what each change means for your tests. These FastAPI release notes are updated every week.

Latest version: FastAPI 0.165.0 (November 18, 2026). Adds configurable form parsing limits, one day after 0.164.0 added request body size limits. Upgrade: pip install -U "fastapi[standard]". Minimum Python: 3.11 (Python 3.10 support was dropped in 0.162.6).

AI Overview: FastAPI Release Notes in Brief

Short answer: FastAPI release notes for 2026 cover versions 0.137.0 to 0.165.0. The biggest changes are a router internals refactor (0.137), native OpenTelemetry (0.142), stricter form and body parsing (0.147โ€“0.162), dependency concurrency limits (0.163), and request body and form size limits (0.164โ€“0.165). Python 3.10 support ended in 0.162.6.

Key points for testers:

  • Breaking changes land in minor 0.x releases, so pin an exact FastAPI version in CI.
  • Empty, missing and null request values behave differently after 0.147โ€“0.151, and omitted booleans changed again in 0.162.0.
  • New limits return HTTP 413 for oversized bodies and HTTP 400 for too many form fields or files.

Definition: FastAPI is an open-source Python web framework for building APIs with standard Python type hints, maintained by Sebastiรกn Ramรญrez and contributors.

FastAPI release notes 2026 timeline of versions for API testers
FastAPI release notes 2026 timeline of versions for API testers

FastAPI Release Notes at a Glance

VersionsDates (2026)ThemeBreaking?What to test
0.164.0 โ€“ 0.165.0Nov 18Request body and form size limitsNoOversized uploads now return 413 or 400 when limits are set
0.162.0 โ€“ 0.163.2Oct 23 โ€“ Nov 17Python 3.15 support, dependency concurrency limits, cancellation fixesYes (Python 3.10 dropped)CI matrix, yield-dependency cleanup
0.156.0 โ€“ 0.161.1Oct 20 โ€“ 22Parameter and form models, AliasChoices fixesYes (0.160.0)Query, header, cookie and form models
0.144.0 โ€“ 0.155.0Oct 18 โ€“ 20Stricter request parsing: null vs omitted, empty form valuesYes (several)Form and JSON body edge cases
0.142.0 โ€“ 0.143.5Sep 29 โ€“ Oct 18Native OpenTelemetry supportYes (0.143.0)Tracing set-up, startup
0.140.0 โ€“ 0.141.1Jul 24 โ€“ 29Lower dependency memory use, streaming fixesNoSSE and JSONL endpoints
0.137.0 โ€“ 0.139.2Jun 14 โ€“ Jul 16Router internals refactor, app.frontend()Yes (0.137.0)Router set-up, parallel test runs

Breaking Changes in the FastAPI Release Notes to Check Before You Upgrade

If you’re jumping several versions, these are the releases that can change behaviour your tests rely on. Read this list first, then the series sections below.

  1. 0.137.0 (Jun 14): routers keep their APIRouter and APIRoute instances instead of copying routes. Routes added after include_router() now show up. Check custom router or route subclasses.
  2. 0.143.0 (Oct 8): automatic OpenTelemetry exporter set-up now needs an explicit opt-in. If traces vanished after upgrading, this is why.
  3. 0.145.0 (Oct 18): the deprecated openapi_prefix and unused **extra arguments are removed from FastAPI().
  4. 0.146.0 (Oct 18): the root_path parameter of FastAPI() is deprecated.
  5. 0.147.0 โ€“ 0.151.0 (Oct 19 โ€“ 20): stricter request parsing. Empty scalar form values and unselected file inputs count as missing, and JSON null is now told apart from an omitted body value. Tests that post empty fields may get different results.
  6. 0.155.0 (Oct 20): the deprecated **extra is removed from request parameters such as Query() and Body().
  7. 0.160.0 (Oct 22): each parameter model’s extra setting now applies to its sibling fields.
  8. 0.162.0 (Oct 23): default handling for omitted boolean form fields is restored. 0.147.0 had started treating them as False, so behaviour changed twice in five days.
  9. 0.162.6 (Nov 13): Python 3.10 is no longer supported. CI jobs on 3.10 will stay on older FastAPI.

For testers, item 8 is the trap: a suite pinned to 0.147โ€“0.161 can pass while relying on behaviour that later versions reverted. Pin the exact version in CI, and upgrade deliberately.

FastAPI Release Notes 0.162 to 0.165: Limits, Concurrency and Python 3.15

FastAPI 0.165.0 (November 18, 2026)

Adds configurable form parsing limits through form_limits: max_fields (default 1,000 text fields), max_files (default 1,000 files) and max_part_size (default 1 MiB per text field). You can set them on the app, a router, include_router() or a single path operation. Going over a parser limit returns HTTP 400.

What it means for testers: add negative tests that post one field or file too many, and assert a 400, so a later change to the limits is caught.

FastAPI 0.164.0 (November 18, 2026)

Adds request body size limits with max_body_size, in bytes, on FastAPI(), APIRouter(), include_router() or a path operation. FastAPI counts the bytes it reads, even for chunked uploads without a Content-Length header, and returns 413 Content Too Large when the limit is crossed. Without a limit set anywhere, bodies stay unlimited (FastAPI docs: Request body limits).

What it means for testers: test each upload route at, just under and just over its limit. Middleware that reads the body uses the app’s limit, not the route’s, which is an easy edge case to miss.

FastAPI 0.163.0 โ€“ 0.163.2 (November 14 โ€“ 17, 2026)

  • 0.163.0: dependency concurrency limits with Depends(max_concurrency=...). For example, Depends(get_session, max_concurrency=5) lets only five requests hold a database session at once, and the rest wait without blocking a worker thread (FastAPI docs: Advanced dependencies).
  • 0.163.1: fixes OpenAPI for a response model with a nested computed field.
  • 0.163.2: refactors query, header and form parameter extraction.

What it means for testers: the docs warn that two calls to the same limited dependency in one request can deadlock. Add a load test that fires more concurrent requests than the limit and asserts they all complete.

FastAPI 0.162.0 โ€“ 0.162.7 (October 23 โ€“ November 13, 2026)

  • 0.162.0: restores default handling for omitted boolean form fields (breaking, see the list above).
  • 0.162.3: adds Python 3.15 support and updates the locked Pydantic version to 2.14.3.
  • 0.162.4: requires AnyIO 4.1.0 or newer at runtime.
  • 0.162.5 and 0.162.7: fix synchronous and async yield dependency clean-up when a request is cancelled.
  • 0.162.6: drops Python 3.10 support.

What it means for testers: update your CI matrix to Python 3.11โ€“3.15. If you test client disconnects or timeouts, re-check that database sessions and files opened in yield dependencies are closed.

FastAPI Release Notes 0.142 to 0.161: Parameter Models, Stricter Parsing and OpenTelemetry

FastAPI 0.156.0 โ€“ 0.161.1 (October 20 โ€“ 22, 2026)

This stretch of the FastAPI release notes is a burst of releases that makes Pydantic models work better as request parameters.

  • Features: combining query, header and cookie parameter models (0.157.0), combining form models (0.158.0), optional form models (0.158.2), optional query, header and cookie parameter models (0.159.0), optional unions of form models (0.159.1) and combining unions of form models (0.161.0).
  • Fixes: Pydantic Field() attributes and metadata are preserved in request parameters (0.156.0 โ€“ 0.156.2), AliasChoices works for query, header, cookie, path, JSON body and form parameters (0.156.3 โ€“ 0.156.7), model alias settings are respected for query, header and cookie parameters (0.156.6), uploaded file positions are kept when converting to bytes (0.156.8), and OpenAPI keeps form media types (0.158.1) and nullable form unions (0.161.1).
  • Breaking: each parameter model’s extra configuration now applies to its sibling fields (0.160.0).

What it means for testers: if you validate requests against field aliases, your error messages and OpenAPI schema may change. Re-run contract tests and schema snapshots after upgrading.

FastAPI 0.144.0 โ€“ 0.155.0 (October 18 โ€“ 20, 2026)

This part of the FastAPI release notes tightens how FastAPI reads requests, and most of it is breaking.

  • 0.144.0: security dependencies now work with WebSockets.
  • 0.145.0 and 0.146.0: remove openapi_prefix and unused **extra from FastAPI(), and deprecate root_path.
  • 0.147.0 โ€“ 0.151.0: omitted boolean form fields become False (later reverted in 0.162.0), default handling for request parameters and models is fixed, empty scalar form values and unselected file inputs count as missing, and JSON null is told apart from an omitted value.
  • 0.152.0 and 0.153.0: header model validation errors report the real HTTP header names, and browser form handling applies to unions of Pydantic models.
  • 0.154.0 and 0.155.0: Pydantic validation options for request parameters, and removal of the deprecated **extra.

What it means for testers: this is where most upgrade failures will come from. Add tests that post empty strings, missing fields and explicit null to each endpoint, and assert the status code and validation message you expect.

FastAPI 0.142.0 โ€“ 0.143.5 (September 29 โ€“ October 18, 2026)

  • 0.142.0: native OpenTelemetry support.
  • 0.142.1 โ€“ 0.142.4: fixes repeated endpoint wrapping in included routers, lets the app start even when automatic OpenTelemetry set-up fails, caches tracers, and isolates telemetry for excluded requests.
  • 0.143.0: automatic OpenTelemetry exporter set-up now requires an opt-in (breaking).
  • 0.143.1 โ€“ 0.143.5: fixes route metadata in iter_route_contexts(), blocking frontend fallback file checks, non-finite floats in JSONL and SSE streams, and empty values for bytes file lists. httpx2 joins the optional dependencies.

What it means for testers: if your observability tests assert on traces, check that the exporter is switched on explicitly in the test environment.

FastAPI Release Notes 0.136 to 0.141: Router Refactor, Frontends and Streaming Fixes

FastAPI 0.140.0 โ€“ 0.141.1 (July 24 โ€“ 29, 2026)

  • 0.140.0 โ€“ 0.140.7: a run of performance refactors that cut memory use in dependencies. FastAPI stops retaining and repeatedly flattening dependency trees, especially when building OpenAPI.
  • 0.140.8 โ€“ 0.140.13: streaming fixes. The stream item type is kept with include_router(), exclude_defaults reaches dict keys and values in jsonable_encoder, nested Annotated types in sequences work, response_model_* options apply to Iterable[...] endpoints, SSE events split lines per the spec, and status_code is no longer ignored on SSE and JSONL endpoints.
  • 0.141.0: app.frontend(check_dir="auto") makes local development with fastapi dev easier.
  • 0.141.1: background tasks and headers from dependencies work with app.frontend().

What it means for testers: if you test Server-Sent Events or JSON Lines endpoints, assert the status code explicitly. As the FastAPI release notes for 0.140.13 show, before that version a custom status_code on those endpoints was silently ignored.

FastAPI 0.137.0 โ€“ 0.139.2 (June 14 โ€“ July 16, 2026)

  • 0.137.0: routers now keep their APIRouter and APIRoute instances instead of copying routes (breaking). Routes added after include_router() are picked up, and a sub-router can be included before its routes are defined.
  • 0.137.1 and 0.137.2: typing fixes for APIRoute, empty paths in prefix-less routers, and a new iter_route_contexts() for code that used to read router.routes.
  • 0.138.0 โ€“ 0.138.2: app.frontend("/", directory="dist") and router.frontend(...) serve a built frontend, and return 404 for methods other than GET or HEAD when no file matches.
  • 0.139.0 โ€“ 0.139.2: dependencies work in app.frontend(), for example cookie authentication, frontend fallback handles dotted paths such as /users/john.doe, and route building is thread-safe, which mainly matters for tests running in parallel threads.

What it means for testers: if your test fixtures build a fresh app or router per test, or you run pytest with threads, 0.139.2 removes a rare source of flaky failures.

FastAPI 0.136.2 and 0.136.3 (May 23, 2026)

  • 0.136.2: Server-Sent Event fields are validated, so an app can’t send broken event data.
  • 0.136.3: with convert_underscores=True (the default), headers that contain underscores are no longer accepted.

What it means for testers: if a test or client sends a header such as x_api_key instead of x-api-key, it no longer reaches your endpoint. Update those tests to use hyphens.

How to Use FastAPI Release Notes to Upgrade Safely: A Tester’s Checklist

FastAPI often ships several versions in a day, so upgrade on purpose rather than letting a loose version range pull in changes.

  1. Pin the exact version in requirements.txt or pyproject.toml, such as fastapi==0.165.0, so CI and production always match.
  2. Read the FastAPI release notes above for every version between your current one and the target.
  3. Upgrade on a branch and run the full suite with pytest -q.
  4. Diff the OpenAPI schema. Save app.openapi() to a JSON file before and after the upgrade, and compare them. Changes to parameter models and aliases show up here first.
  5. Add edge-case tests for empty strings, missing fields, explicit null and oversized bodies, which are the areas the 0.147โ€“0.165 releases changed most.

Here’s a minimal test for the new body size limit. It ran and passed on FastAPI 0.165.0 with pytest.

# test_body_limits.py
# Requires: pip install "fastapi>=0.164" httpx pytest python-multipart
from fastapi import FastAPI
from fastapi.testclient import TestClient

app = FastAPI(max_body_size=1024)  # 1 KiB for the whole app


@app.post("/items")
def create_item(item: dict):
    return item


client = TestClient(app)


def test_small_body_is_accepted():
    response = client.post("/items", json={"name": "keyboard"})
    assert response.status_code == 200


def test_oversized_body_is_rejected_with_413():
    response = client.post("/items", json={"notes": "x" * 2048})
    assert response.status_code == 413
$ python -m pytest -q test_body_limits.py
..                                                                       [100%]
2 passed in 0.19s

For a full API testing set-up around FastAPI, see pytest, FastAPI and GPT-5 for full-stack testing, or start from the basics in Python Zero to Hero.

FastAPI Release Notes 2026: Every Version Explained for Testers

External Links

Internal Blog Links

Internal Series Links

People Also Ask About FastAPI Release Notes

What is the latest version of FastAPI?

FastAPI 0.165.0, released on November 18, 2026. It adds configurable form parsing limits, building on the request body size limits added in 0.164.0 the same day. These FastAPI release notes are updated weekly with each new release.

Which Python versions does FastAPI support now?

From 0.162.6 (November 13, 2026), FastAPI no longer supports Python 3.10. Version 0.162.3 added support for Python 3.15, so current releases cover Python 3.11 to 3.15.

Does FastAPI follow semantic versioning?

FastAPI is still on 0.x versions, and breaking changes can land in minor releases, such as 0.137.0, 0.143.0 and 0.147.0 to 0.162.0. That’s why pinning an exact version and reading the FastAPI release notes before each upgrade matters.

How do I limit upload size in FastAPI?

From 0.164.0, pass max_body_size in bytes to FastAPI(), APIRouter(), include_router() or a single path operation. Requests over the limit get a 413 response. From 0.165.0, form_limits also caps the number of fields, files and the size of each text field.

Where are the official FastAPI release notes?

The official FastAPI release notes live on the FastAPI documentation site and in the project’s GitHub releases. This page summarises them for testers and adds what each change means for your test suite.

How do I check which FastAPI version I have installed?

Run pip show fastapi in your virtual environment, or python -c "import fastapi; print(fastapi.__version__)". Compare the result with the latest version above and read the FastAPI release notes for every version in between before you upgrade.

How often does FastAPI release a new version?

Often. Between June and November 2026 the project published 79 versions, and on busy days several shipped within hours, such as 0.156.0 to 0.159.1 on October 20 and 21. That pace is why a weekly-updated summary like this one helps testers keep track.


About the author: Muhammad Shahnawaz Khan is an independent software engineer and applied ML researcher with 11+ years in SDET and SQA. He founded QAPulse by SK and writes about test automation, CI/CD and AI in testing. More about Shahnawaz

Every version, date and change on this page comes from FastAPI’s official release notes and reviewed by the author. See our editorial policy.

Frequently Asked Questions

What is the latest version of FastAPI?
The latest version mentioned is FastAPI 0.165.0, released on November 18, 2026. This version includes configurable form parsing limits.
Which Python versions are supported by FastAPI?
FastAPI now requires a minimum Python version of 3.11. Support for Python 3.10 was discontinued in version 0.162.6.
How do FastAPI's versioning and breaking changes affect testers?
Breaking changes in FastAPI can occur in minor 0.x releases, meaning it doesn't strictly follow semantic versioning. Testers should pin an exact FastAPI version in their CI environments to ensure stability and avoid unexpected behavior.
Need this built for your team?

I build production-grade QA automation for teams that can’t afford to ship bugs.

Playwright, Python, AI testing — 11+ years in software, clients worldwide. Free 30-min call. No commitment.

Book a free call → See services
Found this helpful? Clap to let Shahnawaz know โ€” you can clap up to 50 times.