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

Bump github.com/a-h/templ from 0.2.793 to 0.3.819 #86

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

Bumps github.com/a-h/templ from 0.2.793 to 0.3.819.

Release notes

Sourced from github.com/a-h/templ's releases.

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.
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)
Commits
  • e54517e chore: bump version
  • 8e2db03 docs: update templ highlighting and add nix, json and bash highlighting (#1033)
  • 1f94c7b fix: stop double-processing generation in watch mode, now that the generation...
  • 3643c9b chore: storybook check int conversion bounds to remove lint warning
  • b15d514 chore: bump docusaurus version to 3.6.3
  • 1b58e02 chore: bump echo version in examples
  • b4a2274 chore: update ignore rules for text editor search to ignore go.sum and LLM he...
  • 2cc2884 chore: bump version of go tools, go compiler, and goquery (fixes CVE) (#1031)
  • a66a237 feat: generate same dev and prod code, fixes #700 (#1027)
  • 6afd676 fix(breaking): trigger rebuild on changes to *.go files, fixes #646 (#1026)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner January 6, 2025 19:25
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 6, 2025
@dependabot dependabot bot removed the request for review from a team January 6, 2025 19:25
@dependabot dependabot bot added the go Pull requests that update Go code label Jan 6, 2025
@dependabot dependabot bot requested a review from codeshard January 6, 2025 19:25
Bumps [github.com/a-h/templ](https://github.com/a-h/templ) from 0.2.793 to 0.3.819.
- [Release notes](https://github.com/a-h/templ/releases)
- [Changelog](https://github.com/a-h/templ/blob/main/.goreleaser.yaml)
- [Commits](a-h/templ@v0.2.793...v0.3.819)

---
updated-dependencies:
- dependency-name: github.com/a-h/templ
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/a-h/templ-0.3.819 branch from 19896b2 to 2e7fe97 Compare January 7, 2025 08:14
@applejag applejag merged commit 2ead76e into main Jan 7, 2025
6 checks passed
@applejag applejag deleted the dependabot/go_modules/github.com/a-h/templ-0.3.819 branch January 7, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant