Releases: AnswerDotAI/fasthtml
Releases · AnswerDotAI/fasthtml
v0.4.0
v0.3.7
v0.3.6
v0.3.5
New Features
- Support
dict
value inhx_vals
(#288) - Add
sess_cls
param toFastHTML
(#284) - Make
index
a special handler name for path "/" get request (#274) - Use
run_in_threadpool
for non-async handlers (#270) - Enhance LaTeX rendering in Markdown with support for environments (#269), thanks to @rian-dolphin
Bugs Squashed
- Duplicate parameters in components.pyi (#255)
v0.3.4
New Features
- Experimental new named-based HTMX routing system (#267)
uri
function to constracturl_for
path params- patch
HTTPConnection.url_path_for
- replace HTTP verb FT attr names with
hx-
prefixed versions, and look up values in route names (withlink
used forhref
attrs) - Default route paths to
/{func.__name__}
- Default route method to
post
if func name isn't an http verb - Support skipping
()
in route decorators
v0.3.3
v0.3.2
v0.3.1
v0.3.0
Breaking changes
- Do not make session vars available as direct params (#237)
New Features
- Add surreal.js helpers
Me
,Any
,On
(#238) - Alpine support (#238)
- Add support for application/json in POST requests (#234), thanks to @khoaHyh
- Wrap Starlette's session in an AttrDict (#213), thanks to @jbellis
- Handle mismatches between existing db and schema (#202), thanks to @ncoop57
- Raise warning if type is not passed (#195)