Skip to content

Releases: hairyhenderson/gomplate

2.7.0

27 Jul 02:41
84807e0
Compare
Choose a tag to compare

☀️ gomplate's big fancy summer release! ✨😎

v2.7.0 (2018-07-27)

Full Changelog

Release Notes

New features and changes

  • Datasources can now be defined dynamically (#357) - see datasource docs for details
    • instead of giving datasource an alias, you can provide a URL directly - useful for building new datasource URLs on the fly
  • conv.Has can search arrays now
  • Template errors now produce much less output (#362)

New functions

New namespaces

  • filepath, for manipulating local filesystem paths
    • filepath.Base, filepath.Clean, filepath.Dir, filepath.Ext, filepath.FromSlash, filepath.IsAbs, filepath.Join, filepath.Match, filepath.Rel, filepath.Split, filepath.ToSlash, filepath.VolumeName
  • path, for manipulating slash-based paths (such as URLs)
    • path.Base, path.Clean, path.Dir, path.Ext, path.IsAbs, path.Join, path.Match, path.Split
  • test, helpers for validating assumptions and can cause template generation to fail
    • test.Fail, test.Assert

2.6.0

09 Jun 02:33
2ca2ec4
Compare
Choose a tag to compare

✨ More functions, more features! ✨

Highlights

v2.6.0 (2018-06-09)

Full Changelog

Implemented enhancements:

  • Directory datasource #215

Fixed bugs:

  • The sockaddr.Include and sockaddr.Exclude do not have "private" selector. #328
  • Support commas in number conversion #345 (hairyhenderson)

Closed issues:

  • Add slugify #336
  • Action Required: Fix Renovate Configuration #335
  • Consider publishing sha256sums of release files #318
  • Vault list support #229

Merged pull requests:

2.5.0

04 May 04:23
ce4b3e3
Compare
Choose a tag to compare

✨A huge release this time around, with lots of community contributions! ✨

Highlights:

v2.5.0 (2018-05-04)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Writing an output file from a template provided via --in sets no FileMode when run using Docker #304
  • function "dict" not defined #291
  • unexpected "|" in template clause #290
  • Conditional statement as default value in getenv? #285
  • Pull in sprig functions? #283
  • Consider breaking the gomplate cmd into a sub-package #147

Merged pull requests:

2.4.0

04 Mar 21:31
aa86bc7
Compare
Choose a tag to compare

✨ Another big gomplate release!

  • New sockaddr namespace
  • New file namespace
  • a bunch of bug-fixes, and more solid tests

v2.4.0 (2018-03-04)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Solaris build is broken 💥 #255
  • strings.Indent should not indent when width is 0 #268 (keitwb)
  • Attempting to fix intermittent Integration Test failure #260 (hairyhenderson)

Closed issues:

  • docker run hairyhenderson/gomplate --version doesn't print version #266

Merged pull requests:

2.3.0

16 Feb 01:53
05e5279
Compare
Choose a tag to compare

✨ The first release of 2018 - an enormous and overdue one! Sorry for the delay 😬

Highlights:

Many thanks to the contributors who have helped make this and other releases!

v2.3.0 (2018-02-12)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • "unexpected {{end}}" error that only happens when using --input-dir #238

Closed issues:

  • gomplate should output which template was being parsed when an error is encountered #239
  • function "math" not defined #224

Merged pull requests:

2.2.0

03 Nov 03:04
88829e7
Compare
Choose a tag to compare

✨ Another new namespace! This time, gomplate learns math

On the usability front, gomplate will now react with less panic and more help when template errors are encountered.

v2.2.0 (2017-11-03)

Full Changelog

Implemented enhancements:

Fixed bugs:

Merged pull requests:

2.1.0

14 Oct 20:03
Compare
Choose a tag to compare

✨ New time namespace, and a pile of bug fixes! ✨

v2.1.0 (2017-10-14)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • 'client nonce mismatch' when using AWS auth with nonce #205
  • AWS Auth nonce file not created if it doesn't already exist #204
  • "gomplate -in flibbit" should produce an error #192
  • Fixes #192 - fail with unknown args #208 (drmdrew)
  • Remove trailing spaces #207 (stuart-c)
  • Create file if it doesn't exist #206 (stuart-c)

Closed issues:

  • Document 4 new conv functions in 2.0.0 #196

Merged pull requests:

  • Document conv.ParseInt, conv.ParseFloat, conv.ParseUint, and conv.Atoi #212 (danedmunds)

2.0.1

09 Sep 13:38
Compare
Choose a tag to compare

Mostly a bugfix release this time!

v2.0.1 (2017-09-08)

Full Changelog

Fixed bugs:

Merged pull requests:

2.0.0

10 Aug 02:10
Compare
Choose a tag to compare

✨ Big new release! I've bumped to v2.0.0 to reflect that there are some backwards-incompatible API changes, though for most users this should have no impact.

Major highlights

  • 2 new datasources supported: Consul and BoltDB
  • Now all template functions have "namespaced" versions, with the addition of the data and conv namespaces. The non-namespaced function names will continue to be supported.
  • 4 new functions (undocumented - oops!): conv.ParseInt, conv.ParseFloat, conv.ParseUint, and conv.Atoi
  • New support for authenticating Vault with the EC2 auth back-end

A huge thanks to @stuart-c, who contributed the lion's share of features in this release!

v2.0.0 (2017-08-10)

Full Changelog

Implemented enhancements:

Closed issues:

  • gomplate --version: 0.0.0 #188

Merged pull requests:

1.10.0

01 Aug 18:43
Compare
Choose a tag to compare

✨ A small but powerful release this time around! The binary is now statically-compiled so is much more portable! Also, gomplate is now built and tested on Windows with Appveyor! This should help with stability on Windows in future! 🎉

This should be the last release before gomplate 2.0!

v1.10.0 (2017-08-01)

Full Changelog

Implemented enhancements:

Closed issues:

  • 17.7M on Alpine Images #171

Merged pull requests: