Bumping version

This commit is contained in:
Mike Farah 2022-03-10 13:50:53 +11:00
parent b1fee26a7f
commit 3924ed8a35
6 changed files with 9 additions and 27 deletions

View File

@ -11,7 +11,7 @@ var (
GitDescribe string
// Version is main version number that is being run at the moment.
Version = "4.21.1"
Version = "4.22.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

@ -2,4 +2,4 @@
Filter a map by the specified list of keys. Map is returned with the key in the order of the pick list.
Similarly, you can filter a map by the specified list of indices.
Similarly, filter an array by the specified list of indices.

View File

@ -2,7 +2,7 @@
Filter a map by the specified list of keys. Map is returned with the key in the order of the pick list.
Similarly, you can filter a map by the specified list of indices.
Similarly, filter an array by the specified list of indices.
{% hint style="warning" %}
Note that versions prior to 4.18 require the 'eval/e' command to be specified. 

View File

@ -1,23 +0,0 @@
{% hint style="warning" %}
Note that versions prior to 4.18 require the 'eval/e' command to be specified. 
`yq e <exp> <file>`
{% endhint %}
## Decode Base64
Decoded data is assumed to be a string.
Given a sample.yml file of:
```yml
V29ya3Mgd2l0aCBVVEYtMTYg8J+Yig==
```
then
```bash
yq -p=props sample.properties
```
will output
```yaml
V29ya3Mgd2l0aCBVVEYtMTYg8J+Yig: =
```

View File

@ -1,3 +1,8 @@
4.22.1:
- Added [pick] (https://mikefarah.gitbook.io/yq/operators/pick) operator
- Can load expression from a file '--from-file' (#1120)
- Fixed property auto expansion (#1127)
4.21.1:
- Added [reverse](https://mikefarah.gitbook.io/yq/operators/reverse) operator
- Added [string case](https://mikefarah.gitbook.io/yq/operators/string-operators) operators

View File

@ -1,5 +1,5 @@
name: yq
version: '4.21.1'
version: '4.22.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.