Masterminds/sprig
### [`v3.2.2`](https://togithub.com/Masterminds/sprig/releases/v3.2.2)
[Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.2.1...v3.2.2)
This release is here simply to satisfy the Go module system. The code is precisely the same as v3.2.1.
### [`v3.2.1`](https://togithub.com/Masterminds/sprig/releases/v3.2.1)
[Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.2.0...v3.2.1)
This is a security release for `Masterminds/goutils` `v1.1.1`. See the [Security Advisory](https://togithub.com/Masterminds/goutils/security/advisories/GHSA-xg2h-wx96-xgxr).
### Changelog
#### Release 3.2.1 (2021-02-04)
##### Changed
- Upgraded `Masterminds/goutils` to `v1.1.1`. see the [Security Advisory](https://togithub.com/Masterminds/goutils/security/advisories/GHSA-xg2h-wx96-xgxr)
### [`v3.2.0`](https://togithub.com/Masterminds/sprig/releases/v3.2.0)
[Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.1.0...v3.2.0)
##### Added
- [#211](https://togithub.com/Masterminds/sprig/issues/211): Added randInt function (thanks [@kochurovro](https://togithub.com/kochurovro))
- [#223](https://togithub.com/Masterminds/sprig/issues/223): Added fromJson and mustFromJson functions (thanks [@mholt](https://togithub.com/mholt))
- [#242](https://togithub.com/Masterminds/sprig/issues/242): Added a bcrypt function (thanks [@robbiet480](https://togithub.com/robbiet480))
- [#253](https://togithub.com/Masterminds/sprig/issues/253): Added randBytes function (thanks [@MikaelSmith](https://togithub.com/MikaelSmith))
- [#254](https://togithub.com/Masterminds/sprig/issues/254): Added dig function for dicts (thanks [@nyarly](https://togithub.com/nyarly))
- [#257](https://togithub.com/Masterminds/sprig/issues/257): Added regexQuoteMeta for quoting regex metadata (thanks [@rheaton](https://togithub.com/rheaton))
- [#261](https://togithub.com/Masterminds/sprig/issues/261): Added filepath functions osBase, osDir, osExt, osClean, osIsAbs (thanks [@zugl](https://togithub.com/zugl))
- [#268](https://togithub.com/Masterminds/sprig/issues/268): Added and and all functions for testing conditions (thanks [@phuslu](https://togithub.com/phuslu))
- [#181](https://togithub.com/Masterminds/sprig/issues/181): Added float64 arithmetic addf, add1f, subf, divf, mulf, maxf, and minf
(thanks [@andrewmostello](https://togithub.com/andrewmostello))
- [#265](https://togithub.com/Masterminds/sprig/issues/265): Added chunk function to split array into smaller arrays (thanks [@karelbilek](https://togithub.com/karelbilek))
- [#270](https://togithub.com/Masterminds/sprig/issues/270): Extend certificate functions to handle non-RSA keys + add support for
[`ed25519`](https://togithub.com/Masterminds/sprig/commit/ed25519) keys (thanks [@misberner](https://togithub.com/misberner))
##### Changed
- Removed testing and support for Go 1.12. [`ed25519`](https://togithub.com/Masterminds/sprig/commit/ed25519) support requires Go 1.13 or newer
- Using semver 3.1.1 and mergo 0.3.11
##### Fixed
- [#249](https://togithub.com/Masterminds/sprig/issues/249): Fix htmlDateInZone example (thanks [@spawnia](https://togithub.com/spawnia))
NOTE: The dependency github.com/imdario/mergo reverted the breaking change in
0.3.9 via 0.3.10 release.
### [`v3.1.0`](https://togithub.com/Masterminds/sprig/releases/v3.1.0)
[Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.0.2...v3.1.0)
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.
##### Added
- [#225](https://togithub.com/Masterminds/sprig/issues/225): Added support for generating htpasswd hash (thanks [@rustycl0ck](https://togithub.com/rustycl0ck))
- [#224](https://togithub.com/Masterminds/sprig/issues/224): Added duration filter (thanks [@frebib](https://togithub.com/frebib))
- [#205](https://togithub.com/Masterminds/sprig/issues/205): Added `seq` function (thanks [@thadc23](https://togithub.com/thadc23))
##### Changed
- [#203](https://togithub.com/Masterminds/sprig/issues/203): Unlambda functions with correct signature (thanks [@muesli](https://togithub.com/muesli))
- [#236](https://togithub.com/Masterminds/sprig/issues/236): Updated the license formatting for GitHub display purposes
- [#238](https://togithub.com/Masterminds/sprig/issues/238): Updated package dependency versions. Note, mergo not updated to 0.3.9
as it causes a breaking change for sprig. That issue is tracked at
[imdario/mergo#139](https://togithub.com/imdario/mergo/issues/139)
##### Fixed
- [#229](https://togithub.com/Masterminds/sprig/issues/229): Fix `seq` example in docs (thanks [@kalmant](https://togithub.com/kalmant))
### [`v3.0.2`](https://togithub.com/Masterminds/sprig/releases/v3.0.2)
[Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.0.1...v3.0.2)
##### Fixed
- [#220](https://togithub.com/Masterminds/sprig/issues/220): Updating to semver v3.0.3 to fix issue with <= ranges
- [#218](https://togithub.com/Masterminds/sprig/issues/218): fix typo elyptical->elliptic in ecdsa key description (thanks [@laverya](https://togithub.com/laverya))
### [`v3.0.1`](https://togithub.com/Masterminds/sprig/releases/v3.0.1)
[Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.0.0...v3.0.1)
#### Fixed
- [#212](https://togithub.com/Masterminds/sprig/issues/212): Updated semver fixing broken constraint checking with ^0.0
### [`v3.0.0`](https://togithub.com/Masterminds/sprig/releases/v3.0.0)
[Compare Source](https://togithub.com/Masterminds/sprig/compare/v2.22.0...v3.0.0)
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.
##### Added
- [#187](https://togithub.com/Masterminds/sprig/issues/187): Added durationRound function (thanks [@yjp20](https://togithub.com/yjp20))
- [#189](https://togithub.com/Masterminds/sprig/issues/189): Added numerous template functions that return errors rather than panic (thanks [@nrvnrvn](https://togithub.com/nrvnrvn))
- [#193](https://togithub.com/Masterminds/sprig/issues/193): Added toRawJson support (thanks [@Dean-Coakley](https://togithub.com/Dean-Coakley))
- [#197](https://togithub.com/Masterminds/sprig/issues/197): Added get support to dicts (thanks [@Dean-Coakley](https://togithub.com/Dean-Coakley))
##### Changed
- [#186](https://togithub.com/Masterminds/sprig/issues/186): Moving dependency management to Go modules
- [#186](https://togithub.com/Masterminds/sprig/issues/186): Updated semver to v3. This has changes in the way ^ is handled
- [#194](https://togithub.com/Masterminds/sprig/issues/194): Updated documentation on merging and how it copies. Added example using deepCopy
- [#196](https://togithub.com/Masterminds/sprig/issues/196): trunc now supports negative values (thanks [@Dean-Coakley](https://togithub.com/Dean-Coakley))
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v2.22.0+incompatible
->v3.2.2
Release Notes
Masterminds/sprig
### [`v3.2.2`](https://togithub.com/Masterminds/sprig/releases/v3.2.2) [Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.2.1...v3.2.2) This release is here simply to satisfy the Go module system. The code is precisely the same as v3.2.1. ### [`v3.2.1`](https://togithub.com/Masterminds/sprig/releases/v3.2.1) [Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.2.0...v3.2.1) This is a security release for `Masterminds/goutils` `v1.1.1`. See the [Security Advisory](https://togithub.com/Masterminds/goutils/security/advisories/GHSA-xg2h-wx96-xgxr). ### Changelog #### Release 3.2.1 (2021-02-04) ##### Changed - Upgraded `Masterminds/goutils` to `v1.1.1`. see the [Security Advisory](https://togithub.com/Masterminds/goutils/security/advisories/GHSA-xg2h-wx96-xgxr) ### [`v3.2.0`](https://togithub.com/Masterminds/sprig/releases/v3.2.0) [Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.1.0...v3.2.0) ##### Added - [#211](https://togithub.com/Masterminds/sprig/issues/211): Added randInt function (thanks [@kochurovro](https://togithub.com/kochurovro)) - [#223](https://togithub.com/Masterminds/sprig/issues/223): Added fromJson and mustFromJson functions (thanks [@mholt](https://togithub.com/mholt)) - [#242](https://togithub.com/Masterminds/sprig/issues/242): Added a bcrypt function (thanks [@robbiet480](https://togithub.com/robbiet480)) - [#253](https://togithub.com/Masterminds/sprig/issues/253): Added randBytes function (thanks [@MikaelSmith](https://togithub.com/MikaelSmith)) - [#254](https://togithub.com/Masterminds/sprig/issues/254): Added dig function for dicts (thanks [@nyarly](https://togithub.com/nyarly)) - [#257](https://togithub.com/Masterminds/sprig/issues/257): Added regexQuoteMeta for quoting regex metadata (thanks [@rheaton](https://togithub.com/rheaton)) - [#261](https://togithub.com/Masterminds/sprig/issues/261): Added filepath functions osBase, osDir, osExt, osClean, osIsAbs (thanks [@zugl](https://togithub.com/zugl)) - [#268](https://togithub.com/Masterminds/sprig/issues/268): Added and and all functions for testing conditions (thanks [@phuslu](https://togithub.com/phuslu)) - [#181](https://togithub.com/Masterminds/sprig/issues/181): Added float64 arithmetic addf, add1f, subf, divf, mulf, maxf, and minf (thanks [@andrewmostello](https://togithub.com/andrewmostello)) - [#265](https://togithub.com/Masterminds/sprig/issues/265): Added chunk function to split array into smaller arrays (thanks [@karelbilek](https://togithub.com/karelbilek)) - [#270](https://togithub.com/Masterminds/sprig/issues/270): Extend certificate functions to handle non-RSA keys + add support for [`ed25519`](https://togithub.com/Masterminds/sprig/commit/ed25519) keys (thanks [@misberner](https://togithub.com/misberner)) ##### Changed - Removed testing and support for Go 1.12. [`ed25519`](https://togithub.com/Masterminds/sprig/commit/ed25519) support requires Go 1.13 or newer - Using semver 3.1.1 and mergo 0.3.11 ##### Fixed - [#249](https://togithub.com/Masterminds/sprig/issues/249): Fix htmlDateInZone example (thanks [@spawnia](https://togithub.com/spawnia)) NOTE: The dependency github.com/imdario/mergo reverted the breaking change in 0.3.9 via 0.3.10 release. ### [`v3.1.0`](https://togithub.com/Masterminds/sprig/releases/v3.1.0) [Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.0.2...v3.1.0) 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. ##### Added - [#225](https://togithub.com/Masterminds/sprig/issues/225): Added support for generating htpasswd hash (thanks [@rustycl0ck](https://togithub.com/rustycl0ck)) - [#224](https://togithub.com/Masterminds/sprig/issues/224): Added duration filter (thanks [@frebib](https://togithub.com/frebib)) - [#205](https://togithub.com/Masterminds/sprig/issues/205): Added `seq` function (thanks [@thadc23](https://togithub.com/thadc23)) ##### Changed - [#203](https://togithub.com/Masterminds/sprig/issues/203): Unlambda functions with correct signature (thanks [@muesli](https://togithub.com/muesli)) - [#236](https://togithub.com/Masterminds/sprig/issues/236): Updated the license formatting for GitHub display purposes - [#238](https://togithub.com/Masterminds/sprig/issues/238): Updated package dependency versions. Note, mergo not updated to 0.3.9 as it causes a breaking change for sprig. That issue is tracked at [imdario/mergo#139](https://togithub.com/imdario/mergo/issues/139) ##### Fixed - [#229](https://togithub.com/Masterminds/sprig/issues/229): Fix `seq` example in docs (thanks [@kalmant](https://togithub.com/kalmant)) ### [`v3.0.2`](https://togithub.com/Masterminds/sprig/releases/v3.0.2) [Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.0.1...v3.0.2) ##### Fixed - [#220](https://togithub.com/Masterminds/sprig/issues/220): Updating to semver v3.0.3 to fix issue with <= ranges - [#218](https://togithub.com/Masterminds/sprig/issues/218): fix typo elyptical->elliptic in ecdsa key description (thanks [@laverya](https://togithub.com/laverya)) ### [`v3.0.1`](https://togithub.com/Masterminds/sprig/releases/v3.0.1) [Compare Source](https://togithub.com/Masterminds/sprig/compare/v3.0.0...v3.0.1) #### Fixed - [#212](https://togithub.com/Masterminds/sprig/issues/212): Updated semver fixing broken constraint checking with ^0.0 ### [`v3.0.0`](https://togithub.com/Masterminds/sprig/releases/v3.0.0) [Compare Source](https://togithub.com/Masterminds/sprig/compare/v2.22.0...v3.0.0) 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. ##### Added - [#187](https://togithub.com/Masterminds/sprig/issues/187): Added durationRound function (thanks [@yjp20](https://togithub.com/yjp20)) - [#189](https://togithub.com/Masterminds/sprig/issues/189): Added numerous template functions that return errors rather than panic (thanks [@nrvnrvn](https://togithub.com/nrvnrvn)) - [#193](https://togithub.com/Masterminds/sprig/issues/193): Added toRawJson support (thanks [@Dean-Coakley](https://togithub.com/Dean-Coakley)) - [#197](https://togithub.com/Masterminds/sprig/issues/197): Added get support to dicts (thanks [@Dean-Coakley](https://togithub.com/Dean-Coakley)) ##### Changed - [#186](https://togithub.com/Masterminds/sprig/issues/186): Moving dependency management to Go modules - [#186](https://togithub.com/Masterminds/sprig/issues/186): Updated semver to v3. This has changes in the way ^ is handled - [#194](https://togithub.com/Masterminds/sprig/issues/194): Updated documentation on merging and how it copies. Added example using deepCopy - [#196](https://togithub.com/Masterminds/sprig/issues/196): trunc now supports negative values (thanks [@Dean-Coakley](https://togithub.com/Dean-Coakley))Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.