Releases: AnswerDotAI/fasthtml
Releases Β· AnswerDotAI/fasthtml
v0.4.2
New Features
- Rename
Checkbox
to CheckboxX
(#314)
- CheckboxX also adds a hidden field before the checkbox
- Automatically choose last field in form data if list provided by non-list parameter
v0.4.1
Bugs Squashed
- post release fix for
fill_form
(#309)
v0.4.0
Breaking changes
__init.py__
now only contains fasthtml.core
New Features
- Fastcore 1.7 compatibility (#307)
- Add
fasthtml.basics
for importing the main fasthtml modules
v0.3.7
New Features
- Add
reload_includes
and reload_excludes
options to serve (#291), thanks to @pydanny
Bugs Squashed
v0.3.6
Bugs Squashed
- postrelease fix markdown js (#290)
v0.3.5
New Features
- Support
dict
value in hx_vals
(#288)
- Add
sess_cls
param to FastHTML
(#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 constract url_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 (with link
used for href
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
New Features
- Default route name to function name if method provided (#263)
surreal
and htmx
bool params for FastHTML
and fast_app
(#258)
v0.3.2
New Features
- generic list annotated params double-wrapped (#253)
- Add
Prev()
(#253)
ft_cfg
config defaults (#251)
- Make
fill_form
set selected option (#185), thanks to @ostwilkens
Bugs Squashed
v0.3.1
Bugs Squashed
- Alpine regex not constrained to attr start (#242)