Releases: AnswerDotAI/fasthtml
Releases Β· AnswerDotAI/fasthtml
v0.10.3
v0.10.2
New Features
- Adds
body_wrap
bits to APIRouter (#612), thanks to @ohmeow - Fix/add default title (#604), thanks to @banditburai
- upgrade to [email protected], [email protected], etc to latest version (#603), thanks to @pratapvardhan
- Optimise highlightjs usage (#602), thanks to @curtis-allan
- Use explicit version numbers in cdn links (#599), thanks to @curtis-allan
- Made route functions accesible from an instance of APIRouter as well β¦ (#598), thanks to @ohmeow
- Improved APIRouter to allow for prefixs and discrovery (#594), thanks to @ohmeow
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