Change8

Migrating to FastHTML 0.14.1

Version 0.14.1 introduces 5 breaking changes. This guide details how to update your code.

Released: 5/10/2026

5
Breaking Changes
1
Migration Steps
1
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

fasthtml.common

Breaking Changes

Issue #1

The following imports have been removed from `fasthtml.common`: `uvicorn`, `apswutils.Database`, `fastlite.*`, and `fasthtml.common.pico.*`. Users relying on these direct imports must update their code.

Issue #2

Removed direct import of `uvicorn` from `fasthtml.common`.

Issue #3

Removed direct import of `apswutils.Database` from `fasthtml.common`.

Issue #4

Removed direct import of `fastlite.*` from `fasthtml.common`.

Issue #5

Removed direct import of `fasthtml.common.pico.*` from `fasthtml.common`.

Migration Steps

  1. 1
    Remove any direct imports of `uvicorn`, `apswutils.Database`, `fastlite.*`, or `fasthtml.common.pico.*` from `fasthtml.common` in your code.

Release Summary

This release focuses on performance improvements by speeding up imports and introduces significant new routing features, including class-based route groups and route beforeware functionality. Several internal imports were removed from `fasthtml.common`.

Need More Details?

View the full release notes and all changes for FastHTML 0.14.1.

View Full Changelog