Skip to content

Releases: volfpeter/fasthx

v3.0.1

12 Oct 20:30
a9ccadb

Choose a tag to compare

What's Changed

  • Add reference to holm for an even deeper FastAPI integration by @volfpeter in #84
  • Allow Response in route type hints by @volfpeter in #85

Full Changelog: v3.0.0...v3.0.1

v3.0.0 and announcing holm

26 Sep 08:41
6b9770a

Choose a tag to compare

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: v2.3.3...v3.0.0

v2.3.3

05 May 09:25
08e2a31

Choose a tag to compare

What's Changed

  • Support from __future__ import annotations during signature editing by @volfpeter in #75

Full Changelog: v2.3.2...v2.3.3

v2.3.2

10 Apr 09:38
e8df493

Choose a tag to compare

What's Changed

  • Pydantic >=2.11 compat: get model_computed_fields from model class by @sneakers-the-rat in #72
  • Test pydantic warnings when accessing model_computed_fields by @volfpeter in #73

New Contributors

Full Changelog: v2.3.1...v2.3.2

v2.3.1

31 Mar 10:36
7651849

Choose a tag to compare

What's Changed

  • Update the cache action in the build-docs workflow by @volfpeter in #66
  • Add external example that uses htmy as 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

12 Mar 11:41
e90957a

Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v2.3.0

v2.2.1

23 Feb 12:30
f8956ac

Choose a tag to compare

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

22 Feb 22:24
a219770

Choose a tag to compare

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

09 Dec 21:09
e850b9c

Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.1.0

27 Nov 08:43
8b64318

Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.1.0