1
0
mirror of https://github.com/a-h/templ.git synced 2025-02-06 10:03:16 +00:00

833 Commits

Author SHA1 Message Date
Adrian Hesketh
fea7372cec
feat: add style expression support (#1058)
Co-authored-by: Joe Davidson <joe.davidson.21111@gmail.com>
v0.3.833
2025-01-30 18:16:20 +00:00
Adrian Hesketh
0474dd99db
refactor: vendor LSP code, and reduce dependencies, fixes #1050 (#1054) 2025-01-27 10:25:43 +00:00
Zixian
850120161a
docs: clarify when live reload might fail due to middleware implementation (#1048) 2025-01-22 19:18:47 +00:00
Parmesh Krishen
2514d89075
refactor: don't generate a type attribute for <script> elements, update associated docs (#1053) 2025-01-22 19:17:47 +00:00
Adrian Hesketh
6ea47fff11
fix: watch mode only detects Go code changes if text also changes
Closes #960
2025-01-22 19:01:22 +00:00
Adrian Hesketh
8565703329
chore: bump dependency hash 2025-01-22 16:06:38 +00:00
Adrian Hesketh
45f4c464b0
fix: ensure that user-facing line numbers are 1-based, not 0-based, closes #1051 2025-01-22 15:50:22 +00:00
Viktor Szépe
725a88f73c
chore: fix misspellings (#1040)
Co-authored-by: Adrian Hesketh <adrianhesketh@hushmail.com>
2025-01-21 17:16:06 +00:00
Yury Kleyman
34660b3bf3
docs: update datastar example (#1039) 2025-01-17 19:58:45 +00:00
Joe Davidson
24be99e271
fix: delete watchmode files when shutdown is sent (#1046) 2025-01-13 21:36:22 +00:00
Adrian Hesketh
8b05ded63d
chore: fix typos 2025-01-06 16:07:42 +00:00
Adrian Hesketh
fb44b3e841
feat: add new JS handling features - templ.JSFuncCall and templ.JSUnsafeFuncCall (#1038)
Co-authored-by: Joe Davidson <joe.davidson.21111@gmail.com>
2025-01-06 14:17:18 +00:00
Adrian Hesketh
fcc0519ac7
docs: document that air now has a proxy too 2025-01-03 17:45:21 +00:00
Alex White
e47f4c5077
feat: retain import grouping during fmt (#1037) 2025-01-03 15:54:17 +00:00
Adrian Hesketh
e54517eb7d
chore: bump version v0.3.819 2025-01-02 11:35:15 +00:00
Adrian Hesketh
8e2db03531
docs: update templ highlighting and add nix, json and bash highlighting (#1033)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-01-01 13:56:08 +00:00
Adrian Hesketh
1f94c7b135
fix: stop double-processing generation in watch mode, now that the generation is identical 2025-01-01 13:36:40 +00:00
Adrian Hesketh
3643c9b565
chore: storybook check int conversion bounds to remove lint warning 2025-01-01 12:59:22 +00:00
Adrian Hesketh
b15d514eae
chore: bump docusaurus version to 3.6.3 2025-01-01 12:54:51 +00:00
Adrian Hesketh
1b58e025ac
chore: bump echo version in examples 2025-01-01 12:41:11 +00:00
Adrian Hesketh
b4a2274d84
chore: update ignore rules for text editor search to ignore go.sum and LLM help files by default 2025-01-01 12:35:48 +00:00
Adrian Hesketh
2cc28840cf
chore: bump version of go tools, go compiler, and goquery (fixes CVE) (#1031) 2025-01-01 12:34:29 +00:00
Adrian Hesketh
a66a237518
feat: generate same dev and prod code, fixes #700 (#1027) 2024-12-31 16:42:42 +00:00
Adrian Hesketh
6afd6768ea
fix(breaking): trigger rebuild on changes to *.go files, fixes #646 (#1026) 2024-12-30 20:39:14 +00:00
Adrian Hesketh
e16b2d88a4
feat: support unquoted HTML attributes, closes #963 (#1028)
Co-authored-by: Joe Davidson <joe.davidson.21111@gmail.com>
2024-12-30 13:49:03 +00:00
Harris Bisset
9058914c00
fix: parser hangs when a bracket isn't closed (#1005) (#1029)
Co-authored-by: harrisbisset <hb233@st-andrews.ac.uk>
Co-authored-by: Harris Bisset <harrisbisset@gmail.com>
Co-authored-by: Adrian Hesketh <adrianhesketh@hushmail.com>
2024-12-29 09:52:48 +00:00
Adrian Hesketh
9a97564b7c
docs: document committing templ files, fixes #1007 2024-12-27 12:04:26 +00:00
Adrian Hesketh
95a0cea3cc
chore: update generated code to return nil instead of generated value (#1025)
Co-authored-by: Guilherme Soares <guilhermesoares1970@gmail.com>
2024-12-27 11:39:43 +00:00
Joe Davidson
b919741d2c chore(docs): fix docs link 2024-12-27 11:14:25 +00:00
Jannis Schaefer
98c4466bfd
feat(storybook): add multiple story support for components (#971)
Co-authored-by: Adrian Hesketh <adrianhesketh@hushmail.com>
Co-authored-by: Adrian Hesketh <a-h@users.noreply.github.com>
2024-12-24 15:26:41 +00:00
Adrian Hesketh
3eaa56a05e
feat: support latest version of Storybook (#1024) 2024-12-24 15:24:26 +00:00
Joe Davidson
1d87e1ae3d
feat(docs): add llms.md (#1023)
Co-authored-by: Adrian Hesketh <adrianhesketh@hushmail.com>
2024-12-24 15:19:33 +00:00
Harris Bisset
c36a9e1338
fix: remove repeated error messages (#1011) (#1017)
Co-authored-by: harrisbisset <hb233@st-andrews.ac.uk>
2024-12-23 10:50:34 +00:00
Felix Jensen
c077c3fad9
docs: correct links to lspconfig server configurations (#1009) 2024-12-06 08:39:46 +00:00
Matt Spivey
3a0359efdb
docs: correct documentation for source-map-visualisations argument (#1002) 2024-11-20 09:12:10 +00:00
Adrian Hesketh
65657de0e9
chore: bump nixpkgs version to use latest Go point release 2024-11-20 09:10:57 +00:00
Lance Nines
3d695f9042
refactor: removed all references to github.com/a-h/pathvars (#999)
Co-authored-by: Adrian Hesketh <adrianhesketh@hushmail.com>
2024-11-19 08:25:36 +00:00
GustavoSept
9c8ad4d857
fix: increase hash size for autogenerated IDs to reduce collisions - fixes #978
Co-authored-by: Adrian Hesketh <adrianhesketh@hushmail.com>
2024-11-12 21:09:49 +00:00
Jackie Li
4f2ce1648b
feat(lsp): add primitive document symbol support (#848) 2024-11-05 10:25:03 +00:00
Quinn Shanahan
079e286e43
docs: explain open-browser flag (#976) 2024-10-31 08:09:27 +00:00
Adrian Hesketh
d9eefff2ee
chore: bump version v0.2.793 2024-10-30 08:47:53 +00:00
Tristan M.
bb5e41b1cc
fix: example flake syntax error (#959) 2024-10-14 10:48:15 +01:00
Adrian Hesketh
318249d145
docs: add go podcast and gophercon 2024 talks to media 2024-10-04 09:01:03 +01:00
Adrian Hesketh
83152a9ad5
docs: add tip to describe difference between escaping and sanitization, see #908 2024-10-02 13:19:34 +01:00
Arman
3c65b4309b
feat: templ.Join method renders multiple components into a single component (#929)
Co-authored-by: Adrian Hesketh <adrianhesketh@hushmail.com>
2024-09-30 11:58:38 +01:00
Tom Elliott
e59640f676
docs: Add --yes to npx commands (#941) 2024-09-30 09:03:06 +01:00
Nikita Koptelov
a4638e3f5f
fix: parser: fix memory leak in goexpression.Func (fixes #916) (#935) 2024-09-27 10:32:10 +01:00
Adrian Hesketh
f5e2469a17
chore: fix casing of files in test 2024-09-26 12:12:56 +01:00
Adrian Hesketh
bd0e848bb2
docs: add note about SSR solutions, closes #904 2024-09-25 15:21:18 +01:00
Adrian Hesketh
30dff5009c
chore: normalize filenames 2024-09-25 15:13:31 +01:00