volfpeter / fasthx

FastAPI server-side rendering with built-in HTMX support.
https://volfpeter.github.io/fasthx/
MIT License
458 stars 9 forks source link

Added a page decorator and Jinja.page + run sync routes in threadpool #15

Closed volfpeter closed 9 months ago

volfpeter commented 9 months ago

Changes

Internals

A lot of internal code has been moved. If, for some reason you imported something directly from a module instead of the package, you will unfortunately need to update your imports. New package layout:

Notes

Tentatively bumped version to 0.2402.2, although putting so many (and important) changes in a patch release is not that user-friendly. I'm considering moving to semver and 1.0 at this point, or alternatively to 0.2403.0.

volfpeter commented 9 months ago

Leaving the PR here for a day or two, to leave some time for questions or comments.