Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/a-h/templ to v0.3.819 #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 3, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/a-h/templ v0.2.793 -> v0.3.819 age adoption passing confidence

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: 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jan 3, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/jpillora/icmpscan v1.3.1
go: downloading github.com/labstack/echo-contrib v0.15.0
go: downloading github.com/labstack/echo/v4 v4.11.4
go: downloading github.com/a-h/templ v0.3.819
go: downloading github.com/jpillora/arp v0.0.0-20170204155840-96a8ba0be1a4
go: downloading github.com/jpillora/ipmath v0.0.0-20180121110145-ebede80a2ab9
go: downloading github.com/miekg/dns v1.1.26
go: downloading golang.org/x/net v0.33.0
go: downloading golang.org/x/sync v0.10.0
go: downloading github.com/labstack/gommon v0.4.2
go: downloading github.com/prometheus/client_golang v1.14.0
go: downloading github.com/prometheus/common v0.40.0
go: downloading golang.org/x/crypto v0.31.0
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading github.com/valyala/fasttemplate v1.2.2
go: downloading golang.org/x/time v0.5.0
go: downloading golang.org/x/sys v0.28.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/prometheus/client_model v0.3.0
go: downloading github.com/prometheus/procfs v0.9.0
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading golang.org/x/text v0.21.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: github.com/d4sw4r/blokhouse/web/ui imports
	github.com/d4sw4r/blokhouse/web/ui/view: cannot find module providing package github.com/d4sw4r/blokhouse/web/ui/view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant