3.1.0
This may be a minor version bump, but it contains some major features! 💪 🚀
Aside from some new functions, behind-the-scenes updates, and docs updates, there's a new way to interact with datasources, a way to process templates in-line, and support for encrypted JSON files! Read on for details...
Note: The Homebrew release of gomplate will likely lag for a while, as there is a known bug with UPX that's blocking it from being released. You can brew install hairyhenderson/tap/gomplate
in the meantime to get the latest version.
v3.1.0 (2018-11-29)
Release Notes
New features and changes
- #415 Changed the
hairyhenderson/gomplate
Docker image so that it's easier to pipe templates in without any commandline arguments. Thanks to @strokyl for this! - #420 Support decrypting ejson files
- Adds support for ejson-encrypted JSON files, both in datasources and the
json
function
- Adds support for ejson-encrypted JSON files, both in datasources and the
- #424 New --context flag for adding datasources to context
- Allows you to reference a datasource with dot-notation (i.e.
{{ .foo }}
instead of{{ ds "foo" }}
) - multi-arg datasources still require thedatasource
/ds
function
- Allows you to reference a datasource with dot-notation (i.e.
- #431 Added some missing documentation for AWS environment variables
- #439 Adding option to suppress empty output files
- Perhaps a niche feature, but hopefully useful to some! Enable this with
GOMPLATE_SUPPRESS_EMPTY=true
. If you feel this should be more widely supported (through a commandline flag), please file an issue!
- Perhaps a niche feature, but hopefully useful to some! Enable this with