Skip to content

Release 3.0.0

Compare
Choose a tag to compare
@mattfarina mattfarina released this 02 Oct 20:32
· 108 commits to master since this release
v3.0.0
0e09f04

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

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)