Releases: volfpeter/fasthx
v3.0.1
What's Changed
- Add reference to
holmfor an even deeper FastAPI integration by @volfpeter in #84 - Allow
Responsein route type hints by @volfpeter in #85
Full Changelog: v3.0.0...v3.0.1
v3.0.0 and announcing holm
What's Changed
- Version 3 refactoring by @volfpeter in #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: v2.3.3...v3.0.0
v2.3.3
What's Changed
- Support
from __future__ import annotationsduring signature editing by @volfpeter in #75
Full Changelog: v2.3.2...v2.3.3
v2.3.2
What's Changed
- Pydantic >=2.11 compat: get
model_computed_fieldsfrom model class by @sneakers-the-rat in #72 - Test pydantic warnings when accessing
model_computed_fieldsby @volfpeter in #73
New Contributors
- @sneakers-the-rat made their first contribution in #72
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's Changed
- Update the cache action in the
build-docsworkflow by @volfpeter in #66 - Add external example that uses
htmyas the rendering engine by @volfpeter in #67 - Support computed Pydantic fields in
JinjaContext.unpack_object()by @volfpeter in #70
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
- A couple of minor doc fixes by @volfpeter in #60
- Add a
render_component()method toHTMYby @volfpeter in #64
Full Changelog: v2.2.1...v2.3.0
v2.2.1
What's Changed
- Better FastAPI Request aliasing in dependencies.py, fixes #53 by @volfpeter in #58
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
- htmy and tooling upgrade, plus some more documentation by @volfpeter in #56
Full Changelog: v2.1.1...v2.2.0
v2.1.1
What's Changed
- Fix
Responsehandling inpage()decorator by @volfpeter in #49
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- HTMY integration by @volfpeter in #43
- Jinja doc improvements by @volfpeter in #41
Full Changelog: v2.0.2...v2.1.0