Skip to content

Releases: AnswerDotAI/fasthtml

v0.14.6

Choose a tag to compare

@jph00 jph00 released this 11 Jul 04:03

New Features

  • Add StaticImmutable class and vurl helper for versioned static file URLs (#904)
  • Use deterministic uuid5 for devtools workspace and return root as string (#901)

v0.14.5

Choose a tag to compare

@jph00 jph00 released this 09 Jul 05:46

New Features

  • Add cancel_on_disconnect decorator and until_disconnect helper (#900)
  • use mk_getattr from fastcore to unify __getattr__ implementation (#899), thanks to @jackhogan
  • convert CamelCase tags to kebab-case (#896), thanks to @jackhogan

Bugs Squashed

  • Treat an empty application/json body as {} in parse_form (#880), thanks to @linguistic76

v0.14.4

Choose a tag to compare

@jph00 jph00 released this 27 Jun 02:48

New Features

  • Add upload_pb_attrs helper for upload progress bars (#892)

Bugs Squashed

  • Use GET method for static file routes instead of generic route (#893)
  • Fix Route handlers convert falsy values (0, False) to empty strings #572 (#890), thanks to @civvic
  • Treat an empty application/json body as {} in parse_form (#880), thanks to @linguistic76

v0.14.3

Choose a tag to compare

@jph00 jph00 released this 19 Jun 03:18

New Features

  • Add configurable max_part_size for multipart form uploads (default 100MB) (#889)
  • Update to httpx2 as required by starlette (#885)
  • Improve JupyUvi.stop and async waiting (#879), thanks to @kafkasl

v0.14.2

Choose a tag to compare

@jph00 jph00 released this 29 May 02:42
  • Bump Starlette min to 1.0.1 to avoid CVE

v0.14.1

Choose a tag to compare

@jph00 jph00 released this 10 May 19:45

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

Choose a tag to compare

@jph00 jph00 released this 10 May 01:53

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

Choose a tag to compare

@jph00 jph00 released this 23 Apr 02:18

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

Choose a tag to compare

@jph00 jph00 released this 07 Apr 03:55

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

Choose a tag to compare

@jph00 jph00 released this 27 Mar 03:55

Bugs Squashed

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