v3.10.0
🥳 It's high time for another gomplate release! This release contains quite a few
bug fixes and improvements.
Some packaging updates:
- There is now a binary built for macOS on the Apple Silicon (M1/etc -
darwin-arm64
) platform! - For Windows users, there is now a Chocolatey package available!
- Docker images are now also pushed to GitHub Container Registry
Be sure to also check out the multi-platform Docker images available at hairyhenderson/gomplate
.
If you've gained value out of gomplate and want to find a way to encourage development, please consider sponsoring gomplate!
v3.10.0 (2021-09-24)
Release Notes
New features and changes
- #1216
conv.ToInt
now returns-1
instead of overflowing on 32-bit systems to protect against CWE-190 and CWE-681 - #1214 The
crypto.RSAGenerateKey
function now enforces a minimum key size of 2048 bits to protect against CWE-326. - #1195 Now built with Go 1.17
- #1083 New
darwin-arm64
binary - #1058 #1092 Stop printing newline on stderr when outputting to stdout
New functions
- #1197 New IP/CIDR parsing functions:
Bug fixes
- #1217 Support git repos with default branches other than
master
(fixes #1049) - #1210 Fix
CONSUL_HTTP_ADDR
parsing (fixes #1209) - #1199 Fix a few filehandle leaks (fixes #995)
- #1128 Fix data race in
random
functions - #1127 Fix data race when gomplate is used programatically - fixed by removing use of globals in func namespaces (fixes #1126)
- #1104 Stop emitting ANSI colour codes on Windows in unsupported terminals (partial fix for #1095)
- #1082 Fix error when using
--input-dir=.
(found in #1081) - #1063 Fix difficulty in using gomplate programatically - bumped
k8s.io/client-go
to valid semver (fixes #1061)