Skip to content

Releases: a-h/templ

v0.2.227

10 Mar 12:51
@a-h a-h
c2d18aa
Compare
Choose a tag to compare

Changelog

  • c1606d6 chore: add error checking to rewind functions
  • ba7978f chore: check error on ListenAndServe
  • a054d8c chore: fix errcheck warnings
  • d80c8cf chore: fix linter warnings
  • c2d18aa chore: fix minor linter nits
  • a2041d4 chore: migrate to io from ioutil
  • 73c650a chore: remove ineffectual assignments
  • 4edb65e chore: remove linter warnings from test
  • 453b73f chore: remove linter warnings in httpdebug handler
  • ac45829 chore: remove linter warnings in visualization handler
  • f5ab816 chore: resolve more linter warnings
  • dafc7f0 chore: update example to not use the deprecated ioutil
  • ef8a6f8 feat: add golangci-lint to the build
  • a76a114 fix: LSP diagnostics that end at the newline not being remapped to templ files
  • b1973fd fix: bug with newlines being added to reinserted text in Neovim
  • 60f4799 fix: sourcemap not handling multiline expressions (e.g. import statements) properly
  • 120aaa2 fix: stop adding extra lines at the end after formatting operations
  • e7f68cb fix: unchecked error in generator
  • 82bf358 refactor: remove unused variable

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)