Download Latest Version v3.0.1 source code.tar.gz (53.0 kB)
Email in envelope

Get an email when there's a new version of FastHX

Home / v3.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-09-26 1.2 kB
v3.0.0 and announcing holm source code.tar.gz 2025-09-26 52.9 kB
v3.0.0 and announcing holm source code.zip 2025-09-26 75.2 kB
Totals: 3 Items   129.3 kB 0

What's Changed

Major changes

  • All Jinja-related code now lives in fasthx.jinja and can only be imported from that package.
  • *HTMLRenderer types have been renamed to *RenderFunction to prepare for rendering non-HTML content.
  • The RenderFunction type has changed: Response is no longer allowed as the return value.
  • Updated the required htmy version to >=0.8.1.
  • The @hx() and @page() decorators of the htmy integration no longer require a component selector. If not provided, it is assumed the route returns a component that can be rendered as is.

The detailed upgrade guide can be found here: https://volfpeter.github.io/fasthx/migrations/2-to-3/

** Related news

I've recently release holm, a web development framework that brings the Next.js developer experience to Python. It is built with FastAPI, htmy, and FastHX, and it aims to give you the most convenient server side rendering experience on top of the "FastHX stack". You can check out the details here: https://volfpeter.github.io/holm/

Full Changelog: https://github.com/volfpeter/fasthx/compare/v2.3.3...v3.0.0

Source: README.md, updated 2025-09-26