Skip to content

3.1.0

Compare
Choose a tag to compare
@hairyhenderson hairyhenderson released this 30 Nov 03:01
v3.1.0
2f357bd

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)

Full Changelog

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
  • #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 the datasource/ds function
  • #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!

New functions