Download Latest Version v3.3.0 source code.zip (74.1 kB)
Email in envelope

Get an email when there's a new version of Sprig

Home / v3.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2020-12-14 1.2 kB
v3.2.0 source code.tar.gz 2020-12-14 55.4 kB
v3.2.0 source code.zip 2020-12-14 73.4 kB
Totals: 3 Items   130.0 kB 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

  • [#249]: Fix htmlDateInZone example (thanks @spawnia)

NOTE: The dependency github.com/imdario/mergo reverted the breaking change in 0.3.9 via 0.3.10 release.

Source: README.md, updated 2020-12-14