Skip to content

Releases: hairyhenderson/gomplate

0.3.0

11 Apr 17:46
Compare
Choose a tag to compare

This adds some convenience functions for creating and dealing with slices (and JSON arrays).

Additions

  • slice
  • jsonArray

0.2.2

04 Apr 14:51
Compare
Choose a tag to compare

Another bug-fix release.

Bug Fixes

  • gomplate -v now returns the correct version number! #32 #33

0.2.1

28 Mar 03:21
Compare
Choose a tag to compare

A bug-fix release.

Bug Fixes

  • It's 'ec2region', not 'region' #29
  • Using defaults on network errors and timeouts #27 (Fixes #26)

0.2.0

28 Mar 02:24
Compare
Choose a tag to compare

This adds support for grabbing metadata from EC2 to make gomplate useful for cloud scenarios. Unfortunately this also means the binary size has skyrocketed.

So, I'm experimenting with "slim" versions of (most of) the binaries, compressed using UPX. These are the ones ending in -slim.

Additions

A whole pile of new functions:

  • json
  • ec2meta
  • ec2dynamic
  • ec2region
  • ec2tag

0.1.1

22 Mar 01:54
Compare
Choose a tag to compare

This is a minor single-change release...

Additions

  • Adding support to getenv for a default value (#16)

0.1.0

20 Feb 23:10
Compare
Choose a tag to compare

While I'm not ready to call this a 1.0 release, I am comfortable calling this production-ready-ish.

Breaking changes

This release marks a major change in the way input is parsed:

In order to support multi-line templates, the entire input is now read before applying the template. This is a change from the previous implementation, which read only one line at a time.

This means that templates like this will now work:

{{ if eq .Env.THING_ENABLED "true" }}
do the thing
{{ else }}
don't do the thing
{{ end }}

Additions

Two new functions:

  • getenv - a more forgiving way to get an environment variable (see README.md)
  • bool - converts a string into a boolean (see README.md)

0.0.2

24 Jan 20:18
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release
  • Renamed to gomplate
  • Slight refactoring
  • Vague unit tests

0.0.1

23 Jan 16:22
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

Initial release. Supports only replacement of environment variables with {{.Env.FOO}}