chore(deps): update dependency hairyhenderson/gomplate to v3.11.0 #67

Merged
renovator merged 1 commits from renovate/docker-helper-tools into main 2022-06-13 01:00:25 +02:00
Member

This PR contains the following updates:

Package Update Change
hairyhenderson/gomplate minor v3.10.0 -> v3.11.0

Release Notes

hairyhenderson/gomplate

v3.11.0

Compare Source

👋 Welcome to another gomplate release! Once more, a number of bug fixes and new
features. Thanks to the community, gomplate is now available via
MacPorts as well!

Thanks

Plenty of people have contributed to gomplate by filing issues, suggesting new
features, or submitting pull requests. I'd like to especially thank the
following people for submitting pull requests in this release:

Deprecations

I'm starting to work on gomplate v4, the next major release (with breaking
changes). In preparation for this, I'm listing some features as deprecated (see
the deprecation policy). Note that some of these may have been
deprecated for a while, but I'd like to call them out explicitly here.

  • The BoltDB
    datasource is now deprecated (see this discussion),
    and will be removed in v4.0.0.
  • The slim binaries are deprecated, and will no longer be produced starting
    with v4.0.0.
  • A number of functions are deprecated, though not all will be removed in v4:
  • The array form of configuring nested templates is deprecated, and a new map-
    based form is now available. This will be removed in a later v4 minor release
    (i.e. not in v4.0.0, but before v5).

Be sure to also check out the multi-platform Docker images available at hairyhenderson/gomplate.

If you've gained value out of gomplate and want to find a way to encourage development, please consider sponsoring gomplate!

v3.11.0 (2022-06-12)

Full Changelog

Release Notes
New features and changes
  • #​1422 New experimental gomplate.Renderer API is available for rendering templates programmatically. This should be of interest for developers wishing to use gomplate as a library. See the Go docs for examples.
  • #​1410 Nested templates can now be referenced by URL and not just by path.
    • Notes:
      • Currently, only the file: URL scheme is supported. The full set of datasource URL schemes will be supported in a future release.
      • This also introduces a new format for the templates config option, and deprecates the previous format. See the docs for templates for more information.
  • #​1402 Support for AWS IMDSv2 (EC2 instance metadata) is now available - thanks to @​surki for the contribution!
  • #​1358 Adding warning messages when using deprecated functions and datasources.
  • #​1335 Now built with Go 1.18, which adds two new functions: break, and continue.
  • #​1317 Plugins now support piping input arguments to the plugin's stdin, rather than a commandline argument. This can be configured in the config file (see the docs for details).
  • #​1307 Missing directories are now automatically created for output files
New functions
Bug fixes
  • #​1349 Fix bug in JSON and YAML functions where escaped forward slashes (\/) were not being correctly interpreted
  • #​1350 Fix config merging when context/datasources are provided on the command line but not in the config file - thanks to @​paddycarey for the contribution!
  • #​1334 Fix file directory reading (fixes #​1333)
  • #​1310 Fix strings.Title to handle unicode punctuation (moves to alternate implementation after Go 1.18 deprecated the standard library function)
  • #​1308 Fix bug where strings.Indent would not work correctly when a new-line character is used (now disallowed)
  • #​1296 The aws+sm datasource will now correctly read a secret written as binary (SecretBinary) rather than a string (SecretString)
Documentation fixes/updates

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [hairyhenderson/gomplate](https://github.com/hairyhenderson/gomplate) | minor | `v3.10.0` -> `v3.11.0` | --- ### Release Notes <details> <summary>hairyhenderson/gomplate</summary> ### [`v3.11.0`](https://github.com/hairyhenderson/gomplate/releases/tag/v3.11.0) [Compare Source](https://github.com/hairyhenderson/gomplate/compare/v3.10.0...v3.11.0) 👋 Welcome to another gomplate release! Once more, a number of bug fixes and new features. Thanks to the community, gomplate is now available via [MacPorts](https://ports.macports.org/port/gomplate) as well! ##### Thanks Plenty of people have contributed to gomplate by filing issues, suggesting new features, or submitting pull requests. I'd like to especially thank the following people for submitting pull requests in this release: - [@&#8203;jeevansai502](https://github.com/jeevansai502) - [@&#8203;herbygillot](https://github.com/herbygillot) - [@&#8203;karlschriek](https://github.com/karlschriek) - [@&#8203;paddycarey](https://github.com/paddycarey) - [@&#8203;bartoszj](https://github.com/bartoszj) - [@&#8203;surki](https://github.com/surki) - [@&#8203;jbro](https://github.com/jbro) ##### Deprecations *I'm starting to work on gomplate v4, the next major release (with breaking changes). In preparation for this, I'm listing some features as deprecated (see [the deprecation policy](https://github.com/hairyhenderson/gomplate/blob/master/CONTRIBUTING.md#versioning-api-and-deprecation)). Note that some of these may have been deprecated for a while, but I'd like to call them out explicitly here.* - The [BoltDB](https://docs.gomplate.ca/datasources/#using-boltdb-datasources) datasource is now deprecated (see [this discussion](https://github.com/hairyhenderson/gomplate/discussions/1215)), and will be removed in v4.0.0. - The `slim` binaries are deprecated, and will no longer be produced starting with v4.0.0. - A number of functions are deprecated, though not all will be removed in v4: - `strings.Sort` (use [`coll.Sort`](https://docs.gomplate.ca/functions/coll/#coll-sort) instead) - `conv.Dict` (use [`coll.Dict`](https://docs.gomplate.ca/functions/coll/#coll-dict) instead) - `conv.Slice` (use [`coll.Slice`](https://docs.gomplate.ca/functions/coll/#coll-slice) instead) - `conv.Has` (use [`coll.Has`](https://docs.gomplate.ca/functions/coll/#coll-has) instead) - `conv.Bool` (use [`conv.ToBool`](https://docs.gomplate.ca/functions/conv/#conv-tobool) instead) - The array form of configuring nested templates is deprecated, and a new map- based form is now available. This will be removed in a later v4 minor release (i.e. not in v4.0.0, but before v5). *** Be sure to also check out the multi-platform Docker images available at [`hairyhenderson/gomplate`](https://hub.docker.com/r/hairyhenderson/gomplate). *If you've gained value out of gomplate and want to find a way to encourage development, please consider [sponsoring gomplate](https://github.com/sponsors/hairyhenderson)!* ##### [v3.11.0](https://github.com/hairyhenderson/gomplate/tree/v3.11.0) (2022-06-12) [Full Changelog](https://github.com/hairyhenderson/gomplate/compare/v3.10.0...v3.11.0) ##### Release Notes ##### New features and changes - [#&#8203;1422](https://github.com/hairyhenderson/gomplate/pull/1422) New experimental `gomplate.Renderer` API is available for rendering templates programmatically. This should be of interest for developers wishing to use gomplate as a library. See the [Go docs](https://golang.org/github.com/hairyhenderson/gomplate/v3#Renderer) for examples. - [#&#8203;1410](https://github.com/hairyhenderson/gomplate/pull/1410) [Nested templates](https://docs.gomplate.ca/usage/#template-t) can now be referenced by URL and not just by path. - *Notes:* - Currently, only the `file:` URL scheme is supported. The full set of datasource URL schemes will be supported in a future release. - This also introduces a new format for the `templates` config option, and deprecates the previous format. See [the docs for `templates`](https://docs.gomplate.ca/config/#templates) for more information. - [#&#8203;1402](https://github.com/hairyhenderson/gomplate/pull/1402) Support for AWS IMDSv2 (EC2 instance metadata) is now available - thanks to [@&#8203;surki](https://github.com/surki) for the contribution! - [#&#8203;1358](https://github.com/hairyhenderson/gomplate/pull/1358) Adding warning messages when using deprecated functions and datasources. - [#&#8203;1335](https://github.com/hairyhenderson/gomplate/pull/1335) Now built with Go 1.18, which adds two new [functions](https://docs.gomplate.ca/syntax/#functions): `break`, and `continue`. - [#&#8203;1317](https://github.com/hairyhenderson/gomplate/pull/1317) Plugins now support piping input arguments to the plugin's stdin, rather than a commandline argument. This can be configured in the config file ([see the docs for details](https://docs.gomplate.ca/config/#pipe)). - [#&#8203;1307](https://github.com/hairyhenderson/gomplate/pull/1307) Missing directories are now automatically created for output files ##### New functions - [#&#8203;1388](https://github.com/hairyhenderson/gomplate/pull/1388) Two new *experimental* functions for generating ECDSA keys: - [`crypto.ECDSAGenerateKey`](https://docs.gomplate.ca/functions/crypto/#crypto-ecdsageneratekey-experimental) - [`crypto.ECDSADerivePublicKey`](https://docs.gomplate.ca/functions/crypto/#crypto-ecdsaderivepublickey-experimental) - *These are experimental as the semantics may change in a future release* - [#&#8203;1364](https://github.com/hairyhenderson/gomplate/pull/1364) Two new template functions to help identify which template is being rendered: - [`tmpl.Path`](https://docs.gomplate.ca/functions/tmpl/#tmpl-path) - [`tmpl.PathDir`](https://docs.gomplate.ca/functions/tmpl/#tmpl-pathdir) - [#&#8203;1342](https://github.com/hairyhenderson/gomplate/pull/1342) Four new functions in the `net` namespace for working with networks in CIDR notation - thanks to [@&#8203;bartoszj](https://github.com/bartoszj) for the contribution! - [`net.CIDRHost`](https://docs.gomplate.ca/functions/net/#net-cidrhost) - [`net.CIDRNetmask`](https://docs.gomplate.ca/functions/net/#net-cidrnetmask) - [`net.CIDRSubnets`](https://docs.gomplate.ca/functions/net/#net-cidrsubnets) - [`net.CIDRSubnetSizes`](https://docs.gomplate.ca/functions/net/#net-cidrsubnetsizes) - [#&#8203;1306](https://github.com/hairyhenderson/gomplate/pull/1306) Hashing functions that return raw bytes (like `crypto.SHA*`, but returns raw bytes instead of strings) - [`crypto.SHA*Bytes`](https://docs.gomplate.ca/functions/crypto/#crypto-sha1bytes-crypto-sha224bytes-crypto-sha256bytes-crypto-sha384bytes-crypto-sha512bytes-crypto-sha512-224bytes-crypto-sha512-256bytes) - [#&#8203;1305](https://github.com/hairyhenderson/gomplate/pull/1305) Two new functions to encrypt and decrypt with AES: - [`crypto.EncryptAES`](https://docs.gomplate.ca/functions/crypto/#crypto-encryptaes) - [`crypto.DecryptAES`](https://docs.gomplate.ca/functions/crypto/#crypto-decryptaes) - *These are experimental as the semantics may change in a future release* - [#&#8203;1287](https://github.com/hairyhenderson/gomplate/pull/1287) New [`listDatasources`](https://docs.gomplate.ca/functions/data/#listdatasources) function - thanks to [@&#8203;jeevansai502](https://github.com/jeevansai502) for the contribution! ##### Bug fixes - [#&#8203;1349](https://github.com/halcyon/gomplate/pull/1349) Fix bug in `JSON` and `YAML` functions where escaped forward slashes (`\/`) were not being correctly interpreted - [#&#8203;1350](https://github.com/hairyhenderson/gomplate/pull/1350) Fix config merging when context/datasources are provided on the command line but not in the config file - thanks to [@&#8203;paddycarey](https://github.com/paddycarey) for the contribution! - [#&#8203;1334](https://github.com/hairyhenderson/gomplate/pull/1334) Fix file directory reading (fixes [#&#8203;1333](https://github.com/hairyhenderson/gomplate/issues/1333)) - [#&#8203;1310](https://github.com/hairyhenderson/gomplate/pull/1310) Fix `strings.Title` to handle unicode punctuation (moves to alternate implementation after Go 1.18 deprecated the standard library function) - [#&#8203;1308](https://github.com/hairyhenderson/gomplate/pull/1308) Fix bug where `strings.Indent` would not work correctly when a new-line character is used (now disallowed) - [#&#8203;1296](https://github.com/hairyhenderson/gomplate/pull/1296) The `aws+sm` datasource will now correctly read a secret written as binary (`SecretBinary`) rather than a string (`SecretString`) ##### Documentation fixes/updates - [#&#8203;1338](https://github.com/hairyhenderson/gomplate/pull/1338) Clarify that `inputDir` is read recursively - [#&#8203;1313](https://github.com/haiyhenderson/gomplate/pull/1313) Add MacPorts installation instructions - thanks to [@&#8203;herbygillot](https://github.com/herbygillot) for the contribution! - [#&#8203;1312](https://github.com/hairyhenderson/gomplate/pull/1312) Improved plugin documentation - [#&#8203;1309](https://github.com/hairyhenderson/gomplate/pull/1309) Updated install docs to remove mention of the deprecated `slim` binary, and update the Go install instructions for recent Go versions - [#&#8203;1301](https://github.com/hairyhenderson/gomplate/pull/1301) [`conv.URL`](https://docs.gomplate.ca/functions/conv/#conv-url): Add example of how to redact the password - [#&#8203;1300](https://github.com/hairyhenderson/gomplate/pull/1300) [`time.Now`](https://docs.gomplate.ca/functions/time/#time-now): Add example of how to use `Time.IsDST` - [#&#8203;1279](https://github.com/hairyhenderson/gomplate/pull/1279) [`strings.Split`](https://docs.gomplate.ca/functions/strings/#strings-split): More examples to clarify how to use `strings.Split` - thanks to [@&#8203;karlschriek](https://github.com/karlschriek) for the contribution! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovator added 1 commit 2022-06-13 00:00:33 +02:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
ed813b770a
chore(deps): update dependency hairyhenderson/gomplate to v3.11.0
renovator merged commit ed813b770a into main 2022-06-13 01:00:25 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: container/alpine#67
No description provided.