Update module github.com/a-h/templ to v0.3.833 #2

Merged
ginjiruu merged 1 commit from renovate/github.com-a-h-templ-0.x into master 2025-02-19 16:00:52 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/a-h/templ require minor v0.2.778 -> v0.3.833

Release Notes

a-h/templ (github.com/a-h/templ)

v0.3.833

Compare Source

Changelog

  • 8565703 chore: bump dependency hash
  • 725a88f chore: fix misspellings (#​1040)
  • 8b05ded chore: fix typos
  • fb44b3e feat: add new JS handling features - templ.JSFuncCall and templ.JSUnsafeFuncCall (#​1038)
  • fea7372 feat: add style expression support (#​1058)
  • e47f4c5 feat: retain import grouping during fmt (#​1037)
  • 24be99e fix: delete watchmode files when shutdown is sent (#​1046)
  • 45f4c46 fix: ensure that user-facing line numbers are 1-based, not 0-based, closes #​1051
  • 6ea47ff fix: watch mode only detects Go code changes if text also changes
  • 2514d89 refactor: don't generate a type attribute for <script> elements, update associated docs (#​1053)
  • 0474dd9 refactor: vendor LSP code, and reduce dependencies, fixes #​1050 (#​1054)

v0.3.819

Compare Source

This release has a couple of potentially breaking changes:

  • templ now requires Go 1.23, due to an upstream dependency update (goquery). Usually, templ stays on the oldest supported version of Go (currently 1.22), but in this case, the fix upstream included a change to Go 1.23.
  • A change to watch mode behaviour. templ generate --watch now triggers on changes to *.go files in addition to *.templ and other related templ files. This behaviour can be controlled by the new -watch-pattern <regexp> argument, which defaults to(.+\.go$)|(.+\.templ$)|(.+_templ\.txt$). This is useful, because templ can now restart your web server if you make changes to your Go code. This change might break people's workflows, hence the bump to v0.3.xxx.
templ generate --watch --cmd="go run ." --proxy="http://localhost:8080"

The biggest change in this release is probably #​700 - which means that templ now generates the same code for dev mode and standard mode, using an environment variable to switch between. This should reduce issues where people accidentally commit dev mode code to their repos.

Important!

When you upgrade templ CLI, you will also need to upgrade templ in your project's go.mod file by running go get -u github.com/a-h/templ

Changelog

  • b919741 chore(docs): fix docs link
  • b15d514 chore: bump docusaurus version to 3.6.3
  • 1b58e02 chore: bump echo version in examples
  • 65657de chore: bump nixpkgs version to use latest Go point release
  • e54517e chore: bump version
  • 2cc2884 chore: bump version of go tools, go compiler, and goquery (fixes CVE) (#​1031)
  • 3643c9b chore: storybook check int conversion bounds to remove lint warning
  • 95a0cea chore: update generated code to return nil instead of generated value (#​1025)
  • b4a2274 chore: update ignore rules for text editor search to ignore go.sum and LLM help files by default
  • 1d87e1a feat(docs): add llms.md (#​1023)
  • 4f2ce16 feat(lsp): add primitive document symbol support (#​848)
  • 98c4466 feat(storybook): add multiple story support for components (#​971)
  • a66a237 feat: generate same dev and prod code, fixes #​700 (#​1027)
  • 3eaa56a feat: support latest version of Storybook (#​1024)
  • e16b2d8 feat: support unquoted HTML attributes, closes #​963 (#​1028)
  • 6afd676 fix(breaking): trigger rebuild on changes to *.go files, fixes #​646 (#​1026)
  • 9c8ad4d fix: increase hash size for autogenerated IDs to reduce collisions - fixes #​978
  • 9058914 fix: parser hangs when a bracket isn't closed (#​1005) (#​1029)
  • c36a9e1 fix: remove repeated error messages (#​1011) (#​1017)
  • 1f94c7b fix: stop double-processing generation in watch mode, now that the generation is identical
  • 3d695f9 refactor: removed all references to github.com/a-h/pathvars (#​999)

v0.2.793

Compare Source

Changelog


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/a-h/templ](https://github.com/a-h/templ) | require | minor | `v0.2.778` -> `v0.3.833` | --- ### Release Notes <details> <summary>a-h/templ (github.com/a-h/templ)</summary> ### [`v0.3.833`](https://github.com/a-h/templ/releases/tag/v0.3.833) [Compare Source](https://github.com/a-h/templ/compare/v0.3.819...v0.3.833) #### Changelog - [`8565703`](https://github.com/a-h/templ/commit/8565703) chore: bump dependency hash - [`725a88f`](https://github.com/a-h/templ/commit/725a88f) chore: fix misspellings ([#&#8203;1040](https://github.com/a-h/templ/issues/1040)) - [`8b05ded`](https://github.com/a-h/templ/commit/8b05ded) chore: fix typos - [`fb44b3e`](https://github.com/a-h/templ/commit/fb44b3e) feat: add new JS handling features - templ.JSFuncCall and templ.JSUnsafeFuncCall ([#&#8203;1038](https://github.com/a-h/templ/issues/1038)) - [`fea7372`](https://github.com/a-h/templ/commit/fea7372) feat: add style expression support ([#&#8203;1058](https://github.com/a-h/templ/issues/1058)) - [`e47f4c5`](https://github.com/a-h/templ/commit/e47f4c5) feat: retain import grouping during fmt ([#&#8203;1037](https://github.com/a-h/templ/issues/1037)) - [`24be99e`](https://github.com/a-h/templ/commit/24be99e) fix: delete watchmode files when shutdown is sent ([#&#8203;1046](https://github.com/a-h/templ/issues/1046)) - [`45f4c46`](https://github.com/a-h/templ/commit/45f4c46) fix: ensure that user-facing line numbers are 1-based, not 0-based, closes [#&#8203;1051](https://github.com/a-h/templ/issues/1051) - [`6ea47ff`](https://github.com/a-h/templ/commit/6ea47ff) fix: watch mode only detects Go code changes if text also changes - [`2514d89`](https://github.com/a-h/templ/commit/2514d89) refactor: don't generate a `type` attribute for `<script>` elements, update associated docs ([#&#8203;1053](https://github.com/a-h/templ/issues/1053)) - [`0474dd9`](https://github.com/a-h/templ/commit/0474dd9) refactor: vendor LSP code, and reduce dependencies, fixes [#&#8203;1050](https://github.com/a-h/templ/issues/1050) ([#&#8203;1054](https://github.com/a-h/templ/issues/1054)) ### [`v0.3.819`](https://github.com/a-h/templ/releases/tag/v0.3.819) [Compare Source](https://github.com/a-h/templ/compare/v0.2.793...v0.3.819) This release has a couple of potentially breaking changes: - templ now requires Go 1.23, due to an upstream dependency update (goquery). Usually, templ stays on the oldest supported version of Go (currently 1.22), but in this case, the fix upstream included a change to Go 1.23. - A change to watch mode behaviour. `templ generate --watch` now triggers on changes to `*.go` files in addition to `*.templ` and other related templ files. This behaviour can be controlled by the new `-watch-pattern <regexp>` argument, which defaults to`(.+\.go$)|(.+\.templ$)|(.+_templ\.txt$)`. This is useful, because templ can now restart your web server if you make changes to your Go code. This change might break people's workflows, hence the bump to `v0.3.xxx`. ```bash templ generate --watch --cmd="go run ." --proxy="http://localhost:8080" ``` The biggest change in this release is probably [#&#8203;700](https://github.com/a-h/templ/issues/700) - which means that templ now generates the same code for dev mode and standard mode, using an environment variable to switch between. This should reduce issues where people accidentally commit dev mode code to their repos. #### Important! When you upgrade templ CLI, you will also need to upgrade templ in your project's `go.mod` file by running `go get -u github.com/a-h/templ` #### Changelog - [`b919741`](https://github.com/a-h/templ/commit/b919741) chore(docs): fix docs link - [`b15d514`](https://github.com/a-h/templ/commit/b15d514) chore: bump docusaurus version to 3.6.3 - [`1b58e02`](https://github.com/a-h/templ/commit/1b58e02) chore: bump echo version in examples - [`65657de`](https://github.com/a-h/templ/commit/65657de) chore: bump nixpkgs version to use latest Go point release - [`e54517e`](https://github.com/a-h/templ/commit/e54517e) chore: bump version - [`2cc2884`](https://github.com/a-h/templ/commit/2cc2884) chore: bump version of go tools, go compiler, and goquery (fixes CVE) ([#&#8203;1031](https://github.com/a-h/templ/issues/1031)) - [`3643c9b`](https://github.com/a-h/templ/commit/3643c9b) chore: storybook check int conversion bounds to remove lint warning - [`95a0cea`](https://github.com/a-h/templ/commit/95a0cea) chore: update generated code to return nil instead of generated value ([#&#8203;1025](https://github.com/a-h/templ/issues/1025)) - [`b4a2274`](https://github.com/a-h/templ/commit/b4a2274) chore: update ignore rules for text editor search to ignore go.sum and LLM help files by default - [`1d87e1a`](https://github.com/a-h/templ/commit/1d87e1a) feat(docs): add llms.md ([#&#8203;1023](https://github.com/a-h/templ/issues/1023)) - [`4f2ce16`](https://github.com/a-h/templ/commit/4f2ce16) feat(lsp): add primitive document symbol support ([#&#8203;848](https://github.com/a-h/templ/issues/848)) - [`98c4466`](https://github.com/a-h/templ/commit/98c4466) feat(storybook): add multiple story support for components ([#&#8203;971](https://github.com/a-h/templ/issues/971)) - [`a66a237`](https://github.com/a-h/templ/commit/a66a237) feat: generate same dev and prod code, fixes [#&#8203;700](https://github.com/a-h/templ/issues/700) ([#&#8203;1027](https://github.com/a-h/templ/issues/1027)) - [`3eaa56a`](https://github.com/a-h/templ/commit/3eaa56a) feat: support latest version of Storybook ([#&#8203;1024](https://github.com/a-h/templ/issues/1024)) - [`e16b2d8`](https://github.com/a-h/templ/commit/e16b2d8) feat: support unquoted HTML attributes, closes [#&#8203;963](https://github.com/a-h/templ/issues/963) ([#&#8203;1028](https://github.com/a-h/templ/issues/1028)) - [`6afd676`](https://github.com/a-h/templ/commit/6afd676) fix(breaking): trigger rebuild on changes to \*.go files, fixes [#&#8203;646](https://github.com/a-h/templ/issues/646) ([#&#8203;1026](https://github.com/a-h/templ/issues/1026)) - [`9c8ad4d`](https://github.com/a-h/templ/commit/9c8ad4d) fix: increase hash size for autogenerated IDs to reduce collisions - fixes [#&#8203;978](https://github.com/a-h/templ/issues/978) - [`9058914`](https://github.com/a-h/templ/commit/9058914) fix: parser hangs when a bracket isn't closed ([#&#8203;1005](https://github.com/a-h/templ/issues/1005)) ([#&#8203;1029](https://github.com/a-h/templ/issues/1029)) - [`c36a9e1`](https://github.com/a-h/templ/commit/c36a9e1) fix: remove repeated error messages ([#&#8203;1011](https://github.com/a-h/templ/issues/1011)) ([#&#8203;1017](https://github.com/a-h/templ/issues/1017)) - [`1f94c7b`](https://github.com/a-h/templ/commit/1f94c7b) fix: stop double-processing generation in watch mode, now that the generation is identical - [`3d695f9`](https://github.com/a-h/templ/commit/3d695f9) refactor: removed all references to github.com/a-h/pathvars ([#&#8203;999](https://github.com/a-h/templ/issues/999)) ### [`v0.2.793`](https://github.com/a-h/templ/releases/tag/v0.2.793) [Compare Source](https://github.com/a-h/templ/compare/v0.2.778...v0.2.793) #### Changelog - [`d9eefff`](https://github.com/a-h/templ/commit/d9eefff) chore: bump version - [`f5e2469`](https://github.com/a-h/templ/commit/f5e2469) chore: fix casing of files in test - [`9b77eee`](https://github.com/a-h/templ/commit/9b77eee) chore: fix link in README.md ([#&#8203;931](https://github.com/a-h/templ/issues/931)) - [`30dff50`](https://github.com/a-h/templ/commit/30dff50) chore: normalize filenames - [`fb6a5c2`](https://github.com/a-h/templ/commit/fb6a5c2) feat(lsp): add workspace folder initialization ([#&#8203;912](https://github.com/a-h/templ/issues/912)) - [`ff29e12`](https://github.com/a-h/templ/commit/ff29e12) feat: Add `-fail` flag to `fmt` ([#&#8203;923](https://github.com/a-h/templ/issues/923)) - [`88eed0f`](https://github.com/a-h/templ/commit/88eed0f) feat: promote rawgo from experiment to core feature ([#&#8203;905](https://github.com/a-h/templ/issues/905)) - [`3c65b43`](https://github.com/a-h/templ/commit/3c65b43) feat: templ.Join method renders multiple components into a single component ([#&#8203;929](https://github.com/a-h/templ/issues/929)) - [`bb5e41b`](https://github.com/a-h/templ/commit/bb5e41b) fix: example flake syntax error ([#&#8203;959](https://github.com/a-h/templ/issues/959)) - [`a4638e3`](https://github.com/a-h/templ/commit/a4638e3) fix: parser: fix memory leak in goexpression.Func (fixes [#&#8203;916](https://github.com/a-h/templ/issues/916)) ([#&#8203;935](https://github.com/a-h/templ/issues/935)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjkuMiIsInVwZGF0ZWRJblZlciI6IjM4LjEyOS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from b8aa637efd to 5eef09665b 2024-12-09 19:01:51 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 5eef09665b to b81fbff0af 2024-12-18 20:14:28 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from b81fbff0af to 33a7ad56e2 2024-12-21 05:01:26 +00:00 Compare
renovate-bot changed title from Update module github.com/a-h/templ to v0.2.793 to Update module github.com/a-h/templ to v0.3.819 2025-01-02 12:00:13 +00:00
Author
Collaborator

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22.6 -> 1.24.0
golang.org/x/crypto v0.27.0 -> v0.31.0
golang.org/x/net v0.28.0 -> v0.33.0
golang.org/x/sync v0.8.0 -> v0.10.0
golang.org/x/sys v0.25.0 -> v0.28.0
golang.org/x/text v0.18.0 -> v0.21.0
### ℹ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 5 additional dependencies were updated - The `go` directive was updated for compatibility reasons Details: | **Package** | **Change** | | :-------------------- | :--------------------- | | `go` | `1.22.6` -> `1.24.0` | | `golang.org/x/crypto` | `v0.27.0` -> `v0.31.0` | | `golang.org/x/net` | `v0.28.0` -> `v0.33.0` | | `golang.org/x/sync` | `v0.8.0` -> `v0.10.0` | | `golang.org/x/sys` | `v0.25.0` -> `v0.28.0` | | `golang.org/x/text` | `v0.18.0` -> `v0.21.0` |
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 33a7ad56e2 to d4ddaabcb5 2025-01-02 12:00:15 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from d4ddaabcb5 to 265dd48c8e 2025-01-16 21:00:15 +00:00 Compare
renovate-bot changed title from Update module github.com/a-h/templ to v0.3.819 to Update module github.com/a-h/templ to v0.3.833 2025-01-31 23:00:21 +00:00
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 265dd48c8e to 9db2a45265 2025-01-31 23:00:21 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 9db2a45265 to 709fdc654a 2025-02-04 17:00:20 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 709fdc654a to 954c2b3dde
Some checks failed
renovate/artifacts Artifact file update failure
2025-02-11 17:00:10 +00:00
Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 954c2b3dde
Some checks failed
renovate/artifacts Artifact file update failure
to 2d61d9a31d 2025-02-17 00:22:54 +00:00
Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 2d61d9a31d to 0a26611d00 2025-02-17 05:12:26 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 0a26611d00 to 36f475a507 2025-02-17 06:15:13 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 36f475a507 to 58ad182d14 2025-02-17 07:17:34 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 58ad182d14 to 3a2e032f91 2025-02-17 08:03:55 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 3a2e032f91 to b6f1564754 2025-02-17 08:06:47 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from b6f1564754 to db42aac4d3 2025-02-17 10:04:08 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from db42aac4d3 to 90559f1a23 2025-02-17 11:03:53 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 90559f1a23 to cd9c99745b 2025-02-17 14:24:33 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from cd9c99745b to 156d29b024 2025-02-17 15:01:12 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 156d29b024 to 1a1639231c 2025-02-17 17:26:32 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 1a1639231c to 4e106bbd53 2025-02-17 19:00:50 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 4e106bbd53 to 52e325f833 2025-02-17 19:04:37 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 52e325f833 to 4579a60efc 2025-02-17 19:29:04 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 4579a60efc to e85ed0616b 2025-02-17 23:11:31 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from e85ed0616b to cfe7f3e237 2025-02-18 00:05:52 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from cfe7f3e237 to 9b41c85ed1 2025-02-18 08:00:21 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 9b41c85ed1 to c40e744812 2025-02-18 11:00:35 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from c40e744812 to 78444d6848 2025-02-18 14:09:39 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 78444d6848 to 170d73e8f5 2025-02-18 15:02:22 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 170d73e8f5 to 5bc0d28d0d 2025-02-18 16:00:14 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 5bc0d28d0d to c744640d9f 2025-02-18 17:00:14 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from c744640d9f to ef3de9de3c 2025-02-18 17:02:44 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from ef3de9de3c to ec5a194e17 2025-02-18 19:00:16 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from ec5a194e17 to bd3e5072c1 2025-02-18 20:00:59 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from bd3e5072c1 to 4e1ff53743 2025-02-19 00:02:47 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 4e1ff53743 to 0a56224318 2025-02-19 03:00:39 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 0a56224318 to 758a69b9a7 2025-02-19 05:00:23 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 758a69b9a7 to 272225b1a9 2025-02-19 05:08:08 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 272225b1a9 to a52756c41e 2025-02-19 10:00:48 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from a52756c41e to ee95b9511c 2025-02-19 12:00:24 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from ee95b9511c to 25762a2452 2025-02-19 14:00:51 +00:00 Compare
renovate-bot force-pushed renovate/github.com-a-h-templ-0.x from 25762a2452 to d454cdbbca 2025-02-19 16:00:24 +00:00 Compare
ginjiruu merged commit 9b1dce6544 into master 2025-02-19 16:00:52 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ginjiruu/avalon!2
No description provided.