- Replace
__call__
withrt
in handler functions (#334) - Add
flat_tuple
and use it to allow nested tuples in route responses - Add
body
parameter for decoded body - Move pico-specific components to separate module (#327)
- Add "get" and "post" as default methods on routes (#317)
- Support Reverse URL lookups by exposing
url_for
(#189)
- Fastlite 0.0.9 dep
- Rename
Checkbox
toCheckboxX
(#314)- CheckboxX also adds a hidden field before the checkbox
- Automatically choose last field in form data if list provided by non-list parameter
- post release fix for
fill_form
(#309)
__init.py__
now only containsfasthtml.core
- Fastcore 1.7 compatibility (#307)
- Add
fasthtml.basics
for importing the main fasthtml modules
- katex.js missing (#305)
- postrelease fix markdown js (#290)
- 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
- Duplicate parameters in components.pyi (#255)
- Experimental new named-based HTMX routing system (#267)
uri
function to constructurl_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
- Default route name to function name if method provided (#263)
surreal
andhtmx
bool params forFastHTML
andfast_app
(#258)
- 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
- Do not make session vars available as direct params (#237)
- Add surreal.js helpers
Me
,Any
,On
(#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)
- Signature may not resolve types from str (#198)
- Add
attrs1st
formatting to html2ft (#193), thanks to @AndrewRPerkins
- Check for railway app version (#192)
- Update
flat_xt
to handle single FT item (#190) - Support FT in HTTPException handling (#175)
- Add
pep8_app.py
(#163) - Add support for LaTeX formula rendering when rendering markdown (#158), thanks to @yym68686
- Add to request:
req.hdrs,req.ftrs,req.htmlkw,req.bodykw
(#152) - Add htmlkw to
fast_app
(#145), thanks to @ranzuh - Add
Form
for multipart form data; initial poetry compatibility forserve
(#137) - changes toast names to avoid conflict with bootstrap (#133), thanks to @vacmar01
- Automatically move ('title','meta','link','style','base') into head (#122)
- Allow for
Any
orFT
as return type of routes (#112)
- railway deploy did not connect mount point on first use (#89)
- Initial launch version
- Rename
run_uv
toserve
(#84)
- Update for fastcore XT to FT name change
- Remove comments in html2xt (#76)
- Handle relative paths in
Social
(#70) - Add
ftrs
for scripts etc at end of body element (#62) - Updated html2xt to use unpacked dicts when attr keys are not valid python names (#57), thanks to @matdmiller
- fix social relative urls (#77)
- Add
indent
tohtml2xt
(#53) - New
fasthtml.ft
namespace for components (#50) - Add
bodykw
infast_app
(#49)
ScriptX
andStyleX
for templated generation from external files (#42)
fast_app
returnsapp.route
as well as app (#38)
- Add
fasthtml.toasts
(#35) - 'Afterware' support
- Add
injects
to request - Basic websocket support (#29)
- Support
meta
tags in returned tuple (#28) - Support npm provider in jsdelivr (#27)
Style
does not accept multiple positional args correctly (#34)
- Add
railway_deploy
(#26)
- Add
run_uv()
(#25) - New demo app (#25)
- Add
Container
component (#24) - Add all HTML elements (#22)
- Add svg.py (#21)
- Add
Titled
(#18) - Disable PicoCSS font scaling
- Use constant time string comparison for password checking, h/t José Valim (#17)
- Add surreal js and scope scripts to default headers, and add
default_hdrs
bool to allow removing default headers (#16) - Add xtend.py
Script
andStyle
that do not needNotStr
(#15) - Add
jsd
(#14) - Handle lists of
hdrs
(#14) - Autogen HTML wrapper for non-htmx partials (#13)
html2txt
only parses first partial (#12)
- Add
html2xt
(#11)
- use
sqlite_minutils
in all.py (#10)
- sortable js support (#7)
- Add
MarkdownJS
and support textareas (#6) - Handle multi-value form data correctly
- fix body arg parsing (#2)
- Init release