Skip to content

Releases: AnswerDotAI/fasthtml

v0.12.0

06 Jan 20:19
Compare
Choose a tag to compare

Breaking changes

  • Update fastlite dep to 0.1.1 (#626)
    • This version of fastlite uses apsw, instead of the stdlib's sqlite3.

v0.11.0

05 Jan 05:45
Compare
Choose a tag to compare

Breaking changes

  • FT components now stringify as their id if they have one

New Features

  • Create unique route names for nested functions (#622)
  • Pass id=True when creating a component to get an auto unique id (#622)
  • Add + to FT components (#622)

v0.10.3

25 Dec 21:11
Compare
Choose a tag to compare

Bugs Squashed

  • Update sqlite-minutils to apswutils in fasthtml.common

v0.10.2

23 Dec 22:02
Compare
Choose a tag to compare

New Features

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)