Skip to content

Releases: AnswerDotAI/fasthtml

v0.4.2

15 Aug 17:03
Compare
Choose a tag to compare

New Features

  • Rename Checkbox to CheckboxX (#314)
    • CheckboxX also adds a hidden field before the checkbox
  • Automatically choose last field in form data if list provided by non-list parameter

v0.4.1

15 Aug 05:32
Compare
Choose a tag to compare

Bugs Squashed

  • post release fix for fill_form (#309)

v0.4.0

15 Aug 04:26
Compare
Choose a tag to compare

Breaking changes

  • __init.py__ now only contains fasthtml.core

New Features

  • Fastcore 1.7 compatibility (#307)
  • Add fasthtml.basics for importing the main fasthtml modules

v0.3.7

14 Aug 19:21
Compare
Choose a tag to compare

New Features

  • Add reload_includes and reload_excludes options to serve (#291), thanks to @pydanny

Bugs Squashed

  • katex.js missing (#305)

v0.3.6

14 Aug 00:38
Compare
Choose a tag to compare

Bugs Squashed

  • postrelease fix markdown js (#290)

v0.3.5

14 Aug 00:32
Compare
Choose a tag to compare

New Features

  • Support dict value in hx_vals (#288)
  • Add sess_cls param to FastHTML (#284)
  • Make index a special handler name for path "/" get request (#274)
  • Use run_in_threadpool for non-async handlers (#270)
  • Enhance LaTeX rendering in Markdown with support for environments (#269), thanks to @rian-dolphin

Bugs Squashed

  • Duplicate parameters in components.pyi (#255)

v0.3.4

12 Aug 09:54
Compare
Choose a tag to compare

New Features

  • Experimental new named-based HTMX routing system (#267)
    • uri function to constract url_for path params
    • patch HTTPConnection.url_path_for
    • replace HTTP verb FT attr names with hx- prefixed versions, and look up values in route names (with link used for href attrs)
    • Default route paths to /{func.__name__}
    • Default route method to post if func name isn't an http verb
    • Support skipping () in route decorators

v0.3.3

11 Aug 22:29
Compare
Choose a tag to compare

New Features

  • Default route name to function name if method provided (#263)
  • surreal and htmx bool params for FastHTML and fast_app (#258)

v0.3.2

11 Aug 08:52
Compare
Choose a tag to compare

New Features

  • generic list annotated params double-wrapped (#253)
  • Add Prev() (#253)
  • ft_cfg config defaults (#251)
  • Make fill_form set selected option (#185), thanks to @ostwilkens

Bugs Squashed

  • Use re.fullmatch for Beforeware (#221), thanks to @justbur

v0.3.1

10 Aug 16:57
Compare
Choose a tag to compare

Bugs Squashed

  • Alpine regex not constrained to attr start (#242)