2.8.0
No new functions for once 😅, but still plenty of improvements under the hood!
v2.8.0 (2018-08-29)
Release Notes
New features and changes
- New
--verbose
flag (#385) - New
--chmod
flag to explicitly set output file modes (#369) - Export Funcs function to help enable usage of gomplate as library (#372) - Thank you, @dcwangmit01!
- Updated to Go 1.11 (#382)
- This adds a very useful feature for template authors: "Modifying template variables via assignments is now permitted via the = token:"
{{ $v := "init" }} {{ if true }} {{ $v = "changed" }} {{ end }} v: {{ $v }} {{/* "changed" */}}
- This adds a very useful feature for template authors: "Modifying template variables via assignments is now permitted via the = token:"
- For those who may have been using gomplate as a library, (#376) removed unexported a number of functions that were never meant to be exported. If this is a problem, please file an issue!
- MIME type detection precedence has been fixed (#374)