Skip to content

Releases: AnswerDotAI/fasthtml

v0.6.3

19 Sep 01:13
Compare
Choose a tag to compare

Bugs Squashed

  • svg.Path not passing d param (#438)

v0.6.2

16 Sep 21:16
Compare
Choose a tag to compare

New Features

  • Include both m (me) and p (prev) in On and Prev handlers, and run after DOM ready (#429)

Bugs Squashed

  • proc_htmx not exported correctly (#434)

v0.6.1

16 Sep 19:55
Compare
Choose a tag to compare

New Features

  • Include both m (me) and p (prev) in On and Prev handlers, and run after DOM ready (#429)

Bugs Squashed

  • proc_htmx not exported correctly (#434)

v0.6.0

14 Sep 21:32
Compare
Choose a tag to compare

Breaking changes

  • date has been renamed to parsed_date

New Features

  • Handle non-list/tuple hdrs and ftrs in FastHTML() (#426)
  • Handle automatic datetime.date form field conversion (#415)

Bugs Squashed

  • Make sure only the selected radio button in a radio group is checked during form_fill (#424), thanks to @rbavery
  • All radio buttons in a radio group are checked during fill_form (#423)
  • receiving a list[str] as a parameter doesn't work with get request (#422)
  • Multipart error when submitting with empty form-data (#405)

v0.5.3

14 Sep 02:56
Compare
Choose a tag to compare

New Features

  • Add FtResponse (#425)
  • Add sid_scr (#425)
  • Scope On selector to p (#414)
  • Store p=me() before On handler (#413)
  • Convert dict children in ft_htmx and ft_hx to kwargs (#412)
  • Add reload on CSS and JS file changes (#401)

Bugs Squashed

  • static_path ignored in fast_app (#410)

v0.5.2

09 Sep 06:59
Compare
Choose a tag to compare

New Features

  • Greatly improved SVG support (#409)
  • Add SVG HTMX helpers: svg_sel, SvgOob, and SvgInb (#408)
  • Add Client and Nbsp (#403)
  • Add Redirect() and handle magic __response__ method (#400)
  • Add HtmxResponseHeaders (#399)
  • Add session to OAuth.chk_auth (#394)
  • Add static_routes and static_route_exts methods to FastHTML (#387)

Bugs Squashed

  • toasts do not show if response empty or tuple (#386)
  • toasts.py not updated for router refactor (#385)

v0.5.1

31 Aug 14:38
Compare
Choose a tag to compare

New Features

  • Add sse_message, EventStream, and signal_shutdown (#384)

v0.5.0

30 Aug 22:30
Compare
Choose a tag to compare

New Features

  • Make hdrs, ftrs, htmlkw, bodykw, etc available to RouterX and RouteX via ._app (#381)
  • Add OAuth class (#381)
    • Move redirect url into methods for oauth
  • Add options to change default static media directory (#373), thanks to @coreman14
  • Add PicoBusy() function to display loading spinner during html load (#372)
  • Add HtmxOn() to allow adding htmx event listeners more easily (#371)
  • Set toasts to only work with FT responses (#368), thanks to @pydanny
  • Routing subapp improvements (#365), thanks to @Isaac-Flath
  • Add all HTMX attrs to component signatures (#363)
  • Add markdown version of all docs (#361)
  • add easy to use chunked transfer extension header (#346), thanks to @fabge
  • Set 404 exception handling to give "404 Not Found" message (#335), thanks to @Isaac-Flath

Bugs Squashed

  • [BUG] Toasts don't show after redirect (#358)

v0.4.5

22 Aug 21:19
Compare
Choose a tag to compare

New Features

  • Support for web components in html2ft (#354)
  • Support options http verb as function name (#350)

Bugs Squashed

  • railway deployment not checking deployed projects correctly (#340)
  • Socials tag only appears in head tag when added via FastHTML.hdrs (#324)

v0.4.4

19 Aug 01:07
Compare
Choose a tag to compare

New Features

  • Replace __call__ with rt in handler functions (#334)
  • Add flat_tuple and use it to allow nested tuples in route responses
  • Add body parameter for decoded body
  • Move pico-specific components to separate module (#327)
  • Add "get" and "post" as default methods on routes (#317)
  • Support Reverse URL lookups by exposing url_for (#189)