Skip to content

Releases: AnswerDotAI/fasthtml

v0.10.1

01 Dec 23:51
Compare
Choose a tag to compare

New Features

  • Add Auth0AppClient, thanks to 78wesley (#589)
  • configurable toast duration (#587), thanks to @comhar

v0.10.0

19 Nov 00:03
Compare
Choose a tag to compare

Breaking changes

  • The OAuth API is now simplified to only require chk_auth, and no longer uses login. chk_auth should either return False (meaning not authenticated) or a RedirectResponse. After authentication, the auth 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

19 Nov 00:03
Compare
Choose a tag to compare

Breaking changes

  • The OAuth API is now simplified to only require chk_auth, and no longer uses login. chk_auth should either return False (meaning not authenticated) or a RedirectResponse. After authentication, the auth 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

07 Nov 18:38
Compare
Choose a tag to compare

New Features

  • Add oauth error_path (#570), thanks to @comhar
  • Add qp to create routes with query params (#560)
  • render_rt() function enables automatic rendering of FT components in notebook (#558)
  • In HTMX() height is now fixed if passed, and FT components can be rendered instead of paths (#557)

v0.9.0

30 Oct 16:35
Compare
Choose a tag to compare

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 to FastHTML (#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 in app.ws handlers (#538)

Bugs Squashed

v0.8.0

21 Oct 07:12
Compare
Choose a tag to compare

Breaking changes

  • jupy_app and FastJupy removed; their functionality is now built into fast_app and FastHTML and enabled automatically in notebooks
  • RouteX and RouterX removed; use FastHTML.add_route instead

New Features

  • Add APIRouter (#535)

v0.7.1

20 Oct 06:05
Compare
Choose a tag to compare

Breaking changes

  • ws_hdr and cts_hdr both removed from FastHTML and fast_app; replaced with exts, which takes a list of extension names (e.g. exts='ws')

New Features

v0.7.0

20 Oct 06:00
Compare
Choose a tag to compare

Breaking changes

  • ws_hdr and cts_hdr both removed from FastHTML and fast_app; replaced with exts, which takes a list of extension names (e.g. exts='ws')

New Features

v0.6.14

19 Oct 05:25
Compare
Choose a tag to compare

New Features

  • Replace experimental Pusher with experimental setup_ws and ws_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

15 Oct 10:13
Compare
Choose a tag to compare

New Features

  • Add scope param (#519)
  • Allow FastHTML.ws to be used without a function (#519)
  • Allow setting of xmlns in Svg (#519)

Bugs Squashed

  • Add missing unqid import (#519)