Useful template functions for Go templates.
This release is here simply to satisfy the Go module system. The code is precisely the same as v3.2.1.
This is a security release for Masterminds/goutils
v1.1.1
. See the Security Advisory.
Masterminds/goutils
to v1.1.1
. see the Security Advisory
NOTE: The dependency github.com/imdario/mergo reverted the breaking change in 0.3.9 via 0.3.10 release.
NOTE: The dependency github.com/imdario/mergo made a behavior change in 0.3.9 that impacts sprig functionality. Do not use sprig with a version newer than 0.3.8.
seq
function (thanks @thadc23)seq
example in docs (thanks @kalmant)Sprig v3 brings some changes while retaining the same Go API. This should enable projects to migrate to v3 with relative ease.
You might be wondering, why increment the major version if the Go API didn't break? The reason for that is some edge case behavior changed. Most importantly the use of ^
while handling major version 0 use cases with semver. To be cautious, the major version of sprig was incremented to limit the number of surprises.