Releases: hairyhenderson/gomplate
1.9.0
✨ the last version may have come out recently, but there have been lots of changes, so time for another release! Lots of new functions:
- 6 new functions for resolving hostnames and various DNS records:
net.LookupIP
,net.LookupIPs
,net.LookupCNAME
,net.LookupSRV
,net.LookupSRVs
,net.LookupTXT
- 2 new functions for handling regular expressions:
regexp.Replace
,regexp.Match
- Namespacing string-related functions:
strings.Contains
,strings.HasPrefix
,strings.HasSuffix
,strings.ReplaceAll
,strings.Split
,strings.SplitN
,strings.Title
,strings.ToLower
,strings.ToUpper
,strings.Trim
,strings.TrimSpace
- Note: these namespaced functions support pipelining, whereas the previous versions don't
- Namespaced the
indent
function intostrings.Indent
, and added additional functionality
v1.9.0 (2017-06-14)
Implemented enhancements:
- DNS resolver function... #157
- Regular expression support #152
- Enhancing indent function #166 (hairyhenderson)
- Creating a strings namespace #164 (hairyhenderson)
- Adding regexp support #161 (hairyhenderson)
- Adding net.Lookup* functions #158 (hairyhenderson)
1.8.0
✨ Another big release! ✨
- a 🚚 load of new functions:
- The AWS EC2 functions have been moved to their own namespace (original names still work, though!):
ec2meta
→aws.EC2Meta
ec2tag
→aws.EC2Tag
ec2dynamic
→aws.EC2Dynamic
ec2region
→aws.EC2Region
- 2 new
datasource
data formats now supported:CSV
andTOML
- New documentation site! https://gomplate.hairyhenderson.ca/
As always, issue reports and feature requests are welcome!
v1.8.0 (2017-06-09)
Implemented enhancements:
- base64 encode/decode support #155
- Ability to include raw text from non-structured files #142
- Support CSV datasources #44
- Adding new base64.Encode/base64.Decode functions #156 (hairyhenderson)
- Adding TOML support #154 (hairyhenderson)
- Add include function #153 (hairyhenderson)
- Adding CSV datasource support #150 (hairyhenderson)
Closed issues:
- Improve the docs and move to a separate place (not the README) #146
Merged pull requests:
- Moving docs out of README #149 (hairyhenderson)
- Namespacing the aws funcs #148 (hairyhenderson)
1.7.0
✨ Big release! ✨
This time around, we have a pile of new functions (replaceAll
, indent
, toJSONPretty
, urlParse
, and splitN
), and a new build target - Solaris on x64. Also, toJSON
will now marshal nested objects properly!
Download binaries below, or follow the install instructions.
v1.7.0 (2017-05-24)
Implemented enhancements:
- Add
replaceAll
function and documentation #140 (jen20) - Adding new
indent
function #139 (hairyhenderson) - Adding new
toJSONPretty
function #137 (hairyhenderson) - Add
urlParse
function (i.e. url.Parse) #132 (hairyhenderson) - Add
splitN
function (i.e. strings.SplitN) #131 (hairyhenderson)
Fixed bugs:
toJSON
fails to marshal objects with nested objects #138- function
has
will panic when used on nested map #134 - Using
github.com/ugorji/go/codec
for JSON encoding instead ofencoding/json
#144 (hairyhenderson) - Fixing bug with
has
anddatasource
around referencing sub-maps in nested maps #135 (hairyhenderson)
Closed issues:
- Ability to join list of items into string with separator #143
Merged pull requests:
- Add
solaris-amd64
build target #141 (jen20) - Making the built Docker image smaller #136 (hairyhenderson)
1.6.0
✨ Big new release! Lots of new features here, and some refactoring.
v1.6.0 (2017-05-01)
Implemented enhancements:
- Support for bulk operations #117
- Authentication for HTTP/HTTPS datasources #113
- Make all secrets settable via files #106
- Adding ds alias for datasource function #129 (hairyhenderson)
- Add --input-dir and --output-dir as options #119 (rhuss)
- Adding more ways to specify input/output #114 (hairyhenderson)
Fixed bugs:
Merged pull requests:
- Migrating to spf13/cobra for commandline processing #128 (hairyhenderson)
- Updating vendored deps #127 (hairyhenderson)
- Removing integration test dependency on internet access #121 (hairyhenderson)
- Updating vendored deps (aws-sdk-go and go-yaml) #120 (hairyhenderson)
- Fix readme ToC link to
--datasource-d
#118 (jamiemjennings) - Support arbitrary headers with HTTP datasources #115 (hairyhenderson)
- Adding some very basic integration tests #112 (hairyhenderson)
1.5.1
This is a performance bug-fix release - only the fix from #111 was included here.
v1.5.1 (2017-03-23)
Fixed bugs:
- Awful performance rendering templates with
ec2tag
function in non-aws environments #110 - Performance fixes for running ec2tag in non-aws environments #111 (hairyhenderson)
1.5.0
✨ More new functions: has
, toJSON
, and toYAML
. Also now able to override the template delimiters! ✨
v1.5.0 (2017-03-07)
Implemented enhancements:
- Allow setting custom delimiters #100
- Allow overriding the template delimiters #102 (hairyhenderson)
- Adding 'has' func to determine if an object has a named key #101 (hairyhenderson)
- Adding toJSON and toYAML functions #99 (hairyhenderson)
1.4.0
✨ More functions! contains
, hasPrefix
, hasSuffix
, split
, trim
, trimSpace
✨
v1.4.0 (2017-03-03)
Implemented enhancements:
- Adding more functions from the strings package #96 (hairyhenderson)
1.3.0
✨ New! datasourceExists
function! See the docs for details.
v1.3.0 (2017-02-03)
Implemented enhancements:
- Adding
datasourceExists
function #94 (hairyhenderson)
Closed issues:
- Crash when datasource is not specified #93
1.2.4
v1.2.4 (2017-01-13)
Merged pull requests:
- Building a slim macOS binary too #92 (hairyhenderson)
- Note: this binary is removed from the release - it doesn't seem to work!
- Vendoring dependencies with glide #91 (hairyhenderson)
- Updating README #88 (rdbaron)