Skip to content

Bump github.com/go-sprout/sprout from 1.0.3 to 1.1.2 - #65

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/go-sprout/sprout-1.1.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/go-sprout/sprout-1.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/go-sprout/sprout from 1.0.3 to 1.1.2.

Release notes

Sourced from github.com/go-sprout/sprout's releases.

Release v1.1.2: Sprout Security 🛡️

🌿 No more panics, we meant it!

A patch release closing three panics left in the strings registry, where a negative count or an out of range offset could still take the whole render down.

🐛 Bug Fixes

  • repeat and indent Negative Count: A negative count was passed straight to strings.Repeat, which panics. It is now clamped to zero, so repeat -1 returns "" and indent -1 leaves the value unindented. nindent is fixed along the way. See [PR #200](go-sprout/sprout#200).
  • ellipsis Offset in Runes: The early return sliced by byte while offset is a rune index, cutting multi-byte characters in half and panicking when the offset exceeded the string length. It now slices by rune and returns "" past the end. See [PR #199](go-sprout/sprout#199).

🔒 Security & Dependencies

  • Updated golang.org/x/crypto: Bumped from v0.55.0 to v0.57.0. See #201.
  • Updated stretchr/testify: Bumped from v1.11.1 to v1.12.1. See #198.

🎉 Welcome New Contributors!

We're excited to welcome @​hdimer and @​NotAFlightRisk to the Sprout community with their first contributions! Thank you for hunting down these panics.


📝 Notes

Templates are a drop-in replacement for v1.1.1. Calls that used to panic now return a value instead.

Full Changelog: go-sprout/sprout@v1.1.1...v1.1.2

Release v1.1.1: Sprout Hardening 🔧

🌿 Sanding down the rough edges of v1.1.0!

A patch release fixing a broken derivePassword, a data race in shuffle, a division by zero in div, and a hermetic guarantee broken by the v1.1.0 additions.

🐛 Bug Fixes

  • derivePassword Returned Empty: The counter was typed uint32, so text/template passed an int and the call panicked, silently swallowed by the SafeCall wrapper. The counter is now an int. This resolves #157. See [PR #197](go-sprout/sprout#197).
  • Concurrency Safe shuffle: shuffle used a package-global math/rand.Source, racing when templates render in parallel. It now uses the concurrency safe math/rand.Shuffle. This resolves #195. See [PR #196](go-sprout/sprout#196).
  • div Division by Zero: A zero divisor returned a bogus integer instead of failing, because the float division was cast after the fact. It now returns cannot divide by zero. See [PR #194](go-sprout/sprout#194).
  • Hermetic Map Leaks: dateAgo, uuidv7, randInt and the expandEnv alias were missing from the non-hermetic exclusion list, so HermeticTxtFuncMap and HermeticHtmlFuncMap still exposed them. They are now excluded, and a test keeps the list exhaustive. See [PR #193](go-sprout/sprout#193).

🔒 Security & Dependencies

  • Updated go.yaml.in/yaml/v3: Bumped from v3.0.4 to v3.0.5. See #188.
  • CI Maintenance: Bumped actions/setup-go from 5 to 7 and arduino/setup-task from 2 to 3. See #189 and #190.

📚 Documentation

Full Changelog: go-sprout/sprout@v1.1.0...v1.1.1

Release v1.1.0: Sprout Grows Up 🌳

🌿 A cleaner contract, a softer landing from Sprig!

... (truncated)

Changelog

Sourced from github.com/go-sprout/sprout's changelog.

Release v1.1.2: Sprout Keeps Its Promise 🛡️ (2026-09-16)

🌿 No more panics, we meant it!

A patch release closing three panics left in the strings registry, where a negative count or an out of range offset could still take the whole render down.

🐛 Bug Fixes

  • repeat and indent Negative Count: A negative count was passed straight to strings.Repeat, which panics. It is now clamped to zero, so repeat -1 returns "" and indent -1 leaves the value unindented. nindent is fixed along the way. See [PR #200](go-sprout/sprout#200).
  • ellipsis Offset in Runes: The early return sliced by byte while offset is a rune index, cutting multi-byte characters in half and panicking when the offset exceeded the string length. It now slices by rune and returns "" past the end. See [PR #199](go-sprout/sprout#199).

🔒 Security & Dependencies

  • Updated golang.org/x/crypto: Bumped from v0.55.0 to v0.57.0. See #201.
  • Updated stretchr/testify: Bumped from v1.11.1 to v1.12.1. See #198.

🎉 Welcome New Contributors!

We're excited to welcome @​hdimer and @​NotAFlightRisk to the Sprout community with their first contributions! Thank you for hunting down these panics.


📝 Notes

Templates are a drop-in replacement for v1.1.1. Calls that used to panic now return a value instead.

Full Changelog: go-sprout/sprout@v1.1.1...v1.1.2

Release v1.1.1: Sprout Hardening 🔧 (2026-08-21)

🌿 Sanding down the rough edges of v1.1.0!

A patch release fixing a broken derivePassword, a data race in shuffle, a division by zero in div, and a hermetic guarantee broken by the v1.1.0 additions.

🐛 Bug Fixes

  • derivePassword Returned Empty: The counter was typed uint32, so text/template passed an int and the call panicked, silently swallowed by the SafeCall wrapper. The counter is now an int. This resolves #157. See [PR #197](go-sprout/sprout#197).
  • Concurrency Safe shuffle: shuffle used a package-global math/rand.Source, racing when templates render in parallel. It now uses the concurrency safe math/rand.Shuffle. This resolves #195. See [PR #196](go-sprout/sprout#196).
  • div Division by Zero: A zero divisor returned a bogus integer instead of failing, because the float division was cast after the fact. It now returns cannot divide by zero. See [PR #194](go-sprout/sprout#194).
  • Hermetic Map Leaks: dateAgo, uuidv7, randInt and the expandEnv alias were missing from the non-hermetic exclusion list, so HermeticTxtFuncMap and HermeticHtmlFuncMap still exposed them. They are now excluded, and a test keeps the list exhaustive. See [PR #193](go-sprout/sprout#193).

🔒 Security & Dependencies

  • Updated go.yaml.in/yaml/v3: Bumped from v3.0.4 to v3.0.5. See #188.
  • CI Maintenance: Bumped actions/setup-go from 5 to 7 and arduino/setup-task from 2 to 3. See #189 and #190.

📚 Documentation


📝 Notes

... (truncated)

Commits
  • 65c1a3c chore: prepare v1.1.2
  • e6ceb1c chore(deps): bump golang.org/x/crypto from 0.55.0 to 0.57.0 (#201)
  • 4337f51 fix(strings): guard repeat and indent against a negative count (#200)
  • 2d00c03 fix(strings): count the ellipsis offset in runes, not bytes (#199)
  • 2375225 chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1 (#198)
  • 6b871dc chore: prepare v1.1.1
  • 65f7905 fix(sprigin): empty derivePassword (#197)
  • 22a2f29 fix(sprigin): respect the hermetic disclosure for aliasing and new sprout fun...
  • ebd86db fix(strings): make shuffle safe for concurrent use (#196)
  • 80bccca fix: divint by zero are possible due to casting (#194)
  • 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 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)

Bumps [github.com/go-sprout/sprout](https://github.com/go-sprout/sprout) from 1.0.3 to 1.1.2.
- [Release notes](https://github.com/go-sprout/sprout/releases)
- [Changelog](https://github.com/go-sprout/sprout/blob/main/CHANGELOG.md)
- [Commits](go-sprout/sprout@v1.0.3...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/go-sprout/sprout
  dependency-version: 1.1.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 17, 2026

This branch has not been deployed

No deployments
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.

0 participants