Mike Farah
bc5b54cb1d
Bumping version
2024-11-16 15:45:01 +11:00
Mike Farah
129e597346
Fixing release pipeline
2024-11-16 15:43:21 +11:00
Mike Farah
42db154e2e
Bumping version
2024-11-16 15:25:31 +11:00
Mike Farah
f06c7c6b52
Updating release notes
2024-11-16 15:24:53 +11:00
Mike Farah
1ae6ac18f9
Merge branch 'gabe565-add-comment-style'
2024-11-16 15:23:27 +11:00
Mike Farah
b710fadfc0
Regenerating go mod
2024-11-16 15:23:08 +11:00
Mike Farah
6a43f17d02
Merge branch 'add-comment-style' of github.com:gabe565/yq into gabe565-add-comment-style
2024-11-16 15:19:21 +11:00
Mike Farah and GitHub
1a4b2485ff
Merge branch 'master' into add-comment-style
2024-11-16 15:16:12 +11:00
Mike Farah
58cc9db721
Updated release notes
2024-11-16 15:14:43 +11:00
Mike Farah
4af292f076
Fixed handling of nulls with sort_by expressions #2164
2024-11-16 12:27:18 +11:00
dependabot[bot] and Mike Farah
f238f01856
Bump github.com/fatih/color from 1.17.0 to 1.18.0
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-16 12:25:41 +11:00
dependabot[bot] and Mike Farah
58a4d2401f
Bump golang.org/x/net from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-16 12:11:59 +11:00
Mike Farah
887b4a560f
Fixed linting
2024-11-16 12:04:43 +11:00
dependabot[bot] and Mike Farah
f2cc2ea5a8
Bump golang from 1.23.2 to 1.23.3
...
Bumps golang from 1.23.2 to 1.23.3.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-16 11:59:54 +11:00
Mike Farah
95e7b35f74
Fixed spelling of coloured
2024-11-16 11:54:58 +11:00
Vladimir Varankin and Mike Farah
f071a25fa9
cmd: force no color output when NO_COLOR env presents
2024-11-16 11:54:19 +11:00
Mike Farah
b8607bacb9
Prefer not having nolint
2024-11-16 11:52:42 +11:00
Marco Vito Moscaritolo and Mike Farah
6908161f1f
replace error creation
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo and Mike Farah
f168172bf4
remove unused variable parameters from functions
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo and Mike Farah
3ce266bfa0
fix parameter order in error type comparison
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo and Mike Farah
7eef1a454e
exclude lint errors to keep cobra params unchanged
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo and Mike Farah
072491c656
remove lint exception no longer required
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo and Mike Farah
18972b290a
replace deprecated megacheck with specific linters
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo and Mike Farah
9d60c79609
update golangci-lint to the last version
2024-11-16 11:48:53 +11:00
Gabe Cook
9caeb429ac
Format comments with a gray foreground
2024-11-10 03:30:03 -06:00
dependabot[bot] and Mike Farah
39a81da170
Bump golang.org/x/net from 0.29.0 to 0.30.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-10 13:26:42 +11:00
dependabot[bot] and Mike Farah
b84e23e1ec
Bump golang from 1.23.1 to 1.23.2
...
Bumps golang from 1.23.1 to 1.23.2.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-10 13:25:50 +11:00
Mike Farah
f654fbf459
Fixed array subtraction update bug #2159
2024-09-29 15:21:11 +10:00
Mike Farah
5df71072f5
Fixed index out of range error
2024-09-29 15:06:34 +10:00
dependabot[bot] and Mike Farah
cc7738bb8d
Bump golang.org/x/net from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-19 10:45:18 +10:00
dependabot[bot] and Mike Farah
302ce1291f
Bump golang from 1.23.0 to 1.23.1
...
Bumps golang from 1.23.0 to 1.23.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-19 10:45:00 +10:00
dependabot[bot] and Mike Farah
f57de74cfe
Bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.2...v2.2.3 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-06 19:09:43 +10:00
dependabot[bot] and Mike Farah
383cd0f182
Bump golang from 1.22.5 to 1.23.0
...
Bumps golang from 1.22.5 to 1.23.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-06 13:37:14 +10:00
Mike Farah
3727b3e664
Fixed unecessary int64 to int conversion
2024-09-06 13:24:10 +10:00
Mike Farah
c477fc08cf
Updated readme to include x-cmd
2024-09-06 13:11:09 +10:00
Mike Farah
1846006082
Can traverse straight from parent operator (parent.blah)
2024-09-06 12:46:23 +10:00
Mike Farah
dff0122481
Regen kind docs
2024-09-06 12:33:27 +10:00
Mike Farah
42b92aff13
Added pick including all keys example
2024-09-06 12:32:36 +10:00
dependabot[bot] and Mike Farah
c76e432de3
Bump golang.org/x/net from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-06 12:25:19 +10:00
Tiger Kaovilai and Mike Farah
19e2591b1e
Only use podman if CLI can execute. Use docker if non-Linux podman has no connection to Linux system.
...
Solves
```
❯ make test
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to read identity "/Users/tiger/.local/share/containers/podman/machine/machine": open /Users/tiger/.local/share/containers/podman/machine/machine: no such file or directory /opt/homebrew/bin/docker run --rm -e LDFLAGS=" -X main.GitCommit=bbdd974+CHANGES -X main.GitDescribe=v4 -w -s" -e GITHUB_TOKEN="" -v /Users/tiger/git/yq-k8s/vendor:/go/src -v /Users/tiger/git/yq-k8s:/yq/src/github.com/mikefarah/yq -w /yq/src/github.com/mikefarah/yq yq_dev go mod vendor
Error: podman-machine-default: VM already exists
```
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-06 12:25:07 +10:00
William Allen and Mike Farah
6eb2ae757a
Create kind.md header doc
2024-08-20 15:23:06 +10:00
Mike Farah
82fca30efa
Fix cspell errors
2024-08-20 13:14:50 +10:00
Matheus Macabu and GitHub
c46c1a7128
build: use goreleaser for building cross-compiled binaries and add riscv64 target ( #2135 )
...
* build: use goreleaser to cross-compile binaries for all platforms and archs
The main motivation behind it is because "gox" is unmaintained and archived
and it does not support "linux/riscv64" as a target.
Right now, goreleaser is only building the binaries, and I've tried to replicate
the exact same way the old script does.
In the future, if so desired, goreleaser could be used to further automate the
build and release pipeline by creating the release in GitHub.
* build: create binaries and OCI image for linux/riscv64
2024-08-20 13:09:12 +10:00
Mike Farah
bbdd97482f
Bumping version
2024-08-05 15:38:57 +10:00
Mike Farah
9940668729
Preparing release
2024-08-05 15:38:30 +10:00
95aaccee46
Add Flox to installation methods ( #2117 )
...
Co-authored-by: Bryan Honof <bryanhonof@bryans-mbp.space.flox.local >
2024-08-05 15:15:06 +10:00
ryenus and GitHub
b9c3ff6f0a
convert file ext to lowercase for format detection ( #2121 )
...
* convert file ext to lowercase for format detection
To ensure proper file format detection with case-insensitive file
systems.
* use filepath.Ext for more reliable file ext detection
especially for paths like index.js/foo
* add a test for file ext based format detection
2024-08-05 15:14:43 +10:00
Kian Parvin and GitHub
b80e1cb35e
Use static bin in snap ( #2090 )
2024-07-21 10:52:32 +10:00
0ff8415244
Bump golang.org/x/net from 0.26.0 to 0.27.0 ( #2099 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-21 10:08:58 +10:00
e8dcf3f1a4
Bump github.com/goccy/go-yaml from 1.11.3 to 1.12.0 ( #2108 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.11.3 to 1.12.0.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.11.3...v1.12.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-21 10:08:42 +10:00
208302cf6b
Bump golang from 1.22.4 to 1.22.5 ( #2091 )
...
Bumps golang from 1.22.4 to 1.22.5.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-21 10:08:23 +10:00
Mike Farah
ef6fb92e7f
Log printing follow no-colors flag #2082
2024-06-29 15:26:10 +10:00
Mike Farah
28646c7b50
Skip and warn when interpolating strings and theres a unclosed bracket #2083
2024-06-29 15:20:07 +10:00
Mike Farah
0b7d4b799c
Fixed CSV content starting with # issue #2076
2024-06-29 15:04:07 +10:00
7e1722510a
Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 ( #2075 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-29 13:59:50 +10:00
Mike Farah
f15500b20a
Bumping version
2024-06-16 11:13:40 +10:00
Mike Farah
b8aec71e66
Preparing release
2024-06-16 11:13:25 +10:00
Mike Farah
68aafb6a53
Handle numbers with underscores #2039
2024-06-16 11:09:52 +10:00
Mike Farah
d58870b056
Adding splat[] short hand to explode,collect,flatten,groupby,path,pivot,select and more
2024-06-16 10:48:01 +10:00
Mike Farah
f1964dece0
Adding splat[] short hand to collect,eval,map,omit,path,pick
2024-06-16 10:22:42 +10:00
Mike Farah
45eda8dbae
Added support for shorthand splat[] for filter,reverse,sort,shuffle
2024-06-15 22:13:58 +10:00
Mike Farah
d9af2dd976
Support env[] expression #2071
2024-06-15 21:56:32 +10:00
Mike Farah
7bad2f4f06
Adding back in commented tests :facepalm
2024-06-15 21:49:23 +10:00
Mike Farah
3ea19ad2ed
clean code
2024-06-15 17:06:17 +10:00
Mike Farah
42120e1341
Unique now works on maps and arrays #2068
2024-06-15 17:04:48 +10:00
1147113fd3
Bump github.com/goccy/go-json from 0.10.2 to 0.10.3 ( #2046 )
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/goccy/go-json/releases )
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-json/compare/v0.10.2...v0.10.3 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-15 16:00:53 +10:00
2edfa834d5
Bump github.com/elliotchance/orderedmap from 1.5.1 to 1.6.0 ( #2053 )
...
Bumps [github.com/elliotchance/orderedmap](https://github.com/elliotchance/orderedmap ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/elliotchance/orderedmap/releases )
- [Commits](https://github.com/elliotchance/orderedmap/compare/v1.5.1...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/elliotchance/orderedmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-15 16:00:38 +10:00
8c7cfb720c
Bump golang.org/x/net from 0.25.0 to 0.26.0 ( #2061 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-15 16:00:16 +10:00
356c60f40c
Bump golang from 1.22.3 to 1.22.4 ( #2062 )
...
Bumps golang from 1.22.3 to 1.22.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-15 16:00:02 +10:00
4cc646b16b
Bump github.com/fatih/color from 1.16.0 to 1.17.0 ( #2043 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 16:45:11 +10:00
2e44ab4512
Bump golang.org/x/net from 0.24.0 to 0.25.0 ( #2035 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 16:45:01 +10:00
Mike Farah
557dcb87b8
Bumping version
2024-05-12 12:27:39 +10:00
Mike Farah
2daa39e306
Updating release notes
2024-05-12 12:27:06 +10:00
Mike Farah
0c15cf35a7
Added properties convert to numbers example #2023
2024-05-12 12:07:04 +10:00
Jakub Jirutka and GitHub
d9adcdb668
Update instructions for Alpine Linux ( #2034 )
...
The package has been renamed from `yq` to `yq-go` to match other distros.
2024-05-12 11:55:06 +10:00
9010809d89
Bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 ( #2024 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 11:53:40 +10:00
8250f0c2bd
Bump golang.org/x/text from 0.14.0 to 0.15.0 ( #2036 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 11:53:02 +10:00
8ac9f605f6
Bump golang from 1.22.2 to 1.22.3 ( #2037 )
...
Bumps golang from 1.22.2 to 1.22.3.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 11:52:48 +10:00
1748171463
Bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 ( #2014 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 14:15:45 +10:00
Cory Latschkowski and GitHub
21ba506edb
Fix: shell-completion ( #2006 )
...
* fix: shell-completion
* update: description
2024-04-22 14:15:36 +10:00
Matt Benson and GitHub
b54d7eb21c
handle escaped backslashes ( #1997 )
2024-04-14 18:52:08 +10:00
db6f2dc6a2
Bump golang from 1.22.1 to 1.22.2 ( #1998 )
...
Bumps golang from 1.22.1 to 1.22.2.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-14 18:51:39 +10:00
1411f45055
Bump golang.org/x/net from 0.22.0 to 0.24.0 ( #2008 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.24.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-14 18:51:28 +10:00
Cory Latschkowski and GitHub
c7baa8bc34
Fix: linux (w/ selinux) build ( #2004 )
...
* add: check for selinux for vol mount
* update: install packages first
build time not increased if script changes
* update: selinux check
2024-04-14 18:51:17 +10:00
Mike Farah
a4b9c3049b
Removed unused debian directory #2000
2024-04-13 11:00:39 +10:00
Mike Farah
fe84f62288
Docs
2024-03-30 14:01:42 +11:00
Mike Farah
28c406706a
Fixes npe when given filename ending with "." #1994
2024-03-30 14:00:57 +11:00
Matt Benson and GitHub
101cf14b8c
min/max operators ( #1992 )
...
* min/max operators
* min, max operator headers
2024-03-30 13:34:36 +11:00
Matt Benson and GitHub
3283c65dc4
pivot operator ( #1993 )
2024-03-30 13:29:35 +11:00
Mike Farah
2ee7508b76
typos
2024-03-24 11:32:02 +11:00
Mike Farah
2ecd8b6092
updated contribe guide
2024-03-24 11:29:48 +11:00
Mike Farah
021d5f05f9
Fixing omit docs
2024-03-24 10:59:29 +11:00
Mike Farah
19a0e6dd8b
Bumping version
2024-03-24 10:54:35 +11:00
Mike Farah
fbd4c8428a
Remove old JSON warning
2024-03-23 17:17:23 +11:00
d9ef03a2d1
Bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 ( #1986 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.1.1...v2.2.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-23 17:15:56 +11:00
Matt Benson and GitHub
f5bfe5a248
omit operator ( #1989 )
2024-03-23 17:15:45 +11:00
Matt Benson and GitHub
3b85cef340
support string X int multiplication as jq ( #1988 )
2024-03-22 20:44:49 +11:00
Mike Farah
76a0da3937
Refactoring load op
2024-03-12 15:57:26 +11:00
Mike Farah
2b2c285415
Adding release notes
2024-03-12 11:02:15 +11:00
Mike Farah
8a07e3da3d
Can specify parent levels #1970
2024-03-12 10:49:26 +11:00
Mike Farah
9e9cb65ec0
Fixed CSV line break issue #1974
2024-03-12 10:22:35 +11:00
29056ee87f
Bump golang from 1.22.0 to 1.22.1 ( #1968 )
...
Bumps golang from 1.22.0 to 1.22.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 09:47:47 +11:00
8f4e971829
Bump golang.org/x/net from 0.21.0 to 0.22.0 ( #1969 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 09:47:37 +11:00
Mike Farah
b4463e29e8
Adding a EvaluateAll function to StringEvaluator #1966
2024-03-07 12:02:40 +11:00
Mike Farah
93ed666000
yqlib, default to colors off when using yaml library #1964
2024-03-07 10:55:44 +11:00
Mike Farah
b5e3a01452
Added comment to goccy decoder, its will WIP
2024-03-07 10:54:15 +11:00
Mike Farah
b6ea54ba93
Updating release notes
2024-03-05 14:11:13 +11:00
Mike Farah
e092329bf3
String interpolation! #1149
2024-03-05 14:10:12 +11:00
Mike Farah
152b158411
Uncomment tests - oops
2024-03-05 11:23:07 +11:00
Mike Farah
72a78472af
Added tostring #72
2024-03-05 10:40:55 +11:00
Mike Farah
706424a459
Improving column docs
2024-03-05 10:13:36 +11:00
Mike Farah
9adde1ac14
Bumping version
2024-02-26 08:33:29 +11:00
Mike Farah
ef24680ee9
Updating release notes
2024-02-26 08:31:48 +11:00
Mike Farah
447bf28cd8
Introduced 'format' to encapsulate encoding and decoding formats together
2024-02-24 16:37:13 +11:00
Mike Farah
8f6d642012
Refactoring encoding configuration
2024-02-24 16:07:15 +11:00
Mike Farah
1d371b712f
Refactoring encoding configuration
2024-02-24 15:59:12 +11:00
Mike Farah
55f6a3a49d
Refactoring JSON encoder prefs
2024-02-24 15:48:59 +11:00
Mike Farah
7a01e216c4
Refactoring Yaml encoder prefs
2024-02-24 15:36:16 +11:00
Mike Farah
f44d47a204
Refactoring Props encoder prefs
2024-02-24 15:14:21 +11:00
Mike Farah
2866e90c49
Refactoring XML encoder prefs
2024-02-24 15:03:30 +11:00
Mike Farah
571caa696a
Refactoring Output types
2024-02-24 14:58:11 +11:00
Mike Farah
8a538394a5
Updating release notes
2024-02-24 13:59:36 +11:00
Mike Farah
d0bbda20c3
Merge branch 'scop-feat/completions'
2024-02-24 13:58:33 +11:00
Mike Farah
359c4a11b2
Merge branch 'feat/completions' of github.com:scop/yq into scop-feat/completions
2024-02-24 13:48:42 +11:00
Mike Farah
3b84aaabe4
Updating release notes
2024-02-24 13:47:22 +11:00
311c9afe2f
Bump github.com/alecthomas/repr from 0.3.0 to 0.4.0 ( #1953 )
...
Bumps [github.com/alecthomas/repr](https://github.com/alecthomas/repr ) from 0.3.0 to 0.4.0.
- [Commits](https://github.com/alecthomas/repr/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/repr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 13:45:17 +11:00
Mike Farah
abef92d7d9
Added prune recipe
2024-02-21 14:50:55 +11:00
Mike Farah
9f3822fbaa
Improving property docs
2024-02-20 13:45:31 +11:00
Mike Farah
b24b484efc
Added --properties-array-brackets flag for properties encoder #1933
2024-02-20 11:39:56 +11:00
Ryan Drew and GitHub
2865022cf8
Add --properties-separator option ( #1951 )
...
This commit adds the --properties-separator option, which lets users
specify the separator used between keys and values in the properties
output format. This is done by adjusting the value of
github.com/magiconair/properties#Properties.WriteSeparator at encode
time.
Some refactoring of the properties encoder unit tests was done to make
it easier to write unit tests that include different separator values.
Fixes : #1864
Signed-off-by: Ryan Drew <ryan.drew@isovalent.com >
2024-02-20 10:57:44 +11:00
Mike Farah
9a8151d316
Added csv separator flag #1950
2024-02-17 19:11:41 +11:00
Mike Farah
42439b7d00
Adding shebang documentation
2024-02-16 11:03:35 +11:00
Mike Farah
796b4a0955
Adding shebang documentation
2024-02-16 10:56:18 +11:00
Mike Farah
86bb90f989
Can shebang yq scripts! #1851
2024-02-16 10:48:07 +11:00
Mike Farah
047694546c
Bumping version
2024-02-16 09:48:51 +11:00
Mike Farah
3c3f1180d9
Cleaning up log message formats
2024-02-16 09:44:22 +11:00
Mike Farah
9142c93d1b
Improved log format
2024-02-16 09:26:31 +11:00
Mike Farah
d9e1a789ea
Fixed Toml decoding when table array defined before parent #1922
2024-02-15 16:15:01 +11:00
Mike Farah
c32a9ceab8
Added new CSV option to turn off auto-parsing #1947
2024-02-15 13:11:53 +11:00
Mike Farah
e81b600744
Fixing with_entries context #1925
...
Can now update key/value w.r.t each other
2024-02-11 10:25:38 +11:00
Mike Farah
8cde0c837c
Can now retrieve the alias names of merge anchors #1942
2024-02-09 17:24:59 +11:00
Mike Farah
b55f52f377
Improve merge docs
2024-02-09 14:54:22 +11:00
Mike Farah
1d06d8b482
Another comment example
2024-02-09 13:58:59 +11:00
Mike Farah
2871fa058c
Release notes for next release
2024-02-09 13:55:48 +11:00
Mike Farah
2dda0a203d
Comments in yq expressions! #1919
2024-02-09 13:54:27 +11:00
Mike Farah
24bd563680
Updating style docs
2024-02-09 10:47:09 +11:00
Mike Farah
bf2bc29e47
Dont run release build on v4 branch
2024-02-09 10:23:46 +11:00
Mike Farah
7781eddad2
Updating release notes
2024-02-09 10:22:54 +11:00
Mike Farah
c9722c22bc
Re-releasing for latest dependency updates
2024-02-09 10:21:29 +11:00
Mike Farah
bb66c9c872
Bumping version
2024-02-09 10:21:09 +11:00
279d9a691d
Bump golang.org/x/net from 0.20.0 to 0.21.0 ( #1940 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 19:27:24 +11:00
1b17de134b
Bump golang from 1.21.6 to 1.22.0 ( #1939 )
...
Bumps golang from 1.21.6 to 1.22.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 19:27:12 +11:00
Mike Farah
e19046273e
Bumping version
2024-02-08 13:34:41 +11:00
Mike Farah
5513ac8a7d
Empty TOML table is an empty object
2024-02-08 13:31:56 +11:00
Elijah Lopez and GitHub
d4e16a413e
fix: empty TOML table ( #1936 )
2024-02-07 19:59:50 +11:00
Mike Farah
6e21c9f77f
Need to escape single quotes in bash, updated docs #1932
2024-02-02 14:58:49 +11:00
Mike Farah
2473068a1a
Attempt to use the latest snapcraft build
2024-02-02 14:49:41 +11:00
6183350182
Bump github.com/goccy/go-yaml from 1.11.2 to 1.11.3 ( #1930 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.11.2...v1.11.3 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 15:15:28 +11:00
33a3bb3bdf
Bump golang from 1.21.5 to 1.21.6 ( #1915 )
...
Bumps golang from 1.21.5 to 1.21.6.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 11:31:17 +11:00
c06e160480
Bump golang.org/x/net from 0.19.0 to 0.20.0 ( #1916 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 11:31:06 +11:00
Mike Farah
010750daf6
Updated to latest golint
2024-01-11 13:17:34 +11:00
Mike Farah
8af3e46fcb
Fixed bump version to move v4 tag
2024-01-04 13:28:10 +11:00
Ville Skyttä
84890ae34d
Add arg and flag completions
2023-12-20 09:36:57 +02:00
Ville Skyttä
a69c1b5230
Generate v2 bash completions
...
https://github.com/spf13/cobra/blob/main/site/content/completions/_index.md#bash-completion-v2
2023-12-20 09:33:51 +02:00
aaef27147f
Bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 ( #1904 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 16:32:51 +11:00
16bab88946
Bump github/codeql-action from 2 to 3 ( #1903 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 16:32:38 +11:00
Mike Farah
dea8f95670
Fixed "all" error message #1845
2023-12-13 11:02:22 +11:00
Mike Farah
eb4278784a
Added another new recipe
2023-12-13 10:55:53 +11:00
Mike Farah
cbd03f8a93
Added new recipe
2023-12-13 10:41:56 +11:00
Mike Farah
4cf123fed5
Fixed to_entries[]
2023-12-12 15:44:34 +11:00
Mike Farah
eff7d99e2b
Added sample yq script
2023-12-12 13:08:18 +11:00
Mike Farah
dd64899434
Bumping version
2023-12-12 11:35:15 +11:00
Mike Farah
755becdde3
Release notes
2023-12-12 11:34:38 +11:00
Mike Farah
7f26d91cd0
Fixed handling of --- #1890 , #1896
2023-12-12 11:30:12 +11:00
fa322aec33
Bump golang from 1.21.4 to 1.21.5 ( #1895 )
...
Bumps golang from 1.21.4 to 1.21.5.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 09:55:54 +11:00
c7b14eacbd
Bump actions/setup-go from 4 to 5 ( #1894 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 09:55:42 +11:00
2fd1537b35
Bump github.com/alecthomas/participle/v2 from 2.1.0 to 2.1.1 ( #1893 )
...
Bumps [github.com/alecthomas/participle/v2](https://github.com/alecthomas/participle ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/alecthomas/participle/releases )
- [Changelog](https://github.com/alecthomas/participle/blob/master/CHANGES.md )
- [Commits](https://github.com/alecthomas/participle/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/participle/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 09:55:33 +11:00
1db4b52c3a
Bump github.com/yuin/gopher-lua from 1.1.0 to 1.1.1 ( #1892 )
...
Bumps [github.com/yuin/gopher-lua](https://github.com/yuin/gopher-lua ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/yuin/gopher-lua/releases )
- [Commits](https://github.com/yuin/gopher-lua/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/yuin/gopher-lua
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 09:55:24 +11:00
Mike Farah
d474bb8ba4
Fixing sef fault on bad XML #1888
2023-12-05 13:21:12 +11:00
Mike Farah
1c3d551060
Bumping version
2023-12-04 11:17:53 +11:00
Mike Farah
d16b6fbb03
Release notes
2023-12-04 11:17:40 +11:00
Mike Farah
54a6978e97
Release notes
2023-12-04 11:16:49 +11:00
Mike Farah
a988cd9005
Updating JSON doc: NDJSON spec deprecated, prefer JSON Lines
2023-12-01 11:39:02 +11:00
Mike Farah
779b26310e
Updating references to yq being a YAML processor
2023-11-30 15:32:21 +11:00
638deed03e
Bump golang.org/x/net from 0.18.0 to 0.19.0 ( #1887 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/net/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 15:12:03 +11:00
Mike Farah
730f240d24
Fixed to_entries and del bug #1886
2023-11-30 14:04:54 +11:00
Mike Farah
c11a53322b
Bumping version
2023-11-23 11:59:22 +11:00
Mike Farah
430a6d5237
Release notes
2023-11-23 11:58:31 +11:00
Ville Skyttä and GitHub
eecc106529
Update JSON to YAML example for new JSON input output default ( #1875 )
2023-11-23 11:54:43 +11:00
Ville Skyttä and GitHub
998b4edb34
Grammar fixes ( #1877 )
2023-11-23 11:54:25 +11:00
Mike Farah
26effddb8c
Fixed empty array json bug #1880
2023-11-23 11:53:18 +11:00
Mike Farah
1cf9ecc79d
Bumping version
2023-11-18 15:05:29 +11:00
Mike Farah
8024470b51
Updating release notes
2023-11-18 15:04:42 +11:00
Alessandro Di Stefano and GitHub
e5cc57bedf
Do not panic when StdIn is closed ( #1867 )
...
When the shell executing yq has no open stdin, os.Stdin.Stat() return nil and yq fails to continue. This commit fixes a missing verification on the result of os.Stdin.Stat() in the utils.processStdInArgs function and adds an acceptance test to cover this scenario in the future. This bug affects yq since version 4.26.1.
2023-11-18 12:20:12 +11:00
Mike Farah
3d64bdadc1
Fixes issue when update against self #1869
2023-11-18 12:19:27 +11:00
Mike Farah
4b8c8506a5
Updating release notes
2023-11-14 14:39:37 +11:00
f789740f7e
Bump github.com/elliotchance/orderedmap from 1.5.0 to 1.5.1 ( #1854 )
...
Bumps [github.com/elliotchance/orderedmap](https://github.com/elliotchance/orderedmap ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/elliotchance/orderedmap/releases )
- [Commits](https://github.com/elliotchance/orderedmap/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/elliotchance/orderedmap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 13:55:55 +11:00
0523c9df87
Bump golang.org/x/net from 0.17.0 to 0.18.0 ( #1856 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 13:55:32 +11:00
Mike Farah
c7ef946031
Fixed multi doc anchor bug #1861
2023-11-14 13:00:30 +11:00
Mike Farah
79a50b9c20
Fixes dos line separator issue when reading expression file #1860
2023-11-10 09:34:01 +11:00
b75dc0782b
Bump github.com/fatih/color from 1.15.0 to 1.16.0 ( #1857 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 09:15:04 +11:00
fc940689bf
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 ( #1858 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 09:14:49 +11:00
7892d38fca
Bump golang from 1.21.3 to 1.21.4 ( #1859 )
...
Bumps golang from 1.21.3 to 1.21.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 09:14:31 +11:00
Mike Farah
5f4c1fbd0a
Bumping version
2023-11-08 09:35:43 +11:00
Mike Farah
8122c9edf2
Release notes
2023-11-08 09:14:45 +11:00
Mike Farah
d6e099f7ff
Formatting
2023-11-08 09:09:21 +11:00
Jason Meridth and GitHub
bbe196ba11
feat: upgrade go.mod to 1.21 ( #1830 )
...
This matches what was changed in the Dockerfile
### CSpell results
CSpell: Files checked: 243, Issues found: 0 in 0 files
### GOSec results
Summary:
Gosec : 2.18.1
Files : 121
Lines : 13091
Nosec : 8
Issues : 0
### Test Results
? github.com/mikefarah/yq/v4 [no test files]
ok github.com/mikefarah/yq/v4/cmd 0.693s
ok github.com/mikefarah/yq/v4/pkg/yqlib 1.023
Signed-off-by: jmeridth <jmeridth@gmail.com >
2023-10-23 20:04:10 +11:00
Valentin Lab and GitHub
a60d27975a
add tests for root node unwrap bug in previous versions ( #1837 )
2023-10-23 20:03:51 +11:00
Mike Farah
c8f4ba7f45
Removing copier lib
2023-10-18 12:36:52 +11:00
Mike Farah and GitHub
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
7430419413
fix: Missing dependencies to build application ( #1825 )
...
Co-authored-by: Samuel Mutel <samuel.mutel@deveryware.com >
2023-10-17 14:21:41 +11:00
5ac95e543e
Bump golang from 1.21.1 to 1.21.3 ( #1823 )
...
Bumps golang from 1.21.1 to 1.21.3.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 21:03:06 +11:00
aaa81ac45a
Bump golang.org/x/net from 0.15.0 to 0.17.0 ( #1822 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 11:25:42 +11:00
Kim Alvefur and GitHub
7c78a15b23
Lua output fixes ( #1811 )
...
* encoder_lua: Handle explicitly positive infinity
* encoder_lua: Fix inclusion of pre-/suffix when prettyPrinted
It seems certain operations like --prettyPrint or subset selections does
not produce a DocumentNode, which is where the lua pre- and suffix was
printed, causing those to be omitted.
* encoder_lua: Improve Tag handling robustness
Using the method call seems more reliable in case the input parser
forgets to set the tag.
2023-10-12 11:25:26 +11:00
610896e5ed
Bump github.com/alecthomas/repr from 0.2.0 to 0.3.0 ( #1813 )
...
Bumps [github.com/alecthomas/repr](https://github.com/alecthomas/repr ) from 0.2.0 to 0.3.0.
- [Commits](https://github.com/alecthomas/repr/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/repr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 14:40:52 +11:00
Mike Farah
d113344abf
Added tonumber support #71
2023-10-05 15:15:01 +11:00
Mike Farah
6e65d44a98
Can build yq with no lua
2023-10-03 16:22:23 +11:00
Kim Alvefur and GitHub
5fa41624c9
Add support for Lua input ( #1810 )
2023-10-03 16:00:51 +11:00
Mike Farah
ee900ec997
Added kind operator
2023-10-02 14:43:12 +11:00
Mike Farah
a198f72367
Bumping version
2023-09-26 14:48:52 +10:00
Mike Farah
9f355b93a2
Release notes
2023-09-26 14:48:09 +10:00
Mike Farah
0cf3adf5dd
Adding another xml test; spelling fixes
2023-09-26 14:43:08 +10:00
-pthread -Wall and GitHub
05ad1dad90
Fix typos ( #1798 )
2023-09-26 14:18:18 +10:00
c750f1a48c
Bump github.com/goccy/go-yaml from 1.11.1 to 1.11.2 ( #1794 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 11:50:33 +10:00
Mike Farah
cdb9b56066
Spellig with cspell
2023-09-19 10:43:11 +10:00
980b0e6daa
Bump golang.org/x/net from 0.14.0 to 0.15.0 ( #1775 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/net/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 09:45:46 +10:00
0667500b1b
Bump docker/setup-qemu-action from 2 to 3 ( #1785 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 09:45:31 +10:00
fa8cfd0400
Bump docker/setup-buildx-action from 2 to 3 ( #1786 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 09:44:36 +10:00
974ded5add
Bump github.com/alecthomas/participle/v2 from 2.0.0 to 2.1.0 ( #1787 )
...
Bumps [github.com/alecthomas/participle/v2](https://github.com/alecthomas/participle ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/alecthomas/participle/releases )
- [Changelog](https://github.com/alecthomas/participle/blob/master/CHANGES.md )
- [Commits](https://github.com/alecthomas/participle/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/participle/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 09:44:23 +10:00
e126344c00
Bump github.com/goccy/go-yaml from 1.11.0 to 1.11.1 ( #1788 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.11.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 09:44:03 +10:00
Mike Farah
e09779e004
Fixed number parsing as float bug in JSON #1756
2023-09-19 09:42:25 +10:00
0a0182da13
Bump actions/checkout from 3 to 4 ( #1776 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 07:58:30 +10:00
594a0be856
Bump golang.org/x/text from 0.12.0 to 0.13.0 ( #1774 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 07:57:49 +10:00
95f61c6f69
Bump golang from 1.21.0 to 1.21.1 ( #1773 )
...
Bumps golang from 1.21.0 to 1.21.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 07:57:39 +10:00
de55fb3988
Bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 ( #1768 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.9 to 2.1.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.9...v2.1.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 09:26:08 +10:00
Mike Farah
62b25b1bf3
Added recipes documentation
2023-09-01 14:43:38 +10:00
Mike Farah
c66480448d
Added recipes documentation
2023-09-01 14:40:33 +10:00
Mike Farah
cda69bff5e
Adding recipes
2023-09-01 12:17:54 +10:00
Mike Farah
e5564c18fe
Another xml example
2023-09-01 11:52:58 +10:00
Mike Farah
55c0d485ba
Fixed string, null concact consistency #1712
2023-08-30 09:46:45 +10:00
Mike Farah
71f95ab87b
Fixed .a!= parsing issue #1711
2023-08-30 09:40:57 +10:00
1e84d7ef1f
Bump github.com/jinzhu/copier from 0.3.5 to 0.4.0 ( #1763 )
...
Bumps [github.com/jinzhu/copier](https://github.com/jinzhu/copier ) from 0.3.5 to 0.4.0.
- [Commits](https://github.com/jinzhu/copier/compare/v0.3.5...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/jinzhu/copier
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 09:27:31 +10:00
Mike Farah
d18a5e3adc
Fixed new linting issue CWE-118
2023-08-28 17:39:46 +10:00
Nikolas Grottendieck and GitHub
596dda8c53
improve community supported installation options for Windows ( #1761 )
...
- Add missing package manager (scoop)
- Improve winget installationn example & add link to reference documentation
- Add link to missing reference documentation for chocolatey
2023-08-28 17:27:26 +10:00
Mike Farah
6609ed76ec
Bumping version
2023-08-11 13:53:14 +10:00
Mike Farah
44c7f3aec3
Preparing release notes
2023-08-11 13:52:50 +10:00
Mike Farah
aaf805d893
Added checksum in bsd format
2023-08-11 13:51:10 +10:00
ba1d5c1a84
Bump golang.org/x/net from 0.13.0 to 0.14.0 ( #1751 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-11 13:50:00 +10:00
1c4f92ecd1
Bump golang.org/x/text from 0.11.0 to 0.12.0 ( #1752 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-11 12:57:12 +10:00
804b204f3c
Bump golang from 1.20.7 to 1.21.0 ( #1753 )
...
Bumps golang from 1.20.7 to 1.21.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-11 12:57:02 +10:00
Kim Alvefur and GitHub
d302d75c77
Implement basic Lua output support ( #1745 )
...
* Implement basic Lua output support
Ref #1700
Basic but working serialization to Lua tables.
* Escape larger set of characters in Lua output
Started with a minimum of replacements, this should be more complete,
tho not all substitutions are strictly required in Lua.
* Print simple keys unquoted in Lua output
String keys that satisfy the requirements for variable names can be used
as keys without quotes in tables.
* Quote Lua keywords in table keys
Keywords are not valid as unquoted keys, thus must be quoted
* Make output of unquoted Lua table keys optional
Generally safer and simpler to not do it.
* Hook up settings for Lua output
* Allow special characters in Lua prefix and suffix
--lua-suffix='});^M' didn't work, so taking this approach instead
* Panic on unhandled YAML Kind in Lua encoder
* Handle YAML case varied booleans in Lua encoder
* Handle special-case numbers in Lua encoder
* Reject unhandled scalar Tags in Lua encoder
* Add note about how Lua nil is unsuitable as table key
Could add some context tracking in the future to allow rejecting nil in
a table key context.
* Return error instead of panic in Lua encoder
* Add initial test for Lua encoder
Boilerplate mostly copied from toml_test.go
* Additional Lua output tests
* Generate Lua encoder documentation
Mostly just for the boilerplate
* Convert octal for Lua output
Lua doesn't have the 0oNNN syntax for octal integers, only decimal and
hexadecimal, hence those can be passed trough as is while octal needs
special treatment.
* Implement indentation in in Lua output
* Respect string Style in Lua encoder
Lua has 'single', "double" and [[ long ]] strings.
* Expand Lua examples
* Output line comments in Lua output
* Implement Lua globals output mode
2023-08-11 12:56:49 +10:00
9b4082919b
Bump golang from 1.20.6 to 1.20.7 ( #1749 )
...
Bumps golang from 1.20.6 to 1.20.7.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 13:52:57 +10:00
1d611f04fb
Bump golang.org/x/net from 0.12.0 to 0.13.0 ( #1750 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 13:52:40 +10:00
1dee08aa38
Bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 ( #1732 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.8...v2.0.9 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 13:28:05 +10:00
a68be7debf
Bump golang from 1.20.5 to 1.20.6 ( #1725 )
...
Bumps golang from 1.20.5 to 1.20.6.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 08:52:19 +10:00
Mike Farah
0b34c9a00d
Bumping version
2023-07-12 12:32:14 +10:00
Mike Farah
9cb0918206
Release notes
2023-07-12 12:32:04 +10:00
dde183386c
Bump golang.org/x/net from 0.11.0 to 0.12.0 ( #1719 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 12:27:51 +10:00
b762da38f0
Bump golang.org/x/net from 0.10.0 to 0.11.0 ( #1695 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 09:57:29 +10:00
cb521fd05a
Bump golang from 1.20.4 to 1.20.5 ( #1690 )
...
Bumps golang from 1.20.4 to 1.20.5.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 09:39:39 +10:00
22ad68d142
Bump golang.org/x/text from 0.9.0 to 0.10.0 ( #1696 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 09:39:08 +10:00
845d4ae389
Bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8 ( #1673 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.7...v2.0.8 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-28 12:31:29 +10:00
Mike Farah
fcc04823ca
Added docs on base64 only working with utf8 content
2023-05-23 15:38:08 +10:00
Mike Farah
5950329e2c
Added docs on yes/no being strings in yaml spec 1.2
2023-05-23 15:35:39 +10:00
Mike Farah
5ef537f3fd
Bumping version
2023-05-23 13:27:28 +10:00
Mike Farah
f7fc4edce2
Preparing release notes
2023-05-23 13:26:50 +10:00
af177f9605
Bump golang.org/x/net from 0.9.0 to 0.10.0 ( #1667 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 13:19:29 +10:00
Mike Farah
4d50b001d1
Added test for null array json example
2023-05-04 14:48:57 +10:00
Arthur Fritz Santiago and GitHub
d14eaa9b49
fix: runtime error: invalid memory address or nil pointer dereference ( #1649 )
2023-05-04 14:43:48 +10:00
91f47ff307
Bump golang from 1.20.3 to 1.20.4 ( #1658 )
...
Bumps golang from 1.20.3 to 1.20.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 14:28:55 +10:00
Giorgio Gallo and GitHub
80b42b81fd
Implement shell output format ( #1645 )
...
* fix typo in a comment
* implement shell output format
* fix a typo
* add two test cases, have source uses ascii only
* add integration tests and documentation
* add fixes after code revieew
2023-05-04 11:06:56 +10:00
bbe3055006
Bump golang.org/x/net from 0.8.0 to 0.9.0 ( #1638 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-14 08:58:32 +10:00
Mike Farah
d2f1ae9db7
Bumping version
2023-04-11 12:06:26 +10:00
Mike Farah
3aa4c83337
Release notes
2023-04-11 12:05:51 +10:00
Mike Farah
385921a3e2
Fixed passing of readonly context in pipe
2023-04-11 12:04:04 +10:00
9d3c402923
Bump golang from 1.20.2 to 1.20.3 ( #1628 )
...
Bumps golang from 1.20.2 to 1.20.3.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 11:33:17 +10:00
cb9076479c
Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 ( #1629 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 11:32:58 +10:00
a793468048
Bump github.com/goccy/go-yaml from 1.10.1 to 1.11.0 ( #1630 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.10.1...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 11:32:36 +10:00
Akshath Kothari and GitHub
f58b1e5263
Update README command for converting JSON to YAML ( #1627 )
...
Signed-off-by: ricekot <github@ricekot.com >
2023-04-05 14:56:36 +10:00
Mike Farah
eba075294a
Added scalar output for TOML ( #1617 )
2023-04-03 15:40:06 +10:00
Mike Farah
a389bb64b8
Fixed bug when splatting empty array #1613
2023-03-31 16:24:23 +11:00
Mike Farah
496035c75a
toml docs
2023-03-31 10:24:12 +11:00
Mike Farah
d00ffd9ce8
Updating release notes
2023-03-31 10:22:19 +11:00
Mike Farah
d5bbe5bea5
Bumping version
2023-03-31 10:21:59 +11:00
6a52760415
Bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7 ( #1623 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.6...v2.0.7 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 09:46:41 +11:00
1fa8804107
Bump github.com/alecthomas/participle/v2 from 2.0.0-beta.5 to 2.0.0 ( #1624 )
...
Bumps [github.com/alecthomas/participle/v2](https://github.com/alecthomas/participle ) from 2.0.0-beta.5 to 2.0.0.
- [Release notes](https://github.com/alecthomas/participle/releases )
- [Changelog](https://github.com/alecthomas/participle/blob/master/CHANGES.md )
- [Commits](https://github.com/alecthomas/participle/compare/v2.0.0-beta.5...v2.0.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/participle/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 09:45:32 +11:00
4cbede618e
Bump github.com/goccy/go-yaml from 1.10.0 to 1.10.1 ( #1625 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 09:15:12 +11:00
Valentin Lab and GitHub
5fd2890d1b
Add `--nul-output|-0` flag to separate element with NUL character ( #1550 )
...
This is to ensure solid parsing of complex data (with any binary
content except NUL chars) by separating the `yq` root collection
member's output with NUL char. As a safe-guard, an error will be cast
if trying to use NUL character with content that contains itself NUL
characters inside.
2023-03-29 09:51:55 +11:00
林博仁(Buo-ren, Lin) and GitHub
311622d14b
Add removable-media interface plug declaration to the snap packaging( #1618 ) ( #1619 )
...
Allow snap users to process YAML documents under /media or /mnt paths after connecting to the `removable-media` snapd slot:
```
sudo snap connect yq :removable-media
```
Fixes #1618 .
2023-03-29 09:22:25 +11:00
Mike Farah
8d516ce535
Handle scalars in csv, xml files
2023-03-27 13:54:24 +11:00
Mike Farah
1b0a62d08d
Handle scalars in property files
2023-03-27 13:51:08 +11:00
Mike Farah
ac5346b138
Release notes
2023-03-26 11:13:09 +11:00
Mike Farah
ebd1548e96
Bumping version
2023-03-26 11:12:36 +11:00
Mike Farah
aebdbb4113
Added warning for auto-input json files
2023-03-26 11:00:05 +11:00
Mike Farah and GitHub
7103b78d38
Draft: Toml ( #1439 )
...
* toml wip
* wip
* Fixed auto parsing toml
* Added build flag not to include toml
* Parse toml docs and tests
* minor updates
2023-03-26 10:59:15 +11:00
47f4ddc910
Bump github.com/goccy/go-json from 0.10.1 to 0.10.2 ( #1614 )
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/goccy/go-json/releases )
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-json/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 08:35:56 +11:00
Mike Farah
4ee4b09e12
Bumping version
2023-03-20 10:21:49 +11:00
Mike Farah
df5737ab46
Updating release notes
2023-03-20 10:21:39 +11:00
Mike Farah
48b481b68d
Unknown file type should default to yaml, Fixes #1609
2023-03-20 09:16:20 +11:00
Mike Farah
7305b50ffe
Fixed release notes - toml not released yet
2023-03-18 14:57:09 +11:00
Mike Farah
875cfdc945
Bumping version
2023-03-18 14:53:56 +11:00
Mike Farah
95aafdd8d5
Fixed modulo docs
2023-03-18 14:53:36 +11:00
Mike Farah
fdce8fce13
Added docs
2023-03-18 14:51:31 +11:00
Mike Farah
d8324dee0d
Release notes
2023-03-18 14:40:05 +11:00
Mike Farah
dccba10997
added another base64 test
2023-03-18 14:33:48 +11:00
TJ Miller and GitHub
69d3e3f3f8
Add support for decoding base64 strings without padding ( #1604 )
2023-03-18 14:30:35 +11:00
99b2ab610a
Bump github.com/goccy/go-json from 0.10.0 to 0.10.1 ( #1602 )
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/goccy/go-json/releases )
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-json/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 14:22:37 +11:00
cbe84232a3
Bump actions/setup-go from 3 to 4 ( #1601 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 14:22:25 +11:00
dd4306b00a
Bump github.com/fatih/color from 1.14.1 to 1.15.0 ( #1603 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.14.1 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.14.1...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 18:47:47 +11:00
Mike Farah
ac8ffa287e
doc gen
2023-03-16 13:41:10 +11:00
Abel Sen and GitHub
fa6fac1a76
Minor typos ( #1595 )
...
* Remove extra backtick
* Reword explanation of update
* Reword explanation of relative update
* Change "remaple" to "remain"
* Change "clovver" to "clobber"
* Reword explanation of update for comment operators
* Reword explanation of relative update for comment operators
* Change "array" to "expression"
* Change "the golangs" to "Golang's"
* Change "golangs" to "Golang's"
* Change "can durations" to "can add durations"
* Change "array scalars" to "arrays"
* Change "beit" to "be it"
* Fix typo in `eval` tip
* Fix typo in header for `has` operation
* Add space before pipe in `line` operator example
* Fix typos in explanation of deep array merges
* Change "is now used" to "is now used."
* Change "object," to "object."
* Changes "indexes" to "indices"
* Remove extraneous copied text from `..` article
* Reword explanation of `...` operator
* Change "your are" to "you are"
* Add link to `string` operator docs in `select` article
* Change "is a" to "parameter specifies" in `string` operators article
* Change "new line" to "newline"
* Change "golang regex" to "Golang's regex"
* Change "golang" to "Golang"
* Add period
* Remove comma in `subtract` article
* Remove duplicate number subtraction example
* Remove comma in `traverse` operator article
* Clarify use of brackets when `read`ing with special characters
2023-03-16 13:39:36 +11:00
Mike Farah
a6f0495b1f
Stripped debugging info from binary
2023-03-16 13:37:30 +11:00
Mike Farah and GitHub
e7f4c6ca8d
Update README.md
2023-03-15 21:21:15 +11:00
Mike Farah
f2dd29995b
Removed debain as a installation method
2023-03-15 21:19:56 +11:00
Mike Farah
3404cc0d29
Removed debain as a installation method
2023-03-15 21:17:50 +11:00
Mike Farah
9d2210b152
Removed debain as a installation method
2023-03-15 21:17:04 +11:00
TJ Miller and GitHub
a466821e8f
Added divide and modulo operators ( #1593 )
...
* Added divide operator (#49 )
* Tidy up divide operator logic
* Added modulo operator
* Fix divide test typo
* Add divide by zero test
* Handle int modulo by 0 and add tests
* Tidy up divide/modulo operator node creation
* Fix linter errors
2023-03-15 20:14:23 +11:00
Mike Farah
360a47fddc
Fixed npe in log #1596
2023-03-15 13:57:47 +11:00
Mike Farah and GitHub
08a6cb65fe
Auto output format ( #1599 )
...
* Use file extension to auto detect output format!
* Use file extension to auto detect output format!
* formatting
2023-03-15 13:22:58 +11:00
2c14c98408
Bump golang from 1.20.1 to 1.20.2 ( #1589 )
...
Bumps golang from 1.20.1 to 1.20.2.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 10:13:22 +11:00
eafcc3bafa
Bump golang.org/x/net from 0.7.0 to 0.8.0 ( #1590 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 10:13:11 +11:00
Robert Brennan and GitHub
9539877ff6
Add filter operation ( #1588 )
...
* add filter operation
* add tests
* add tests
* revert debug
* simplify filter
* fix tests
* remove logs
2023-03-09 10:30:47 +11:00
ryenus and GitHub
d30941b575
Detect input format based on file name extension ( #1582 )
...
* detect inputFormat from filename
* refactor and extract func InputFormatFromFilename
* detect inputFormat only when file is provided
* add test for automatic input format detection
2023-03-09 10:17:19 +11:00
fed96f67ea
Bump github.com/goccy/go-yaml from 1.9.8 to 1.10.0 ( #1581 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.9.8 to 1.10.0.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.9.8...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 13:37:22 +11:00
Mike Farah
2340ce6a8c
Release notes
2023-03-02 11:21:22 +11:00
Mike Farah
e5260d855f
Release notes
2023-03-02 10:59:10 +11:00
Mike Farah
47f4f8c793
Bumping version
2023-03-02 10:58:57 +11:00
Mike Farah
2195df9e7a
Fixed xml encoding of ProcInst #1563 , improved XML comment handling
2023-03-02 10:57:54 +11:00
Mike Farah
fdb14875c0
Preparing release notes
2023-03-01 13:49:28 +11:00
Mike Farah
3f1f66a8ee
Fixed merged anchor reference problem #1482
2023-03-01 13:45:35 +11:00
Anders Björklund and GitHub
cf8cfbd865
Allow build without json and xml support ( #1556 )
...
* Refactor ordered_map into separate files
Separate json and xml, from the regular yaml.
Makes it possible to compile, without those...
* Refactor encoder and decoder creation
Use more consistent parameters vs globals
Return errors instead of calling panic()
* Allow build without json and xml support
2023-03-01 13:19:06 +11:00
Mike Farah and GitHub
62d167c141
Variable loop - Fixes #1566 ( #1577 )
...
* Variable loop wip
* Variable loop wip
* Variable loop wip
* Variable loop wip
* Fixed variable operator to work like jq
2023-02-28 16:40:38 +11:00
cb27444e54
Bump golang.org/x/net from 0.1.1-0.20221104162952-702349b0e862 to 0.7.0 ( #1576 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.1.1-0.20221104162952-702349b0e862 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 13:38:09 +11:00
ce3d8378e7
Bump github.com/a8m/envsubst from 1.4.1 to 1.4.2 ( #1569 )
...
Bumps [github.com/a8m/envsubst](https://github.com/a8m/envsubst ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/a8m/envsubst/releases )
- [Commits](https://github.com/a8m/envsubst/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: github.com/a8m/envsubst
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 13:28:21 +11:00
Mike Farah
9949a23724
v4.31.1
2023-02-20 16:09:25 +11:00
Mike Farah
b86fb0aea0
Bumping version
2023-02-20 16:09:07 +11:00
b369de6662
Bump golang from 1.20.0 to 1.20.1 ( #1557 )
...
Bumps golang from 1.20.0 to 1.20.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 15:59:50 +11:00
Mike Farah
75483fe908
Fix github action attempt
2023-02-11 23:54:16 +11:00
Mike Farah
f4e7203a55
Fix github action attempt
2023-02-11 23:50:47 +11:00
Mike Farah
d17fd9424e
Added shuffle command #1503
2023-02-11 05:08:20 +11:00
Mike Farah
a1698b740a
Added ability to sort by multiple fields #1541
2023-02-11 04:46:39 +11:00
Mike Farah
5cb3c876fc
bump to go 1.20
2023-02-11 04:06:16 +11:00
0f2a84d270
Bump golang from 1.19.5 to 1.20.0 ( #1542 )
...
Bumps golang from 1.19.5 to 1.20.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 18:20:25 +11:00
Mike Farah
bbb149b31e
Bumped linter
2023-02-09 18:20:11 +11:00
18a51ca5b8
Bump github.com/a8m/envsubst from 1.3.0 to 1.4.1 ( #1551 )
...
Bumps [github.com/a8m/envsubst](https://github.com/a8m/envsubst ) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/a8m/envsubst/releases )
- [Commits](https://github.com/a8m/envsubst/compare/v1.3.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/a8m/envsubst
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 18:15:20 +11:00
Vít Zikmund and GitHub
93b7c999be
Use a lazy-quoting @sh encoder ( #1548 )
...
* Use a lazy-quoting @sh encoder
* Add internal quoting style switch to @sh
* Add test for stray empty quotes in @sh
2023-02-09 18:15:07 +11:00
Mike Farah
f64f73a0ce
Updated gosec
2023-02-09 18:13:18 +11:00
Mike Farah
88a6b20ba5
Fixed date comparison with string date #1537
2023-02-02 13:30:48 +11:00
Mike Farah
915ab69922
Added to_unix operator
2023-02-02 12:56:16 +11:00
Mike Farah
f9f340b6bf
Github pipeline not in AU tz :D
2023-02-02 12:47:59 +11:00
Mike Farah
75920481b1
Added from_unix operator #1535
2023-02-02 12:42:36 +11:00
Mike Farah
d21bb920d6
Added shell string encoder (@sh) #1526
2023-02-02 12:23:08 +11:00
Arturo Fernandez and GitHub
d119dbc239
Upgrading golang.org/x/net package ( #1540 )
2023-02-02 11:56:36 +11:00
7eda4a5100
Bump github.com/fatih/color from 1.13.0 to 1.14.1 ( #1531 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.13.0 to 1.14.1.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.13.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 10:22:42 +11:00
Mike Farah
3b1bcac5b3
review feed back on URI
2023-01-25 11:18:48 +11:00
Mike Farah
6d7d76a3f1
Adds @uri/@urid #1529
2023-01-23 11:37:18 +11:00
Mike Farah
dd6cf3df14
Bumping version
2023-01-15 11:37:07 +11:00
Mike Farah
473be23153
Log info message when unable to chown file #1521
2023-01-15 11:36:52 +11:00
Mike Farah
ec40a1a08a
Bumping version
2023-01-14 14:05:19 +11:00
Mike Farah
729ac285da
updating release notes
2023-01-14 14:04:48 +11:00
Mike Farah
3b84c03131
Fixed bug in splice operator #1511
2023-01-13 13:45:19 +11:00
Mike Farah
d7da0cca3c
Fixed value operator bug #1515
2023-01-12 15:11:45 +11:00
Mike Farah
fcda053d73
Updating tests from lexer version bump
2023-01-12 14:26:58 +11:00
e23c989b78
Bump github.com/alecthomas/repr from 0.1.1 to 0.2.0 ( #1517 )
...
Bumps [github.com/alecthomas/repr](https://github.com/alecthomas/repr ) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/alecthomas/repr/releases )
- [Commits](https://github.com/alecthomas/repr/compare/v0.1.1...v0.2.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/repr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-12 14:22:43 +11:00
95d14cb0af
Bump golang from 1.19.4 to 1.19.5 ( #1516 )
...
Bumps golang from 1.19.4 to 1.19.5.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-12 14:21:28 +11:00
Mike Farah
00c2be541d
Added prepend array example
2023-01-11 12:19:46 +11:00
Mike Farah
9af55d555b
Fixed handling of merging null #1501
2023-01-10 13:48:57 +11:00
Mike Farah
ef2064c753
Updating release notes
2023-01-03 19:25:27 +11:00
18cdea3f88
Build constraint not working for non linux ( #1481 )
...
* Build constraint not working for non linux
* Go Build Constraint: Fix Non-Linux Filename (#1494 )
Correct the filename pkg/yqlib/chown_not_linux.go to escape the
default OS detection in filename format `*_GOOS[_test].go`.
Add an extra word after `linux` to resolve the issue.
pkg/yqlib/chown_not_linux_os.go
Signed-off-by: Bhargav Ravuri <vaguecoder0to.n@gmail.com >
Signed-off-by: Bhargav Ravuri <vaguecoder0to.n@gmail.com >
Signed-off-by: Bhargav Ravuri <vaguecoder0to.n@gmail.com >
Co-authored-by: Bhargav Ravuri <saibhargavravuri@gmail.com >
2023-01-03 15:52:01 +11:00
36e0194e42
Bump github.com/goccy/go-yaml from 1.9.7 to 1.9.8 ( #1487 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.9.7 to 1.9.8.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.9.7...v1.9.8 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-25 11:45:10 +11:00
Mike Farah
87cba2ecbe
Bumping version
2022-12-17 11:16:38 +11:00
Mike Farah
8d8e7c3b2c
release notes
2022-12-17 11:15:16 +11:00
Mike Farah
48d00f807e
Fixed xml comment in array of scalars #1465
2022-12-17 10:27:54 +11:00
481ea64ccc
Bump github.com/magiconair/properties from 1.8.6 to 1.8.7 ( #1476 )
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.6 to 1.8.7.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Changelog](https://github.com/magiconair/properties/blob/main/CHANGELOG.md )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.6...v1.8.7 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 19:35:57 +11:00
f6a48b6899
Bump github.com/goccy/go-yaml from 1.9.6 to 1.9.7 ( #1466 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.9.6 to 1.9.7.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.9.6...v1.9.7 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 08:05:37 +11:00
8e5290d7c5
Bump golang from 1.19.3 to 1.19.4 ( #1465 )
...
Bumps golang from 1.19.3 to 1.19.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 08:05:26 +11:00
Mike Farah
83c5e1bc83
Include blank new lines in leading header preprocessing #1462
2022-12-08 13:33:06 +11:00
Bruno Bottazzini and GitHub
8df8d89c6d
Upgraded golang/x/text and golang/x/net to fix trivy scan vulnerabilities ( #1461 )
2022-12-06 20:48:47 +11:00
226f1c1a9b
Bump github.com/goccy/go-json from 0.9.11 to 0.10.0 ( #1455 )
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.9.11 to 0.10.0.
- [Release notes](https://github.com/goccy/go-json/releases )
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-json/compare/v0.9.11...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 19:26:28 +11:00
Mike Farah
bb3f3e541d
updating release notes
2022-11-28 08:39:48 +11:00
Mike Farah
42e7c3cdf0
Bumping version
2022-11-28 08:36:05 +11:00
Mike Farah
f9a8ba91e4
Preparing release
2022-11-28 08:34:58 +11:00
Mike Farah
1617e5de19
XML Decoder: Comment parsing tweak
2022-11-27 19:14:41 +11:00
Mike Farah
77998d1bb3
XML Decoder: Fixed processing comments in empty XML #1446
2022-11-27 17:58:37 +11:00
Mike Farah
68f47c02c8
XML Decoder: Checking for invalid content outside of a root node #1448
2022-11-27 17:46:50 +11:00
Mike Farah
02be2b2918
Fixed issue where content surrounding tags are lost #1447
2022-11-27 17:29:27 +11:00
Mike Farah
43233ce62e
Fixed xml decode bug when there is content after a comment
2022-11-25 13:21:19 +11:00
Mike Farah
51043770bf
Fixed log level, deleted commented code
2022-11-25 12:09:45 +11:00
Mike Farah
4478bd14c9
Fixed loading yaml with header issue #1445
2022-11-25 12:05:56 +11:00
Mike Farah
91dc315fdb
updating release notes
2022-11-15 21:20:41 +11:00
Mike Farah
a6d1a52e33
Fixing versioning code for release
2022-11-15 20:08:58 +11:00
Mike Farah
fd35530f35
Set tags on maps,arrays when decoding json #1422
2022-11-15 11:42:31 +11:00
Mike Farah
cb609a1886
Fixed bad line entry for #1422
2022-11-15 11:35:31 +11:00
Mike Farah
b202ccc5dc
Updating snapcraft release notes
2022-11-15 11:05:56 +11:00
Mike Farah
ee226b47fc
Preparing release
2022-11-15 10:05:08 +11:00
Mike Farah
9edff1f22c
Use new github action syntax
2022-11-14 17:40:12 +11:00
Mike Farah
67864ffdab
Use new github action syntax
2022-11-14 17:35:52 +11:00
Mike Farah
b55381f34e
fixing snap release
2022-11-14 17:28:44 +11:00
Mike Farah
b6ad314dbb
fixing snap release
2022-11-14 17:28:15 +11:00
Mike Farah
762f46ed54
include yaml directives #1424
2022-11-14 17:22:13 +11:00
Mike Farah
63db5de4e2
(attempt) to automate snap release
2022-11-14 17:00:50 +11:00
Mike Farah
9606957a0e
Fixed auto versioning in xcompile.sh
2022-11-14 16:43:06 +11:00
Mike Farah
e02bb71948
Fixed parsing of newline character in string expression #1430
2022-11-14 16:40:59 +11:00
Takumi Sue and GitHub
1fd96e168e
Fix mis-versioning due to hardcoding cmd.Version ( #1431 )
2022-11-14 16:38:43 +11:00
Mike Farah
ffc20f7e2c
Length compares to null instead of 0 issue #1427
2022-11-14 16:14:08 +11:00
Mike Farah
3e795d020d
Updating docs
2022-11-13 11:16:01 +11:00
Mike Farah
88ce6ffcbe
Hotfix: actually update the default xml attribute prefix #1428
2022-11-13 11:13:34 +11:00
Mike Farah
83ef7ee5cf
Releasing yq
2022-11-11 14:55:03 +11:00
Mike Farah
817287ec90
Check merge alias is a map #1425
2022-11-11 14:53:45 +11:00
Mike Farah
c5994a8b28
Simplified json error check
2022-11-11 09:50:22 +11:00
Mike Farah
3435fee1f9
Fixed handling of json decoding error #1423
2022-11-10 22:33:43 +11:00
Mike Farah
ececd00fbd
Updated default xml naming prefix
2022-11-10 22:22:55 +11:00
Mike Farah
46dbd0c859
Updating release notes
2022-11-10 22:09:30 +11:00
Mike Farah
cad809515c
Refactoring
2022-11-10 22:07:53 +11:00
Mike Farah
1d35134310
Unwrap scalar now works for JSON encoding when explicitly set #1409
2022-11-10 19:21:18 +11:00
Mike Farah
fae1dbf0be
Preparing release notes
2022-11-10 18:06:43 +11:00
Mike Farah
04847502bf
Can use expressions in slice #1419
2022-11-10 18:03:18 +11:00
Mike Farah
af7e36bd47
Improved set path example
2022-11-10 10:28:29 +11:00
Mike Farah
fdad478684
Improved set path example
2022-11-10 10:22:08 +11:00
Mike Farah
22f376bbfd
Added set path example
2022-11-10 10:17:08 +11:00
Mike Farah
688fe55bb9
Added test for err fix
2022-11-09 21:46:00 +11:00
Jingyu and GitHub
91b3fb2af3
fix lib.go handled error ( #1418 )
2022-11-09 21:36:53 +11:00
Mike Farah
bd5e5dc965
Array to map operator for #1415
2022-11-08 13:40:00 +11:00
Mike Farah
c915113120
Fixed doc regarding getting the latest version
2022-11-08 08:50:48 +11:00
Mike Farah
cf02b90624
Fixed sorting by date #1412
2022-11-04 12:21:12 +11:00
7f5dda93c6
Bump golang from 1.19.2 to 1.19.3 ( #1411 )
...
Bumps golang from 1.19.2 to 1.19.3.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 14:11:41 +11:00
Mike Farah
a0be871a9d
Only maps can be encoded to XML #1408
2022-11-02 21:41:39 +11:00
Mike Farah
5af062a86f
Added subset example
2022-11-01 09:29:05 +11:00
Mike Farah
ed551bf339
Added extra parseSnippet test
2022-11-01 09:15:59 +11:00
Mike Farah
5e490527de
Bumping version
2022-10-31 09:05:56 +11:00
Mike Farah
c887042a1b
Fixing null csv bug #1404
2022-10-30 22:02:08 +11:00
Mike Farah
0cc5e75432
Bumping version
2022-10-29 18:24:19 +11:00
Mike Farah
6d6cd43255
docs
2022-10-29 18:22:30 +11:00
Mike Farah and GitHub
d99614f55a
Slice array ( #1403 )
2022-10-29 18:15:21 +11:00
Mike Farah and GitHub
880397d549
Refactored decoder responsibilities ( #1402 )
...
- improved comment handling
- yaml decoder now responsible for leading content work around
2022-10-28 14:16:46 +11:00
46c32f4c79
Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 ( #1399 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 15:11:06 +11:00
b25114c1fc
Bump github.com/goccy/go-yaml from 1.9.5 to 1.9.6 ( #1400 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.9.5 to 1.9.6.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.9.5...v1.9.6 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 15:10:56 +11:00
Mike Farah
44552c151b
Improving readme
2022-10-26 13:12:20 +11:00
Sho Ce and GitHub
108cfeb4bb
README: how to easily download the latest release ( #1397 )
2022-10-25 20:43:24 +11:00
Mike Farah
24bbffd71e
xml prefs should be part of API
2022-10-25 14:27:16 +11:00
Mike Farah
c62e18f9b2
Fixed load operator bug
2022-10-25 13:30:38 +11:00
Mike Farah
c1640fb10d
Removing old version notice
2022-10-25 12:47:13 +11:00
Mike Farah
0c33690596
Updating release notes
2022-10-25 09:36:00 +11:00
Mike Farah
6bf3defe85
Fixing updates in square brackets #1342
2022-10-24 17:55:19 +11:00
Mike Farah and GitHub
6d6b693fb3
Added XML processing instructions and directive support ( #1396 )
2022-10-24 10:09:42 +11:00
Mike Farah
14f827b9b7
Added nix installation instructions
2022-10-24 09:42:22 +11:00
Mike Farah
eac988abdc
Updated release to always use latest go
2022-10-23 14:50:00 +11:00
Mike Farah
ea4a50f6e9
Fixing matt phelps username reference
2022-10-20 09:59:36 +11:00
Mike Farah
6c94869329
test yq action can now be run manually
2022-10-19 12:04:52 +11:00
Mike Farah
5ef9101913
Updated release notes
2022-10-19 11:25:56 +11:00
Mike Farah
1f0881fb5f
Bumping version
2022-10-19 11:14:32 +11:00
Mike Farah
600e132fb6
Actions use built docker-images
2022-10-19 11:10:50 +11:00
Mike Farah
f571b163e5
Merge branch 'action-use-published-docker'
2022-10-19 11:09:06 +11:00
Mike Farah
0b235b367d
action uses built docker image
2022-10-19 11:06:41 +11:00
Mike Farah
a264833c06
test action using built docker image
2022-10-19 11:05:09 +11:00
Mike Farah
22c44d3ecb
action uses built docker image
2022-10-19 11:04:53 +11:00
Mike Farah
8ed817916f
muiltiline github action test
2022-10-19 10:59:09 +11:00
Mike Farah
cb4c41eebf
different name to docker github action
2022-10-19 10:49:04 +11:00
Mike Farah
ecc490a0fa
Attempt to prebuild github action
2022-10-19 10:48:16 +11:00
mattphelps-8451 and GitHub
8a45e02cbb
Fix broken multiline strings from dee0c94 ( #1390 )
...
1. Escaping behavior changed as a result of set-output deprecation.
- Otherwise you'll encounter breaking changes for example "appVersion: "1.0.0"%0Aapplica..."
where %0A is escaped newline \n but shouldn't be escaped.
2. Delimeter is required for multiline strings.
- See here: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
- Delimeter must be random. UUID is a solid choice.
I verified that /proc/sys/kernel/random/uuid does indeed exist on the yq image.
2022-10-19 10:16:07 +11:00
mattphelps-8451 and GitHub
28a6c9c532
Fix set-output deprecate; keys are case sensitive ( #1383 )
2022-10-18 13:41:58 +11:00
Mike Farah
dee0c94346
Updating action to new entrypoint format
2022-10-17 15:33:12 +11:00
Mike Farah
780ae29c2b
Improved github action test
2022-10-17 15:28:38 +11:00
9ca20451b7
Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 ( #1380 )
...
* Bump github.com/spf13/cobra from 1.5.0 to 1.6.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fixed deprecated usage of ExactArgs
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Farah <mikefarah@gmail.com >
2022-10-17 15:15:19 +11:00
Mike Farah
6db7acbf69
Added custom sort map example
2022-10-17 15:03:47 +11:00
Mike Farah
d16ee386d2
Fixed broken link
2022-10-14 14:24:57 +11:00
c3f4bb8156
Bump github.com/alecthomas/repr from 0.1.0 to 0.1.1 ( #1379 )
...
Bumps [github.com/alecthomas/repr](https://github.com/alecthomas/repr ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/alecthomas/repr/releases )
- [Commits](https://github.com/alecthomas/repr/compare/v0.1.0...v0.1.1 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/repr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 09:33:34 +11:00
Mike Farah
c640888133
Fixed bug - can now delete documents #1377
2022-10-11 11:48:18 +11:00
Mike Farah
33ec66cfdd
Fixed handling of UTF8 encoded CSVs #1373
2022-10-08 13:12:50 +11:00
Mike Farah
1b8d399de4
Detect and fail on missing closing brackets #1366
2022-10-08 12:44:54 +11:00
48c36efe07
Bump golang from 1.19.1 to 1.19.2 ( #1375 )
...
Bumps golang from 1.19.1 to 1.19.2.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-06 15:07:30 +11:00
Mike Farah
f27a3c5c92
Added winget instructions
2022-10-05 20:51:48 +11:00
Mike Farah
ffe635f943
Bumping version
2022-10-05 20:15:02 +11:00
Mike Farah
b5b81abb90
Added DELPATHS operator
2022-10-05 20:09:53 +11:00
Mike Farah
da3f3b93b4
Added SETPATH operator
2022-10-05 14:12:08 +11:00
Mike Farah
7f4c8e1c78
Added comment operator examples
2022-09-30 11:30:31 +10:00
Mike Farah
60f30f8a48
Added comment operator examples
2022-09-30 11:26:36 +10:00
Mike Farah
2362451fda
Added comment operator examples
2022-09-30 11:22:58 +10:00
Mike Farah
55a7fdfd8a
Added is_key operator
2022-09-30 10:27:35 +10:00
Mike Farah
3dd5f0c80c
Added another comment test
2022-09-30 10:15:41 +10:00
Mike Farah
be304a1102
Added another comment test
2022-09-30 09:46:07 +10:00
Mike Farah
a4b60039ca
Added examples of header-preprocess needing to be turned off
2022-09-30 09:36:38 +10:00
Mike Farah
b20477210f
Added missing validation for adding sequences to maps #1341
2022-09-16 10:04:48 +10:00
Mike Farah
9b6961875e
Bumping version
2022-09-09 12:29:41 +10:00
Mike Farah
51b64e6cf3
Fixing relative merge bug #1333
2022-09-09 12:28:38 +10:00
Mike Farah
851d93e5a8
Bumping version
2022-09-09 11:23:14 +10:00
Mike Farah
9291865eed
Preparing release notes
2022-09-09 11:21:53 +10:00
Mike Farah
fb330ebcb0
Updated github action to run as root
2022-09-09 11:14:25 +10:00
ae7a48df2d
Bump github.com/elliotchance/orderedmap from 1.4.0 to 1.5.0 ( #1331 )
...
Bumps [github.com/elliotchance/orderedmap](https://github.com/elliotchance/orderedmap ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/elliotchance/orderedmap/releases )
- [Commits](https://github.com/elliotchance/orderedmap/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/elliotchance/orderedmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 11:05:46 +10:00
2e3c50c535
Bump golang from 1.19.0 to 1.19.1 ( #1330 )
...
Bumps golang from 1.19.0 to 1.19.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 11:05:36 +10:00
Mike Farah
a64eea3b1a
Fixed bug in alternative op, dont evaluate RHS if LHS is truthy
2022-09-09 11:05:12 +10:00
Abirdcfly and GitHub
a12c1a6610
chore: remove duplicate word in doc ( #1322 )
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-08-31 18:43:03 +10:00
Mike Farah
bf6b4d3941
Fixed footer comment issue #1321
2022-08-30 11:24:26 +10:00
Mike Farah
3d11b0545d
Bumping version
2022-08-29 15:41:07 +10:00
Mike Farah
b4ca184108
Added new "c" flag to clobber custom tags when needed
2022-08-29 15:38:21 +10:00
Mike Farah
b1a40a9fb7
Bumped go compiler; bumped quality tools
2022-08-29 14:13:15 +10:00
187d9523c6
Bump github.com/goccy/go-json from 0.9.10 to 0.9.11 ( #1314 )
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.9.10 to 0.9.11.
- [Release notes](https://github.com/goccy/go-json/releases )
- [Changelog](https://github.com/goccy/go-json/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-json/compare/v0.9.10...v0.9.11 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-25 13:41:11 +10:00
Matti Schneider and GitHub
a44938101d
Document dynamic get and output in GitHub Action ( #1303 )
2022-08-14 10:40:41 +10:00
a4634cdc86
Bump github.com/alecthomas/participle/v2 ( #1302 )
...
Bumps [github.com/alecthomas/participle/v2](https://github.com/alecthomas/participle ) from 2.0.0-beta.4 to 2.0.0-beta.5.
- [Release notes](https://github.com/alecthomas/participle/releases )
- [Changelog](https://github.com/alecthomas/participle/blob/master/CHANGES.md )
- [Commits](https://github.com/alecthomas/participle/compare/v2.0.0-beta.4...v2.0.0-beta.5 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/participle/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 13:47:22 +10:00
Mike Farah
a696dceea4
Added string trim operator
2022-08-08 13:35:57 +10:00
989dabac5a
Bump golang from 1.18.4 to 1.19.0 ( #1292 )
...
Bumps golang from 1.18.4 to 1.19.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 14:23:20 +10:00
Mike Farah
8eac186a35
Add link to discussions on readme
2022-08-01 16:55:55 +10:00
Mike Farah
1c7dc0e88a
Bug fix
2022-08-01 16:27:42 +10:00
Mike Farah
2c9b5be408
Fixed json decode to maintain key order
2022-08-01 16:26:43 +10:00
Mike Farah
a91a8ccc66
Improving docs
2022-08-01 14:12:35 +10:00
Mike Farah
6dfef716d7
Bumping version
2022-08-01 14:00:13 +10:00
Mike Farah
06a2b9d426
updating release notes
2022-08-01 13:47:24 +10:00
Mike Farah
6cd0892d59
Added SELinux note #1289
2022-08-01 13:47:16 +10:00
Mike Farah
51b3985aa0
Preparing release notes
2022-08-01 13:40:41 +10:00
Mike Farah and GitHub
c8815f5ab9
Csv decoder ( #1290 )
...
* WIP: adding CSV decoder
* Adding CSV decoder
* Added CSV roundtrip
* Fixing from review
2022-08-01 10:28:34 +10:00
Jih-Wei, Liang and GitHub
3c222d8707
Added StringEvaluator for evaluating string input #1266 ( #1278 )
2022-08-01 08:50:56 +10:00
Mike Farah
4508bc2dc2
Updating release notes for next release
2022-07-29 10:28:06 +10:00
Mike Farah
8c3a8c085e
Fixes xml decode missing tags #1284
2022-07-29 10:26:50 +10:00
Mike Farah and GitHub
b9a1ef89fe
Added NDJSON decoder ( #1281 )
2022-07-27 12:26:22 +10:00
Mike Farah
c2c48bbe1d
Bumping version
2022-07-15 10:27:18 +10:00
97f89c0edb
Bump golang from 1.18.3 to 1.18.4 ( #1273 )
...
Bumps golang from 1.18.3 to 1.18.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-14 15:38:26 +10:00
Mike Farah and GitHub
03ba38eaff
Using new lexer by alecthomas! ( #1270 )
2022-07-13 14:45:28 +10:00
Mike Farah
f393cf37c2
Dont clobber anchor when adding nodes - fixes #1269
2022-07-13 11:12:15 +10:00
Mike Farah
f3a8c4b2ec
Added contributing guide on documentation
2022-07-07 11:53:23 +10:00
Mike Farah
86c2b03630
Added error operator for custom validation #1259
2022-06-25 12:46:24 +10:00
Daniel Carbone and GitHub
98b411f82e
adding support for --wrapScalar=false in properties encoder ( #1241 )
...
* adding support for --wrapScalar=false in properties encoder
* altering encoder and decoder tests somewhat
* adding .idea
* Revert "altering encoder and decoder tests somewhat"
This reverts commit e3655130e2 .
* adding test scenario for encoding with wrapped scalars
2022-06-25 12:22:03 +10:00
Mike Farah
06d2aaad80
Adding acceptance test for #1257 , fixed panic
2022-06-25 12:15:28 +10:00
Hayama and GitHub
9b47a29864
hotfix: fix panic multiply assign ( #1257 )
2022-06-25 12:08:52 +10:00
Mike Farah
b669844ef7
Bumping version
2022-06-23 19:45:54 +10:00
Mike Farah
ad4e7c9d8a
Updating release notes for next release
2022-06-23 19:44:18 +10:00
c5f83e4730
Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 ( #1250 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-23 19:23:45 +10:00
Mike Farah
be05df03b5
Fixing usage of quoted numeric keys #1247
2022-06-23 19:22:11 +10:00
Mike Farah
c7c11ef68b
Updating release notes for next release
2022-06-23 14:33:00 +10:00
Sandro and GitHub
7fe937c61e
Map -r to --unwrapScalar to be more a drop in replacement for jq ( #1245 )
2022-06-23 14:31:31 +10:00
Mike Farah
dfd396b480
When split expression includes an extension, dont add .yml automatically
2022-06-23 14:31:09 +10:00
Mike Farah
f63d76f006
updating release notes for next release
2022-06-16 10:37:21 -07:00
Mike Farah
2bc7dcfcca
Handle xml namespaces by default
2022-06-15 17:12:57 -07:00
Mike Farah
60c037f57e
Can add string to scalars in any order #1234
2022-06-15 17:09:17 -07:00
rndmit and GitHub
b9309a42a4
XML decoder additions ( #1239 )
...
* Add xml-keep-namespace and xml-raw-token features
* Add tests
* Change flags usage strings
* Append docs
2022-06-15 09:40:31 +10:00
98193a7a9d
Bump golang from 1.18.2 to 1.18.3 ( #1233 )
...
Bumps golang from 1.18.2 to 1.18.3.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 11:02:38 +10:00
Mike Farah
8d3be1a23c
Length (and some other operators) should not include head/foot comments #1231
2022-05-31 16:28:53 +10:00
Mike Farah
70403375d7
Bumping version
2022-05-28 13:38:53 +10:00
Mike Farah
9eaec6f0f5
Bumped go-yaml!
2022-05-28 13:32:35 +10:00
Mike Farah
439bcaad25
Added multiple object example from PR #1226
2022-05-27 11:22:10 +10:00
Mike Farah
294da55012
Fixed base64/xml decode an empty string #1209
2022-05-27 11:18:38 +10:00
Mike Farah
8d32e6a82c
Fixed base64 decode an empty string #1209
2022-05-27 10:56:43 +10:00
Mike Farah
1e27e39927
Fixing typos (prefer UK english)
2022-05-25 11:02:18 +10:00
Mike Farah
5126f3dfee
Fixed doc
2022-05-25 10:54:56 +10:00
Mike Farah
6bce23d9c2
Improved handling of trailing document comments
2022-05-25 10:54:03 +10:00
Christoph Stäbler and GitHub
dee592eb3b
Fix typo ( #1222 )
2022-05-24 18:18:27 +10:00
Mike Farah
451d8643ee
Updating merge docs
2022-05-24 16:16:58 +10:00
Mike Farah
fbe49c3700
Added colors to json output #1208
2022-05-22 21:19:59 +10:00
7d28e4e0de
Bump golang from 1.18.1 to 1.18.2 ( #1211 )
...
Bumps golang from 1.18.1 to 1.18.2.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 18:57:45 +10:00
9f0f29f0fc
Bump docker/setup-buildx-action from 1 to 2 ( #1212 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 18:57:36 +10:00
3c46c9ff1e
Bump docker/setup-qemu-action from 1 to 2 ( #1213 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 18:57:27 +10:00
Mike Farah
c05995b301
Added codeql badge
2022-05-06 13:54:49 +10:00
Mike Farah
72cdde78f6
Fixing issues found by codeql
2022-05-06 13:46:14 +10:00
Naveen and GitHub
1aeb8e3025
chore: Enable codeql action ( #1202 )
...
This action runs GitHub's industry-leading semantic code analysis engine, CodeQL, against a repository's source code to find security vulnerabilities.
https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql
https://github.com/ossf/scorecard/blob/main/docs/checks.md#sast
2022-05-06 13:43:51 +10:00
Mike Farah
689c535a29
Updated unique docs
2022-04-29 12:16:57 +10:00
Mike Farah
1425d0720e
Bumping version
2022-04-29 11:57:37 +10:00
Mike Farah
55c5497fab
Can specify a split expression file #1194
2022-04-29 11:08:41 +10:00
Mike Farah
67c79b7cb1
Fixes append map bug when key matches value in existing map #1200
2022-04-28 14:45:45 +10:00
Mike Farah
26529fae94
Nicer error message when trying to use merge anchor tags other than maps #1184
2022-04-27 14:46:52 +10:00
Mike Farah
70ad7a35a8
Don't automatically read stdin when the null input flag is used
2022-04-27 09:24:25 +10:00
Mike Farah
90261a2fdd
Added type as an alias for tag #1195
2022-04-27 09:11:43 +10:00
Mike Farah
3ad5355777
Fixes bug when using inplace with no expression and multiple files #1193
2022-04-27 09:08:50 +10:00
Mike Farah
ed5b811f37
Bumping version
2022-04-15 08:51:55 +10:00
22a2ccfdf4
Bump actions/setup-go from 2 to 3 ( #1183 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 08:27:51 +10:00
691e52e408
Bump golang from 1.18.0 to 1.18.1 ( #1182 )
...
Bumps golang from 1.18.0 to 1.18.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 08:27:40 +10:00
Mike Farah
b11075ec98
now assumes yaml idiomatic formatting when adding to empty maps/arrays
2022-04-15 08:27:22 +10:00
Mike Farah
ea66a73f43
Fixed sort dropping head comment #1181
2022-04-14 12:19:15 +10:00
Mike Farah
6f9f80cc48
Fixes with operation bug #1174
2022-04-14 12:03:18 +10:00
Mike Farah
13a27e8b2d
Fixing docker release
2022-04-12 12:38:09 +10:00
Mike Farah
bcff465f11
Fixing docker release
2022-04-12 10:20:23 +10:00
Mike Farah
270d8bd51a
Releasing 4.24.3
2022-04-12 09:49:13 +10:00
Mike Farah
2ef367b2b0
Trying new release process
2022-04-12 09:36:52 +10:00
Mike Farah
454e563a0e
Trying new release process
2022-04-12 09:35:18 +10:00
Mike Farah
217744bc9a
Pulled out docker build
2022-04-12 09:27:35 +10:00
Mike Farah
34ffb94d98
Moving alpline-publusher out of yq (gosec)
2022-04-12 09:22:30 +10:00
Roman and GitHub
6f4702a230
Added action to automatically prepare a branch for the alpine package update ( #1171 )
2022-04-12 08:51:27 +10:00
Naveen and GitHub
b1f77d975e
Set permissions for GitHub actions ( #1168 )
...
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com >
2022-04-09 14:55:43 +10:00
Mike Farah
523b8335d8
Fixing string docs
2022-04-01 13:21:55 +11:00
Mike Farah
5d225b9454
Updating readme
2022-03-29 13:15:27 +11:00
Mike Farah
0956eefb1a
Fixed help links
2022-03-29 11:08:50 +11:00
Mike Farah
a9ed08a5f8
Fixed compare docs
2022-03-29 11:01:02 +11:00
Benjamin Wuethrich and GitHub
ae71824adc
Fix Markdown link formatting ( #1157 )
...
* Fix Markdown link formatting
* Fix parens
2022-03-29 10:23:32 +11:00
Mike Farah
186b319093
Added from_props
2022-03-28 19:48:30 +11:00
Mike Farah
bc2118736b
v4.24.2
2022-03-28 14:36:27 +11:00
Mike Farah
1780027421
Bumping version
2022-03-28 14:24:28 +11:00
Mike Farah
3cd999bb87
Bumping to go1.18, bumping dev tools
2022-03-28 14:18:55 +11:00
Mike Farah
bbeae229ca
Disable strict XML parsing by default #1155
2022-03-28 14:05:10 +11:00
Mike Farah
3a1e2c7518
Fixed silently ignored error in xml decoder
2022-03-27 11:42:07 +11:00
Mike Farah
fb148c305a
Added comparison ops (>,>=...)
2022-03-24 11:38:05 +11:00
Mike Farah
897604142f
Better string docs
2022-03-23 10:28:45 +11:00
Mike Farah
03f57b7034
Bumping version
2022-03-20 13:03:40 +11:00
Mike Farah and GitHub
005b097cee
Boolean fix ( #1148 )
...
* Fixing booleans
* Fixed "and", "or" evaluating RHS when not required
2022-03-20 12:55:58 +11:00
Mike Farah
e08b6803f5
Simplify json > yaml cli example
2022-03-20 10:58:37 +11:00
Mike Farah and GitHub
78e9cc7998
Envsubst params ( #1147 )
...
* Can give envsubst optional arguments
2022-03-20 10:56:50 +11:00
justin-f-perez and GitHub
1a964c5055
update cli help ( #1146 )
...
- remove duplicate comment
- add common use case (json -> idiomatic yml)
2022-03-20 10:54:24 +11:00
Mike Farah
0ffee92175
Fixed += with multiple matches #1145
2022-03-19 18:42:12 +11:00
99cd9e8aae
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 ( #1143 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/v1.4.0/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 21:00:40 +11:00
8cb2422b57
Bump golang from 1.17 to 1.18.0 ( #1144 )
...
Bumps golang from 1.17 to 1.18.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 20:59:46 +11:00
Mike Farah
4bb2fa1652
Updated equals doc
2022-03-16 10:16:49 +11:00
Mike Farah
d27fb0ec78
Update multiply docs
2022-03-16 10:04:45 +11:00
Mikhail Katychev and GitHub
406bbb8ca4
handled EvaluateNodes panic ( #1140 )
2022-03-15 13:28:52 +11:00
Mike Farah
3924ed8a35
Bumping version
2022-03-10 13:50:53 +11:00
b1fee26a7f
Bump actions/checkout from 2 to 3 ( #1130 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 13:43:36 +11:00
Mike Farah
58be9829f9
Added pick operator
2022-03-10 13:39:51 +11:00
Mike Farah
33a29817d7
Can load expressions from file #1120
2022-03-01 11:50:09 +11:00
Mike Farah
edbdb16ab7
Fixes auto expansion of properties #1127
2022-03-01 11:29:11 +11:00
Mike Farah
2e731c310f
Updated readme
2022-02-27 12:23:36 +11:00
Mike Farah
79f2e1558c
Fixed release notes
2022-02-27 12:08:04 +11:00
Mike Farah
f0b37ea06d
Bumping version
2022-02-27 12:03:10 +11:00
Mike Farah
8698433d44
Added line and column operators
2022-02-27 11:56:46 +11:00
Mike Farah
ff047d0748
Fixes #1123
2022-02-27 11:39:31 +11:00
6c220d4562
Bump github.com/magiconair/properties from 1.8.5 to 1.8.6 ( #1121 )
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.5 to 1.8.6.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Changelog](https://github.com/magiconair/properties/blob/main/CHANGELOG.md )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.5...v1.8.6 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 08:58:01 +11:00
Mike Farah
0e0183b9ea
Update load docs
2022-02-23 09:40:05 +11:00
Mike Farah
61978b34df
Added load_base64
2022-02-23 09:38:17 +11:00
Mike Farah
d9bca65626
Added base64 support
2022-02-23 09:26:35 +11:00
Mike Farah
d7b158f855
Added string case operators
2022-02-22 16:17:23 +11:00
Mike Farah
71706af3d4
String op can now run on custom types
2022-02-22 14:50:45 +11:00
Mike Farah
8142e94349
Added reverse op
2022-02-22 14:15:31 +11:00
Mike Farah
2752544bc8
Fixed readme
2022-02-20 14:40:39 +11:00
Mike Farah
558a18029a
Bumping version
2022-02-20 14:34:55 +11:00
Mike Farah
665f6b0267
Fixed self assigned issue #1107
2022-02-20 14:29:52 +11:00
Mike Farah
fc447b46ce
Fixed bad cature groups with multiple matches #1114
2022-02-20 13:28:13 +11:00
Mike Farah
304fc462a4
No longer auto-read from STDIN if there are files given ( #1115 )
2022-02-20 13:15:21 +11:00
Mike Farah
75fffc17e1
Added support for load_props, added missing load_xml tests
2022-02-15 14:51:22 +11:00
Mike Farah
e1b5e90adf
Update readme
2022-02-15 14:13:55 +11:00
Mike Farah
6374098cdc
Bumping version
2022-02-15 13:40:47 +11:00
Mike Farah and GitHub
b35893d783
Date Time Ops ( #1110 )
...
* Added datetime operators
* Added date subtract support
2022-02-14 15:37:43 +11:00
whi-tw and GitHub
4b2b47af48
Fix zsh completion ( #1108 )
...
4ec533b introduced a bug which causes the 'hidden' cli parameter
`__complete` to be ignored.
Add a check for this parameter, so that it can pass to `cobra`
Signed-off-by: Tom Whitwell <tom@whi.tw >
2022-02-14 08:03:24 +11:00
Mike Farah
a5f6a80cf6
Added snake_case version of camelCase operators (snake case now prefered)
2022-02-11 09:05:17 +11:00
Mike Farah and GitHub
a9c3617b4f
Decoder Properties ( #1099 )
...
* Decoder Properties
* Added properties round trip test
* Fixed property decode for github actions
* Refactored XML test to use common functions
* Switched formatScenario parameter order for more readablity
2022-02-10 12:02:53 +11:00
Mike Farah
4d4bd5114d
Removed temporary file
2022-02-09 11:49:41 +11:00
Mike Farah
bfaafa66f9
Fixed SEGV error #1096
2022-02-09 11:47:21 +11:00
Mike Farah
26356ff4be
Added github action fix for parsing xml, updated linter
2022-02-07 11:55:55 +11:00
Mike Farah
06e944dcb6
Added github action fix for parsing xml
2022-02-07 11:26:48 +11:00
Mike Farah
2891c6948d
Added expression argument to forcibly set expression if required
2022-02-07 09:27:52 +11:00
Mike Farah
703418d0c4
Automatically add "-" when piping and its missing
2022-02-07 09:09:11 +11:00
Mike Farah
75960c6484
Allow multiple files with no expression
2022-02-07 08:23:53 +11:00
Mike Farah
5ac3c57510
Fixed bug - ignore path expressions that match a directory
2022-02-07 08:04:26 +11:00
Mike Farah
926a68181b
Bumping version
2022-02-06 14:39:56 +11:00
Mike Farah
1f367ac200
Added notification banner to docs
2022-02-06 14:39:46 +11:00
Mike Farah
de38abb121
Updating release notes for next release
2022-02-04 09:27:43 +11:00
Mike Farah
d00153de71
Adding to array copies styling of previous elements #722
2022-02-04 09:24:48 +11:00
Mike Farah
992fe066aa
Improved property conversion docs
2022-02-01 15:34:17 +11:00
Mike Farah
b80080a26d
Parameterised merge array by key example
2022-02-01 15:11:39 +11:00
Mike Farah
0afb59c65e
Tests can have multiple env variables
2022-02-01 14:58:53 +11:00
Mike Farah
535799462f
Added eval operator
2022-02-01 14:47:51 +11:00
Mike Farah
77204551ab
Fixed typo in readme
2022-01-31 08:21:36 +11:00
Mike Farah
772d369058
Added notice for older versions of yq
2022-01-28 13:02:25 +11:00
Mike Farah
9b7c80a76b
Bumbing version
2022-01-28 10:06:25 +11:00
Mike Farah
a6fc7aa881
Updating docs
2022-01-28 10:06:25 +11:00
6f27cb93d1
Bump github.com/a8m/envsubst from 1.2.0 to 1.3.0 ( #1089 )
...
Bumps [github.com/a8m/envsubst](https://github.com/a8m/envsubst ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/a8m/envsubst/releases )
- [Commits](https://github.com/a8m/envsubst/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/a8m/envsubst
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 16:21:31 +11:00
Mike Farah
b2a93930d0
Preparing release notes
2022-01-27 16:00:02 +11:00
Mike Farah
dedd1ca892
Fixing github build
2022-01-27 15:54:26 +11:00
Mike Farah
01b4917f26
Debug github build
2022-01-27 14:22:01 +11:00
Mike Farah
25e374f4ee
Debug github build
2022-01-27 14:00:55 +11:00
Mike Farah
3ba728d40c
Working around github strangeness
2022-01-27 13:54:29 +11:00
Mike Farah
8761920f58
Debug github build
2022-01-27 13:24:05 +11:00
Mike Farah
394be5c65a
Debug github build
2022-01-27 12:47:06 +11:00
Mike Farah
4ec533bc1b
No longer have to specify eval!
2022-01-27 12:07:41 +11:00
Mike Farah
fc276ff450
Smarter behaviour when piping data in with one argument
2022-01-27 10:18:46 +11:00
Mike Farah
c3d815998a
Auto style when adding to empty maps/arrays
2022-01-27 09:58:13 +11:00
Mike Farah
71242b0c8e
Fix Seg Fault on bad split expression input #1086
2022-01-27 09:29:41 +11:00
Mike Farah
a9e7f669d0
Merged envsubst into env operators
2022-01-27 09:20:53 +11:00
Samuel Cormier-Iijima and GitHub
8195ff8b9b
Add a new envsubst operator to replace environment variables in strings ( #1082 )
2022-01-25 19:33:30 +11:00
Mike Farah
9b1a7bf451
Added support for adding objects
2022-01-23 11:35:44 +11:00
Mike Farah
9b66e0a094
Include zip file checksums in release
2022-01-23 10:45:18 +11:00
Mike Farah
6e33132de9
Added support for *=
2022-01-22 16:40:17 +11:00
Mike Farah
a6c79f3410
Multiply, substract with custom types
2022-01-22 16:12:59 +11:00
Mike Farah
50df792e49
Auto cast for add
2022-01-22 13:17:16 +11:00
Mike Farah
6f24e878aa
Updated README, better xml docs
2022-01-22 12:35:33 +11:00
Mike Farah
a0ba208669
Bumping release
2022-01-22 11:57:19 +11:00
Mike Farah
d5b0154747
Fixing manpage path issue
2022-01-22 11:56:21 +11:00
Phil Miller and GitHub
7d2ddc1cde
fixes path in scripts/generate-man-page-md.sh ( #1075 )
2022-01-22 11:51:16 +11:00
Mike Farah
02252e8e69
Bumping version
2022-01-22 11:48:08 +11:00
Mike Farah
2526b03d67
Added JSON conversion tests and doc generation
2022-01-21 20:26:19 +11:00
Eng Zer Jun and GitHub
e347090571
refactor: move from io/ioutil to io and os packages ( #1068 )
...
* refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
* build: update snapcraft `go-channel` to 1.17
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-01-21 19:50:53 +11:00
f8bcaca4c9
Bump github.com/jinzhu/copier from 0.3.4 to 0.3.5 ( #1071 )
...
Bumps [github.com/jinzhu/copier](https://github.com/jinzhu/copier ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/jinzhu/copier/releases )
- [Commits](https://github.com/jinzhu/copier/compare/v0.3.4...v0.3.5 )
---
updated-dependencies:
- dependency-name: github.com/jinzhu/copier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 18:36:33 +11:00
Mike Farah
de0716e875
Tweaking select docs
2022-01-15 18:22:26 +11:00
Mike Farah
21cdbab0d7
Improving select docs ( #839 )
2022-01-15 18:18:52 +11:00
Mike Farah
1fba46f2f7
Updated readme as per #1051 recommendations
2022-01-15 17:54:08 +11:00
Mike Farah
dfe4308304
Preparing release notes
2022-01-15 17:45:45 +11:00
Mike Farah
8c94a96ee0
New merge flag (n) to only merge in new fields ( #1038 )
2022-01-15 15:48:34 +11:00
Mike Farah and GitHub
ec8ef312ef
Added XML encoding/decoding ( #1067 )
...
* Added XML encoding/decoding
* Minor fixes
* Improve yq doc
* Lint
2022-01-15 11:57:59 +11:00
Mike Farah
606ef91cc6
Better fix #1062 (return error instead of panic)
2022-01-14 15:40:24 +11:00
Mike Farah
78b45a3eb0
Fixed #1062
2022-01-14 15:22:55 +11:00
Mike Farah
84ddf1862f
Fixed #1048
2022-01-14 14:55:25 +11:00
2d7c63e4e4
Bump github.com/goccy/go-yaml from 1.9.4 to 1.9.5 ( #1065 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.9.4...v1.9.5 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 13:33:30 +11:00
Hélio and GitHub
eac75f7dad
Arch Linux install instructions ( #1059 )
2022-01-03 09:20:38 +11:00
robertomier and GitHub
5e30f3ba90
Update changelog for version v4.16.2 ( #1046 )
...
* Update changelog for version v4.16.2
* fix: remove useless changelog comments from debian changelog
2022-01-03 09:20:13 +11:00
robertomier and GitHub
0b49bebad9
chore: script to build the deb sources ( #1045 )
...
* chore: script to build the deb sources
now it includes the man files. This script makes only sense executing
on the machine having the gpg key needed to sign and push to ppa
* fix: dput dependency and proper configuration
2021-12-23 11:43:21 +11:00
Mike Farah
c48b1612df
Updating cli docs
2021-12-21 17:07:32 +11:00
Mike Farah
6763ae6e7b
Added xml acceptance tests
2021-12-21 17:05:33 +11:00
Mike Farah
ca1c5dab59
Can encode in XML!
2021-12-21 16:59:09 +11:00
Mike Farah
2ee9c65bc2
Added global xml prefs for simplicity
2021-12-21 16:52:54 +11:00
Mike Farah
6bcbd873a6
wip
2021-12-21 16:19:27 +11:00
Mike Farah
ae8df5ea87
wip
2021-12-21 16:08:37 +11:00
Mike Farah
851a43b9b6
wip
2021-12-21 15:56:08 +11:00
Mike Farah and GitHub
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
915e9de437
Bumping version
2021-12-21 09:41:46 +11:00
Mike Farah
8c2dd1af07
Bump golang compiler #1037
2021-12-21 09:38:28 +11:00
Matthieu MOREL and GitHub
59752fb36d
enable more linters ( #1043 )
...
* enable revive linter
* enable gochecknoinits linter
* enable unconvert linter
* enable unparam linter
* enable asciicheck linter
* enable depguard linter
* enable nakedret linter
* enable megacheck linter
* enable nolintlint linter
* enable predeclared linter
* Update go.yml
* Update go.yml
2021-12-21 09:30:08 +11:00
d8abcce633
Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 ( #1039 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-16 14:55:07 +11:00
Mike Farah
ae60fb8e38
Improved extract-checksum.sh
2021-12-10 16:57:04 +11:00
Mike Farah
9e4116d845
Added script for extracting checksums
2021-12-10 15:02:59 +11:00
Mike Farah
ffd1f022aa
Report while filename failed to parse #1030
2021-12-06 17:25:32 +11:00
Mike Farah
c17cf82791
Improving docs
2021-12-05 13:03:38 +11:00
Mike Farah
b4db4496d5
Improved tips and tricks
2021-12-05 11:12:09 +11:00
Mike Farah
8b04d972f3
Improved error message
2021-12-05 10:58:26 +11:00
Mike Farah
d0fda699e4
Bumping version
2021-12-04 14:00:27 +11:00
Mike Farah
fa06f0aabf
Updated release notes
2021-12-04 13:59:19 +11:00
Mike Farah
e22df34158
Added sort_by operator
2021-12-04 13:54:12 +11:00
Mike Farah
2f05f7390f
wip
2021-12-04 13:25:32 +11:00
Mike Farah
055e441686
Updated release notes
2021-12-03 09:24:22 +11:00
Mike Farah
dba41ffed7
Assignment op no longer clobbers anchor ( #1029 )
2021-12-03 09:23:24 +11:00
Mike Farah
7d89102477
Recording release notes for next release
2021-12-02 20:09:37 +11:00
Mike Farah
adb6144606
Fixed docker permission issue #1014
2021-12-02 20:06:51 +11:00
Mike Farah
855b3c4b47
Cleanup test
2021-12-02 20:06:51 +11:00
Mike Farah
df5128fa36
Added encoder tests
2021-12-02 20:06:51 +11:00
Mike Farah
f62cfe5ec9
Added encoder tests
2021-12-02 20:06:51 +11:00
Mike Farah
d0419ceedf
Added csv, tsv output formats
2021-12-02 20:06:51 +11:00
3126724eaf
Bump github.com/jinzhu/copier from 0.3.2 to 0.3.4 ( #1027 )
...
Bumps [github.com/jinzhu/copier](https://github.com/jinzhu/copier ) from 0.3.2 to 0.3.4.
- [Release notes](https://github.com/jinzhu/copier/releases )
- [Commits](https://github.com/jinzhu/copier/compare/v0.3.2...v0.3.4 )
---
updated-dependencies:
- dependency-name: github.com/jinzhu/copier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-02 19:45:09 +11:00
Daniel J Walsh and GitHub
a0c2e6faf5
Add support for Podman as well as Docker ( #1026 )
...
Would like to see this package work on systems without Docker installed
which have Podman.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2021-12-02 10:01:44 +11:00
Mike Farah
14f8f92b76
Added map, map_values
2021-12-01 10:32:36 +11:00
Mike Farah
54b355bffb
Added another test
2021-12-01 09:14:18 +11:00
Mike Farah
1c50ae4e6a
Added another test
2021-11-30 13:22:18 +11:00
Mike Farah
feb97c9872
Fixed collect op when working with multiple nodes
2021-11-30 13:19:44 +11:00
d41b44dc42
Add accessor for the yq logger instance ( #1013 )
...
Allow consumers of yqlib to customize the logger instance.
Closes #432
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com >
Co-authored-by: Carolyn Van Slyck <me@carolynvanslyck.com >
Co-authored-by: Rob Ferguson <robert.j.ferguson@nasa.gov >
2021-11-30 10:51:49 +11:00
Mike Farah
176fec639d
Better merge example
2021-11-29 21:28:25 +11:00
Mike Farah
f5f148cadb
Better formatting of merge arrays example
2021-11-29 21:06:09 +11:00
Mike Farah
418bd1a806
Added credit for merge by array example
2021-11-29 20:56:04 +11:00
Mike Farah
4c7c0b83aa
Better merge array by key example
2021-11-29 20:53:36 +11:00
Mike Farah
51e946e6ff
Better merge array by key example
2021-11-29 20:46:12 +11:00
Mike Farah
8c5d1e0252
gci linter
2021-11-26 20:24:21 +11:00
Matthieu MOREL and Mike Farah
8fdf6414c1
update Golangci version to v1.43.0
2021-11-26 20:15:59 +11:00
Mike Farah
cbb7fc9192
updated readme
2021-11-26 09:54:01 +11:00
Matthieu MOREL and Mike Farah
15d7c9e118
enable misspell linter
2021-11-25 22:01:30 +11:00
Paul S and Mike Farah
3e82171f18
Clean up errored file?
...
Probably a leftover of shell testing?
2021-11-25 10:46:47 +11:00
Rob Ferguson and Mike Farah
46d1d6825f
Include version query for tools
2021-11-25 10:46:39 +11:00
Mike Farah
c2952d49e5
Attempt to fix golint problem
2021-11-24 11:12:47 +11:00
Mike Farah
7f5bf4b326
Bumping version
2021-11-24 10:59:31 +11:00
Mike Farah
7e09a66b0b
Fixing comments
2021-11-24 10:59:19 +11:00
Mike Farah
c2808dc6c1
Update release notes
2021-11-24 10:41:25 +11:00
Mike Farah
733e63d1fb
Added more tests
2021-11-24 10:16:48 +11:00
Mike Farah
b44fecdfa5
Added key operator
2021-11-24 09:57:35 +11:00
Mike Farah
7f629d5e36
Added errorlint to devtools
2021-11-24 09:27:17 +11:00
Matthieu MOREL and Mike Farah
8711042c98
enable errorlint linter
2021-11-24 09:14:02 +11:00
Ben Burke and Mike Farah
3f4bbf748d
add labels, quote some values
...
apply some standard labels from <https://github.com/opencontainers/image-spec/blob/main/annotations.md >
quotes some secrets in case they might contain shell special characters
2021-11-22 09:47:28 +11:00
Ben Burke and Mike Farah
183007d120
simplify prod stage, move version label to action
2021-11-22 09:47:28 +11:00
AJ ONeal and Mike Farah
207d863edf
Update install-man-page.sh
2021-11-21 17:46:49 +11:00
AJ ONeal and Mike Farah
2e18e2f669
feature: detect MANPATh and install there
2021-11-21 17:46:49 +11:00
Mike Farah
3d620100f8
Improved load doc
2021-11-18 17:34:08 +11:00
Mike Farah
a804e7370f
Minor improvement on handling front matter
2021-11-16 16:34:39 +11:00
Mike Farah
fb648ceb79
Load file acceptance test
2021-11-16 16:21:08 +11:00
Mike Farah
356eff3b0b
wip
2021-11-16 16:21:08 +11:00
Matthieu MOREL and Mike Farah
76841fab3b
Update check.sh
2021-11-16 16:20:50 +11:00
Matthieu MOREL and Mike Farah
38855bf646
lint : define golangci configuration file
...
This put everything concerning golangci following [this](https://golangci-lint.run/usage/configuration/ ).
This way, anyone running golangci with a command line or with it's favorite Ide will use the same configuration for the current project.
2021-11-16 16:20:50 +11:00
Mike Farah
a17c97b515
Bumping version
2021-11-14 11:09:53 +11:00
Mike Farah
33871bf007
Fixed header preprocessing!
2021-11-14 10:59:50 +11:00
Mike Farah
11b6261e8b
remove leading content indicator
2021-11-14 10:59:50 +11:00
Mike Farah
5df71162c9
fixed printer test
2021-11-14 10:59:50 +11:00
Mike Farah
63f54563ea
wip
2021-11-14 10:59:50 +11:00
Mike Farah
d912d7d178
wip
2021-11-14 10:59:50 +11:00
Mike Farah
bff4c9e586
Fixing bad label in github action
2021-11-10 13:27:55 +11:00
Mike Farah
d7a34843af
Include secure as part of build process
2021-11-10 13:27:55 +11:00
Mike Farah
ac57667887
Include secure as part of build process
2021-11-10 13:27:55 +11:00
Mike Farah
69e1a9e468
add build check to PRs
2021-11-10 13:27:55 +11:00
Matthieu MOREL and Mike Farah
e7d4dc9581
Update go.yml
2021-11-09 08:25:26 +11:00
Matthieu MOREL and Mike Farah
b086bee7c3
Update dependabot.yml
2021-11-09 08:25:26 +11:00
e650883cb6
Bump github.com/spf13/cobra from 1.1.3 to 1.2.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.3...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 08:25:26 +11:00
8b2c036eba
Bump github.com/fatih/color from 1.10.0 to 1.13.0
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.10.0 to 1.13.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.10.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 08:25:26 +11:00
543da3ac2b
Bump github.com/jinzhu/copier from 0.2.8 to 0.3.2
...
Bumps [github.com/jinzhu/copier](https://github.com/jinzhu/copier ) from 0.2.8 to 0.3.2.
- [Release notes](https://github.com/jinzhu/copier/releases )
- [Commits](https://github.com/jinzhu/copier/compare/v0.2.8...v0.3.2 )
---
updated-dependencies:
- dependency-name: github.com/jinzhu/copier
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 08:25:26 +11:00
b175260731
Bump github.com/goccy/go-yaml from 1.8.9 to 1.9.4
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.8.9 to 1.9.4.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.8.9...v1.9.4 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 08:25:26 +11:00
bf02a865bd
Bump actions/setup-go from 1 to 2.1.4
...
* Bump actions/setup-go from 1 to 2.1.4
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 1 to 2.1.4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v1...v2.1.4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com >
2021-11-09 08:25:26 +11:00
9f9590d5c0
Bump actions/create-release from 1.0.0 to 1.1.4
...
Bumps [actions/create-release](https://github.com/actions/create-release ) from 1.0.0 to 1.1.4.
- [Release notes](https://github.com/actions/create-release/releases )
- [Commits](https://github.com/actions/create-release/compare/v1.0.0...v1.1.4 )
---
updated-dependencies:
- dependency-name: actions/create-release
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 08:25:26 +11:00
Matthieu MOREL and Mike Farah
241d0d768c
Create dependabot.yml
2021-11-09 08:25:26 +11:00
Mike Farah
40ec63cb56
github action no longer uses data1.yml
2021-11-03 22:37:07 +11:00
Mike Farah
86c75f6837
Updating release instructions
2021-11-03 22:37:07 +11:00
Mike Farah
8343ff6a59
Tweaking docs
2021-11-03 22:37:07 +11:00
Mike Farah
b1292270bb
Updating README
2021-11-03 22:37:07 +11:00
Mike Farah
0557439765
Update document generation script
2021-11-03 22:37:07 +11:00
Mike Farah
de90b3e85e
gitbook wip
2021-11-03 22:37:07 +11:00
Mike Farah
2ace48c70d
Bumping version
2021-10-30 14:08:13 +11:00
Mike Farah
d4b9781ee6
Fixed acceptance tests
2021-10-30 14:00:28 +11:00
Mike Farah
08fc058934
Fix JSON encoding removing null #985
2021-10-30 13:37:21 +11:00
Mike Farah
2b3d0552a6
Refactored command logic
2021-10-30 13:04:05 +11:00
Mike Farah
0b2688c0f1
Split printer
2021-10-30 10:04:41 +11:00
Mike Farah
65fd001575
Improving docs
2021-10-28 09:15:28 +11:00
Mike Farah
d508ac3fa4
Fixed flatten error message
2021-10-26 15:43:43 +11:00
Mike Farah
80084e89cc
Added flatten operator
2021-10-26 15:42:25 +11:00
Mike Farah
2491051fd9
Added group_by operator
2021-10-26 15:13:26 +11:00
Mike Farah
d390fdc641
better docs
2021-10-26 14:33:57 +11:00
Mike Farah
91717b3c5d
Can specify indent in encode ops
2021-10-24 11:35:40 +11:00
Mike Farah
587af7f722
Fixed newline handling in encoder/decoder
2021-10-22 15:21:01 +11:00
Mike Farah
a1af1b95d0
better docs
2021-10-22 14:55:58 +11:00
Mike Farah
b1e64a0d80
Fixed newline handling when decoding/encoding
2021-10-22 14:53:39 +11:00
Mike Farah
7288d34778
Added decoder op
2021-10-22 12:37:47 +11:00
Mike Farah
cdc5ef7b15
Added encoder op
2021-10-22 12:00:47 +11:00
Mike Farah
7d0376b8ee
Removing no longer needed github action
2021-10-21 20:09:47 +11:00
Mike Farah
57f058555c
Bumping version
2021-10-21 20:08:32 +11:00
Mike Farah
d22de94e8c
Updated github action release to generate man page
2021-10-21 19:59:35 +11:00
Mike Farah
e8b30b1dbf
Man page release workflow wip
2021-10-20 19:22:53 +11:00
Mike Farah
9c98d3effe
Man page release workflow wip
2021-10-20 18:45:14 +11:00
Mike Farah
ee376fdfd2
Man page release workflow wip
2021-10-20 15:01:08 +11:00
Mike Farah
e5f389d0c2
Added test release flow
2021-10-20 11:11:52 +11:00
Mike Farah
7b92aa0fcf
Bumping go-lang, docker versions
2021-10-20 10:58:54 +11:00
Mike Farah
5819dd0853
Fixed expression parsing bug #970
2021-10-18 11:47:03 +11:00
Mike Farah
bc04873292
Man page
2021-10-18 11:03:53 +11:00
Mike Farah
7fdd205858
Updated Readme
2021-10-15 11:47:54 +11:00
Mike Farah
67541a2fe9
Keep flag, it is needed in corner cases
2021-10-15 11:47:00 +11:00
Mike Farah
0064b68ed9
Revert "Removed leadingContentPreProcessing flag - header preprocessing is stable"
...
This reverts commit 4ce9433468 .
2021-10-15 11:47:00 +11:00
Mike Farah
e741e6d52f
Man page wip
2021-10-15 10:39:33 +11:00
Mike Farah
948399f163
Man page wip
2021-10-15 09:59:08 +11:00
Mike Farah
0436b77d91
Man page wip
2021-10-15 09:51:42 +11:00
Mike Farah
4ce9433468
Removed leadingContentPreProcessing flag - header preprocessing is stable
2021-10-15 08:53:00 +11:00
Peter Matseykanets and Mike Farah
dd259b4957
Make deepMatch report in linear time
...
The current implementation of the deepMatch() has the exponential runtime.
Given the long enough input and the pattern with multiple wildcards
it takes a while if ever to complete which can potentially be used
maliciously to cause a denial of service (cpu and memory consumption).
E.g. running this in the root of this repository
time yq eval '.jobs.publishDocker.steps.[] | select (.run == "****outputs")' .github/workflows/release.yml
gives on my laptop
25.11s user 0.06s system 99% cpu 25.182 total
Whereas the updated implementation gives
0.01s user 0.01s system 36% cpu 0.049 total
There are numerous similar CVEs reported for glob evaluation in
different shells/ftp-servers/libraries.
The replacement implementation with the linear runtime is shamelessly taken
verbatim from the briliant article by Russ Cox https://research.swtch.com/glob
2021-10-14 18:45:25 +11:00
Chris Kerr and Mike Farah
2da2001651
Update README with recently added / changed options
...
In particular, remove reference to the deprecated `--tojson` option.
2021-10-14 18:40:58 +11:00
Mike Farah
d363963f98
Bump version
2021-10-11 14:50:17 +11:00
Mike Farah
ed4d888bfa
Speed up multiply
2021-10-11 14:46:46 +11:00
Mike Farah
79bc1f95cb
Slight performance improvement to context.ChildContext
2021-10-11 12:56:27 +11:00
Mike Farah
4a4aae00af
Sped up explode operator
2021-10-11 10:41:15 +11:00
Mike Farah
839f795710
Fixed select bug ( #958 )
2021-10-07 15:04:36 +11:00
Emmanuel Bourg and Mike Farah
e87808683a
Skip the tests if the nocheck Debian build option is specified
2021-10-07 13:44:16 +11:00
Emmanuel Bourg and Mike Farah
bec30e910f
Fix a typo in root.go
2021-10-07 13:43:57 +11:00
Mike Farah
b8aeb76f29
Bump version
2021-10-02 15:14:45 +10:00
Mike Farah
989b11764d
Updating to go 1.17 to fix CVE #944
2021-10-02 15:12:57 +10:00
Mike Farah
e052ff8025
New release with docker build fixes
2021-09-20 11:58:21 +10:00
Mike Farah
111c1a0e4a
Fixed docker timeout - simplify docker builds
2021-09-20 11:57:05 +10:00
Mike Farah
222bfd3d17
Bumping version
2021-09-20 10:40:27 +10:00
Mike Farah
4123669efe
Help text tweak
2021-09-20 09:57:41 +10:00
Mike Farah
7caefc8521
minor readme cleanup
2021-09-20 09:55:35 +10:00
Roberto Mier Escandon and Mike Farah
91018683bf
Bump deb to version 4.13.0
2021-09-17 08:44:13 +10:00
Mike Farah
282d047dc2
Added STDIN example to the top
2021-09-17 08:38:10 +10:00
Mike Farah
b68e6adce9
Added STDIN example to the top
2021-09-17 08:37:28 +10:00
Mike Farah
43e40a6dda
Updating with documentation
2021-09-16 10:55:26 +10:00
Mike Farah
2292f0ffb4
Fixed with semicolon space issue
2021-09-15 22:24:03 +10:00
Mike Farah
3339562aa2
Bumping version
2021-09-15 15:19:19 +10:00
Mike Farah
2db8140d7f
Added contains operator
2021-09-15 15:18:10 +10:00
Mike Farah
5f154eb1b6
Update release notes
2021-09-12 21:59:57 +10:00
Mike Farah
084a0f6f1e
Merge branch 'subtract'
2021-09-12 21:59:07 +10:00
Mike Farah
457c977e61
Update release notes
2021-09-12 21:53:50 +10:00
Mike Farah
6002604251
Added with operator
2021-09-12 21:52:02 +10:00
Mike Farah
0c3334d838
Draft release notes
2021-09-12 17:01:11 +10:00
Mike Farah
b2ee131a4c
Updated var to work like jq #934
2021-09-12 16:55:55 +10:00
Mike Farah
1cfbbde796
Added missing closing bracket error check
2021-09-12 15:49:50 +10:00
YABATANIEN, Murichaduke and Mike Farah
25ba763b08
supports multiline output
2021-09-12 13:09:54 +10:00
Mike Farah
13c42db238
Adding subtraction support for arrays
2021-09-07 16:58:34 +10:00
Mike Farah
6ba8dc75a6
Bumping version
2021-09-05 11:11:51 +10:00
Mike Farah
3543a2dbdc
Fixed union infinite loop #930
2021-09-05 11:07:40 +10:00
Mike Farah
8941573c1a
Fixing alternative op bug #930
2021-09-02 15:36:23 +10:00
Mike Farah
eea2c97cd8
Can process hex numbers
2021-09-02 15:26:44 +10:00
Mike Farah
f848e334ee
Clarifying readme
2021-08-27 12:30:22 +10:00
Mike Farah
b72d225092
Bumping version
2021-08-27 09:33:57 +10:00
Mike Farah
cb95ab1494
Fixed merge comment issue #919
2021-08-26 16:31:26 +10:00
Mike Farah
063d40de25
Fixing pipeline
2021-08-25 10:09:44 +10:00
Mike Farah
fe12407c93
Bumping version
2021-08-20 16:03:59 +10:00
Mike Farah
d18aa3e9e0
Added shorthand output formats
2021-08-20 15:46:33 +10:00
Mike Farah
10d4eb3381
Updated to use -o for output format
2021-08-20 13:35:57 +10:00
Mike Farah
043e9128d7
Pretty Print tests
2021-08-20 12:23:35 +10:00
Mike Farah
43f47c4ed9
wip - pretty print 1.1 compat mode
2021-08-20 12:23:35 +10:00
Mike Farah
4ba96d902b
Fixed document header/footer comment handling when merging
2021-08-17 09:54:12 +10:00
Mike Farah
d2e89f7c72
Updated README to include instructions on docker
2021-08-15 21:22:39 +10:00
Mike Farah
9de0d0aae1
Adding string readme
2021-08-01 18:47:04 +10:00
Mike Farah
669f6cf127
Added properties encoder test
2021-07-27 21:51:27 +10:00
Mike Farah
8c1a96d121
Properties encoder wip
2021-07-25 18:08:33 +10:00
Mike Farah
b64982a487
Properties encoder wip
2021-07-25 11:43:51 +10:00
Mike Farah
9fd467590f
Add github action docs to readme
2021-07-25 10:51:13 +10:00
Mike Farah
39090fcf58
updating readme
2021-07-25 10:47:53 +10:00
Mike Farah
f89a133558
Version bump
2021-07-24 15:08:30 +10:00
Mike Farah
d079c5709e
bad github action now fails properly
2021-07-24 15:07:05 +10:00
Mike Farah
192a5ed0d2
testing bad github action fails
2021-07-24 15:06:23 +10:00
Mike Farah
bdf4ad4432
testing bad github action fails
2021-07-24 15:05:42 +10:00
Mike Farah
eeac03a437
Fixed merging arrays with merge anchors #899
2021-07-22 20:58:58 +10:00
Mike Farah
9ec20f8ba2
Added more tests
2021-07-20 11:14:54 +10:00
Mike Farah
b2380399a8
Added more tests
2021-07-20 11:12:41 +10:00
Mike Farah
66b248ac18
Version bump
2021-07-20 11:05:22 +10:00
Mike Farah
3b91ad5764
Handle leading comment with no new-line
2021-07-20 11:01:56 +10:00
Mike Farah
8508d3309b
More efficient front matter processor
2021-07-20 10:38:42 +10:00
Mike Farah
4e628327c4
Better way of processing leading content
2021-07-20 10:19:55 +10:00
Mike Farah
bbebebe30c
Fixed for most cases, except strip comments
2021-07-20 09:18:40 +10:00
Mike Farah
38dd4175fb
Added more tests
2021-07-19 20:18:42 +10:00
Mike Farah
dafa114e65
Added printer tests
2021-07-19 20:12:04 +10:00
Mike Farah
519cf1dcd7
wip
2021-07-19 19:58:47 +10:00
Mike Farah
3a6f73e836
wip
2021-07-19 19:52:51 +10:00
Mike Farah
85bbbbeed4
shellcheck
2021-07-18 17:05:12 +10:00
Mike Farah
7474ac62ef
Now using shunit2 for acceptance tests
2021-07-18 16:55:08 +10:00
Mike Farah
4c288e8d90
Removed blank file disclaimer
2021-07-18 15:39:28 +10:00
Mike Farah
102e7e7ab0
Version bump
2021-07-18 13:45:21 +10:00
Mike Farah
9c8253b582
Front matter processor seems to be working!
2021-07-18 13:17:35 +10:00
Mike Farah
555ad0762c
Added front-matter handler
2021-07-18 12:28:46 +10:00
Mike Farah
f6e2ab5cef
Remember comments in empty files
2021-07-16 22:08:22 +10:00
Mike Farah
28a8721f49
Handle empty files
2021-07-16 21:08:20 +10:00
Mike Farah
a13617407e
Fixed EOF bug when processing empty files
2021-07-16 20:56:22 +10:00
Mike Farah
171ca2e053
Improving reg ex doc
2021-07-16 10:18:25 +10:00
Mike Farah
2f0fe8aa13
Increment version
2021-07-16 10:09:12 +10:00
Mike Farah
b76c9f6e57
added more readme disclaimers
2021-07-16 10:06:28 +10:00
Mike Farah
8e72f65ddc
fixing github flow
2021-07-16 09:59:47 +10:00
Mike Farah
19baeec5c9
set github default user
2021-07-16 09:58:40 +10:00
Mike Farah
19fb1044b7
testing github action
2021-07-16 09:44:50 +10:00
Mike Farah
d74bb8e28d
Adding magic to detect leading seperators
2021-07-15 11:34:49 +10:00
Mike Farah
5c0a5bd9d3
Added capture regex operator
2021-07-11 11:08:18 +10:00
Mike Farah
3394feee0d
Added test for #878
2021-07-09 15:58:33 +10:00
Mike Farah
b9d01f1e95
Added test operator
2021-07-09 15:54:56 +10:00
Mike Farah
69c45ff64a
Added match operator
2021-07-09 15:33:41 +10:00
Mike Farah
573618e4ce
(wip) regex match op
2021-07-09 14:58:31 +10:00
Mike Farah
cc7ea83506
(wip) regex match op
2021-07-09 14:58:31 +10:00
Mike Farah
cae3d95fdc
Clean up cli help doc, add github and doc links
2021-07-09 14:58:09 +10:00
Mike Farah
21e2fdaea2
Bump version
2021-07-08 10:27:57 +10:00
Mike Farah
bae319ab7f
Revert usage of filepath.Clean (azure compatability issues)
2021-07-08 10:26:35 +10:00
Mike Farah
38ce8618e1
Revert "Fix for gosec rule G304 - sanitize filepaths"
...
This reverts commit ffb6cbf769 .
2021-07-08 10:14:01 +10:00
Mike Farah
90708c010c
Updated docker instructions
2021-07-08 10:02:23 +10:00
Mike Farah
b4ce50b705
Fixed secure script to run against all files
2021-07-07 20:06:14 +10:00
Mike Farah
aba950a751
Bump version
2021-07-07 20:01:41 +10:00
Mike Farah
cce3af001a
Extract out compound assign logic, use it add and subtract ops
2021-07-07 20:00:46 +10:00
Mike Farah
b4b2e1217a
Added another |= example
2021-07-07 19:53:33 +10:00
Mike Farah
b0074f5eba
Fixes #870
2021-07-07 19:22:55 +10:00
Mike Farah
542efd8928
Update append array docs
2021-07-07 15:36:43 +10:00
Mike Farah
ce3e347157
Fixed append array issue https://github.com/mikefarah/yq/issues/874
2021-07-07 15:30:45 +10:00
Mike Farah
d1b6a6fdd9
Fixed merge bug https://github.com/mikefarah/yq/issues/880
2021-07-07 14:29:24 +10:00
Roberto Mier Escandon and Mike Farah
f285a684ec
Update debian pkg files to version 4.9.6
2021-07-07 13:52:42 +10:00
Monica Debbeler and Mike Farah
ffb6cbf769
Fix for gosec rule G304 - sanitize filepaths
2021-07-07 13:52:11 +10:00
Monica Debbeler and Mike Farah
f67a83a5bc
Fix for gosec rule G104 - handle errors
2021-07-07 13:50:04 +10:00
Mike Farah
6658a93e7d
powershell issues
2021-06-25 13:20:13 +10:00
Andrew Stribblehill and Mike Farah
d61b9cab65
Checksum archives as well as binaries
...
Often, checksums are based on the archive files. This gives some measure of confidence that the file won't exploit a tar or zip vulnerability.
2021-06-22 08:47:43 +10:00
Daniel Vystrcil and Mike Farah
5df0e49b1e
Update Dockerfile
...
Adding group:user to fix (CIS_Docker_v1.2.0 - 4.1) Image should be created with a non-root user
2021-06-18 12:18:47 +10:00
Mike Farah
4a08ca6e29
Updating release instructions
2021-06-18 12:13:15 +10:00
Mike Farah
4bb2d04d43
Increment version
2021-06-12 16:40:42 +10:00
Alec Thomas and Mike Farah
9e61f88dba
Add darwin/arm64 builds
2021-06-12 16:39:06 +10:00
Mike Farah
da47318f42
Fixed newline issue https://github.com/mikefarah/yq/issues/855
2021-06-12 08:26:27 +10:00
Mike Farah
88bee2809f
Fixed issue on creating objects using []
2021-06-11 14:27:44 +10:00
Daniel Vystrcil and Mike Farah
01267d062b
Update Dockerfile
...
Alpine 3.15.5 has fixes for CVE-2021-30139, CVE-2021-28831, CVE-2021-23840, and CVE-2021-3450
2021-06-10 10:56:43 +10:00
Mike Farah
cb912ca188
Added more tests
2021-06-10 09:53:50 +10:00
Mike Farah
58c63ed121
Bumping version
2021-06-10 09:37:08 +10:00
Mike Farah
d1548ead71
Fixed alternative operator
2021-06-10 09:35:07 +10:00
Mike Farah
09c5ed24be
Updating docs
2021-06-10 08:35:41 +10:00
Mike Farah
78af68f436
Added nested traversal examples
2021-06-10 08:31:26 +10:00
Mike Farah
b6e2a96ead
Increment version
2021-06-09 08:59:27 +10:00
Mike Farah
5f5c832570
Moved GithubAction docs to gitbook
2021-06-09 08:57:42 +10:00
Chris Gruel and Mike Farah
1a49f5222b
outputs support in the action
2021-06-09 08:49:04 +10:00
Mike Farah
01e478e81d
Fixing entries test
2021-06-08 21:50:14 +10:00
Curtis Vogt and Mike Farah
ed377a032d
Add with_entries example using filtering
2021-06-08 21:38:54 +10:00
Mike Farah
fae2b2643c
Added gofmt to format command
2021-06-01 10:52:14 +10:00
Mike Farah
dd86b5e7f2
Fixing doc
2021-05-28 17:00:25 +10:00
Mike Farah
f1f75683c1
Fixed nil RHS bug in alternative operator #838
2021-05-28 16:59:02 +10:00
Mike Farah
38b9856f50
Increment version
2021-05-22 08:24:08 +10:00
Mike Farah
48eeb2a9df
Fixes update-assign with collect object issue #830
2021-05-22 08:22:45 +10:00
Mike Farah
af283315f2
Increment version
2021-05-21 14:27:24 +10:00
Mike Farah
d18a6963f6
Fixes nested array indexing #824
2021-05-21 14:18:24 +10:00
Mike Farah
77edbb9f5c
Fixing readonly ops not to modify context when paths dont exist
2021-05-16 15:02:31 +10:00
Mike Farah
179c44aacc
Fixing readonly ops not to modify context when paths dont exist
2021-05-16 14:36:13 +10:00
Mike Farah
bc70c1fb16
Added blank alias example
2021-05-16 14:18:18 +10:00
Mike Farah
0b71a40797
Fixing readonly ops not to modify context when paths dont exist
2021-05-16 14:17:13 +10:00
Mike Farah
3f51a44596
Fixing readonly ops not to modify context when paths dont exist
2021-05-16 14:00:30 +10:00
Mike Farah
afebf0e621
Increment version
2021-05-16 12:43:26 +10:00
Mike Farah
dc464a5b10
Added ability to escape double quotes in double quotes
2021-05-16 12:38:17 +10:00
Mike Farah
5340ed0ad3
Fixed handling of null expressions in equals op
2021-05-16 12:38:17 +10:00
Mike Farah
7b52c5fe0e
Increment version
2021-05-14 15:04:56 +10:00
Mike Farah
f4392f8658
Added any_c and all_c operators
2021-05-14 15:03:28 +10:00
Mike Farah
8e14b3b393
Added any and all operators
2021-05-14 14:29:55 +10:00
Mike Farah
8627441705
Added unique operator
2021-05-14 09:43:52 +10:00
Mike Farah
aa95ecd012
Update operator docs
2021-05-11 14:35:59 +10:00
Mike Farah
a2bd463a91
Fixed null issue with entry operators
2021-05-10 10:42:43 +10:00
Mike Farah
6c3965dca3
Increment version
2021-05-10 09:39:59 +10:00
Mike Farah
bb3ffd40b5
Added optional traverse flag
2021-05-09 15:36:33 +10:00
Mike Farah
cc08afc435
Added with_entries
2021-05-09 15:12:50 +10:00
Mike Farah
941a453163
Added from_entries op
2021-05-09 14:18:25 +10:00
Mike Farah
77630ca179
Added to_entries op
2021-05-09 13:59:23 +10:00
Mike Farah
ae4b606707
Fixed merge anchor bug #800
2021-05-09 13:26:02 +10:00
Mike Farah
37f3e21970
Fixed boolean op with empty context issue
2021-05-09 12:44:05 +10:00
Mike Farah
25d0787011
updating operator docs
2021-05-05 15:03:27 +10:00
Mike Farah
b5b8da0a1d
Updating comment docs
2021-04-29 13:18:57 +10:00
Mike Farah
fa21510194
Moved multiply doc example lower
2021-04-29 12:03:56 +10:00
Mike Farah
f541194250
Added complex merge example
2021-04-28 20:35:10 +10:00
Mike Farah
38666f4db6
Added another style example for doc
2021-04-26 14:18:18 +10:00
Mike Farah
8b327d0414
Increment version
2021-04-25 12:07:22 +10:00
Mike Farah
c8630fe4f3
Fixes delete issue #793
2021-04-25 12:05:56 +10:00
Mike Farah
87df9b1ae6
Updating operator doc
2021-04-24 17:41:06 +10:00
Mike Farah
2483c38eeb
Added command help about using stdin
2021-04-19 10:27:01 +10:00
Mike Farah
b2a538bdfc
Better string sub documentation
2021-04-16 16:07:40 +10:00
Mike Farah
6c26344449
Incrementing version
2021-04-15 16:22:24 +10:00
Mike Farah
daf0bfe1b9
Added string substitute command
2021-04-15 16:09:47 +10:00
Mike Farah
750a00ec35
Added "expand" to explode docs for searchability
2021-04-13 13:59:26 +10:00
Mike Farah
25e0a824c5
Fixed alternative operator when LHS has empty matches
2021-04-13 10:53:46 +10:00
Mike Farah
095f921f62
4.6.3 release
2021-03-25 08:45:59 +11:00
Mike Farah
12d3425b4a
Added subtract operator (numbers only)
2021-03-25 08:12:01 +11:00
Mike Farah
0249f00bd5
Added chocolate badges thanks @adriens
2021-03-23 20:40:39 +11:00
Mike Farah
42b1bf9678
updated release notes to run gosec manually
2021-03-19 13:41:56 +11:00
Mike Farah
c632fd3641
cannot run gosec on all docker platforms, removing from devtools
2021-03-19 13:40:24 +11:00
Mike Farah
0470e5cd69
cannot run gosec on all docker platforms, removing for now
2021-03-19 13:21:07 +11:00
Mike Farah
35c6d07248
Bump version
2021-03-19 12:59:00 +11:00
Mike Farah
3f0be107d4
Bump dependencies
2021-03-19 12:58:43 +11:00
Mike Farah
21a9e506cb
Fixed merge comments
2021-03-19 12:54:03 +11:00
Mike Farah
3722367fbb
Dont print doc separators for JSON ( https://github.com/mikefarah/yq/issues/735 )
2021-03-19 12:40:56 +11:00
Mike Farah
f7b50e9853
Fixed += operator ( https://github.com/mikefarah/yq/issues/750 )
2021-03-19 12:36:05 +11:00
Mike Farah
4f3fe256aa
Fixed precedence of CREATE_MAP ( https://github.com/mikefarah/yq/issues/753 )
2021-03-19 12:09:32 +11:00
Mike Farah
2595a929c9
Fixing doc links
2021-03-19 11:52:13 +11:00
Mike Farah
b2186d5404
Added gosec
2021-03-03 19:44:34 +11:00
Mike Farah
e93c43f7a0
Improving docs
2021-02-26 11:31:43 +11:00
Mike Farah
b1a5387cdd
Update readme
2021-02-25 17:04:08 +11:00
Mike Farah
5911ab2929
Bump version
2021-02-25 16:52:49 +11:00
Mike Farah
2ed5b2ff59
Improved lexer performance!
2021-02-25 16:47:55 +11:00
Mike Farah
111c6e0be1
Increment version
2021-02-18 11:19:16 +11:00
Mike Farah
81136ad57e
Arrays no longer deeply merge by defauly, like jq
2021-02-18 11:16:54 +11:00
Mike Farah
a6cd250987
nicer reduce example
2021-02-15 18:23:50 +11:00
Mike Farah
ee1f55630f
nicer reduce example
2021-02-15 17:33:41 +11:00
Mike Farah
9072e8d3b3
Added context variable for reduce
2021-02-15 17:31:12 +11:00
Mike Farah
99b08fd612
Added reduce examples and doc
2021-02-15 16:38:53 +11:00
Mike Farah
b2317a14ef
infix reduce
2021-02-15 16:06:37 +11:00
Mike Farah
3e5f7b147f
infix reduce
2021-02-15 15:31:55 +11:00
Mike Farah
c4faa70143
wip - reduce!
2021-02-15 14:27:00 +11:00
Mike Farah
4d6d07ec43
Force re-release
2021-02-11 10:58:40 +11:00
Mike Farah
bd0818c481
Fixed write-inplace with no expression
2021-02-11 10:58:40 +11:00
Ben Moss and Mike Farah
26742b2597
Fix pretty-printing
...
Fixes #716 #715
2021-02-11 10:58:40 +11:00
Mike Farah
64c618c041
Version increment
2021-02-11 10:58:40 +11:00
Mike Farah
c4c8e5e7b0
Preserve comments on map keys
2021-02-11 10:58:40 +11:00
Mike Farah
e02ad4d7e8
Added space example to docs
2021-02-11 10:58:40 +11:00
Mike Farah
dd17f072cf
update deps
2021-02-11 10:58:40 +11:00
Mike Farah
429c3ca65b
Fixed merge dropping anchors
2021-02-11 10:58:40 +11:00
Mike Farah
cfcac6d1dc
improving docs
2021-02-11 10:58:40 +11:00
Mike Farah
a5ddbca97f
Fixing special character example
2021-02-11 10:58:40 +11:00
Mike Farah
30027a8cf4
Added not equals operator
2021-02-11 10:58:40 +11:00
Mike Farah
f92a42e4f8
Equals now only compares scalars
2021-02-11 10:58:40 +11:00
Mike Farah
3c466dc66e
Fixed delete bug
2021-02-11 10:58:40 +11:00
Mike Farah
0816e16d30
fixed instructions
2021-02-11 10:58:40 +11:00
Mike Farah
802d54e14e
v4.5.0
2021-02-11 10:58:40 +11:00
Mike Farah
10600dd29a
Fixed delete bug
2021-02-11 10:58:40 +11:00
Mike Farah
3a464272d4
Added variable doc
2021-02-11 10:58:40 +11:00
Mike Farah
691efadfac
Fixed variable precedence
2021-02-11 10:58:40 +11:00
Mike Farah
6efe4c4797
Fixing op precedences
2021-02-11 10:58:40 +11:00
Mike Farah
9e56b364c2
Fixing op precedences
2021-02-11 10:58:40 +11:00
Mike Farah
85ec32e3db
Added variables
2021-02-11 10:58:40 +11:00
Mike Farah
5c73132c8e
Dont create entries when selecting
2021-02-11 10:58:40 +11:00
Mike Farah
c6efd5519b
Pass context through operators
...
Allows more sophisticated functionality
2021-02-11 10:58:40 +11:00
Mike Farah
3bae44be68
Added funding button
2021-02-11 10:58:40 +11:00
zy and Mike Farah
48a7c59c4b
change version from master to latest(v4)
2021-02-11 10:58:40 +11:00
zy and Mike Farah
851fbd8cf5
fix: go install fails
...
Installation by go will result in an error:
module declares its path as: xxx,
but was required as: xxx.
Go install with master branch will fix it.
fix : #676
2021-02-11 10:58:40 +11:00
Mike Farah
820a3320be
Fixed length of null to be zero
2021-02-11 10:58:40 +11:00
Mike Farah
61f569aebb
fixing docker pipeline for nextime
2021-02-11 10:58:40 +11:00
Mike Farah
9ff51cd066
attempt to fix dockre
2021-02-11 10:58:40 +11:00
Mike Farah
9dd6d11362
Fixed bad docker version
2021-02-11 10:58:40 +11:00
Mike Farah
83139e21d9
Bump version
2021-02-11 10:58:40 +11:00
Mike Farah
c77001f969
Can add and merge append to null
2021-02-11 10:58:40 +11:00
evnp and Mike Farah
1be3b31bbc
Don't escape HTML chars when converting to json
...
json.Encoder and json.Marshal implicitly use HTMLEscape to convert
>, <, &, with \u003c, \u003e, \u0026. This behavior carries over
to yq, where chars will be escaped when outputting json but not when
outputting yaml.
This changeset disables this behavior via encoder.SetEscapeHTML(false).
Unfortunately there is no equivalent option for json.Marshal, so its
single usage has been replaced with an encoder (with escaping disabled).
2021-02-11 10:58:40 +11:00
Mike Farah
6c14a80991
Fixed cross-function combinatorial bug
2021-02-11 10:58:40 +11:00
Mike Farah
76bd1896e9
wip
2021-02-11 10:58:40 +11:00
Mike Farah
c63801a8a5
thoughts
2021-02-11 10:58:40 +11:00
Mike Farah
f7cfdc29e1
cross function fix wip
2021-02-11 10:58:40 +11:00
Mike Farah
07c6549a58
Fixed doker instructions
2021-02-11 10:58:40 +11:00
Mike Farah
29f40dad59
Fixing multiply doc
2021-02-11 10:58:40 +11:00
Mike Farah
fe33e7fcfe
Incrementing version
2021-02-11 10:58:40 +11:00
Mike Farah
0707525b29
Added keys operator
2021-02-11 10:58:40 +11:00
Mike Farah
62acee54c3
Added split string operator
2021-02-11 10:58:40 +11:00
Mike Farah
d21c94cf4f
Added join strings operator
2021-02-11 10:58:40 +11:00
Mike Farah
626e9cacaf
Split doc operator
2021-02-11 10:58:40 +11:00
Mike Farah
02ef99560d
Fixing add,multiply,alternative operator precendences
2021-02-11 10:58:40 +11:00
Mike Farah
c59209f041
Fixed remove comments example
2021-02-11 10:58:40 +11:00
Mike Farah
947ffb6986
Dont use pointer for env prefs (avoid nil)
2021-02-11 10:58:40 +11:00
Mike Farah
1a03031297
Dont use pointer for recursive prefs (avoid nil)
2021-02-11 10:58:40 +11:00
Mike Farah
2c7db0071a
Dont use pointer for multiply prefs (avoid nil)
2021-02-11 10:58:40 +11:00
Mike Farah
0484d0232b
Dont use pointer for commment prefs (avoid nil)
2021-02-11 10:58:40 +11:00
Mike Farah
91c72d2d9e
Added merge if empty
2021-02-11 10:58:40 +11:00
Mike Farah
09ec740d45
Added operator level doc
2021-02-11 10:58:40 +11:00
Mike Farah
532dbd81a5
Incrementing version
2021-02-11 10:58:40 +11:00
Mike Farah
e86f83fb69
Renaming pathtree to expression
2021-02-11 10:58:40 +11:00
Mike Farah
7d5b6b5442
Removed global vars
2021-02-11 10:58:40 +11:00
Mike Farah
b749973fe0
UnwrapDoc now private
2021-02-11 10:58:40 +11:00
Mike Farah
ba223df4ac
Moved eval function to eval interface
2021-02-11 10:58:40 +11:00
Mikhail Katychev and Mike Farah
e6336bcb85
added lib_test.go
2021-02-11 10:58:40 +11:00
Mikhail Katychev and Mike Farah
9ae03e0a1c
added EvaluateNodes and EvaluateCandidateNodes to yqlib
2021-02-11 10:58:40 +11:00
Mike Farah
55712afea6
Merge now copies anchor names
2021-02-11 10:58:40 +11:00
Mike Farah
7518dac99c
Fixed creation of candidateNode in operators to include file metadata
2021-02-11 10:58:40 +11:00
Mike Farah
49ac2bac13
Cleaning up exposed public api
2021-02-11 10:58:40 +11:00
Mike Farah
e28df367eb
Fixed tag operator for top level node
2021-02-11 10:58:40 +11:00
Mike Farah
90ec05be54
Fixed equals operator for top level node
2021-02-11 10:58:40 +11:00
Mike Farah
8f5270cc63
Fixed has operator for top level node
2021-02-11 10:58:40 +11:00
Mike Farah
286590b01e
fixing exposed functions and interfaces
2021-02-11 10:58:40 +11:00
Mike Farah
c1cf8b4e34
fixing exposed functions and interfaces
2021-02-11 10:58:40 +11:00
Mike Farah
461661112c
Better add documentation
2021-02-11 10:58:40 +11:00
Mike Farah
578f2c27f9
Added scalar addition
2021-02-11 10:58:40 +11:00
Mike Farah
6ed037a9f6
Fixed collect at document level
2021-02-11 10:58:40 +11:00
Mike Farah
69386316f3
Better error handling will empty env
2021-02-11 10:58:40 +11:00
Mike Farah
a0e1f65b20
Better recursive decent docs
2021-02-11 10:58:40 +11:00
Mike Farah
8027f4c568
Better docIndex docs
2021-02-11 10:58:40 +11:00
Mike Farah
b13eb7083e
Better env docs
2021-02-11 10:58:40 +11:00
Mike Farah
b505240d09
Merged env commands in :eye-roll:
2021-02-11 10:58:40 +11:00
Mike Farah
7a184bef78
Env Ops!
2021-02-11 10:58:40 +11:00
Mike Farah
34bc33d5c5
strenv
2021-02-11 10:58:40 +11:00
Mike Farah
4d8b64d05c
wip
2021-02-11 10:58:40 +11:00
Mike Farah
2d9cc3c107
wip
2021-02-11 10:58:40 +11:00
Mike Farah
018a6e616d
Bump version
2021-02-11 10:58:40 +11:00
Mike Farah
7fa2b20b48
Error when passing files and using null-input flag
2021-02-11 10:58:40 +11:00
Mike Farah
316e0d4d5a
Bumped go yaml for comment hanlding fixes
2021-02-11 10:58:40 +11:00
Mike Farah
a0d4c51e27
Added webi
2021-02-11 10:58:40 +11:00
Mike Farah
ceff2cc18d
Added recurse examples
2021-02-11 10:58:40 +11:00
Mike Farah
db62a16007
Added another delete example
2021-02-11 10:58:40 +11:00
Mike Farah
2a6e423d2d
Can assign-update tag
2021-02-11 10:58:40 +11:00
Mike Farah
5a1b81cbfc
Can assign-update style
2021-02-11 10:58:40 +11:00
Mike Farah
8c1f7dfbd7
Can assign-update aliases and anchors
2021-02-11 10:58:40 +11:00
Mike Farah
2e81384eed
Can assign-update comments
2021-02-11 10:58:40 +11:00
Mike Farah
fbf36037c9
updating readme
2021-02-11 10:58:40 +11:00
Mike Farah
2957210e65
brew v3!
2021-02-11 10:58:40 +11:00
Mike Farah
bde419aaee
Updated collect objcet doc
2021-02-11 10:58:40 +11:00
Mike Farah
9b185a4409
Added shorthand document index selection
2021-02-11 10:58:40 +11:00
Mike Farah
0c777a4967
Unwrap node in get tag to return proper tag at root level
2021-02-11 10:58:40 +11:00
Mike Farah
e9591e0cd5
Added v3 snap instructions
2021-02-11 10:58:40 +11:00
Mike Farah
04491e13c3
Refactored doc generation, add fi fileIndex alias
2021-02-11 10:58:40 +11:00
Mike Farah
5aff50a345
Fixed updating yaml from other files
2021-02-11 10:58:40 +11:00
Mike Farah
90d55fb52a
update issue template, instruct questions to be raised in disussion
2021-02-11 10:58:40 +11:00
Mike Farah
e6f97518f3
fixed heading
2021-02-11 10:58:40 +11:00
Mike Farah
f4a44e7313
added tar.gz instructions
2021-02-11 10:58:37 +11:00
Mike Farah
edb5f213d7
updating readme
2020-12-31 09:22:22 +11:00
Mike Farah
5cfd9b05ee
updating readme
2020-12-31 09:22:18 +11:00
jonatasrenan and Mike Farah
0e764c59ce
wget version var missing a 'v' prefix.
2020-12-31 08:59:38 +11:00
Mike Farah
1b887e23b3
scripts/check works for local and docker build
2020-12-30 10:40:41 +11:00
Chris Warth and Mike Farah
a76b72e691
find golangci_lint through PATH
2020-12-30 10:30:53 +11:00
Mike Farah
9509831cff
Updated docs
2020-12-29 22:35:57 +11:00
Mike Farah
e92180e89d
updated release instructions
2020-12-29 09:59:16 +11:00
Mike Farah
a6ae33c3f1
Cleaning up release process, fixed github action version
2020-12-29 09:50:21 +11:00
Mike Farah
94a563dfd8
Updated docs
2020-12-28 11:57:20 +11:00
Mike Farah
0328cfd619
Added prettyPrint flag
2020-12-28 11:40:41 +11:00
Mike Farah
88663a6ce3
Added recurse keys operator
2020-12-28 11:24:42 +11:00
Mike Farah
b10a9ccfc6
Removed TraversePrefs
2020-12-28 10:29:43 +11:00
Mike Farah
9e9e15df73
More scenarios
2020-12-27 23:00:46 +11:00
Mike Farah
6cc6fdf322
Cleaning code
2020-12-27 22:56:15 +11:00
Mike Farah
a88c2dc5d3
Traverse Array Operator
2020-12-27 22:48:20 +11:00
Mike Farah
ea231006ed
Refactoring traverse
2020-12-27 09:55:08 +11:00
Mike Farah
80f187f1a4
Refactoring traverse
2020-12-27 09:51:34 +11:00
Mike Farah
98e8b3479f
Fixed nested array splat path
2020-12-25 12:49:05 +11:00
Mike Farah
eb539ff326
Fixed doc links
2020-12-23 10:37:51 +11:00
Mike Farah
c09f7aa707
Cleaning up docs
2020-12-23 10:30:13 +11:00
Mike Farah
7f5c380d16
v4.1.0
2020-12-23 10:23:54 +11:00
Mike Farah
6a05e517f1
Updated release instructions, remove gate for release
2020-12-23 10:23:09 +11:00
Mike Farah
8ee6f7dc1a
fixing xcompile for git action
2020-12-22 22:50:01 +11:00
Mike Farah
8bd54cd603
fixing xcompile for git action
2020-12-22 22:31:28 +11:00
Mike Farah
f2f7b6db0f
only tar executable files
2020-12-22 20:50:52 +11:00
Mike Farah
e082fee5d4
Fixed rhash call
2020-12-22 20:37:35 +11:00
Mike Farah
412911561f
Fixed xcompile.sh
2020-12-22 20:23:13 +11:00
Mike Farah
52ae633cb7
trialing github release actions
2020-12-22 20:05:23 +11:00
Mike Farah
9356ca59bb
trialing github release actions
2020-12-22 20:03:01 +11:00
Mike Farah
6dec167f74
trialing github release actions
2020-12-22 20:01:21 +11:00
Mike Farah
00f6981314
trialing github release actions
2020-12-22 19:56:56 +11:00
Mike Farah
4c60a2a967
trialing github release actions
2020-12-22 19:52:44 +11:00
Mike Farah
f4529614c4
trialing github release actions
2020-12-22 19:19:48 +11:00
Mike Farah
f059e13f94
automated docker releases!
2020-12-22 16:16:31 +11:00
Mike Farah
4dbf158505
playing with release action
2020-12-22 16:01:00 +11:00
Mike Farah
39a93a2836
playing with release action
2020-12-22 16:00:15 +11:00
Mike Farah
7c158fce26
playing with release action
2020-12-22 15:58:56 +11:00
Mike Farah
0bf43d2a55
playing with release action
2020-12-22 15:47:59 +11:00
Mike Farah
1b0bce5da6
Added alias operator;
...
alias, anchor and explode ops are now all documented together
2020-12-22 12:23:13 +11:00
Mike Farah
f112bde5fe
Added anchor operator
2020-12-22 11:57:41 +11:00
Mike Farah
e5aa4a87a4
fixed test name
2020-12-22 11:47:58 +11:00
Mike Farah
f305e8fa12
Fixed delete full path
2020-12-22 11:45:51 +11:00
Mike Farah
d2d0c2c111
Added missing flag
2020-12-22 10:40:20 +11:00
Mike Farah
2aab79431c
moved string space test to op values test cases
2020-12-22 10:38:52 +11:00
djajcevic and Mike Farah
540d4953f5
#607 Fix string value with spaces error
2020-12-22 10:29:21 +11:00
Mike Farah
7849232255
tar files to keep permissions of exectuable
2020-12-22 10:25:15 +11:00
Mike Farah
57cd67f055
Added compressed binaries for download managers and better file size
2020-12-21 21:40:08 +11:00
Mike Farah
6b17fd4fc1
Added trivy to docker build, bumped alpine image
2020-12-21 15:48:25 +11:00
Mike Farah
ca8cd78616
Add now uses crossFunction
2020-12-21 11:54:03 +11:00
Mike Farah
9876b0ce8f
Boolean operators now use the crossFunction util func
2020-12-21 11:42:35 +11:00
Mike Farah
a23272727d
Added Alternative op
2020-12-21 11:32:34 +11:00
Mike Farah
1fb37785d6
Better readme
2020-12-20 13:34:58 +11:00
Mike Farah
efb9027540
Merge branch 'v4'
2020-12-20 13:31:23 +11:00
Mike Farah
2577fe5425
Increment version
2020-12-20 13:29:12 +11:00
Mike Farah
f39c57fed9
Updating readme for imminent v4 release
2020-12-20 12:39:42 +11:00
Mike Farah
1e8f755e7c
Updating readme for imminent v4 release
2020-12-20 12:37:15 +11:00
Mike Farah
bb088f6aa2
Added better error reporting
2020-12-17 14:19:46 +11:00
Mike Farah
a96b74e779
Added better error reporting
2020-12-17 14:02:54 +11:00
Mike Farah
09a9e1e7f0
handle multiple document streams
2020-12-15 14:33:50 +11:00
Mike Farah
db60746e4e
Can now properly handle .a[] expressions
2020-12-09 12:15:14 +11:00
Shashank Veerapaneni and Mike Farah
8846255d1c
Update README.md
...
Fix the wget download command
2020-12-02 19:42:05 +11:00
Mike Farah
a3e422ff76
added another test
2020-12-01 18:10:10 +11:00
Mike Farah
2c3357702d
clarified pipe parsing tests
2020-12-01 18:08:41 +11:00
Mike Farah
c9dbf04da3
Added pipe and length docs, fix pipe precedence
2020-12-01 17:58:07 +11:00
Mike Farah and GitHub
fbe53885ae
Update README.md
2020-12-01 17:24:14 +11:00
Mike Farah
da027f69d7
updated cobra package
2020-12-01 16:16:20 +11:00
Mike Farah
8cd290c00b
incrementing version
2020-12-01 15:15:12 +11:00
Mike Farah
363fe5d283
Added sort keys operator
2020-12-01 15:06:54 +11:00
Mike Farah
773b1a3517
fixed create doc for eval-all
2020-12-01 14:23:27 +11:00
Mike Farah
cf4915d786
improved acceptance tests
2020-12-01 14:14:16 +11:00
Mike Farah
08f579f4e3
Fixed create yaml
2020-12-01 14:06:49 +11:00
Mike Farah
c9229439f7
added exit status
2020-11-30 16:35:21 +11:00
Mike Farah
9bc66c80b6
Added write-inlplace flag
2020-11-30 16:05:07 +11:00
Mike Farah
8de10e550d
wip - write in place
2020-11-29 20:25:47 +11:00
Mike Farah
1258fa199e
Updated lib todo list
2020-11-28 11:25:10 +11:00
Mike Farah
3a030651a3
Added append equals, merge append. Fixed creating numeric arrays
2020-11-28 11:24:16 +11:00
Mike Farah
3f48201a19
wip
2020-11-28 10:46:04 +11:00
Mike Farah
3cecb4e383
wip
2020-11-28 10:41:09 +11:00
Mike Farah
13679e51e2
Added get key examples
2020-11-26 11:20:53 +11:00
Mike Farah
f42728eef7
updated issue templates
2020-11-25 22:33:50 +11:00
Mike Farah
93136ba840
updated issue templates
2020-11-25 22:32:47 +11:00
Mike Farah
5665dc7b71
updated issue templates
2020-11-25 22:31:55 +11:00
Mike Farah
9302279dd2
updated issue templates
2020-11-25 22:22:16 +11:00
Mike Farah
5205f01248
Fixed recursive decent on empty objects/arrays
2020-11-25 15:01:12 +11:00
Mike Farah
0a66bb797d
4 alpha2
2020-11-25 13:32:32 +11:00
Mike Farah
5972bb2f23
attempt to fix pipeline
2020-11-25 11:17:28 +11:00
Mike Farah
ec43f5e7c3
go mod tidy
2020-11-25 11:06:43 +11:00
Mike Farah
1ce30b25dc
Add operator!
2020-11-24 13:07:19 +11:00
Mike Farah
3d6a231722
Added has operator
2020-11-24 11:38:39 +11:00
Mike Farah
3f04a1b52e
Fixed empty array op
2020-11-22 13:50:32 +11:00
Mike Farah
aed598c736
Fixing docs
2020-11-22 13:16:54 +11:00
Mike Farah
e9fa873af8
path operator singular
2020-11-22 12:22:15 +11:00
Mike Farah
064cff1341
added path operator!
2020-11-22 12:19:57 +11:00
Mike Farah
fc3af441e5
Extracted out evaluators
2020-11-22 11:56:28 +11:00
Mike Farah
e451119014
Added File operators
2020-11-20 23:08:12 +11:00
Mike Farah
d38caf6bc2
Added File operators
2020-11-20 22:57:32 +11:00
Mike Farah
4e385a1b93
get file wip
2020-11-20 15:50:15 +11:00
Mike Farah
356aac5a1f
fixed boolean example
2020-11-20 15:33:21 +11:00
Mike Farah
663413cd7a
Fixed typo
2020-11-20 15:31:49 +11:00
Mike Farah
f03005f86d
Fixed boolean ops
2020-11-20 15:29:53 +11:00
Mike Farah
bc87aca8d7
wip
2020-11-20 14:35:34 +11:00
Mike Farah
62f262147c
Attempt to fix git pipeline
2020-11-20 14:00:24 +11:00
Mike Farah
0259bb44c1
Updated readme
2020-11-20 13:55:18 +11:00
Mike Farah
c08980e70f
Set entrypoint to yq
2020-11-20 13:53:44 +11:00
bahetiamit and Mike Farah
e07a5b6065
Adding github action on release to publish multi-arch image
2020-11-20 13:48:35 +11:00
Mike Farah
f69a81b79b
Updated readme re v4
2020-11-19 22:56:13 +11:00
Mike Farah
9674acf684
Fixed docker file, fixed doco
2020-11-19 22:53:05 +11:00
Mike Farah
8e1ce4ca70
Updated todo
2020-11-19 22:12:34 +11:00
Mike Farah
9bd9468526
Minor fixes
2020-11-19 22:11:26 +11:00
Mike Farah
75044e480c
Added plain assignment
2020-11-19 17:08:13 +11:00
Mike Farah
36084a60a9
Added tag operator
2020-11-19 16:45:05 +11:00
Mike Farah
9b48cf80e0
updated todo
2020-11-18 20:43:36 +11:00
Mike Farah
bb3b08e648
wip style docs and test
2020-11-18 20:42:37 +11:00
Mike Farah
dcacad1e7e
docs
2020-11-18 10:32:30 +11:00
Mike Farah
3356061e1e
select doc
2020-11-18 09:52:03 +11:00
Mike Farah
2c062bc2a5
Added printer test
2020-11-18 09:52:03 +11:00
Mike Farah
088ec36acd
include docs for tracking
2020-11-18 09:50:52 +11:00
Mike Farah
83cb6421df
added test to ensure json keys remain in order
2020-11-17 16:17:38 +11:00
Mike Farah
a57944d123
Fixed printer
2020-11-16 12:09:57 +11:00
Mike Farah
79867473d5
updating release
2020-11-16 10:28:57 +11:00
Mike Farah
b3efcdc202
more docs
2020-11-15 10:58:47 +11:00
Mike Farah
af2aa9ad91
more docs
2020-11-15 10:50:30 +11:00
Mike Farah
db4762ef7c
more docs
2020-11-14 13:38:44 +11:00
Mike Farah
860655b4cd
Better documentation generation
2020-11-13 21:34:43 +11:00
Mike Farah
d91b25840a
Better documentation generation
2020-11-13 21:22:05 +11:00
Mike Farah
019acfe456
Better documentation generation
2020-11-13 20:58:01 +11:00
Mike Farah
ccb718cd0f
Moved macports to community, announced v4
2020-10-20 13:58:45 +11:00
Herby Gillot and Mike Farah
815edef86a
README: add instructions for installing with MacPorts
2020-10-20 13:50:10 +11:00
Mike Farah
cd83d94b6a
updating release instructions
2020-10-19 09:01:52 +11:00
Mike Farah
6afc2e9189
3.4.1
2020-10-19 08:40:59 +11:00