Skip to content

Releases: a-h/templ

v0.2.208

24 Feb 16:56
@a-h a-h
c022bc0
Compare
Choose a tag to compare

Changelog

  • 71561c6 chore: bump atomic, multierr, zap, cors library
  • e3f434a chore: bump goquery
  • ee65513 chore: bump to Go v1.20 to gain errors.Join
  • 2410e48 chore: bump to Go v1.20 to gain errors.Join
  • c022bc0 chore: bump to Go v1.20.1 to gain errors.Join
  • c54dba5 refactor: replace hashicorp multierror with new go stdlib errors feature

v0.2.202

24 Feb 16:26
@a-h a-h
97f925e
Compare
Choose a tag to compare

Changelog

  • 97f925e fix: add shebang for linux

v0.2.194

20 Jan 16:28
@a-h a-h
e6ce632
Compare
Choose a tag to compare

Changelog

  • 5787320 chore: missing test cases (#63)
  • e6ce632 chore: upgrade benchmark NPM packages
  • 3b33e9c feat: pool byte buffers (#62)
  • eacf218 fix: allow an extra space after open braces, since it's a common typo
  • d7b9c7d fix: no matched nodes should be an error (#60)
  • eb9c263 fix: regex syntax incorrect causing hyphenated classes to be sanitized. (#58)
  • 17c7df9 fix: typos in CLI docs
  • 9c5e3bc refactor: improve error message, related to #60

v0.2.186

22 Aug 17:21
@a-h a-h
35ba5eb
Compare
Choose a tag to compare

Changelog

v0.2.184

31 Jul 19:28
@a-h a-h
399b043
Compare
Choose a tag to compare

Changelog

  • 5e9c8f9 chore: regenerate templates (see previous commit, and #56).
  • 399b043 chore: regenerate the templates from previous commit, see #56
  • 7b51d06 chore: update the code now that the generator has been updated (see previous commit and #56)
  • 0c824b8 feat: add option for preview-head.html (#54)
  • 06fdb56 feat: add templ elements, and templ block elements (#51)
  • d0dc874 feat: breaking change to reduce allocations, see #56
  • 9a99302 feat: don't allocate the internal map if it's not required, see #56
  • ff2ad31 feat: reduce allocations (11 to 7 in benchmark) by using a constant key, see #56
  • 1d80ac9 feat: reduce allocations by sharing a single state value, see #56.
  • 3c41c3a feat: use a bytes.Buffer directly if one is passed in, or create one to increase performance, see #56
  • c54832e fix: don't self-close empty script tags (#55)
  • 818862c refactor: tidy up some strings.Builder usage

v0.2.171

11 Jun 12:01
@a-h a-h
a106a12
Compare
Choose a tag to compare

Changelog

  • 73b850b Changed the logo to a more appealing design. (#44)
  • 05105d1 chore: update release tag
  • d2d0fb2 feat(fmt): allow formatting from stdin (#48)
  • 64a72aa feat: added export command to be able to export V1 templ files and import into V2
  • 1954d55 feat: v2.0 release (#49)
  • a106a12 fix: go expects v2 to be in a v2 directory

v0.0.164

20 Mar 15:38
@a-h a-h
1c6c2c9
Compare
Choose a tag to compare

Changelog

1c6c2c9 feat: add flag to allow generating code for a specific file

v0.0.162

19 Mar 19:21
@a-h a-h
46bc285
Compare
Choose a tag to compare

Changelog

46bc285 feat: stop enforcing spaces after '{%' and before '%}' (#35) (#40)

v0.0.161

19 Mar 19:21
@a-h a-h
2a47eaf
Compare
Choose a tag to compare

Changelog

2a47eaf write files to buffer rather than directly to files (#39)

v0.0.160

13 Mar 15:09
@a-h a-h
4234940
Compare
Choose a tag to compare

Changelog

4234940 parser: support missing package instructions (#37)