Releases: Masterminds/sprig
v3.3.0
What's Changed
- Updating the Go versions used in testing by @mattfarina in #405
- Change intial to initial. by @chrishalbert in #391
- Updating dependencies by @mattfarina in #404
- correct value by @jheyduk in #376
- Updating location of mergo by @mattfarina in #406
- feature: added sha512sum function by @itzik-elayev in #400
- docs: Add missing link to url functions by @carlpett in #375
- Update doc.go by @chey in #369
- Update mathf.md by @zzhu41 in #290
- Removing duplicate documentation by @mattfarina in #407
- Updating the changelog for the 3.3.0 release by @mattfarina in #408
New Contributors
- @chrishalbert made their first contribution in #391
- @jheyduk made their first contribution in #376
- @itzik-elayev made their first contribution in #400
- @carlpett made their first contribution in #375
- @chey made their first contribution in #369
- @zzhu41 made their first contribution in #290
Full Changelog: v3.2.3...v3.3.0
v3.2.3
Changed
Re-release of v3.2.1
This release is here simply to satisfy the Go module system. The code is precisely the same as v3.2.1.
Update to latest goutils
This is a security release for Masterminds/goutils
v1.1.1
. See the Security Advisory.
Changelog
Release 3.2.1 (2021-02-04)
Changed
- Upgraded
Masterminds/goutils
tov1.1.1
. see the Security Advisory
v3.2.0
Added
- #211: Added randInt function (thanks @kochurovro)
- #223: Added fromJson and mustFromJson functions (thanks @mholt)
- #242: Added a bcrypt function (thanks @robbiet480)
- #253: Added randBytes function (thanks @MikaelSmith)
- #254: Added dig function for dicts (thanks @nyarly)
- #257: Added regexQuoteMeta for quoting regex metadata (thanks @rheaton)
- #261: Added filepath functions osBase, osDir, osExt, osClean, osIsAbs (thanks @zugl)
- #268: Added and and all functions for testing conditions (thanks @phuslu)
- #181: Added float64 arithmetic addf, add1f, subf, divf, mulf, maxf, and minf
(thanks @andrewmostello) - #265: Added chunk function to split array into smaller arrays (thanks @karelbilek)
- #270: Extend certificate functions to handle non-RSA keys + add support for
ed25519 keys (thanks @misberner)
Changed
- Removed testing and support for Go 1.12. ed25519 support requires Go 1.13 or newer
- Using semver 3.1.1 and mergo 0.3.11
Fixed
NOTE: The dependency github.com/imdario/mergo reverted the breaking change in
0.3.9 via 0.3.10 release.
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: Added support for generating htpasswd hash (thanks @rustycl0ck)
- #224: Added duration filter (thanks @frebib)
- #205: Added
seq
function (thanks @thadc23)
Changed
- #203: Unlambda functions with correct signature (thanks @muesli)
- #236: Updated the license formatting for GitHub display purposes
- #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
darccio/mergo#139
Fixed
v3.0.2
v3.0.1
Release 3.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: Added durationRound function (thanks @yjp20)
- #189: Added numerous template functions that return errors rather than panic (thanks @nrvnrvn)
- #193: Added toRawJson support (thanks @Dean-Coakley)
- #197: Added get support to dicts (thanks @Dean-Coakley)
Changed
- #186: Moving dependency management to Go modules
- #186: Updated semver to v3. This has changes in the way ^ is handled
- #194: Updated documentation on merging and how it copies. Added example using deepCopy
- #196: trunc now supports negative values (thanks @Dean-Coakley)
2.22.0
Added
- #173: Added getHostByName function to resolve dns names to ips (thanks @fcgravalos)
- #195: Added deepCopy function for use with dicts
Changed
- Updated merge and mergeOverwrite documentation to explain copying and how to
use deepCopy with it