Skip to content

Commit cc25840

Browse files
chore(main): release 4.1.0 (#2153)
* chore(main): release 4.1.0 * docs: mark new strings funcs as released Signed-off-by: Dave Henderson <dhenderson@gmail.com> --------- Signed-off-by: Dave Henderson <dhenderson@gmail.com> Co-authored-by: hairyhenderson-bot[bot] <167488603+hairyhenderson-bot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson <dhenderson@gmail.com>
1 parent bdf3a1e commit cc25840

4 files changed

Lines changed: 38 additions & 7 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "4.0.1"
2+
".": "4.1.0"
33
}

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Change Log
22

3+
## [4.1.0](https://github.com/hairyhenderson/gomplate/compare/v4.0.1...v4.1.0) (2024-07-06)
4+
5+
6+
### Features
7+
8+
* **strings:** New functions TrimRight and TrimLeft ([#2148](https://github.com/hairyhenderson/gomplate/issues/2148)) ([bdf3a1e](https://github.com/hairyhenderson/gomplate/commit/bdf3a1eb92020a0d1ce202df14b49f2f13445476))
9+
10+
11+
### Bug Fixes
12+
13+
* **vault:** Upgrade go-fsimpl for KVv2 vault bug, and add test coverage ([#2157](https://github.com/hairyhenderson/gomplate/issues/2157)) ([6ffd703](https://github.com/hairyhenderson/gomplate/commit/6ffd7039b439dbdc40c63b19c85d7f1015ed842d))
14+
15+
16+
### Documentation
17+
18+
* **datasources:** clarify state of Vault KV v2 support ([#2154](https://github.com/hairyhenderson/gomplate/issues/2154)) ([c9643ca](https://github.com/hairyhenderson/gomplate/commit/c9643cad84f95ac0086f8caa0b868364741aa6e6))
19+
* **fix:** Fix broken links, add CI to check ([#2156](https://github.com/hairyhenderson/gomplate/issues/2156)) ([bdf4f8c](https://github.com/hairyhenderson/gomplate/commit/bdf4f8c7d802c6f8ce4bbe6418d583a1449fe493))
20+
* **fix:** Update docs configs to work with the latest hugo theme version ([#2155](https://github.com/hairyhenderson/gomplate/issues/2155)) ([17eb360](https://github.com/hairyhenderson/gomplate/commit/17eb360dfaeaf3186b736971f45f3c418d583845))
21+
22+
23+
### Dependencies
24+
25+
* **actions:** Bump docker/setup-buildx-action from 3.3.0 to 3.4.0 ([#2163](https://github.com/hairyhenderson/gomplate/issues/2163)) ([129ff6b](https://github.com/hairyhenderson/gomplate/commit/129ff6bde8a1fb46b0c2e52586f94cd1b470720b))
26+
* **actions:** Bump docker/setup-qemu-action from 3.0.0 to 3.1.0 ([#2160](https://github.com/hairyhenderson/gomplate/issues/2160)) ([16ebbbe](https://github.com/hairyhenderson/gomplate/commit/16ebbbedf9d6b328c8012933242fbb93b6e3613c))
27+
* **go:** Bump github.com/aws/aws-sdk-go from 1.54.10 to 1.54.11 ([#2152](https://github.com/hairyhenderson/gomplate/issues/2152)) ([e0a6e4f](https://github.com/hairyhenderson/gomplate/commit/e0a6e4f5d707513ef4c33ae8e019da455a7394b6))
28+
* **go:** Bump github.com/aws/aws-sdk-go from 1.54.11 to 1.54.13 ([#2158](https://github.com/hairyhenderson/gomplate/issues/2158)) ([720c70c](https://github.com/hairyhenderson/gomplate/commit/720c70c26b958be784577a349ec2b3a1160e0e54))
29+
* **go:** Bump github.com/aws/aws-sdk-go from 1.54.13 to 1.54.14 ([#2159](https://github.com/hairyhenderson/gomplate/issues/2159)) ([114c54d](https://github.com/hairyhenderson/gomplate/commit/114c54df69738156a70079b5de3352a032c755f9))
30+
* **go:** Bump github.com/aws/aws-sdk-go from 1.54.14 to 1.54.15 ([#2165](https://github.com/hairyhenderson/gomplate/issues/2165)) ([51947a7](https://github.com/hairyhenderson/gomplate/commit/51947a7d5ca7d797ee4998aadfcf856abc8f7a67))
31+
* **go:** Bump github.com/hairyhenderson/go-fsimpl from 0.1.6 to 0.1.7 ([#2167](https://github.com/hairyhenderson/gomplate/issues/2167)) ([80b7c5a](https://github.com/hairyhenderson/gomplate/commit/80b7c5a1aba49239b336d7eeed2525acc2d361be))
32+
* **go:** Bump golang.org/x/term from 0.21.0 to 0.22.0 ([#2162](https://github.com/hairyhenderson/gomplate/issues/2162)) ([59192ec](https://github.com/hairyhenderson/gomplate/commit/59192ec7efe1b59fd800fe399ee5fe063f80287b))
33+
334
## [4.0.1](https://github.com/hairyhenderson/gomplate/compare/v4.0.0...v4.0.1) (2024-06-28)
435

536

docs-src/content/functions/strings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ funcs:
422422
$ gomplate -i '{{ "_-foo-_" | strings.Trim "_-" }}'
423423
foo
424424
- name: strings.TrimLeft
425-
# released: v4.1.0
425+
released: v4.1.0
426426
description: |
427427
Trims a string by removing the given characters from the beginning of the string.
428428
This wraps Go's [`strings.TrimLeft`](https://pkg.go.dev/strings#TrimLeft).
@@ -457,7 +457,7 @@ funcs:
457457
$ gomplate -i '{{ "hello, world" | strings.TrimPrefix "hello, " }}'
458458
world
459459
- name: strings.TrimRight
460-
# released: v4.1.0
460+
released: v4.1.0
461461
description: |
462462
Trims a string by removing the given characters from the end of the string.
463463
This wraps Go's [`strings.TrimRight`](https://pkg.go.dev/strings#TrimRight).

docs/content/functions/strings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -669,12 +669,12 @@ $ gomplate -i '{{ "_-foo-_" | strings.Trim "_-" }}'
669669
foo
670670
```
671671

672-
## `strings.TrimLeft`_(unreleased)_
673-
**Unreleased:** _This function is in development, and not yet available in released builds of gomplate._
672+
## `strings.TrimLeft`
674673

675674
Trims a string by removing the given characters from the beginning of the string.
676675
This wraps Go's [`strings.TrimLeft`](https://pkg.go.dev/strings#TrimLeft).
677676

677+
_Added in gomplate [v4.1.0](https://github.com/hairyhenderson/gomplate/releases/tag/v4.1.0)_
678678
### Usage
679679

680680
```
@@ -728,12 +728,12 @@ $ gomplate -i '{{ "hello, world" | strings.TrimPrefix "hello, " }}'
728728
world
729729
```
730730

731-
## `strings.TrimRight`_(unreleased)_
732-
**Unreleased:** _This function is in development, and not yet available in released builds of gomplate._
731+
## `strings.TrimRight`
733732

734733
Trims a string by removing the given characters from the end of the string.
735734
This wraps Go's [`strings.TrimRight`](https://pkg.go.dev/strings#TrimRight).
736735

736+
_Added in gomplate [v4.1.0](https://github.com/hairyhenderson/gomplate/releases/tag/v4.1.0)_
737737
### Usage
738738

739739
```

0 commit comments

Comments
 (0)