Releases: AnswerDotAI/fasthtml
Releases Β· AnswerDotAI/fasthtml
v0.9.2
Breaking changes
- The OAuth API is now simplified to only require
chk_auth, and no longer useslogin.chk_authshould either returnFalse(meaning not authenticated) or aRedirectResponse. After authentication, theauthparameter will be provided to handlers, which will have the oauth ID.
New Features
- Simplify OAuth API (#580)
- Include session param in websockets handlers (#563), thanks to @callmephilip
- Add path to jupy HTMX (#503)
v0.9.1
v0.9.0
Breaking changes
- Rename
.rtmethod to.to(#539)
New Features
- Support json request key parameters (#555)
- Add
fh_cfg["auto_name"]option (#548) - Allow generators etc as responses (#547)
- Add experimental
body_wrapattr toFastHTML(#546) - Auto-add headers to notebook in
FastHTML(#544) - Allow FT components to be used directly as id and
hx_targetvalues #544) - Add
hostparam to JupyUvi, defaulting to "0.0.0.0" (#543) - In-jupyter HTMX web apps! (#541)
- Add HTTP verb methods to
APIRouter(#538) - Support
WebSockettype annotation inapp.wshandlers (#538)
Bugs Squashed
- Add
nb_hdrstofast_app(#551), thanks to @Isaac-Flath
v0.8.0
v0.7.1
Breaking changes
ws_hdrandcts_hdrboth removed fromFastHTMLandfast_app; replaced withexts, which takes a list of extension names (e.g.exts='ws')
New Features
- Unified syntax for common HTMX extensions (#533)
- Allow toasts to work with FtResponse (#526), thanks to @tomasz-pankowski
v0.7.0
Breaking changes
ws_hdrandcts_hdrboth removed fromFastHTMLandfast_app; replaced withexts, which takes a list of extension names (e.g.exts='ws')
New Features
- Unified syntax for common HTMX extensions (#533)
- Allow toasts to work with FtResponse (#526), thanks to @tomasz-pankowski
v0.6.14
New Features
- Replace experimental
Pusherwith experimentalsetup_wsandws_client(#522) - Add experimental
with_sid()(#521) - Ensure FT children are tuples
- Adding mermaidJS for mermaid graphs (#518), thanks to @ImtiazKhanDS
Bugs Squashed
- Uploading a single file on a multiple file field requires try/except (#513)
v0.6.13
v0.6.12
New Features
- Add
pusher()for real time DOM updates; addfh_cfg.auto_idto automatically add unique IDs (#517) - Support background tasks (#512)
- Allows for passing route functions (#511), thanks to @Isaac-Flath
- Add path arg to HTMX (#504), thanks to @Isaac-Flath
Bugs Squashed
- Multi file upload does not work (#509)
v0.6.11
New Features
- Add
pusher()for real time DOM updates; addfh_cfg.auto_idto automatically add unique IDs (#517) - Support background tasks (#512)
- Allows for passing route functions (#511), thanks to @Isaac-Flath
- Add path arg to HTMX (#504), thanks to @Isaac-Flath
Bugs Squashed
- Multi file upload does not work (#509)