A language for writing HTML user interfaces in Go.
tel
, ftp
and ftps
as safe URL protocols (#657)func(...) (string, error)
for string attribute expression values. (#584)--proxybind
flag to generate watch mode (#615)--watch
command - https://github.com/a-h/templ/pull/470
go/ast
which means that multiline Go expressions are now supported. This is a big change. To test it, I wrote a new fuzzing suite, and generated code for over 1000 public Github projects - https://github.com/a-h/templ/pull/461 - so I'm confident in it, but given the variation of how people write code, there's still risk.templ.URL
sanitization for non-standard attributes by @bshore in https://github.com/a-h/templ/pull/442
Full Changelog: https://github.com/a-h/templ/compare/v0.2.542...v0.2.598
Full Changelog: https://github.com/a-h/templ/compare/v0.2.513...v0.2.543