mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Bumping version
This commit is contained in:
parent
005b097cee
commit
03f57b7034
@ -11,7 +11,7 @@ var (
|
|||||||
GitDescribe string
|
GitDescribe string
|
||||||
|
|
||||||
// Version is main version number that is being run at the moment.
|
// 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)
|
// 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
|
// then it means that it is a final release. Otherwise, this is a pre-release
|
||||||
|
@ -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.
|
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:
|
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)
|
- `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.
|
- `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).
|
- `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
|
## EnvSubst Options
|
||||||
You can optionally pass envsubst any of the following 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
|
- 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
|
- 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)
|
- ff: FailFast, this will abort on the first failure (rather than collect all the errors)
|
||||||
|
@ -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.
|
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:
|
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)
|
- `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.
|
- `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).
|
- `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
|
## EnvSubst Options
|
||||||
You can optionally pass envsubst any of the following 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
|
- 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
|
- 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)
|
- ff: FailFast, this will abort on the first failure (rather than collect all the errors)
|
||||||
|
@ -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:
|
4.22.1:
|
||||||
- Added [pick] (https://mikefarah.gitbook.io/yq/operators/pick) operator
|
- Added [pick] (https://mikefarah.gitbook.io/yq/operators/pick) operator
|
||||||
- Can load expression from a file '--from-file' (#1120)
|
- Can load expression from a file '--from-file' (#1120)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: yq
|
name: yq
|
||||||
version: '4.22.1'
|
version: '4.23.1'
|
||||||
summary: A lightweight and portable command-line YAML processor
|
summary: A lightweight and portable command-line YAML processor
|
||||||
description: |
|
description: |
|
||||||
The aim of the project is to be the jq or sed of yaml files.
|
The aim of the project is to be the jq or sed of yaml files.
|
||||||
|
Loading…
Reference in New Issue
Block a user