Bumping version

This commit is contained in:
Mike Farah 2022-03-20 13:03:40 +11:00
parent 005b097cee
commit 03f57b7034
5 changed files with 14 additions and 2 deletions

View File

@ -11,7 +11,7 @@ var (
GitDescribe string
// Version is main version number that is being run at the moment.
Version = "4.22.1"
Version = "4.23.1"
// VersionPrerelease is a pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release

View File

@ -3,6 +3,7 @@
These operators are used to handle environment variables usage in expressions and documents. While environment variables can, of course, be passed in via your CLI with string interpolation, this often comes with complex quote escaping and can be tricky to write and read.
There are three operators:
- `env` which takes a single environment variable name and parse the variable as a yaml node (be it a map, array, string, number of boolean)
- `strenv` which also takes a single environment variable name, and always parses the variable as a string.
- `envsubst` which you pipe strings into and it interpolates environment variables in strings using [envsubst](https://github.com/a8m/envsubst).
@ -10,6 +11,7 @@ There are three operators:
## EnvSubst Options
You can optionally pass envsubst any of the following options:
- nu: NoUnset, this will fail if there are any referenced variables that are not set
- ne: NoEmpty, this will fail if there are any referenced variables that are empty
- ff: FailFast, this will abort on the first failure (rather than collect all the errors)

View File

@ -3,6 +3,7 @@
These operators are used to handle environment variables usage in expressions and documents. While environment variables can, of course, be passed in via your CLI with string interpolation, this often comes with complex quote escaping and can be tricky to write and read.
There are three operators:
- `env` which takes a single environment variable name and parse the variable as a yaml node (be it a map, array, string, number of boolean)
- `strenv` which also takes a single environment variable name, and always parses the variable as a string.
- `envsubst` which you pipe strings into and it interpolates environment variables in strings using [envsubst](https://github.com/a8m/envsubst).
@ -10,6 +11,7 @@ There are three operators:
## EnvSubst Options
You can optionally pass envsubst any of the following options:
- nu: NoUnset, this will fail if there are any referenced variables that are not set
- ne: NoEmpty, this will fail if there are any referenced variables that are empty
- ff: FailFast, this will abort on the first failure (rather than collect all the errors)

View File

@ -1,3 +1,11 @@
4.23.1:
- Can now supply the envsubst operator with parameters (nounset, noempty, failfast). See [envsubst](https://mikefarah.gitbook.io/yq/operators/env-variable-operators) for details (#1137)
- Bumped dependencies
- Fixed '+=' problem with multiple matches #1145
- Fixed bug with "and", "or" evaluating the RHS when not needed
- Fixed potential panic (thanks @mkatychev)
- Tweaked CLI help (thanks @justin-f-perez)
4.22.1:
- Added [pick] (https://mikefarah.gitbook.io/yq/operators/pick) operator
- Can load expression from a file '--from-file' (#1120)

View File

@ -1,5 +1,5 @@
name: yq
version: '4.22.1'
version: '4.23.1'
summary: A lightweight and portable command-line YAML processor
description: |
The aim of the project is to be the jq or sed of yaml files.