Releases: AnswerDotAI/fasthtml
Releases Β· AnswerDotAI/fasthtml
v0.6.3
v0.6.2
v0.6.1
v0.6.0
Breaking changes
date
has been renamed toparsed_date
New Features
- Handle non-list/tuple
hdrs
andftrs
inFastHTML()
(#426) - Handle automatic
datetime.date
form field conversion (#415)
Bugs Squashed
- Make sure only the selected radio button in a radio group is checked during
form_fill
(#424), thanks to @rbavery - All radio buttons in a radio group are checked during
fill_form
(#423) - receiving a list[str] as a parameter doesn't work with get request (#422)
- Multipart error when submitting with empty form-data (#405)
v0.5.3
v0.5.2
New Features
- Greatly improved SVG support (#409)
- Add SVG HTMX helpers:
svg_sel
,SvgOob
, andSvgInb
(#408) - Add
Client
andNbsp
(#403) - Add
Redirect()
and handle magic__response__
method (#400) - Add
HtmxResponseHeaders
(#399) - Add
session
toOAuth.chk_auth
(#394) - Add
static_routes
andstatic_route_exts
methods toFastHTML
(#387)
Bugs Squashed
v0.5.1
v0.5.0
New Features
- Make hdrs, ftrs, htmlkw, bodykw, etc available to
RouterX
andRouteX
via._app
(#381) - Add
OAuth
class (#381)- Move redirect url into methods for oauth
- Add options to change default static media directory (#373), thanks to @coreman14
- Add
PicoBusy()
function to display loading spinner during html load (#372) - Add
HtmxOn()
to allow adding htmx event listeners more easily (#371) - Set toasts to only work with FT responses (#368), thanks to @pydanny
- Routing subapp improvements (#365), thanks to @Isaac-Flath
- Add all HTMX attrs to component signatures (#363)
- Add markdown version of all docs (#361)
- add easy to use chunked transfer extension header (#346), thanks to @fabge
- Set 404 exception handling to give "404 Not Found" message (#335), thanks to @Isaac-Flath
Bugs Squashed
- [BUG] Toasts don't show after redirect (#358)
v0.4.5
v0.4.4
New Features
- 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)