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.833 #58

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

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

Release notes

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

v0.3.833

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

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)

... (truncated)

Commits
  • fea7372 feat: add style expression support (#1058)
  • 0474dd9 refactor: vendor LSP code, and reduce dependencies, fixes #1050 (#1054)
  • 8501201 docs: clarify when live reload might fail due to middleware implementation (#...
  • 2514d89 refactor: don't generate a type attribute for \<script> elements, update a...
  • 6ea47ff fix: watch mode only detects Go code changes if text also changes
  • 8565703 chore: bump dependency hash
  • 45f4c46 fix: ensure that user-facing line numbers are 1-based, not 0-based, closes #1051
  • 725a88f chore: fix misspellings (#1040)
  • 34660b3 docs: update datastar example (#1039)
  • 24be99e fix: delete watchmode files when shutdown is sent (#1046)
  • 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 added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 1, 2025
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/a-h/templ-0.3.833 branch 3 times, most recently from f9e6643 to 1fab263 Compare February 1, 2025 14:13
Bumps [github.com/a-h/templ](https://github.com/a-h/templ) from 0.2.793 to 0.3.833.
- [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.833)

---
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]>
@hansmi hansmi force-pushed the dependabot/go_modules/github.com/a-h/templ-0.3.833 branch from 1fab263 to 885ff17 Compare February 1, 2025 20:37
@hansmi hansmi merged commit 45145e4 into main Feb 1, 2025
4 checks passed
@hansmi hansmi deleted the dependabot/go_modules/github.com/a-h/templ-0.3.833 branch February 1, 2025 20:43
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