chore(deps): update dependency hairyhenderson/gomplate to v4 #16

Merged
xoxys merged 1 commits from renovate/hairyhenderson-gomplate-4.x into main 2024-06-21 19:15:21 +00:00
Member

This PR contains the following updates:

Package Update Change
hairyhenderson/gomplate major v3.11.8 -> v4.0.0

Release Notes

hairyhenderson/gomplate (hairyhenderson/gomplate)

v4.0.0

Compare Source

v4.0.0

🥳 It's finally here! Welcome to gomplate v4.0.0! This release is a major release, with breaking changes. Read on for more details...

Probably the most important feature that's evolved in gomplate over the years is its support for reading and parsing data from a variety of sources. Using URLs to specify where to find data has proven to be quite flexible, and has allowed for a lot of different data sources to be supported.

In early 2021, I took what I had learned from supporting all of these different data sources, and I created a new module called go-fsimpl, which provides a number of Go filesystem implementations that can be used with Go's filesystem interfaces.

My goal with go-fsimpl was always to use it in gomplate, and now that it's data source support has reached parity with gomplate, it's time to make the switch! As a result, and because go-fsimpl presents a much more consistent and unified approach to data sources, I've had to drop support for one data source, and in fixing some inconsistencies in how URLs have been handled by some of the data sources, I've had to make some breaking changes there as well.

⚠️ Please, if you're using gomplate in production, read these release notes carefully and in full, and review your usage of gomplate to make sure you can adapt to these changes.

Breaking changes

Dropped support for the BoltDB data source

Support for the boltdb URL scheme has been removed. The implementation was never very robust, and I'm not aware of anyone using it. It had some unique quirks that would have made it quite difficult to support in go-fsiml as-is, so I've decided to drop it.

No more slim binaries

The slim binaries were deprecated in v3.11, and will no longer be produced.

Stricter URL handling
Subpaths are now always relative URLs

When using the datasource function with a subpath (second argument), the subpath has previously been intepreted by some data sources as a simple addition to the URL, and by others as a relative URL to be interpreted relative to the data source's base URL (as specified by the --datasource flag).

Now, all data sources will interpret the subpath as a relative URL, and will resolve it relative to the data source's base URL. This means that, given a base URL of git+https://github.com/hairyhenderson/gomplate//random and a subpath of random.go, the resulting URL will be git+https://github.com/hairyhenderson/gomplate//random.go. To correct this, make sure that base URLs end with a trailing slash when the last component is a directory.

Also, if the subpath begins with a slash, it will be interpreted as an absolute path, and will replace the base URL's path. For example, given a base URL of git+file:///tmp/repos//myrepo/ and a subpath of /myfile.txt, the resulting URL will be git+file:///myfile.txt. To correct this, make sure that subpaths don't begin with a slash. Note that for the special // separator indicating the separation between a Git repository and the path within, a subpath should now begin with .// rather than //.

This affects at least the git and file data sources.

Directories in datasource URLs must end with a slash

Previously, some data sources would assume URLs that end without a trailing slash are directories, and relative lookups would be performed within that directory. This was inconsistent with how URLs are normally interpreted, and could lead to unexpected results.

Now, all data sources will always interpret URLs without a trailing slash as files, and relative lookups will be performed within the parent directory of the URL.

For example, given a base URL of vault:///secret and a subpath of foo, the resulting URL will be vault:///foo. To correct this, make sure that base URLs end with a trailing slash when the last component is a directory.

Consistent data values

The aws+smp data source previously returned the AWS output object, with both metadata and data. Users needed to reference the Value field to get the actual data. Now, the aws+smp data source will return the data directly.

The consul data source supports directory semantics, but previously returned all the data as a JSON array of key/value pair objects. Now, the consul data source will return directory listings like all other data sources, as a JSON array of strings (the names of the keys).

Vault app-id authentication support removed

Support for the Vault "app-id" authentication method has been removed. This method was deprecated in Vault 0.6.1, and removed in Vault 1.13. If you're still using this method, you must switch to a different authentication method. Consider the "approle" method as a similar replacement.

The suppressEmpty behaviour is now always enabled

In previous versions of gomplate, output that consist only of whitespace would by default still be written to files, with the suppressEmpty flag or GOMPLATE_SUPPRESS_EMPTY environment variable being required to suppress this behaviour.

Now, this behaviour is always enabled, and the suppressEmpty flag and GOMPLATE_SUPPRESS_EMPTY environment variable have been removed.

Log message formatting changes

A new logging framework is now in use (the standard library's log/slog package), and so error and debug (--verbose) messages will appear differently (different colours for the console format, and key/value pairs may are sorted differently).

Functions returning errors instead of quietly returning 0 on invalid input

Instead of quietly returning 0, a number of functions in the conv namespace will now return an error if the input is invalid.

This includes:

  • conv.ToInt64, conv.ToInt, conv.ToInt64s, conv.ToInts, conv.ToFloat64, conv.ToFloat64s, conv.ParseInt, conv.ParseFloat, conv.ParseUint, conv.Atoi

Because these functions are used by some other functions, this introduces stricter input validation for these functions:

  • coll.Flatten
  • crypto.PBKDF2, crypto.Bcrypt, crypto.RSAGenerateKey, crypto.EncryptAES, crypto.DecryptAES, crypto.DecryptAESBytes
  • math.Abs, math.Add, math.Mul, math.Sub, math.Div, math.Rem, math.Pow, math.Seq, math.Max, math.Min, math.Ceil, math.Floor, math.Round
  • net.CIDRHost, net.CIDRSubnets, net.CIDRSubnetSizes
  • random.ASCII, random.Alpha, random.AlphaNum, random.String, random.Number, random.Float
  • regexp.FindAll, regexp.Split
  • strings.Abbrev, strings.WordWrap
  • time.Nanosecond, time.Microsecond, time.Millisecond, time.Second, time.Minute, time.Hour
Functions in the regexp namespace now return errors instead of panicking

Previously, the regexp.Match and regexp.Replace functions would panic if the regular expression was invalid. Now, they will return an error instead.

Removed functions

The following functions have been removed:

  • conv.Dict, conv.Slice, conv.Has - These have been deprecated since v3.2.0 and have been replaced with coll.Dict, coll.Slice, and coll.Has.

Deprecations

See the deprecation policy.

  • A number of functions are deprecated, and will likely be removed in v5:
    • the slice alias for coll.Slice (use coll.Slice instead)
    • The net.Parse* functions which produced values from the inet.af/netaddr module have been deprecated and replaced with functions using the Go standard library's net/netip package:
  • 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).
  • Support for the AWS_META_ENDPOINT environment variable for overriding the IMDS endpoint in aws functions has been deprecated in favor of the AWS-native AWS_EC2_METADATA_SERVICE_ENDPOINT. This will be removed in a later v4 minor release (i.e. not in v4.0.0, but before v5).
  • A number of functions and types in the Go API are deprecated. Using a linter like staticcheck will help you find these in your code if you're using gomplate as a module. Follow the instructions in the deprecation comments to find out what to use instead.

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:


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!


v4.0.0 (2024-06-18)

Full Changelog (since v3.11)
Changes since v4.0.0-pre-3

Release Notes
New features and changes
  • #​1336 Use go-fsimpl to read from datasources
  • #​1949 Add missing-key flag to manage behavior in case of non-existing key - thanks to @​xxxcoltxxx!
  • #​1922 Flip to ltsc2022 image for windows variant
  • #​1781 Support for CUE
  • #​1837 Add support for Linux s390x - thanks to @​iblancasa!
  • #​1700 Add tea.xyz package manager - thanks to @​adriens!
  • #​1698 New plugin args option (implements #​1552)
  • #​1668 Remove support for obsolete Vault app-id auth
  • #​1440 Added ppc64le support - thanks to @​mayurwaghmode!
  • #​1615 Deprecate netaddr-based funcs
  • #​1538 Deprecate non-pipelineable strings aliases
  • #​1433 Removed slim (UPX-compressed) binary/image support
  • #​1397 Remove BoltDB support
  • #​1977 Move funcs package to internal/funcs
  • #​1963 Add --exclude-processing option
  • #​2068 Switch from zerolog to slog
  • #​1981 Always suppress empty output
  • #​2069 coll.Pick now supports slice of strings as input
  • #​2083 Replaced the data.Data type with a datasource registry
  • #​2089 Update strings.Indent to error on bad input
  • #​2095 Removed deprecated RunTemplates function and old Config type
  • #​2094 Exported new Config type and updated Run function and other API functions
  • #​2105 Return errors instead of panicking on regexp functions
  • #​2104 Return errors instead of 0 on invalid inputs to conv.* functions
  • #​2115 Add ability to override type query parameter name with GOMPLATE_TYPE_PARAM environment variable
New functions
Bug fixes
Documentation fixes/updates
  • #​1868 List release versions for each function, add unreleased label
  • #​1873 Explain that index supports nested keys - thanks to @​isavcic!
  • #​1885 docs: format user template in hello example - thanks to @​tenstad!
  • #​1866 document the workaround for Vault KV secrets engine - version 2 - thanks to @​AndrewSav!
  • #​1745 Fix output-map usage docs
  • #​1729 Migrate docs site to new theme
  • #​1714 Clarified documentation of data.CSVBy* functions - thanks to @​giorgiga!
  • #​1588 Clarify documentation to highlight the differences between index and .
  • #​1622 Fix minor typo: Pic -> Pick - thanks to @​hartzell!
  • #​1518 Fix incorrect coll.GoSlice example (fixes #​1517)
  • #​1506 Clarify git URL docs - stop implying subpaths starting with // are a good idea
Misc. internal contributions

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [hairyhenderson/gomplate](https://github.com/hairyhenderson/gomplate) | major | `v3.11.8` -> `v4.0.0` | --- ### Release Notes <details> <summary>hairyhenderson/gomplate (hairyhenderson/gomplate)</summary> ### [`v4.0.0`](https://github.com/hairyhenderson/gomplate/releases/tag/v4.0.0) [Compare Source](https://github.com/hairyhenderson/gomplate/compare/v3.11.8...v4.0.0) v4.0.0 🥳 It's finally here! Welcome to gomplate v4.0.0! This release is a **major release, with breaking changes.** Read on for more details... Probably the most important feature that's evolved in gomplate over the years is its support for reading and parsing data from a variety of sources. Using URLs to specify where to find data has proven to be quite flexible, and has allowed for a lot of different data sources to be supported. In early 2021, I took what I had learned from supporting all of these different data sources, and I created a new module called [`go-fsimpl`](https://github.com/hairyhenderson/go-fsimpl), which provides a number of Go filesystem implementations that can be used with Go's filesystem interfaces. My goal with `go-fsimpl` was always to use it in gomplate, and now that it's data source support has reached parity with gomplate, it's time to make the switch! As a result, and because `go-fsimpl` presents a much more consistent and unified approach to data sources, I've had to drop support for one data source, and in fixing some inconsistencies in how URLs have been handled by some of the data sources, I've had to make some breaking changes there as well. ⚠️ *Please,* if you're using gomplate in production, *read these release notes carefully and in full,* and review your usage of gomplate to make sure you can adapt to these changes. #### Breaking changes ##### Dropped support for the BoltDB data source Support for the `boltdb` URL scheme has been removed. The implementation was never very robust, and I'm not aware of anyone using it. It had some unique quirks that would have made it quite difficult to support in `go-fsiml` as-is, so I've decided to drop it. ##### No more `slim` binaries The `slim` binaries were deprecated in v3.11, and will no longer be produced. ##### Stricter URL handling ##### Subpaths are now always relative URLs When using the `datasource` function with a subpath (second argument), the subpath has previously been intepreted by some data sources as a simple addition to the URL, and by others as a relative URL to be interpreted relative to the data source's base URL (as specified by the `--datasource` flag). Now, all data sources will interpret the subpath as a relative URL, and will resolve it relative to the data source's base URL. This means that, given a base URL of `git+https://github.com/hairyhenderson/gomplate//random` and a subpath of `random.go`, the resulting URL will be `git+https://github.com/hairyhenderson/gomplate//random.go`. To correct this, make sure that base URLs end with a trailing slash when the last component is a directory. Also, if the subpath begins with a slash, it will be interpreted as an absolute path, and will replace the base URL's path. For example, given a base URL of `git+file:///tmp/repos//myrepo/` and a subpath of `/myfile.txt`, the resulting URL will be `git+file:///myfile.txt`. To correct this, make sure that subpaths don't begin with a slash. Note that for the special `//` separator indicating the separation between a Git repository and the path within, a subpath should now begin with `.//` rather than `//`. This affects at least the `git` and `file` data sources. ##### Directories in datasource URLs must end with a slash Previously, some data sources would assume URLs that end without a trailing slash are directories, and relative lookups would be performed within that directory. This was inconsistent with how URLs are normally interpreted, and could lead to unexpected results. Now, all data sources will always interpret URLs without a trailing slash as files, and relative lookups will be performed within the parent directory of the URL. For example, given a base URL of `vault:///secret` and a subpath of `foo`, the resulting URL will be `vault:///foo`. To correct this, make sure that base URLs end with a trailing slash when the last component is a directory. ##### Consistent data values The `aws+smp` data source previously returned the AWS output object, with both metadata and data. Users needed to reference the `Value` field to get the actual data. Now, the `aws+smp` data source will return the data directly. The `consul` data source supports directory semantics, but previously returned all the data as a JSON array of key/value pair objects. Now, the `consul` data source will return directory listings like all other data sources, as a JSON array of strings (the names of the keys). ##### Vault app-id authentication support removed Support for the Vault "app-id" authentication method has been removed. This method was deprecated in Vault 0.6.1, and removed in Vault 1.13. If you're still using this method, you must switch to a different authentication method. Consider the "approle" method as a similar replacement. ##### The `suppressEmpty` behaviour is now always enabled In previous versions of gomplate, output that consist only of whitespace would by default still be written to files, with the `suppressEmpty` flag or `GOMPLATE_SUPPRESS_EMPTY` environment variable being required to suppress this behaviour. Now, this behaviour is always enabled, and the `suppressEmpty` flag and `GOMPLATE_SUPPRESS_EMPTY` environment variable have been removed. ##### Log message formatting changes A new logging framework is now in use (the standard library's `log/slog` package), and so error and debug (`--verbose`) messages will appear differently (different colours for the console format, and key/value pairs may are sorted differently). ##### Functions returning errors instead of quietly returning 0 on invalid input Instead of quietly returning `0`, a number of functions in the `conv` namespace will now return an error if the input is invalid. This includes: - `conv.ToInt64`, `conv.ToInt`, `conv.ToInt64s`, `conv.ToInts`, `conv.ToFloat64`, `conv.ToFloat64s`, `conv.ParseInt`, `conv.ParseFloat`, `conv.ParseUint`, `conv.Atoi` Because these functions are used by some other functions, this introduces stricter input validation for these functions: - `coll.Flatten` - `crypto.PBKDF2`, `crypto.Bcrypt`, `crypto.RSAGenerateKey`, `crypto.EncryptAES`, `crypto.DecryptAES`, `crypto.DecryptAESBytes` - `math.Abs`, `math.Add`, `math.Mul`, `math.Sub`, `math.Div`, `math.Rem`, `math.Pow`, `math.Seq`, `math.Max`, `math.Min`, `math.Ceil`, `math.Floor`, `math.Round` - `net.CIDRHost`, `net.CIDRSubnets`, `net.CIDRSubnetSizes` - `random.ASCII`, `random.Alpha`, `random.AlphaNum`, `random.String`, `random.Number`, `random.Float` - `regexp.FindAll`, `regexp.Split` - `strings.Abbrev`, `strings.WordWrap` - `time.Nanosecond`, `time.Microsecond`, `time.Millisecond`, `time.Second`, `time.Minute`, `time.Hour` ##### Functions in the `regexp` namespace now return errors instead of panicking Previously, the `regexp.Match` and `regexp.Replace` functions would panic if the regular expression was invalid. Now, they will return an error instead. ##### Removed functions The following functions have been removed: - `conv.Dict`, `conv.Slice`, `conv.Has` - These have been deprecated since v3.2.0 and have been replaced with [`coll.Dict`](https://docs.gomplate.ca/functions/coll/#colldict), [`coll.Slice`](https://docs.gomplate.ca/functions/coll/#collslice), and [`coll.Has`](https://docs.gomplate.ca/functions/coll/#collhas). #### Deprecations *See [the deprecation policy](https://github.com/hairyhenderson/gomplate/blob/main/CONTRIBUTING.md#versioning-api-and-deprecation).* - A number of functions are deprecated, and will likely be removed in v5: - the `slice` alias for `coll.Slice` (use [`coll.Slice`](https://docs.gomplate.ca/functions/coll/#collslice) instead) - The `net.Parse*` functions which produced values from the `inet.af/netaddr` module have been deprecated and replaced with functions using the Go standard library's `net/netip` package: - `net.ParseIP` (use [`net.ParseAddr`](https://docs.gomplate.ca/functions/net/#netparseaddr) instead) - `net.ParseIPPrefix` (use [`net.ParsePrefix`](https://docs.gomplate.ca/functions/net/#netparseprefix) instead) - `net.ParseIPRange` (use [`net.ParseRange`](https://docs.gomplate.ca/functions/net/#netparserange) 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). - Support for the `AWS_META_ENDPOINT` environment variable for overriding the IMDS endpoint in `aws` functions has been deprecated in favor of the AWS-native `AWS_EC2_METADATA_SERVICE_ENDPOINT`. This will be removed in a later v4 minor release (i.e. not in v4.0.0, but before v5). - A number of functions and types in the Go API are deprecated. Using a linter like `staticcheck` will help you find these in your code if you're using gomplate as a module. Follow the instructions in the deprecation comments to find out what to use instead. #### 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;adriens](https://github.com/adriens) - [@&#8203;ahochsteger](https://github.com/ahochsteger) - [@&#8203;AndrewSav](https://github.com/AndrewSav) - [@&#8203;giorgiga](https://github.com/giorgiga) - [@&#8203;hartzell](https://github.com/hartzell) - [@&#8203;horvski](https://github.com/horvski) - [@&#8203;iblancasa](https://github.com/iblancasa) - [@&#8203;isavcic](https://github.com/isavcic) - [@&#8203;Juneezee](https://github.com/Juneezee) - [@&#8203;krishnatippur](https://github.com/krishnatippur) - [@&#8203;lliissoonngg](https://github.com/lliissoonngg) - [@&#8203;mayurwaghmode](https://github.com/mayurwaghmode) - [@&#8203;mihaitodor](https://github.com/mihaitodor) - [@&#8203;stefanb](https://github.com/stefanb) - [@&#8203;sukhil-suresh](https://github.com/sukhil-suresh) - [@&#8203;tenstad](https://github.com/tenstad) - [@&#8203;wuhuizuo](https://github.com/wuhuizuo) - [@&#8203;xxxcoltxxx](https://github.com/xxxcoltxxx) - [@&#8203;zregvart](https://github.com/zregvart) *** 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)!* *** #### [v4.0.0](https://github.com/hairyhenderson/gomplate/tree/v4.0.0) (2024-06-18) [Full Changelog (since v3.11)](https://github.com/hairyhenderson/gomplate/compare/v3.11.0...v4.0.0) [Changes since v4.0.0-pre-3](https://github.com/hairyhenderson/gomplate/compare/v4.0.0-pre-3...v4.0.0) ##### Release Notes ##### New features and changes - [#&#8203;1336](https://github.com/hairyhenderson/gomplate/pull/1336) Use go-fsimpl to read from datasources - [#&#8203;1949](https://github.com/hairyhenderson/gomplate/pull/1949) Add missing-key flag to manage behavior in case of non-existing key - thanks to [@&#8203;xxxcoltxxx](https://github.com/xxxcoltxxx)! - [#&#8203;1922](https://github.com/hairyhenderson/gomplate/pull/1922) Flip to ltsc2022 image for windows variant - [#&#8203;1781](https://github.com/hairyhenderson/gomplate/pull/1781) Support for CUE - [#&#8203;1837](https://github.com/hairyhenderson/gomplate/pull/1837) Add support for Linux s390x - thanks to [@&#8203;iblancasa](https://github.com/iblancasa)! - [#&#8203;1700](https://github.com/hairyhenderson/gomplate/pull/1700) Add tea.xyz package manager - thanks to [@&#8203;adriens](https://github.com/adriens)! - [#&#8203;1698](https://github.com/hairyhenderson/gomplate/pull/1698) New plugin args option (implements [#&#8203;1552](https://github.com/hairyhenderson/gomplate/issues/1552)) - [#&#8203;1668](https://github.com/hairyhenderson/gomplate/pull/1668) Remove support for obsolete Vault app-id auth - [#&#8203;1440](https://github.com/hairyhenderson/gomplate/pull/1440) Added ppc64le support - thanks to [@&#8203;mayurwaghmode](https://github.com/mayurwaghmode)! - [#&#8203;1615](https://github.com/hairyhenderson/gomplate/pull/1615) Deprecate netaddr-based funcs - [#&#8203;1538](https://github.com/hairyhenderson/gomplate/pull/1538) Deprecate non-pipelineable strings aliases - [#&#8203;1433](https://github.com/hairyhenderson/gomplate/pull/1433) Removed slim (UPX-compressed) binary/image support - [#&#8203;1397](https://github.com/hairyhenderson/gomplate/pull/1397) Remove BoltDB support - [#&#8203;1977](https://github.com/hairyhenderson/gomplate/pull/1977) Move `funcs` package to `internal/funcs` - [#&#8203;1963](https://github.com/hairyhenderson/gomplate/pull/1963) Add [`--exclude-processing`](https://docs.gomplate.ca/usage/#--exclude-processing) option - [#&#8203;2068](https://github.com/hairyhenderson/gomplate/pull/2068) Switch from zerolog to slog - [#&#8203;1981](https://github.com/hairyhenderson/gomplate/pull/1981) Always suppress empty output - [#&#8203;2069](https://github.com/hairyhenderson/gomplate/pull/2069) `coll.Pick` now supports slice of strings as input - [#&#8203;2083](https://github.com/hairyhenderson/gomplate/pull/2083) Replaced the `data.Data` type with a datasource registry - [#&#8203;2089](https://github.com/hairyhenderson/gomplate/pull/2089) Update `strings.Indent` to error on bad input - [#&#8203;2095](https://github.com/hairyhenderson/gomplate/pull/2095) Removed deprecated `RunTemplates` function and old `Config` type - [#&#8203;2094](https://github.com/hairyhenderson/gomplate/pull/2094) Exported new `Config` type and updated `Run` function and other API functions - [#&#8203;2105](https://github.com/hairyhenderson/gomplate/pull/2105) Return errors instead of panicking on `regexp` functions - [#&#8203;2104](https://github.com/hairyhenderson/gomplate/pull/2104) Return errors instead of 0 on invalid inputs to `conv.*` functions - [#&#8203;2115](https://github.com/hairyhenderson/gomplate/pull/2115) Add ability to override `type` query parameter name with `GOMPLATE_TYPE_PARAM` environment variable ##### New functions - [#&#8203;1900](https://github.com/hairyhenderson/gomplate/pull/1900) Add support for [`Ed25519`](https://github.com/hairyhenderson/gomplate/commit/Ed25519) - thanks to [@&#8203;horvski](https://github.com/horvski)! - [#&#8203;1829](https://github.com/hairyhenderson/gomplate/pull/1829) Add `semver` functions - thanks to [@&#8203;wuhuizuo](https://github.com/wuhuizuo)! - [#&#8203;1589](https://github.com/hairyhenderson/gomplate/pull/1589) New `coll.Index` function - [#&#8203;1585](https://github.com/hairyhenderson/gomplate/pull/1585) Add `coll.JQ` using gojq library - thanks to [@&#8203;ahochsteger](https://github.com/ahochsteger)! - [#&#8203;1587](https://github.com/hairyhenderson/gomplate/pull/1587) Add `strings.SkipLines` function - [#&#8203;1464](https://github.com/hairyhenderson/gomplate/pull/1464) Add `coll.GoSlice` and deprecate `slice` alias - [#&#8203;2118](https://github.com/hairyhenderson/gomplate/pull/2118) New `coll.Set` and `coll.Unset` functions ##### Bug fixes - [#&#8203;1918](https://github.com/hairyhenderson/gomplate/pull/1918) Clarify config parsing errors - [#&#8203;1915](https://github.com/hairyhenderson/gomplate/pull/1915) Fix the wdFS behaviour due to Go 1.21.4's changes to IsAbs - [#&#8203;1916](https://github.com/hairyhenderson/gomplate/pull/1916) Fix git+file bug with non-current windows drives - [#&#8203;1851](https://github.com/hairyhenderson/gomplate/pull/1851) Remove defers from main() to stop suppressing panics - [#&#8203;1835](https://github.com/hairyhenderson/gomplate/pull/1835) Make `strings.Title` not lowercase acronyms - thanks to [@&#8203;zregvart](https://github.com/zregvart)! - [#&#8203;1643](https://github.com/hairyhenderson/gomplate/pull/1643) Fix file descriptor leak - [#&#8203;1480](https://github.com/hairyhenderson/gomplate/pull/1480) Fix nested template panic - thanks to [@&#8203;mihaitodor](https://github.com/mihaitodor)! ##### Documentation fixes/updates - [#&#8203;1868](https://github.com/hairyhenderson/gomplate/pull/1868) List release versions for each function, add unreleased label - [#&#8203;1873](https://github.com/hairyhenderson/gomplate/pull/1873) Explain that `index` supports nested keys - thanks to [@&#8203;isavcic](https://github.com/isavcic)! - [#&#8203;1885](https://github.com/hairyhenderson/gomplate/pull/1885) docs: format user template in hello example - thanks to [@&#8203;tenstad](https://github.com/tenstad)! - [#&#8203;1866](https://github.com/hairyhenderson/gomplate/pull/1866) document the workaround for Vault KV secrets engine - version 2 - thanks to [@&#8203;AndrewSav](https://github.com/AndrewSav)! - [#&#8203;1745](https://github.com/hairyhenderson/gomplate/pull/1745) Fix output-map usage docs - [#&#8203;1729](https://github.com/hairyhenderson/gomplate/pull/1729) Migrate docs site to new theme - [#&#8203;1714](https://github.com/hairyhenderson/gomplate/pull/1714) Clarified documentation of data.CSVBy\* functions - thanks to [@&#8203;giorgiga](https://github.com/giorgiga)! - [#&#8203;1588](https://github.com/hairyhenderson/gomplate/pull/1588) Clarify documentation to highlight the differences between `index` and `.` - [#&#8203;1622](https://github.com/hairyhenderson/gomplate/pull/1622) Fix minor typo: Pic -> Pick - thanks to [@&#8203;hartzell](https://github.com/hartzell)! - [#&#8203;1518](https://github.com/hairyhenderson/gomplate/pull/1518) Fix incorrect `coll.GoSlice` example (fixes [#&#8203;1517](https://github.com/hairyhenderson/gomplate/pull/1517)) - [#&#8203;1506](https://github.com/hairyhenderson/gomplate/pull/1506) Clarify git URL docs - stop implying subpaths starting with `//` are a good idea ##### Misc. internal contributions - [#&#8203;1940](https://github.com/hairyhenderson/gomplate/pull/1940) test: use `t.Setenv` to set env vars in tests - thanks to [@&#8203;Juneezee](https://github.com/Juneezee)! - [#&#8203;1828](https://github.com/hairyhenderson/gomplate/pull/1828) build: bump `github.com/Masterminds/semver` to `github.com/Masterminds/semver/v3` - thanks to [@&#8203;wuhuizuo](https://github.com/wuhuizuo)! - [#&#8203;1796](https://github.com/hairyhenderson/gomplate/pull/1796) Bump go4.org/unsafe/assume-no-moving-gc for compatibility with Go 1.21 - thanks to [@&#8203;stefanb](https://github.com/stefanb)! - [#&#8203;1739](https://github.com/hairyhenderson/gomplate/pull/1739) Update Makefile to use CGO_ENABLED environment variable - thanks to [@&#8203;sukhil-suresh](https://github.com/sukhil-suresh)! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDYuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQwNi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovator added 1 commit 2024-06-18 21:34:49 +00:00
chore(deps): update dependency hairyhenderson/gomplate to v4
All checks were successful
ci/woodpecker/pr/build-package Pipeline was successful
ci/woodpecker/pr/build-container Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
346f2099f4
xoxys merged commit d73ac5175d into main 2024-06-21 19:15:21 +00:00
xoxys deleted branch renovate/hairyhenderson-gomplate-4.x 2024-06-21 19:15:22 +00: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/nginx-s3#16
No description provided.