Skip to content

Releases: AnswerDotAI/fasthtml

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)

v0.3.0

10 Aug 07:12
Compare
Choose a tag to compare

Breaking changes

  • Do not make session vars available as direct params (#237)

New Features

  • Add surreal.js helpers Me, Any, On (#238)
  • Alpine support (#238)
  • Add support for application/json in POST requests (#234), thanks to @khoaHyh
  • Wrap Starlette's session in an AttrDict (#213), thanks to @jbellis
  • Handle mismatches between existing db and schema (#202), thanks to @ncoop57
  • Raise warning if type is not passed (#195)

Bugs Squashed

  • railway deploy doesn't check for project name (#230), thanks to @gautam-e

v0.2.4

05 Aug 13:13
Compare
Choose a tag to compare

Bugs Squashed

  • Signature may not resolve types from str (#198)