Skip to content

Releases: AnswerDotAI/fasthtml

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

v0.13.1

Choose a tag to compare

@jph00 jph00 released this 24 Mar 02:32

New Features

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

v0.13.0

Choose a tag to compare

@jph00 jph00 released this 23 Mar 22:27

New Features

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

Bugs Squashed

  • missing format_datetime (#846)