Skip to content

v0.3.4

Compare
Choose a tag to compare
@jph00 jph00 released this 12 Aug 09:54
· 806 commits to main since this release

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