Releases: AnswerDotAI/fasthtml
Releases Β· AnswerDotAI/fasthtml
v0.10.1
v0.10.0
Breaking changes
- The OAuth API is now simplified to only require
chk_auth
, and no longer useslogin
.chk_auth
should either returnFalse
(meaning not authenticated) or aRedirectResponse
. After authentication, theauth
parameter 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.2
Breaking changes
- The OAuth API is now simplified to only require
chk_auth
, and no longer useslogin
.chk_auth
should either returnFalse
(meaning not authenticated) or aRedirectResponse
. After authentication, theauth
parameter 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
.rt
method 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_wrap
attr toFastHTML
(#546) - Auto-add headers to notebook in
FastHTML
(#544) - Allow FT components to be used directly as id and
hx_target
values #544) - Add
host
param to JupyUvi, defaulting to "0.0.0.0" (#543) - In-jupyter HTMX web apps! (#541)
- Add HTTP verb methods to
APIRouter
(#538) - Support
WebSocket
type annotation inapp.ws
handlers (#538)
Bugs Squashed
- Add
nb_hdrs
tofast_app
(#551), thanks to @Isaac-Flath
v0.8.0
v0.7.1
Breaking changes
ws_hdr
andcts_hdr
both removed fromFastHTML
andfast_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_hdr
andcts_hdr
both removed fromFastHTML
andfast_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
Pusher
with experimentalsetup_ws
andws_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)