Skip to content

Releases: a-h/templ

v0.3.1001

28 Feb 12:36
5ddd784

Choose a tag to compare

Changelog

  • 2c505c0 chore: add unit test to cover recent fix
  • 4233429 chore: bump compiler to Go 1.26
  • 1b9a429 chore: bump deps in fiber example
  • 54981db chore: bump docusaurus version
  • e606c30 chore: bump flake builder
  • 66bc28b chore: bump gofiber example deps
  • 95f88a6 chore: bump to Go 1.25, update csrf example
  • 916a243 chore: bump version
  • 45dda73 chore: fix test broken by merge
  • 5ddd784 chore: revert Nix bump to Go 1.26 because it breaks the golangci-lint package
  • 4037d8a feat: add Range to BoolConstantAttribute nodes (#1340)
  • afb0034 feat: add Range to BooleanExpressionAttribute nodes (#1336)
  • c80f745 feat: add Range to ChildrenExpression nodes (#1337)
  • b0f5243 feat: add Range to ConditionalAttribute nodes (#1338)
  • 60fc376 feat: add Range to ConstantAttribute nodes (#1341)
  • b4e809e feat: add Range to SpreadAttributes nodes (#1335)
  • 5824d4b feat: add TLS support to live reload proxy (#1345)
  • e9a940b feat: strip space from CSS classname rendering, closes #1074 (#1346)
  • bdda41e fix: don't remove unaliased hyphenated imports if they're used (#1342)
  • c2ff8bb fix: issue 1253 (#1339)
  • cf6235a fix: proxy escaping characters (#1321)
  • d97730c fix: support nushell for prettier, fixes #1266 (#1343)
  • b666bd7 fix: undefined variable in proxy test range loop (#1324)
  • be8271d refactor: skip some more tests that require prettier

v0.3.977

31 Dec 20:23
1031b47

Choose a tag to compare

Changelog

  • e269629 chore: bump nix dependencies
  • e16061b chore: bump npm docs (npm audit fix)
  • acc6444 chore: bump versions in examples
  • 54b3856 chore: fix broken unit test
  • 8662cdb feat(proxy): flush streamed html (#1271)
  • dc31b64 feat: add Range to DocType nodes (#1302)
  • be9d6c9 feat: add Range to Whitespace nodes (#1301)
  • a74cfa9 feat: add prettier to templ info command
  • 0d69ba4 feat: add support for "fallthrough" in case statements (#1289)
  • a7df818 fix: LSP diagnostics on Windows (#1274)
  • 40d2b42 fix: LSP proxy SourceMapCache should not store nil SourceMaps (#1294)
  • 25dc2ce fix: normalize leading whitespaces in multiline go code (#1305)
  • 7be7dd6 fix: prevent templ fmt from adding whitespace to blank lines in inline functions (#1287)
  • 554eab8 fix: wait for proxy to be ready upon restart (#1299)

v0.3.960

15 Oct 12:19
7a75104

Choose a tag to compare

Changelog

  • 7a75104 chore: bump version
  • 8b51dc9 chore: bump version
  • 336ca10 chore: bump version
  • b75203b chore: fix ensure generated
  • c2f3317 feat: add --ignore-pattern flag to generate -watch (#1280)
  • b580171 feat: add Range to CallTemplateExpression nodes (#1275)
  • aed18e8 feat: add Range to TemplElementExpression (#1276)
  • 5094fb5 feat: add Ranges to ForExpressions (#1264)
  • f712c14 feat: add Ranges to IfExpression and ElseIfExpressionparser nodes (#1248)
  • bebee7d feat: add Ranges to SwitchExpressions (#1265)
  • 028f398 feat: format single-line go expressions to a single line (#1267)
  • abb427c fix: incorrect JS parsing when / chars encountered within strings, fixes #1250

v0.3.943

15 Aug 15:07
806d9e8

Choose a tag to compare

Changelog

  • 70af26b chore: bump dependencies
  • 806d9e8 chore: bump version
  • d7f4505 feat: add Range field to Element parser nodes (#1236)
  • 40be321 feat: don't insert proxy reload script on datastar initiated requests (#1235)
  • 18fb42a fix: don't attempt to apply prettier if it is not available (#1246)
  • 71d038e fix: skip parsing of JavaScript regexp literals: /test/ (#1245)

v0.3.937

14 Aug 13:02
9490baa

Choose a tag to compare

Changelog

  • 935033d chore: bump dependencies
  • c6b1acb chore: bump gofiber in example project
  • 9490baa chore: bump version
  • 5397d62 chore: fix linter errors in test
  • 7451ee8 chore: go get ./... && go mod tidy
  • e0a1051 chore: remove linter warning in test
  • 63d8ad2 feat: add Range to HTMLComment nodes (#1229)
  • 71566a0 feat: add Range to raw elements (RawElement, ScriptElement) (#1231)
  • 273e0ed feat: format js and css with prettier if prettier is on the $PATH (#1230)
  • 5151891 refactor: update watcher tests to use public interface of fsnotify to prevent race condition in tests

v0.3.924

26 Jul 15:39
799d461

Choose a tag to compare

Changelog

  • 799d461 chore: bump version
  • ef5165e feat: add Ranges to GoComment parser nodes (#1225)
  • 17484e5 fix: stop rebuilding application if text-only changes have occurred in dev mode (#1227)

v0.3.920

20 Jul 18:00
d6338ec

Choose a tag to compare

Changelog

  • fedfcd4 Update 04-datastar.md (#1214)
  • 8fd80ac chore(docs): bump docs dependencies
  • 23ccc90 chore: bump chi deps in example
  • d6338ec chore: bump version
  • 554776e chore: update copilot instructions
  • 542b139 feat: add fragment rendering support (#1216)
  • 39303d6 fix(lsp): suppress gopls warning about editing generated file (#1221, fixes #1200)
  • 732862b fix: add support for spreading non-string attribute values in RenderAttributes (#1213)
  • 79a8e2f refactor: move expressionAttributeValueURL check to separate function (#1206)
  • e2a87c1 refactor: remove map use when it isn't needed
  • 73832bd refactor: rework generator command (#1211)

v0.3.906

25 Jun 07:43
c086e47

Choose a tag to compare

Changelog

  • c086e47 chore: bump version file
  • 15199ff chore: updated storybook installation command with a features flag (#1185)
  • 27dd1a4 feat: pass stdin to watched commands (#1195)
  • 838a60a feat: push Nix packaging to Flakehub
  • 7df55ec feat: support string types and functions for URL attributes - no longer require templ.SafeURL - fixes #1167 (#1171)
  • 2874448 fix(lsp): prevent LSP panic in cases where elements are nil
  • c9bd939 fix: comments don't eat newlines (#1186)
  • f9f9f3a fix: handle live import declaration changes in lazy loader (#1192)
  • 9ad7ba1 fix: prevent request failure notification spam for new files in lazy loader (#1202)
  • 63238fc refactor: allow more flexible parsing of expression attributes (#1197)
  • 780cab0 refactor: don't block if timer runs out (behaviour change from Go 1.23) (#1179)
  • 9b34663 refactor: replace document open count with package reference count in lazy loader (#1187)

v0.3.898

06 Jun 17:35
b3a6561

Choose a tag to compare

Changelog

  • b3a6561 chore: bump version [no-ci]
  • 7df55ec feat: support string types and functions for URL attributes - no longer require templ.SafeURL - fixes #1167 (#1171)
  • 2874448 fix(lsp): prevent LSP panic in cases where elements are nil
  • 780cab0 refactor: don't block if timer runs out (behaviour change from Go 1.23) (#1179)

v0.3.894

04 Jun 20:53
608c516

Choose a tag to compare

Changelog