From e3b86e89fca0aad9f5a4f9856f0b57d9cc693470 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 22 Jun 2024 10:54:11 -0400 Subject: docs(chore): Uncomment 'released' tags for functions in v4.0.0 (#2125) Signed-off-by: Dave Henderson --- docs-src/content/functions/aws.yml | 2 +- docs-src/content/functions/coll.yml | 10 +++++----- docs-src/content/functions/crypto.yml | 6 +++--- docs-src/content/functions/net.yml | 6 +++--- docs-src/content/functions/strings.yml | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'docs-src/content') diff --git a/docs-src/content/functions/aws.yml b/docs-src/content/functions/aws.yml index 9b02d7c5..722cf5d4 100644 --- a/docs-src/content/functions/aws.yml +++ b/docs-src/content/functions/aws.yml @@ -117,7 +117,7 @@ funcs: Name=bar svc:name=foobar - name: aws.KMSEncrypt - # released: v4.0.0 + released: v4.0.0 description: | Encrypt an input string with the AWS Key Management Service (KMS). diff --git a/docs-src/content/functions/coll.yml b/docs-src/content/functions/coll.yml index 88ff1d98..16d1dab1 100644 --- a/docs-src/content/functions/coll.yml +++ b/docs-src/content/functions/coll.yml @@ -61,7 +61,7 @@ funcs: Hello, Lisa Hello, Maggie - name: coll.GoSlice - # released: v4.0.0 + released: v4.0.0 description: | This exposes the `slice` function from Go's [`text/template`](https://golang.org/pkg/text/template/#hdr-Functions) package. Note that using `slice` will use the `coll.Slice` function instead, @@ -119,7 +119,7 @@ funcs: {{ if (has $o "foo") }}{{ $o.foo }}{{ else }}THERE IS NO FOO{{ end }}' THERE IS NO FOO - name: coll.Index - # released: v4.0.0 + released: v4.0.0 description: | Returns the result of indexing the given map, slice, or array by the given key or index. This is similar to the built-in `index` function, but the @@ -172,7 +172,7 @@ funcs: [Alice's Adventures in Wonderland Gulliver's Travels] - name: coll.JQ alias: jq - # released: v4.0.0 + released: v4.0.0 description: | Filters an input object or list using the [jq](https://stedolan.github.io/jq/) language, as implemented by [gojq](https://github.com/itchyny/gojq). @@ -462,7 +462,7 @@ funcs: {{ coll.Omit $keys $data }}' map[bar:2] - name: coll.Set - # released: v4.0.0 + released: v4.0.0 alias: set description: | Sets the given key to the given value in the given map. @@ -488,7 +488,7 @@ funcs: $ gomplate -i '{{ dict "foo" 1 | coll.Set "bar" 2 }}' map[bar:2 foo:1] - name: coll.Unset - # released: v4.0.0 + released: v4.0.0 alias: unset description: | Deletes the element with the specified key in the given map. If there is no such element, the map is returned unchanged. diff --git a/docs-src/content/functions/crypto.yml b/docs-src/content/functions/crypto.yml index 3e5754fb..adbcb1b0 100644 --- a/docs-src/content/functions/crypto.yml +++ b/docs-src/content/functions/crypto.yml @@ -160,7 +160,7 @@ funcs: -----END PUBLIC KEY----- - name: crypto.Ed25519GenerateKey experimental: true - # released: v4.0.0 + released: v4.0.0 description: | Generate a new Ed25519 Private Key and output in PEM-encoded PKCS#8 ASN.1 DER form. @@ -171,7 +171,7 @@ funcs: ... - name: crypto.Ed25519GenerateKeyFromSeed experimental: true - # released: v4.0.0 + released: v4.0.0 description: | Generate a new Ed25519 Private Key from a random seed and output in PEM-encoded PKCS#8 ASN.1 DER form. @@ -190,7 +190,7 @@ funcs: ... - name: crypto.Ed25519DerivePublicKey experimental: true - # released: v4.0.0 + released: v4.0.0 description: | Derive a public key from an Ed25519 private key and output in PKIX ASN.1 DER form. diff --git a/docs-src/content/functions/net.yml b/docs-src/content/functions/net.yml index 6db816e9..4afa5689 100644 --- a/docs-src/content/functions/net.yml +++ b/docs-src/content/functions/net.yml @@ -133,7 +133,7 @@ funcs: "v=spf1 -all" ] - name: net.ParseAddr - # released: v4.0.0 + released: v4.0.0 description: | Parse the given string as an IP address (a [`netip.Addr`](https://pkg.go.dev/net/netip#Addr)). @@ -174,7 +174,7 @@ funcs: {{ $ip.Prefix 12 }}' 93.176.0.0/12 - name: net.ParsePrefix - # released: v4.0.0 + released: v4.0.0 description: | Parse the given string as an IP address prefix (CIDR) representing an IP network (a [`netip.Prefix`](https://pkg.go.dev/net/netip#Prefix)). @@ -228,7 +228,7 @@ funcs: 93.176.0.0-93.191.255.255 - name: net.ParseRange experimental: true - # released: v4.0.0 + released: v4.0.0 description: | Parse the given string as an inclusive range of IP addresses from the same address family (a [`netipx.IPRange`](https://pkg.go.dev/go4.org/netipx#IPRange) diff --git a/docs-src/content/functions/strings.yml b/docs-src/content/functions/strings.yml index 767a0d4a..2f874ac2 100644 --- a/docs-src/content/functions/strings.yml +++ b/docs-src/content/functions/strings.yml @@ -146,7 +146,7 @@ funcs: $ gomplate -i '{{ (coll.Slice "foo" "bar" "baz") | strings.Sort }}' [bar baz foo] - name: strings.SkipLines - # released: v4.0.0 + released: v4.0.0 description: | Skips the given number of lines (each ending in a `\n`), returning the remainder. -- cgit v1.2.3