| Name | Modified | Size | Downloads / 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
- Version 3 refactoring by @volfpeter in https://github.com/volfpeter/fasthx/pull/78
Major changes
- All Jinja-related code now lives in
fasthx.jinjaand can only be imported from that package. *HTMLRenderertypes have been renamed to*RenderFunctionto prepare for rendering non-HTML content.- The
RenderFunctiontype has changed:Responseis no longer allowed as the return value. - Updated the required
htmyversion to>=0.8.1. - The
@hx()and@page()decorators of thehtmyintegration 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