summaryrefslogtreecommitdiffstats
path: root/tpl/internal/go_templates/testenv/testenv.go
AgeCommit message (Collapse)Author
2023-12-04Pull in the latest code from Go's template packages (#11771)Bjørn Erik Pedersen
Fixes #10707 Fixes #11507
2023-08-23Go 1.21 UpgradeBjørn Erik Pedersen
Fixes #11351
2023-06-15Fix upstream Go templates bug with reversed key/value assignmentBjørn Erik Pedersen
The template packages are based on go1.20.5 with the patch in befec5ddbbfbd81ec84e74e15a38044d67f8785b added. This also includes a security fix that now disallows Go template actions in JS literals (inside backticks). This will throw an error saying "... appears in a JS template literal". If you're really sure this isn't a security risk in your case, you can revert to the old behaviour: ```toml [security] [security.gotemplates] allowActionJSTmpl = true ``` See https://github.com/golang/go/issues/59234 Fixes #11112
2023-02-22tpl/internal: Sync Go template src to Go 1.20Bjørn Erik Pedersen
Updates #10691
2022-11-14tpl/internal: Sync go_templatesBjørn Erik Pedersen
Closes #10411
2022-03-16tpl: Sync go_templates for Go 1.18Bjørn Erik Pedersen
Using Go tag go1.18 4aa1efed4853ea067d665a952eee77c52faac774 Updates #9677
2021-02-18Pull in latest Go template sourceBjørn Erik Pedersen
2021-02-18tpl/internal: Synch Go templates fork with Go 1.16devBjørn Erik Pedersen
2020-12-19Improve LookPathBjørn Erik Pedersen
2020-12-03tpl/internal/go_templates: Revert formattingBjørn Erik Pedersen
Should make future fork synch easier.
2020-12-03all: Format code with gofumptBjørn Erik Pedersen
See https://github.com/mvdan/gofumpt
2020-05-23Fix Go template script escapingBjørn Erik Pedersen
Fixes #6695