github hairyhenderson/gomplate 2.8.0

latest releases: v4.0.0-pre-2, v3.11.7, v3.11.6...
5 years ago

No new functions for once 😅, but still plenty of improvements under the hood!

v2.8.0 (2018-08-29)

Full Changelog

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" */}}
      
  • 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)

Don't miss a new gomplate release

NewReleases is sending notifications on new releases.