Releases: hairyhenderson/gomplate
0.5.0
New functionality to be able to parse JSON data sources!
Additions
datasource
- new function to be able to resolve data from JSON files passed through the new-d
/--datasource
commandline argument
0.4.0
Some new functions in this one related to string manipulation.
Additions
join
- identical tostrings.Join
, except that each element is converted to a string first (i.e.[]interface{}
is supported, not just[]string
)title
- exposedstrings.Title
toLower
- exposedstrings.ToLower
toUpper
- exposedstrings.ToUpper
0.3.0
This adds some convenience functions for creating and dealing with slices (and JSON arrays).
Additions
slice
jsonArray
0.2.2
0.2.1
0.2.0
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
0.1.0
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:
0.0.2
- Renamed to
gomplate
- Slight refactoring
- Vague unit tests
0.0.1
Initial release. Supports only replacement of environment variables with {{.Env.FOO}}