fix(deps): update module github.com/a-h/templ to v0.3.819 #363

Merged
renovate merged 1 commits from renovate/github.com-a-h-templ-0.x into prod 2025-01-02 23:09:37 +00:00
Member

This PR contains the following updates:

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

Release Notes

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

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)

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.793` -> `v0.3.819` | --- ### Release Notes <details> <summary>a-h/templ (github.com/a-h/templ)</summary> ### [`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)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4yIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMiIsInRhcmdldEJyYW5jaCI6InByb2QiLCJsYWJlbHMiOltdfQ==-->
renovate added 1 commit 2025-01-02 23:05:32 +00:00
fix(deps): update module github.com/a-h/templ to v0.3.819
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 1m56s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 55s
d3700d5a3b
renovate scheduled this pull request to auto merge when all checks succeed 2025-01-02 23:05:34 +00:00
Author
Member

ℹ 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):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22.5 -> 1.23.4
### ℹ 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): - The `go` directive was updated for compatibility reasons Details: | **Package** | **Change** | | :---------- | :------------------- | | `go` | `1.22.5` -> `1.23.4` |
renovate merged commit d3700d5a3b into prod 2025-01-02 23:09:37 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: x/web-app-template#363