Templ Versions Save

A language for writing HTML user interfaces in Go.

v0.2.663

1 month ago

Changelog

  • 44183ea chore: add troubleshooting guide for intellij products (#660)
  • 8cc2e94 chore: add unit test and benchmark to URL function
  • 0b30dc5 chore: bump version
  • 25ac8cf chore: fix function name in comment (#675)
  • d57277f feat: Allow using tel, ftp and ftps as safe URL protocols (#657)
  • 022a8b0 feat: add notify proxy to reload browser (#661)
  • ad69501 feat: handle string and boolean pointers in attributes (#648)
  • ac07d85 fix: delete watch mode files when command exits, fixes #664
  • 72349ec fix: minor typo, fixes #665
  • 9cd51fe refactor: remove redundant comment (#668)

v0.2.648

1 month ago

Fix for regression in previous release.

Changelog

  • 80bffc6 chore: refactor comment position
  • ae52b02 fix: failure to parse empty slices (fixes #638)

v0.2.646

1 month ago

Changelog

  • f2e5269 chore: bump version [no ci]
  • 8709950 chore: bump workflow
  • 3eff9c3 feat: add option to generate to stdout (#628)
  • 1e176a0 fix: handle slice literals without named types (#635)

v0.2.639

1 month ago

Changelog

  • f55a23b Create FUNDING.yml
  • ee7132c chore: flake: bump Go from 1.21.4 to 1.21.8
  • 1ed8b42 chore: migrate to github actions for releases
  • f27f67f chore: pass env variables to nix develop
  • ed05347 feat(proxy): skip adding the proxy script for HTMX requests (#614)
  • ac593eb feat: Support func(...) (string, error) for string attribute expression values. (#584)
  • 15d7b92 feat: add Docker images to release outputs
  • d45ff2e feat: add --proxybind flag to generate watch mode (#615)
  • 8d48984 feat: add templ.SafeCSSProperty support (#581)
  • 22f761a feat: parse HTML element and attribute positions (#548)
  • f3417e0 feat: support unquoted CSS background-urls, fixes #578, #580
  • 5381ed0 fix: don't panic on non-existent file path (#600)
  • ee4d1dd fix: fixes issue #597 - improves performance (500x faster than previous) (#605)
  • ab29256 fix: incorrect parsing of empty js strings, fixes #468
  • 358286c refactor: document structure of templ file by demonstrating interface implementation

v0.2.598

2 months ago

Big changes

Changelog

New Contributors

Full Changelog: https://github.com/a-h/templ/compare/v0.2.542...v0.2.598

v0.2.543

3 months ago

Changelog

New Contributors

Full Changelog: https://github.com/a-h/templ/compare/v0.2.513...v0.2.543

v0.2.513

4 months ago

Changelog

  • 44c155c chore(docs): Add Anthony GG tutorial to docs (#383)
  • d5d2dec feat: bump xc version
  • 5579e47 fix(fmt): incorrect conversion from single to double quotes, fixes #380
  • 4580762 fix(fmt): stop adding extra lines between Go comments and templates (#351)
  • e98db35 fix: apply temporary workaround for https://github.com/golang/go/issues/61888
  • f0fb971 fix: templ CLI panic with --proxy option (#365)

v0.2.501

4 months ago

Changelog

  • 13b1f8a Feature: delete orphaned templ files, with -keep-orphaned-files flag to disable (#325)
  • 060219c [docs] Enable templ syntax highlighting in 04-core-concepts/01-components (#336)
  • 92557cd chore: bump deps in examples
  • e127474 chore: bump version
  • 06b7157 chore: remove orphaned templ file
  • 6a3dc32 chore: run formatter after updates
  • 37f022a feat: add spread attribute feature (#237)
  • 8484597 feat: add support for rendering raw HTML, and bi-directional support for html/template (#337)
  • f7d965c feat: allow functions that return (string, error) (#299)
  • b6f0b3d feat: probe for Windows locations of gopls
  • f217754 feat: show templ CLI and go.mod version mismatch warning (#338)
  • ac11ed2 feat: warn when using legacy call syntax (#303)
  • 802881f fix(#300): multiline bool constant attributes on Windows
  • 499671c fix: 'generate -watch' stops sleeping between iterations after 15min (#309)
  • 4911b5d fix: diagnostics set to nil, which causes issues in some LSP clients (and is against spec)
  • 99fd97f fix: ensure correct response headers and status code used on template render error (#316)
  • 83497bc fix: fixed insertion of additional whitespace on format (#346)
  • 9622ae2 fix: nix documentation, CGO typo and flake overlay (#323)
  • c9f43b8 refactor: add example of allocation test for parser
  • 6c41101 refactor: reduce memory allocations during parsing and generation (#301)

v0.2.476

5 months ago

Changelog

  • 6121e6c chore: bump coverage Github action
  • fb53582 chore: bump deps hash
  • ab819d4 chore: bump golang.org/x/net
  • d941985 chore: bump htmlformat library
  • 16dfaad chore: bump version
  • 6662349 chore: bump version
  • b511005 chore: bump version
  • f0dc112 chore: bump version
  • b0d1cdb chore: bump version
  • e8f18b2 chore: conduct.md
  • ba7a09e chore: delete unused file
  • e2dff51 chore: fix error in CI pipeline YAML
  • a6888ec chore: reformat templates after changes
  • 4196f34 chore: remove missing package from flake.nix
  • 0d7a8e3 chore: remove reference to legacy template call expression (#280)
  • 941644e chore: update flake vendor hash (#276)
  • 49f8001 chore: use magic nix cache to speed up builds
  • ec577d5 ci: ensure fmt (#282)
  • 8d2651a feat(lsp): also probe common directories to look for gopls, see #127
  • abe23c6 feat: add ability to call script components inline (#285)
  • ceb6f14 feat: fmt: Go format expression attributes
  • 7a905f8 feat: remove class name sanitization, since CSS class names are already HTML attribute escaped (#284)
  • 43545f8 feat: support HTMX wildcard attribute names, fixes #271
  • 8480a71 fix: remove escaping for ConstantAttribute (#293) (#295)
  • fe52296 fix: remove incorrect document highlighting, fixes #283
  • 05248fc fix: return exit code, fixes #278 (#281)
  • 9e8a645 fix: set content type correctly on gin example (#277)
  • f18e82f refactor: change max size of element name to 128 (#297)
  • 6e36230 refactor: rename Go expressions at template level
  • cc5054c refactor: template node parser
  • a463e64 refactor: update unit test to be more descriptive
  • 79dcc11 refactor: use Nix to test, lint and build

v0.2.432

6 months ago

Changelog

  • 8d6bbc2 chore: add template formatting to the code coverage
  • 1d3e08b chore: apply gofmt -s
  • d17087d chore: improve cmd unit testing
  • 716517f feat: update flake and related docs (#241)
  • 63bc705 fix: scripts not rendered when script expression is in a conditional attribute, fixes #260