Skip to content

Releases: AnswerDotAI/fasthtml

v0.14.2

29 May 02:42

Choose a tag to compare

  • Bump Starlette min to 1.0.1 to avoid CVE

v0.14.1

10 May 19:45

Choose a tag to compare

Breaking changes

The following imports have been removed from fasthtml.common:

import uvicorn
from apswutils import Database
from fastlite import *
from .pico import *

New Features

  • Speed up imports (#876)
  • Add class-based route groups: @rt on a class registers each HTTP method handler at the same path (#872)
  • daemon JupyUvi for notebook testing (#869), thanks to @kafkasl
  • Add FastHTMLTestClient with session decoding and get_testclient method (#868)
  • allow multiple route before functions (#867), thanks to @RensDimmendaal
  • Add "route beforeware" (#866)

v0.14.0

10 May 01:53

Choose a tag to compare

Breaking changes

The following imports have been removed from fasthtml.common:

import uvicorn
from apswutils import Database
from fastlite import *
from .pico import *

New Features

  • Speed up imports (#876)
  • Add class-based route groups: @rt on a class registers each HTTP method handler at the same path (#872)
  • daemon JupyUvi for notebook testing (#869), thanks to @kafkasl
  • Add FastHTMLTestClient with session decoding and get_testclient method (#868)
  • allow multiple route before functions (#867), thanks to @RensDimmendaal
  • Add "route beforeware" (#866)

v0.13.4

23 Apr 02:18

Choose a tag to compare

New Features

  • JSONResponse: serialize listy types as lists in addition to stringifying others (#865)
  • Do not wrap scope in dict2obj (#859)

Bugs Squashed

  • _apply_ft is not needed (#860)

v0.13.3

07 Apr 03:55

Choose a tag to compare

New Features

  • Add into decorator and add_sig_param utility; improve __from_request__ param handling; add Beforeware.__repr__ (#858)

Bugs Squashed

  • Fix WebSocket crash when HTMX sends null header values (#856), thanks to @aleph-ra

v0.13.2

27 Mar 03:55

Choose a tag to compare

Bugs Squashed

  • Fix ws header lookup key mismatch (#853), thanks to @dienhoa

v0.13.1

24 Mar 02:32

Choose a tag to compare

New Features

  • Refactor lifespan handling into Lifespan class with on_event support and add add_websocket_route method (#851)

v0.13.0

23 Mar 22:27

Choose a tag to compare

New Features

  • Add _mk_lifespan helper to wrap on_startup/on_shutdown for Starlette 1.x compatibility (#850)

Bugs Squashed

  • missing format_datetime (#846)

v0.12.50

13 Mar 20:35

Choose a tag to compare

New Features

  • Add HostRoute class for host-header based routing with pattern matching (#843)

Bugs Squashed

  • Fix _fix_anno mangling bare list annotations (#841), thanks to @jackhogan

v0.12.49

13 Mar 20:15

Choose a tag to compare

New Features

  • Add HostRoute class for host-header based routing with pattern matching (#843)

Bugs Squashed

  • Fix _fix_anno mangling bare list annotations (#841), thanks to @jackhogan