dependabot[bot]
e2f1d5ccf7
Bump go.yaml.in/yaml/v4 from 4.0.0-rc.5 to 4.0.0-rc.6 ( #2759 )
...
Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml ) from 4.0.0-rc.5 to 4.0.0-rc.6.
- [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.5...v4.0.0-rc.6 )
---
updated-dependencies:
- dependency-name: go.yaml.in/yaml/v4
dependency-version: 4.0.0-rc.6
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>
2026-06-29 16:54:05 +10:00
dependabot[bot]
16f149b351
Bump github.com/pelletier/go-toml/v2 from 2.4.0 to 2.4.2 ( #2762 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.4.0...v2.4.2 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-version: 2.4.2
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>
2026-06-29 16:53:39 +10:00
dependabot[bot]
5da9215306
Bump actions/setup-go from 6.4.0 to 6.5.0 ( #2763 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](4a3601121d...924ae3a1cd )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.5.0
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>
2026-06-29 16:53:18 +10:00
dependabot[bot]
e95bb7e472
Bump golang.org/x/net from 0.55.0 to 0.56.0 ( #2740 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.55.0 to 0.56.0.
- [Commits](https://github.com/golang/net/compare/v0.55.0...v0.56.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.56.0
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>
2026-06-23 11:11:00 +10:00
dependabot[bot]
2074319595
Bump golang.org/x/mod from 0.36.0 to 0.37.0 ( #2741 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/mod/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.37.0
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>
2026-06-23 10:04:36 +10:00
dependabot[bot]
be992d8add
Bump alpine from a2d49ea to 28bd5fe ( #2752 )
...
Bumps alpine from `a2d49ea` to `28bd5fe`.
---
updated-dependencies:
- dependency-name: alpine
dependency-version: '3'
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>
2026-06-23 10:04:28 +10:00
dependabot[bot]
637bb1fecd
Bump golang from 11fd8f7 to 792443b ( #2753 )
...
Bumps golang from `11fd8f7` to `792443b`.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.4
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>
2026-06-23 10:04:05 +10:00
dependabot[bot]
bc23b42789
Bump github.com/pelletier/go-toml/v2 from 2.3.1 to 2.4.0 ( #2754 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-version: 2.4.0
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>
2026-06-23 10:03:55 +10:00
dependabot[bot]
8e2c9b612d
Bump golang from 68cb6d6 to 11fd8f7 ( #2738 )
...
Bumps golang from `68cb6d6` to `11fd8f7`.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.4
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>
2026-06-16 16:46:10 +10:00
dependabot[bot]
0970cd4b05
Bump alpine from 5b10f43 to a2d49ea ( #2739 )
...
Bumps alpine from `5b10f43` to `a2d49ea`.
---
updated-dependencies:
- dependency-name: alpine
dependency-version: '3'
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>
2026-06-16 16:46:03 +10:00
dependabot[bot]
bf3591a234
Bump golang.org/x/text from 0.37.0 to 0.38.0 ( #2742 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.37.0 to 0.38.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.38.0
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>
2026-06-16 16:45:37 +10:00
dependabot[bot]
09f1565d51
Bump github/codeql-action from 4.35.2 to 4.36.2 ( #2743 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.35.2 to 4.36.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](95e58e9a2c...8aad20d150 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.36.2
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>
2026-06-16 16:29:01 +10:00
dependabot[bot]
13d340ff51
Bump sigstore/cosign-installer from 3.10.1 to 4.1.2 ( #2744 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.10.1 to 4.1.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](7e8b541eb2...6f9f177880 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-version: 4.1.2
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>
2026-06-16 16:28:52 +10:00
Mike Farah
5cf0adcc5b
Adding some tests
2026-06-09 14:23:11 +10:00
William Floyd
30e16a33c3
Fix for #2677 ( #2705 )
...
* Update docs given https://github.com/yaml/go-yaml/pull/348
* Fix for https://github.com/mikefarah/yq/issues/2677
Depends on https://github.com/yaml/go-yaml/pull/348
* Test for https://github.com/mikefarah/yq/issues/2677
* Remove redundant check and add test case for explicit `!!merge` on `*+` traversal
* Bump go.yaml.in/yaml/v4 from 4.0.0-rc.4 to 4.0.0-rc.5
2026-06-09 14:08:47 +10:00
Mike Farah
25dfcf280f
Switch to typos from cspell - no more npm
2026-06-07 20:09:44 +10:00
Mike Farah
91a166e8d8
Pinning using hashes
2026-06-07 19:57:15 +10:00
Mike Farah
f9b0d7e45d
Pinning using hashes
2026-06-07 19:49:39 +10:00
Mike Farah
48a851bf57
Fixing toml docs
2026-06-07 19:47:11 +10:00
Mike Farah
131aa0b7cc
pinning deps
2026-06-07 19:46:58 +10:00
Mike Farah
ef3c14f806
project words
2026-06-07 18:21:59 +10:00
Mike Farah
26434e221e
Process for SHA-pin github action
2026-06-07 18:19:13 +10:00
Mike Farah
0eebc242fb
New workflow for github action
2026-06-07 08:56:21 +10:00
Mike Farah
87a62da881
New workflow for github action
2026-06-07 08:54:17 +10:00
Mike Farah
ef507264e1
New workflow for github action
2026-06-07 08:50:24 +10:00
Mike Farah
2a40eb3d04
Bumping github action docker file
2026-06-07 08:45:27 +10:00
Mike Farah
e3cb1dc7c6
Fixing build
2026-06-07 07:03:26 +10:00
Mike Farah
1b9b4ac518
Bumping version
2026-06-06 20:59:47 +10:00
Mike Farah
9b67d655f1
Portable bump version
2026-06-06 20:59:43 +10:00
Mike Farah
f8850c043c
Preparting release
2026-06-06 20:57:28 +10:00
Mike Farah
c5a342359d
Refining
2026-06-06 19:14:59 +10:00
Mike Farah
196a99e912
Agent disclosure
2026-06-06 19:13:33 +10:00
Mike Farah
fa99bf12c3
Merging agents
2026-06-06 18:38:30 +10:00
Mike Farah
71117613d6
docs: add AGENTS.md with Cursor Cloud development instructions ( #2735 )
...
* docs: add AGENTS.md with Cursor Cloud development instructions
Co-authored-by: Mike Farah <mikefarah@users.noreply.github.com>
* docs: fix AGENTS.md spelling and note spellcheck before PR
Co-authored-by: Mike Farah <mikefarah@users.noreply.github.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Mike Farah <mikefarah@users.noreply.github.com>
2026-06-06 18:25:36 +10:00
Mike Farah
0cb1bbe698
Fixing test
2026-06-06 18:25:12 +10:00
Mike Farah
8fc8eedd3b
Minor doc update
2026-06-06 18:23:24 +10:00
Xie Benyi
7620a727b5
fix: reset INI decoder state on init ( #2719 )
2026-06-06 16:21:13 +10:00
Tony
6f9201a0ca
feat: add --ini-preserve-quotes flag for INI round-trip quote preservation ( #2728 )
...
Add INIPreferences.PreserveSurroundedQuote option that wires through to
go-ini/ini's LoadOptions.PreserveSurroundedQuote. When enabled, existing
surrounding quotes on INI values are preserved during decode/encode
round-trips.
Fixes #2456
Co-authored-by: toller892 <toller892@gmail.com>
2026-06-06 16:20:29 +10:00
dependabot[bot]
5b19ddbcd0
Bump docker/setup-buildx-action from 4.0.0 to 4.1.0 ( #2724 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](4d04d5d948...d7f5e7f509 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: 4.1.0
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>
2026-06-06 16:02:50 +10:00
dependabot[bot]
1ac2a3d96a
Bump docker/setup-qemu-action from 4.0.0 to 4.1.0 ( #2726 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](ce360397dd...06116385d9 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-version: 4.1.0
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>
2026-06-06 16:00:51 +10:00
dependabot[bot]
4a12c3f908
Bump golang.org/x/net from 0.54.0 to 0.55.0 ( #2725 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.54.0 to 0.55.0.
- [Commits](https://github.com/golang/net/compare/v0.54.0...v0.55.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.55.0
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>
2026-06-06 16:00:38 +10:00
dependabot[bot]
41377138ef
Bump docker/login-action from 4.1.0 to 4.2.0 ( #2727 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](4907a6ddec...650006c6eb )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: 4.2.0
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>
2026-06-06 15:53:24 +10:00
dependabot[bot]
ae5cf9ff04
Bump golang from 1.26.3 to 1.26.4 ( #2731 )
...
Bumps golang from 1.26.3 to 1.26.4.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.4
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>
2026-06-06 15:53:06 +10:00
dependabot[bot]
fe449b956a
Bump actions/checkout from 6.0.2 to 6.0.3 ( #2732 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](de0fac2e45...df4cb1c069 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.3
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>
2026-06-06 15:52:53 +10:00
Rayan Salhab
8f3291d316
fix: decode properties array bracket paths ( #2693 )
...
* fix: decode properties array bracket paths
* test: add nested array bracket properties decode case
---------
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
2026-05-15 22:22:06 +10:00
ChrisJr404
2861815f71
fix(json): preserve floats with trailing zero when encoding YAML to JSON ( #2701 )
...
YAML scalars tagged `!!float` were round-tripped through `float64` and
re-serialized by Go's JSON encoder, which strips the decimal part of
whole-number floats. As a result, `50.0` came out as `50` and a
sequence like `[50.0, 95.0, 99.0, 99.9]` became `[50,95,99,99.9]`,
turning a uniform array of floats into a mixed int/float array that
downstream consumers (Horreum, JSON Schema validators, jq, etc.)
reject.
The JSON spec does not distinguish ints from floats, but every common
JSON library (Go's `encoding/json`, Python's `json`, jq) preserves the
fractional form of values that came in as floats. yq's YAML decoder
already parses these as `!!float` with the original text intact, so we
can emit them verbatim instead of round-tripping.
`MarshalJSON` for `ScalarNode` now special-cases `!!float`:
- if `Value` is already a JSON-shaped number literal containing a `.`
or exponent, emit it verbatim (e.g. `50.0`, `99.9`, `1.5e-3`, `-7.0`);
- if `Value` is an integer-shaped string tagged `!!float` (e.g.
`!!float 5`), format the parsed float and append `.0` so it stays a
JSON number with a fractional part;
- otherwise (empty value, parse error, or non-finite result), fall back
to the existing encoding path so behaviour for `.inf` / `.nan` and
anything unusual is unchanged.
`!!int` nodes still encode as JSON integers.
Closes #2683
Signed-off-by: ChrisJr404 <chris@hacknow.com>
2026-05-14 20:00:34 +10:00
梦曦·花已落
fcb79822dd
feat(toml): fix JSON to TOML root scope and null handling ( #2689 )
...
Ensure root-level TOML attributes are emitted before table sections so fields like sort remain root-scoped. Skip null-valued object fields during TOML encoding
instead of converting them to empty strings.
2026-05-14 19:57:42 +10:00
dependabot[bot]
e9acb9b734
Bump golang.org/x/mod from 0.35.0 to 0.36.0 ( #2709 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/mod/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.36.0
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>
2026-05-14 19:56:57 +10:00
dependabot[bot]
83b282c413
Bump golang.org/x/net from 0.53.0 to 0.54.0 ( #2707 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.53.0 to 0.54.0.
- [Commits](https://github.com/golang/net/compare/v0.53.0...v0.54.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.54.0
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>
2026-05-14 19:38:12 +10:00
dependabot[bot]
54fa4324ea
Bump golang from 1.26.2 to 1.26.3 ( #2706 )
...
Bumps golang from 1.26.2 to 1.26.3.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.3
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>
2026-05-14 19:38:00 +10:00
Terminal Chai
ee6c30dac2
fix: reset TOML decoder finished flag on Init to fix multi-doc evaluation ( #2704 )
...
* fix: reset TOML decoder between files
* test: fix TOML regression fixture spelling
2026-05-14 19:37:43 +10:00
Rayan Salhab
722c9aa16c
Fix nested inline YAML merge explode ( #2699 )
...
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
2026-05-14 19:33:50 +10:00
dependabot[bot]
702dd16048
Bump github.com/pelletier/go-toml/v2 from 2.3.0 to 2.3.1 ( #2695 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-version: 2.3.1
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>
2026-05-14 19:31:08 +10:00
Rayan Salhab
d1dff4661b
fix: preserve TOML inline table array scope ( #2694 )
...
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
2026-05-14 19:30:52 +10:00
Copilot
cb97935554
fix: TOML encoder uses inline tables for YAML FlowStyle mappings, inconsistent with explicit JSON parsing ( #2687 )
...
* Initial plan
* fix: TOML encoder no longer treats YAML FlowStyle as inline tables
Remove FlowStyle checks from the TOML encoder. YAML flow-style mappings
are a YAML-specific rendering hint and should not influence TOML output.
Only nodes explicitly marked with EncodeHintInline (set by the TOML
decoder for actual TOML inline tables) will produce TOML inline table
syntax.
This fixes the bug where JSON auto-detected via the YAML parser (which
parses {} as flow-style mappings) would produce inline TOML tables
instead of readable table sections, while explicitly parsing with
-p json produced correct table sections.
Updated tests: YAML flow mappings now produce table sections (same as
block mappings), consistent with the fix. Added new test cases for the
JSON → TOML conversion via both YAML decoder (auto-detection) and JSON
decoder.
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/3e504870-b585-4998-af9c-a451e2f6a6a3
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-04-28 19:32:07 +10:00
Rayan Salhab
cfe2eee7e6
Preserve empty TOML arrays in tables ( #2686 )
...
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
2026-04-27 19:12:30 +10:00
dependabot[bot]
1a433d1035
Bump actions/upload-artifact from 4.6.1 to 7.0.1 ( #2663 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.1 to 7.0.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](4cec3d8aa0...043fb46d1a )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 7.0.1
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>
2026-04-26 09:40:39 +10:00
dependabot[bot]
1c0d8b9da9
Bump actions/checkout from 4.2.2 to 6.0.2 ( #2668 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.2 to 6.0.2.
- [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/v4.2.2...de0fac2e4500dabe0009e67214ff5f5447ce83dd )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
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>
2026-04-26 09:40:25 +10:00
dependabot[bot]
0110a3cea8
Bump golang.org/x/net from 0.52.0 to 0.53.0 ( #2669 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.52.0 to 0.53.0.
- [Commits](https://github.com/golang/net/compare/v0.52.0...v0.53.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.53.0
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>
2026-04-26 09:39:45 +10:00
dependabot[bot]
54482d44b3
Bump golang from 2a2b4b5 to 5f3787b ( #2664 )
...
Bumps golang from `2a2b4b5` to `5f3787b`.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.2
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>
2026-04-26 09:19:59 +10:00
dependabot[bot]
33f3351c01
Bump ossf/scorecard-action from 2.4.1 to 2.4.3 ( #2665 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.4.1 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](f49aabe0b5...4eaacf0543 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-version: 2.4.3
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>
2026-04-26 09:19:38 +10:00
dependabot[bot]
6cb656ced0
Bump alpine from 2510918 to 5b10f43 ( #2667 )
...
Bumps alpine from `2510918` to `5b10f43`.
---
updated-dependencies:
- dependency-name: alpine
dependency-version: '3'
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>
2026-04-26 09:19:22 +10:00
Terminal Chai
ecc43d7c9e
fix: reset TOML decoder between files when evaluating all at once ( #2685 )
...
* fix: reset TOML decoder between files
* test: fix TOML regression fixture spelling
2026-04-26 09:18:45 +10:00
Jan Dubois
1deec5e450
Fix repeatString overflow test on 32-bit platforms ( #2680 )
...
The test literal "ab" * 4611686018427387904 (2^62) exceeds MaxInt32,
so parseInt rejects it before the size guard runs. Compute the count
with 1 << (bits.UintSize - 2) to yield 2^30 on 32-bit and 2^62 on
64-bit. Both values, when doubled by len("ab"), wrap past MaxInt and
bypass a naive len*count guard, exercising the division-safe check
added in #2644 .
Signed-off-by: Jan Dubois <jan@jandubois.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-26 09:18:34 +10:00
dependabot[bot]
ff45fad14c
Bump github.com/zclconf/go-cty from 1.18.0 to 1.18.1 ( #2682 )
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.18.0...v1.18.1 )
---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
dependency-version: 1.18.1
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>
2026-04-26 09:17:34 +10:00
dependabot[bot]
6679d3c02b
Bump github/codeql-action from 3 to 4 ( #2671 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
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>
2026-04-22 21:04:18 +10:00
dependabot[bot]
54a7fc8f0c
Bump softprops/action-gh-release from 2.6.2 to 3.0.0 ( #2672 )
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 2.6.2 to 3.0.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](3bb12739c2...b430933298 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-version: 3.0.0
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>
2026-04-22 21:03:55 +10:00
dependabot[bot]
0d3ab07928
Bump golang.org/x/text from 0.35.0 to 0.36.0 ( #2670 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.36.0
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>
2026-04-22 21:02:08 +10:00
Mike Farah
d93987a93a
release notes
2026-04-17 16:04:18 +10:00
Mike Farah
751d8ad57b
Bumping version
2026-04-17 16:03:30 +10:00
Mike Farah
6dd681a7c0
Fixing release signing
2026-04-17 16:03:18 +10:00
Mike Farah
fc7c337d8f
Updating bump version script
2026-04-17 15:36:35 +10:00
Mike Farah
e969dd789f
Bumping version
2026-04-17 15:36:22 +10:00
Mike Farah
dc4b4ea1df
Preparing release notes
2026-04-17 15:31:40 +10:00
Mike Farah
602586d8fd
Create scorecard.yml
...
Signed-off-by: Mike Farah <mikefarah@gmail.com>
2026-04-14 18:43:11 +10:00
Copilot
9a0335abb2
fix: restrict GitHub Actions workflow token permissions (OSSF least-privilege) ( #2662 )
...
* Initial plan
* fix: add least-privilege token permissions to GitHub workflows (OSSF)
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/1b5db5e2-af78-4289-a6e0-2e972fc68ef1
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-04-13 19:11:10 +10:00
Mike Farah
838c51691c
Trying to test release
2026-04-12 19:54:34 +10:00
Mike Farah
c8f6c1a042
Updating release to sign checksums
2026-04-12 19:39:01 +10:00
Copilot
0e803833fb
chore: pin GitHub Actions and Docker base images to full-length hashes (OSSF scorecard) ( #2658 )
...
* Initial plan
* chore: pin GitHub Actions dependencies to specific commit SHAs (OSSF)
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/cbd03f0a-f2dc-4da4-b01c-7dd06ad83ee9
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* chore: pin Dockerfile base images to specific SHA digests (OSSF)
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/7a8f6690-37fb-42ab-b3dc-0dd23c270fbe
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* chore: revert yq pins in test-yq.yml; add release note for github-action/Dockerfile SHA
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/e1b35d79-92a3-47d5-b4ac-a2efe2fd58ce
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-04-12 19:31:32 +10:00
Copilot
30ca9ffde7
Add SECURITY.md security policy ( #2660 )
...
* Initial plan
* Add SECURITY.md with security policy
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/f9ff8a4c-addc-485b-abb8-4103394851a4
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-04-12 18:57:11 +10:00
Copilot
2927a28283
TOML encoder: prefer readable table sections over inline tables ( #2649 )
...
* Initial plan
* Fix TOML encoder to prefer readable table sections over inline tables
When converting from YAML/JSON to TOML, the encoder now always uses
readable TOML table section syntax ([section]) instead of compact inline
hash table syntax (key = { ... }), which better matches TOML's goal as
a human-focused configuration format.
Changes:
- decoder_toml.go: Mark inline TOML tables with FlowStyle so round-trips
can be distinguished from YAML flow mappings
- encoder_toml.go:
- encodeTopLevelEntry: use FlowStyle check instead of EncodeSeparate to
decide inline vs table section (all block mappings now become tables)
- encodeSeparateMapping: count FlowStyle children as attributes; use
recursive encodeSeparateMapping for nested non-flow mappings
- encodeMappingBodyWithPath: emit non-flow child mappings as sub-table
sections instead of inline tables
- toml_test.go: add encode (YAML→TOML) test scenarios, update roundtrip
expectations for inline tables (now expanded to table sections)
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/4824a219-6d5e-42e7-bca1-a8a277bf8c6a
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Fix TOML roundtrip: use TomlInline flag instead of FlowStyle to preserve inline tables
FlowStyle affected YAML decode output (causing inline tables to appear as
YAML flow mappings). Replace it with a new TOML-specific TomlInline bool
on CandidateNode that:
- Is set by the TOML decoder for inline tables (not FlowStyle)
- Is copied by UpdateAttributesFrom so it survives DeeplyAssign merges
- Is checked by the TOML encoder alongside FlowStyle (for YAML flow maps)
- Has no effect on the YAML encoder, preserving existing TOML→YAML output
TOML roundtrip tests are restored to their original expected values (inline
tables stay inline, table sections stay as sections).
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/f59bdf62-6d16-4664-991b-38eb87c9d81c
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Refactor EncodeSeparate+TomlInline into a single EncodeHint enum
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/24db9a8f-601d-4ccf-ada7-129ed3226bb6
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Fix stale comment in hasStructuralChildren
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/24db9a8f-601d-4ccf-ada7-129ed3226bb6
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Remove unused hasStructuralChildren method from tomlEncoder
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/2c234b77-28e9-4995-ba6f-9d213ec551a0
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-04-12 18:36:43 +10:00
Copilot
c47fe40a30
Fix TOML encoder to quote keys containing special characters ( #2648 )
...
* Initial plan
* Fix TOML encoder to quote keys with special characters
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/b2b52954-d13f-4e67-831a-16fdd3378de5
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Add test for dotted table section header with special character key
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/12c783dd-8b7f-43bf-b71a-e7a0b5e55fea
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Apply De Morgan's law to tomlKey condition to fix staticcheck QF1001
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/eeab0316-309f-418f-b357-11bbacffb471
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-04-12 14:27:20 +10:00
dependabot[bot]
8c018da9c9
Bump go.yaml.in/yaml/v4 from 4.0.0-rc.3 to 4.0.0-rc.4 ( #2579 )
...
* Bump go.yaml.in/yaml/v4 from 4.0.0-rc.3 to 4.0.0-rc.4
Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml ) from 4.0.0-rc.3 to 4.0.0-rc.4.
- [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.3...v4.0.0-rc.4 )
---
updated-dependencies:
- dependency-name: go.yaml.in/yaml/v4
dependency-version: 4.0.0-rc.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix test expectations for go.yaml.in/yaml/v4 rc.4 error message changes
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/e172bcc4-f547-4c9f-bcc5-ba61849d37e5
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-04-12 14:26:15 +10:00
Copilot
44c55c8a54
Add system(command; args) operator (disabled by default) ( #2640 )
...
* Initial plan
* Add system(command; args) operator with --enable-system-operator flag
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/8a11e9a0-10d2-4f2a-ae29-4e9d0bfc266f
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Update pkg/yqlib/operator_system.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Evaluate system command/args per matched node using SingleReadonlyChildContext
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/dca841eb-3f63-4f23-adeb-556431560420
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Add yqFlags to expressionScenario for doc command snippets; fix system op docs
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/3f8a5375-25fd-4428-a8e6-b630194c36b2
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Update pkg/yqlib/doc/operators/headers/system-operators.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update pkg/yqlib/doc/operators/system-operators.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Validate command node type and handle multiple results with debug log
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/928aabc5-ad71-41d8-94ab-403942e3f92d
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove deprecated --enable-system-operator alias; use --security-enable-system-operator consistently
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/286b95e9-b6d7-4ab8-b401-2d7a03853922
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Address deep review feedback: error on disabled, strict arg/cmd validation, debug logs, docs
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/fbfba2db-60ea-4c20-a4c2-0fd396b80c81
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
Co-authored-by: Mike Farah <mikefarah@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-10 20:06:46 +10:00
dependabot[bot]
22e609b2d9
Bump golang from 1.26.1 to 1.26.2 ( #2654 )
...
Bumps golang from 1.26.1 to 1.26.2.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.2
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>
2026-04-10 18:57:30 +10:00
Copilot
3b2423e871
Add string slicing support ( #2639 )
...
* Initial plan
* Add string slicing support to yq
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/a8525fbb-77a7-4bb0-a3a7-b24f99ae8710
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Fix sliceStringNode signature and fix test descriptions/expressions
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/58726b13-68ae-4f93-971f-eb70459edcf4
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Update pkg/yqlib/operator_slice.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix array slice out-of-bounds panic with very negative indices
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/7c146762-d251-45fd-8555-2488f59fc57b
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* S2-S4: tighten lexer condition, fix doc header, add Unicode example
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/ec06083e-e20a-45d2-bf7e-4e1fa7be1073
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
* Fix spelling: multibyte -> multi-byte in Unicode test subdescription
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/6e7b304b-5b52-4e89-8bad-ba22813305c7
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
Co-authored-by: Mike Farah <mikefarah@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-06 19:29:07 +10:00
dependabot[bot]
68f0322ba3
Bump softprops/action-gh-release from 1 to 2 ( #1978 )
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
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>
2026-04-06 18:53:44 +10:00
dependabot[bot]
d69c7d1a36
Bump github.com/yuin/gopher-lua from 1.1.1 to 1.1.2 ( #2642 )
...
Bumps [github.com/yuin/gopher-lua](https://github.com/yuin/gopher-lua ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/yuin/gopher-lua/releases )
- [Commits](https://github.com/yuin/gopher-lua/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: github.com/yuin/gopher-lua
dependency-version: 1.1.2
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>
2026-04-06 18:45:44 +10:00
Jan Dubois
b0ba9589d7
Fix findInArray misuse on MappingNodes in equality and contains ( #2645 )
...
recurseNodeObjectEqual and containsObject both used findInArray to
locate keys in a MappingNode's Content array. findInArray steps by 1,
so it matches against both keys (even indices) and values (odd indices).
In recurseNodeObjectEqual, when a null key in the LHS matched a null
value in the RHS at the last position, rhs.Content[indexInRHS+1]
accessed an out-of-bounds index, causing a panic.
In containsObject, a %2 guard prevented the panic but introduced false
negatives: when a null value appeared before the actual null key,
findInArray returned the value's odd index, the guard rejected it, and
the function reported the key as missing.
Both functions now use findKeyInMap, which steps by 2 and compares only
key positions. The %2 guard in containsObject is removed.
Reproducer for the panic (recurseNodeObjectEqual):
echo '? [{~: ~}]
: v1
? [{2: ~}]
: v2' | yq '. += .'
Reproducer for the false negative (containsObject):
printf '? 1\n: ~\n? ~\n: x\n' | yq 'contains({~: "x"})'
Found by OSS-Fuzz via the lima project's FuzzEvaluateExpression target.
https://issues.oss-fuzz.com/issues/383860504
Signed-off-by: Jan Dubois <jan@jandubois.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 18:30:44 +10:00
Jan Dubois
80139ae1cc
Fix panic on negative slice indices that underflow after adjustment ( #2646 )
...
sliceArrayOperator adjusts negative indices by adding Content length,
but does not clamp the result. When the absolute value of a negative
index exceeds Content length (e.g. .[-99999:3] on a 3-element array),
the adjusted index remains negative and causes an out-of-bounds access
in the Content slice loop.
Extract the adjust-and-clamp logic into clampSliceIndex and use it for
both index positions.
Reproducer (panics before this fix, returns full array after):
echo '[a, b, c]' | yq '.[-99999:3]'
Found by OSS-Fuzz via the lima project's FuzzEvaluateExpression target.
https://issues.oss-fuzz.com/issues/438776028
Signed-off-by: Jan Dubois <jan@jandubois.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 18:27:02 +10:00
Jan Dubois
0374ad6b4b
Fix stack overflow from circular alias in traverse ( #2647 )
...
go-yaml accepts cross-document alias references, which the YAML spec
forbids (anchors are scoped to a single document). When a nested
assignment targets such an alias, UpdateFrom copies the Alias field
between nodes, creating a self-referencing AliasNode. Both traverse()
and traverseArrayIndices() then follow this cycle indefinitely.
Extract resolveAliasChain(), which follows aliases iteratively with a
visited set and returns an error on cycles. Both traverse() and
traverseArrayIndices() now call it, eliminating the recursive alias
handling in both code paths.
Note: traverseMergeAnchor() also dereferences aliases (lines 358 and
371) but with single-step assignment, not recursion. A self-referencing
alias there falls through the kind switch silently rather than
crashing. Using resolveAliasChain() in that function would produce a
clear error instead of silently dropping the node.
Reproducer (stack overflow before this fix, returns error after):
echo '&-- a
---
*--' | yq eval-all '. = (.x = 1)'
Found by OSS-Fuzz via the lima project's FuzzEvaluateExpression target.
https://issues.oss-fuzz.com/issues/390467412
Signed-off-by: Jan Dubois <jan@jandubois.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 18:25:13 +10:00
Jan Dubois
2ef934281e
Fix panic and OOM in repeatString for large repeat counts ( #2644 )
...
The existing check (count > 10 million) does not account for string
length. A 68-byte string repeated 35 trillion times passes the count
check but panics in strings.Repeat with "makeslice: len out of range".
Smaller counts (e.g. 10 million * 6-byte string = 60 MB) cause OOM on
memory-constrained environments like OSS-Fuzz (2560 MB limit).
Replace the count-only check with a result size check: the product of
string length and repeat count must not exceed 10 MiB. Use division
(len > limit/count) instead of multiplication (len*count > limit) to
avoid integer overflow — a large count can wrap the product to a
negative value, bypassing the guard entirely.
Fixes at least four OSS-Fuzz bugs found via Lima's FuzzEvaluateExpression:
https://issues.oss-fuzz.com/issues/418818862 (makeslice overflow)
https://issues.oss-fuzz.com/issues/422001683 (timeout from huge alloc)
https://issues.oss-fuzz.com/issues/383195001 (OOM, 3 GB allocation)
https://issues.oss-fuzz.com/issues/385180606 (OOM, 97 TB allocation)
Signed-off-by: Jan Dubois <jan@jandubois.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 18:22:46 +10:00
dependabot[bot]
17f66dc6c6
Bump github.com/goccy/go-json from 0.10.5 to 0.10.6 ( #2636 )
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.10.5 to 0.10.6.
- [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.5...v0.10.6 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-json
dependency-version: 0.10.6
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>
2026-03-26 20:42:41 +11:00
dependabot[bot]
dcb9c2a543
Bump github.com/pelletier/go-toml/v2 from 2.2.4 to 2.3.0 ( #2637 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.4...v2.3.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-version: 2.3.0
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>
2026-03-26 20:42:19 +11:00
dependabot[bot]
8f5d876bf0
Bump github.com/fatih/color from 1.18.0 to 1.19.0 ( #2638 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.18.0...v1.19.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-version: 1.19.0
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>
2026-03-26 20:42:06 +11:00
Copilot
7d8d3ab902
Replace gopkg.in/op/go-logging.v1 with log/slog ( #2635 )
...
* Initial plan
* Replace gopkg.in/op/go-logging.v1 with log/slog
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/aa9c12f4-21b9-4633-9868-6b56585b247f
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2026-03-26 20:41:54 +11:00
Mike Farah
11f4dc1a03
Bumping version
2026-03-26 10:08:43 +11:00
Mike Farah
0f4fb8d35e
Bumping version
2026-03-26 10:03:01 +11:00
Mike Farah
80c319aa0c
Fixing tests with latest linting rules
2026-03-26 09:29:51 +11:00
Terminal Chai
b25ae78545
fix: reset TOML decoder state between files ( #2634 )
...
* fix: reset TOML decoder between files
* test: fix TOML regression fixture spelling
2026-03-26 09:16:21 +11:00
cobyfrombrooklyn-bot
b151522485
fix: preserve original filename when using --front-matter ( #2613 )
...
When using --front-matter, yq creates a temporary file for the
extracted YAML content but replaces the original filename in args
with the temp file path. This caused the 'filename' operator to
return the temp file path instead of the original filename.
Added a filename alias mechanism: when front matter processing
replaces the file path, it registers the original filename as an
alias. The readDocuments and stream evaluator functions resolve
aliases before setting candidateNode.filename.
Fixes #2538
Co-authored-by: cobyfrombrooklyn-bot <cobyfrombrooklyn@gmail.com>
2026-03-26 09:06:20 +11:00
dependabot[bot]
c5cbf9760b
Bump golang.org/x/net from 0.50.0 to 0.52.0 ( #2628 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.50.0 to 0.52.0.
- [Commits](https://github.com/golang/net/compare/v0.50.0...v0.52.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.52.0
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>
2026-03-21 14:03:38 +11:00
dependabot[bot]
b5cb9a2f20
Bump github.com/zclconf/go-cty from 1.17.0 to 1.18.0 ( #2616 )
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
dependency-version: 1.18.0
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>
2026-03-21 10:19:36 +11:00
dependabot[bot]
133ba767a6
Bump golang.org/x/mod from 0.33.0 to 0.34.0 ( #2629 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/mod/compare/v0.33.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.34.0
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>
2026-03-21 10:19:22 +11:00
dependabot[bot]
5db3dcf394
Bump golang.org/x/text from 0.34.0 to 0.35.0 ( #2630 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.34.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.35.0
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>
2026-03-21 10:11:12 +11:00
Oleksandr Redko
4c148178e2
Fix typo in filename ( #2611 )
2026-03-21 09:29:07 +11:00
dependabot[bot]
4df6e46f95
Bump docker/setup-buildx-action from 3 to 4 ( #2627 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: '4'
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>
2026-03-21 09:28:17 +11:00
Mike Farah
6a965bc39a
Bumping golint
2026-03-21 09:25:31 +11:00
dependabot[bot]
34d3a29308
Bump golang from 1.26.0 to 1.26.1 ( #2626 )
...
Bumps golang from 1.26.0 to 1.26.1.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.1
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>
2026-03-20 20:30:05 +11:00
dependabot[bot]
16e4df2304
Bump docker/login-action from 3 to 4 ( #2620 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: '4'
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>
2026-03-07 13:48:13 +11:00
dependabot[bot]
79a92d0478
Bump docker/setup-qemu-action from 3 to 4 ( #2621 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-version: '4'
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>
2026-03-07 13:47:56 +11:00
Mike Farah
88a31ae8c6
updating release notes
2026-02-14 18:43:51 +11:00
Mike Farah
5a7e72a743
Bumping version
2026-02-14 18:43:09 +11:00
Mike Farah
562531d936
Dropping windows/arm
2026-02-14 18:42:31 +11:00
Mike Farah
2c471b6498
Bumping version
2026-02-14 11:51:00 +11:00
Mike Farah
f4ef6ef3cf
Release notes
2026-02-14 11:50:51 +11:00
dependabot[bot]
f49f2bd2d8
Bump golang.org/x/mod from 0.31.0 to 0.33.0 ( #2606 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.31.0 to 0.33.0.
- [Commits](https://github.com/golang/mod/compare/v0.31.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.33.0
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>
2026-02-14 11:42:40 +11:00
dependabot[bot]
6ccc7b7797
Bump golang.org/x/net from 0.49.0 to 0.50.0 ( #2604 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.49.0 to 0.50.0.
- [Commits](https://github.com/golang/net/compare/v0.49.0...v0.50.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.50.0
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>
2026-02-14 11:32:58 +11:00
dependabot[bot]
b3e1fbb7d1
Bump golang from 1.25.6 to 1.26.0 ( #2603 )
...
Bumps golang from 1.25.6 to 1.26.0.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.0
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>
2026-02-14 11:32:47 +11:00
Mike Farah
288ca2d114
Fixing comments in TOML arrays #2592 ( #2595 )
2026-02-03 19:42:49 +11:00
Mike Farah
eb04fa87af
More tests
2026-02-01 10:27:18 +11:00
Mike Farah
2be0094729
Bumping version
2026-02-01 09:19:54 +11:00
Mike Farah
3c18d5b035
Preparing release
2026-02-01 09:19:45 +11:00
Mike Farah
2dcc2293da
Merge branch 'tomers-fix/toml-comments-table-scope-2588'
2026-02-01 09:14:32 +11:00
Mike Farah
eb4fde4ef8
Pulling out common code
2026-02-01 09:14:18 +11:00
Mike Farah
06ea4cf62e
Fixing spelling
2026-02-01 09:10:48 +11:00
Mike Farah
37089d24af
Merge branch 'fix/toml-comments-table-scope-2588' of github.com:tomers/yq into tomers-fix/toml-comments-table-scope-2588
2026-02-01 09:08:20 +11:00
Slava Ezhkin
7cf88a0291
Add regression test for go install compatibility #2587 ( #2591 )
2026-02-01 09:01:53 +11:00
Mike Farah
41adc1ad18
Fixing wrongly named instructions file
2026-02-01 08:53:12 +11:00
Tomer Shalev
b4b96f2a68
Fix TOML table parsing after standalone comments
...
Standalone TOML comments immediately inside a table/array-table no longer end the table scope, preventing subsequent keys from being flattened to the document root.
2026-01-31 14:41:30 +02:00
Mike Farah
2824d66a65
Multiply uses a readonly context #2558
2026-01-31 16:47:58 +11:00
Mike Farah
4bbffa9022
Fixed merge globbing wildcards in keys #2564
2026-01-31 15:44:50 +11:00
Mike Farah
bdeedbd275
Fixing TOML subarray parsing issue #2581
2026-01-31 15:25:11 +11:00
Mike Farah
3d918acc2a
Bumping version
2026-01-31 15:03:32 +11:00
Mike Farah
01005cc8fd
Preparing release notes
2026-01-31 15:03:23 +11:00
Mike Farah
c4468165f2
Formatting
2026-01-31 14:55:36 +11:00
sydarn
e35d32a0b6
buildfix: which -> command -v ( #2582 )
2026-01-31 14:51:56 +11:00
jfenal
78192a915b
feat: Add --yaml-compact-seq-indent / -c flag for compact sequence indentation ( #2583 )
...
Adds a new CLI flag that enables compact sequence indentation where '- ' is
considered part of the indentation. This leverages the CompactSeqIndent()
method from the underlying go.yaml.in/yaml/v4 library.
Example output with --yaml-compact-seq-indent:
parent:
items:
- one
- two
Instead of the default:
parent:
items:
- one
- two
Closes #1841
2026-01-31 14:50:01 +11:00
jfenal
c4f4e6d416
fix: TOML colorization now works when NO_COLOR env is set ( #2584 )
...
The colorizeToml function intended to force colors by setting
color.NoColor = false, but SprintFunc() still respects the NO_COLOR
environment variable. This caused TestTomlColourization to fail in
CI environments where NO_COLOR=1 is set.
Fixed by calling EnableColor() on each color object, which explicitly
forces colors regardless of environment settings.
Vibe-coded with Cursor (Claude Opus 4)
2026-01-31 14:49:42 +11:00
dependabot[bot]
5f90039bdc
Bump golang from 1.25.5 to 1.25.6 ( #2580 )
...
Bumps golang from 1.25.5 to 1.25.6.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.25.6
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>
2026-01-22 14:59:24 +11:00
Elias-elastisys
c6fa371d8d
Add symlink check to file rename util ( #2576 )
2026-01-22 13:43:32 +11:00
dependabot[bot]
3a27e39778
Bump actions/setup-go from 5 to 6 ( #2471 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
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>
2026-01-22 13:42:54 +11:00
TJ Miller
414a085563
Fix default command used for __completeNoDesc alias ( #2568 )
2026-01-22 13:41:42 +11:00
dependabot[bot]
542801926f
Bump github.com/goccy/go-yaml from 1.19.1 to 1.19.2 ( #2566 )
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.19.1 to 1.19.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.19.1...v1.19.2 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.19.2
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>
2026-01-21 10:17:43 +11:00
Robin H. Johnson
1bcc44ff9b
ci: ensure lint has goflags ( #2570 )
...
Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>
2026-01-21 10:17:26 +11:00
dependabot[bot]
a6f1b02340
Bump golang.org/x/net from 0.48.0 to 0.49.0 ( #2575 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.48.0 to 0.49.0.
- [Commits](https://github.com/golang/net/compare/v0.48.0...v0.49.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.49.0
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>
2026-01-21 10:15:44 +11:00
Flint Winters
f98028c925
Unwrap scalars in shell output mode. ( #2548 )
...
* feat: Add UnwrapScalar to ShellVariablesPreferences
- Add UnwrapScalar boolean field to ShellVariablesPreferences struct.
- Initialize UnwrapScalar to false in NewDefaultShellVariablesPreferences.
- This preference will control whether shell output should be quoted or raw.
* feat: Propagate unwrapScalar to ShellVariablesPreferences
- In configureEncoder function, set UnwrapScalar in ConfiguredShellVariablesPreferences.
- This ensures the -r flag's state is passed to the shell encoder for raw output control.
* feat: Implement conditional quoting in shellVariablesEncoder
- Modify doEncode method to check pe.prefs.UnwrapScalar.
- If UnwrapScalar is true, output raw node.Value.
- Otherwise, use quoteValue for shell-safe quoting.
- This enables quote-free output for Kubernetes workflows when -r is used.
* test: Add tests for UnwrapScalar in shell encoder
- Introduce assertEncodesToUnwrapped helper function.
- Add TestShellVariablesEncoderUnwrapScalar to verify quote-free output with -r.
- Add TestShellVariablesEncoderDefaultQuoting to confirm default quoting behavior without -r.
- Ensure comprehensive testing of conditional quoting logic for shell output.
* remove redundant test
2026-01-01 15:21:55 +11:00
Robin H. Johnson
c6029376a5
feat: K8S KYAML output format support ( #2560 )
...
* feat: K8S KYAML output format support
Reference: https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/5295-kyaml/README.md
Co-authored-by: Codex <codex@openai.com>
Generated-with: OpenAI Codex CLI (partial)
Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>
* build: gomodcache/gocache should not be committed
Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>
* chore: fix spelling of behaviour
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* build: pass GOFLAGS to docker to support buildvcs=false
In trying to develop the KYAML support, various tests gave false
positive results because they made assumptions about Git functionality
Make it possible to avoid that by passing GOFLAGS='-buildvcs=false' to
to Makefile.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* doc: cover documentScenarios for tests
Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>
* build: exclude go caches from gosec
Without tuning, gosec scans all of the vendor/gocache/gomodcache, taking
several minutes (3m35 here), whereas the core of the yq takes only 15
seconds to scan.
If we intend to remediate upstream issues in future; add a seperate
target to scan those.
Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>
---------
Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Co-authored-by: Codex <codex@openai.com>
2026-01-01 15:14:53 +11:00
Mike Farah
23abf50fef
Adding notoml directive to encoder
2025-12-26 11:08:24 +11:00
Mike Farah
64ec1f4aa7
Adding negative parent example
2025-12-26 10:53:42 +11:00
Mike Farah
4973c355e6
Bumping version
2025-12-20 19:21:32 +11:00
Mike Farah
ecbdcada9f
Preparing release
2025-12-20 19:21:24 +11:00
Mike Farah
029ba68014
Bump gosec version
2025-12-20 19:15:36 +11:00
Mike Farah
4a06cce376
Switch to uk ( #2557 )
...
* Setting golangci to UK english (that's what we use in AU)
* Fixing more spelling
* Fixing
* Include MD files in spell checker
2025-12-20 19:11:48 +11:00
Mike Farah
37e48cea44
Refining agents.md
2025-12-20 16:04:09 +11:00
Mike Farah
207bec6b29
whitespace
2025-12-20 16:01:07 +11:00
Mike Farah
7198d16575
Merge branch 'master' into toml_encoder
2025-12-20 15:58:57 +11:00
copilot-swe-agent[bot]
5d6c2047cf
Fix spelling: use British English Colourization
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 15:55:17 +11:00
copilot-swe-agent[bot]
7f60daad20
Add test for string escape bug and implement fix
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 15:55:17 +11:00
Mike Farah
b7cbe59fd7
Update pkg/yqlib/encoder_toml.go
...
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
2025-12-20 15:37:55 +11:00
copilot-swe-agent[bot]
9fa353b123
Add test coverage for parent(0) and parent(-3) edge cases
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 15:36:49 +11:00
Mike Farah
c6ecad1546
Support negative parent indices
2025-12-20 15:36:49 +11:00
Mike Farah
56eb3655b8
Formatting
2025-12-20 15:35:41 +11:00
copilot-swe-agent[bot]
1de4ec59f2
Merge remote-tracking branch 'origin/pr/2552' into copilot/sub-pr-2552
...
# Conflicts:
# pkg/yqlib/toml_test.go
2025-12-20 04:26:11 +00:00
copilot-swe-agent[bot]
c132c32731
Convert to UK English spelling (colourization, coloured)
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 04:17:39 +00:00
Mike Farah
0914121d29
Fixing number color issue
2025-12-20 15:12:30 +11:00
copilot-swe-agent[bot]
aa5134e645
Add test case and fix colorization bug for inline arrays in TOML
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-20 04:09:04 +00:00
Mike Farah
4d620bfa26
Update pkg/yqlib/encoder_toml.go
...
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
2025-12-20 15:07:00 +11:00
Mike Farah
b8d90fd574
Update pkg/yqlib/candidate_node.go
...
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
2025-12-20 15:05:03 +11:00
copilot-swe-agent[bot]
c1b81f1a03
Initial plan
2025-12-20 04:04:24 +00:00
Mike Farah
ea40e14fb1
Create *.instructions.md
2025-12-20 15:02:22 +11:00
Mike Farah
b974d973ee
spelling
2025-12-20 09:55:29 +11:00
dependabot[bot]
66ec487792
Bump github.com/goccy/go-yaml from 1.19.0 to 1.19.1
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.19.0 to 1.19.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.19.0...v1.19.1 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.19.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 10:19:44 +11:00
Mike Farah
161be10791
Comments!
2025-12-16 20:47:15 +11:00
Mike Farah
aa858520a8
Merge branch 'master' into toml_encoder
2025-12-16 14:27:22 +11:00
Mike Farah
ac2889c296
Fixed scalar encoding for HCL
2025-12-16 14:22:50 +11:00
Mike Farah
626624af7b
Adding tf to hcl format names
2025-12-16 14:17:38 +11:00
Mike Farah
b0d2522f80
Readme update
2025-12-16 14:05:58 +11:00
Mike Farah
2ee38e15b6
Adding HCL to readme
2025-12-15 11:45:08 +11:00
Mike Farah
4e9d5e8e48
wip
2025-12-15 11:40:28 +11:00
Mike Farah
1338b521ff
Colours!
2025-12-14 19:41:45 +11:00
Mike Farah
3a5323824f
Handles comments!
2025-12-14 19:33:00 +11:00
Mike Farah
8780172b33
Added missing fix in release notes
2025-12-14 19:05:55 +11:00
Mike Farah
5f9bf8d241
wip toml encoder
2025-12-14 19:03:54 +11:00
Mike Farah
065b200af9
Bumping version
2025-12-14 17:07:57 +11:00
Mike Farah
745a7ffb3c
Preparing release
2025-12-14 17:07:45 +11:00
dependabot[bot]
a305d706d4
Bump golang.org/x/net from 0.47.0 to 0.48.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.47.0 to 0.48.0.
- [Commits](https://github.com/golang/net/compare/v0.47.0...v0.48.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.48.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-14 08:45:25 +11:00
dependabot[bot]
0671ccd2cc
Bump github.com/zclconf/go-cty from 1.16.3 to 1.17.0
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.16.3 to 1.17.0.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.16.3...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-14 08:45:16 +11:00
dependabot[bot]
4d8cd450bd
Bump golang.org/x/text from 0.31.0 to 0.32.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.32.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-13 22:37:33 +11:00
Mike Farah
d2d657eacc
HCL improvements
2025-12-09 19:49:34 +11:00
Mike Farah
f4fd8c585a
Better roundtriping of HCL
2025-12-08 21:09:21 +11:00
Mike Farah
e4bf8a1e0a
Simplifying HCL decoder
2025-12-08 20:31:28 +11:00
copilot-swe-agent[bot]
fd405749f9
Add build tag to hcl_test.go to skip tests when HCL is disabled
...
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
2025-12-08 20:30:47 +11:00
Mike Farah
51ddf8d357
Update pkg/yqlib/format.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 20:30:47 +11:00
Mike Farah
77eccfd3db
Fixed comment parsing, added generated docs
2025-12-08 20:30:47 +11:00
Mike Farah
554bf5a2f2
colorise output
2025-12-08 20:30:47 +11:00
Mike Farah
8162f3a100
wip - comments
2025-12-08 20:30:47 +11:00
Mike Farah
48707369a0
wip - comments
2025-12-08 20:30:47 +11:00
Mike Farah
4f72c37de7
cleanup
2025-12-08 20:30:47 +11:00
Mike Farah
795f9c954c
Fixing formatting
2025-12-08 20:30:47 +11:00
Mike Farah
3d35386ad9
Update pkg/yqlib/decoder_hcl.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 20:30:47 +11:00
Mike Farah
154a4ace01
Update pkg/yqlib/encoder_hcl.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 20:30:47 +11:00
Mike Farah
effdfe1221
Update agents.md
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-08 20:30:47 +11:00
Mike Farah
8af768a015
wip
2025-12-08 20:30:47 +11:00
Mike Farah
5f3dcb1ccf
Fixed processing of block labels
2025-12-08 20:30:47 +11:00
Mike Farah
6270c29f54
Fixed processing of nested data
2025-12-08 20:30:47 +11:00
Mike Farah
df3101ce53
Refining
2025-12-08 20:30:47 +11:00
Mike Farah
65e79845d4
Refining
2025-12-08 20:30:47 +11:00
Mike Farah
b4d8131197
Adding HCL no build directive
2025-12-08 20:30:47 +11:00
Mike Farah
c75a2fad86
Use HCL encoder
2025-12-08 20:30:47 +11:00
Mike Farah
8d430cf41c
Use HCL encoder
2025-12-08 20:30:47 +11:00
Mike Farah
2e96a28270
adding agents file
2025-12-08 20:30:47 +11:00
Mike Farah
656f07d0c2
wip
2025-12-08 20:30:47 +11:00
Mike Farah
1852073f29
hcl - sorted decoding
2025-12-08 20:30:47 +11:00
Mike Farah
7d2c774e8f
maps and strings
2025-12-08 20:30:47 +11:00
Mike Farah
69076dfe81
wip
2025-12-08 20:30:47 +11:00
Mike Farah
9e17cd683f
First cut
2025-12-08 20:30:47 +11:00
Mike Farah
eb3d0e63e3
Fixing handling of CRLF #2352
2025-12-06 19:08:37 +11:00
dependabot[bot]
2072808def
Bump golang from 1.25.4 to 1.25.5
...
Bumps golang from 1.25.4 to 1.25.5.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.25.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-06 14:29:15 +11:00
dependabot[bot]
7d47b36b69
Bump github.com/spf13/cobra from 1.10.1 to 1.10.2
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.10.1...v1.10.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-version: 1.10.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-06 14:29:08 +11:00
dependabot[bot]
53f10ae360
Bump github.com/goccy/go-yaml from 1.18.0 to 1.19.0
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.18.0 to 1.19.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.18.0...v1.19.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.19.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-06 14:29:01 +11:00
dependabot[bot]
22510ab8d5
Bump actions/checkout from 5 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [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/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-06 14:28:39 +11:00
Alexander
588d0bb3dd
Bumped to core24 and removed riscv64
2025-11-26 09:31:58 +11:00
Mike Farah
7ccaf8e700
Bumping version
2025-11-25 10:45:39 +11:00
Mike Farah
a1a27b8536
Updating release notes
2025-11-25 10:45:35 +11:00
Mike Farah
1b91fc63ea
Removing escape char processing from strenv #2517
2025-11-25 10:44:03 +11:00
Mike Farah
9e0c5fd3c9
Fixing escape charaters again 😢 #2517
2025-11-25 10:17:43 +11:00
Alexander
5d0481c0d2
Running build step on launchpad remote builder with supported architectures
2025-11-25 08:55:36 +11:00
Alexander
f91176a204
Fixed architecture builders
2025-11-25 08:55:36 +11:00
Mike Farah
8e86bdb876
Attempting to fix snap again
2025-11-22 18:33:44 +11:00
Mike Farah
fc164ca9c3
Updating README with latest yq help
2025-11-22 15:04:39 +11:00
Mike Farah
810e9d921e
Syncing how-it-works from gitbook branch
2025-11-22 15:02:03 +11:00
Mike Farah
45be35c063
Bumping version
2025-11-22 14:52:48 +11:00
Mike Farah
39fbf01fa8
Fixing TOML ArrayTable parsing issues #1758
2025-11-22 14:49:49 +11:00
Mike Farah
306dc931a5
Fixing TOML ArrayTable parsing issues #1758
2025-11-22 14:35:07 +11:00
Mike Farah
f00852bc6c
Added flags to disable env and file ops #2515
2025-11-22 09:40:03 +11:00
Mike Farah
c716d157f2
Fixing parsing of escaped characters in strenv #2506
2025-11-16 09:22:21 +11:00
Mike Farah
e49e588ab5
Fixing parsing of escaped characters #2506
2025-11-16 09:12:13 +11:00
Mike Farah
389486829d
Updating release notes
2025-11-15 14:44:18 +11:00
Mike Farah
d32e71f25b
Updating release notes
2025-11-15 14:37:33 +11:00
Mike Farah
796317b885
Bumping version
2025-11-15 14:32:46 +11:00
Mike Farah
258b84a05e
Strip whitespace when decoding base64 #2507
2025-11-15 14:11:55 +11:00
dependabot[bot]
e056b91a00
Bump golang.org/x/net from 0.46.0 to 0.47.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.46.0 to 0.47.0.
- [Commits](https://github.com/golang/net/compare/v0.46.0...v0.47.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.47.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 14:11:03 +11:00
znley
85b0985a60
build: add linux/loong64 to release target
...
Signed-off-by: znley <shanjiantao@loongson.cn>
2025-11-15 11:36:53 +11:00
dependabot[bot]
874cbc4d3c
Bump golang.org/x/text from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 11:36:33 +11:00
Mike Farah
f6c780e793
Reverting test
2025-11-09 16:21:50 +11:00
Mike Farah
8c25f33df4
Merge in master
2025-11-09 16:19:04 +11:00
Mike Farah
2869919cb4
Merge branch 'master' into go-yaml-v4
2025-11-09 16:18:49 +11:00
Mike Farah
458d02f3ab
Bumping to go-yaml 4-rc3
2025-11-09 16:15:36 +11:00
Mike Farah
877a47cb19
Improving first op docs
2025-11-09 16:12:17 +11:00
Mike Farah
3050ca5303
Adding first operator
2025-11-09 16:12:17 +11:00
Navid
49b6477c49
Fix out of range panic in yaml decoder
2025-11-09 16:12:17 +11:00
Mike Farah
78bc9baffd
Added parents operator
2025-11-09 16:12:17 +11:00
Robert Lee
1f2b0fe76b
Add --shell-key-separator flag for customizable shell output format
...
- Add ShellVariablesPreferences struct with KeySeparator field (default: '_')
- Update shellVariablesEncoder to use configurable separator
- Add --shell-key-separator CLI flag
- Add comprehensive tests for custom separator functionality
- Update documentation with example usage for custom separator
This feature allows users to specify a custom separator (e.g. '__') when
outputting shell variables, which helps disambiguate nested keys from
keys that contain underscores in their names.
Example:
yq -o=shell --shell-key-separator='__' file.yaml
Fixes ambiguity when original YAML keys contain underscores.
2025-11-07 20:02:58 +11:00
dependabot[bot]
1228bcfa75
Bump golang from 1.25.2 to 1.25.4
...
Bumps golang from 1.25.2 to 1.25.4.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.25.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 19:44:03 +11:00
Mike Farah
7f72595a12
Cursor generated unit tests
2025-10-12 15:38:40 +11:00
Mike Farah
ff2c1c930c
Adding more tests
2025-10-12 14:50:41 +11:00
Mike Farah
36d410b348
Updating readme
2025-10-12 14:45:10 +11:00
Mike Farah
6dfe002058
Updating contrib doc
2025-10-12 14:37:05 +11:00
Mike Farah
ed4f468c97
Release notes
2025-10-12 14:33:02 +11:00
Mike Farah
8b2ba41c6c
Improving first op test
2025-10-12 14:32:28 +11:00
Mike Farah
0ecdce24e8
Bumping version
2025-10-12 14:21:13 +11:00
Mike Farah
01ac615e67
Updating contrib
2025-10-12 14:08:32 +11:00
dependabot[bot]
6629924dea
Bump github.com/alecthomas/repr from 0.5.1 to 0.5.2
...
Bumps [github.com/alecthomas/repr](https://github.com/alecthomas/repr ) from 0.5.1 to 0.5.2.
- [Commits](https://github.com/alecthomas/repr/compare/v0.5.1...v0.5.2 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/repr
dependency-version: 0.5.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-12 13:47:59 +11:00
dependabot[bot]
386935470d
Bump golang from 1.25.0 to 1.25.2
...
Bumps golang from 1.25.0 to 1.25.2.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.25.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-12 13:46:01 +11:00
dependabot[bot]
d5dd338707
Bump github/codeql-action from 3 to 4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-12 13:42:48 +11:00
dependabot[bot]
201542b522
Bump golang.org/x/net from 0.43.0 to 0.46.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.43.0 to 0.46.0.
- [Commits](https://github.com/golang/net/compare/v0.43.0...v0.46.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.46.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-12 13:42:37 +11:00
Bao Trinh
f3538850f2
fix: keep xml namespace prefixes for tags
2025-10-12 13:42:24 +11:00
Bao Trinh
df92decbe0
chore: add xml namespace prefix test cases
2025-10-12 13:42:24 +11:00
Mike Farah
23060cb8af
Improving first op docs
2025-09-19 14:59:19 +10:00
Mike Farah
4532346e13
Adding first operator
2025-09-10 18:47:52 +10:00
Navid
ff40a023cc
Fix out of range panic in yaml decoder
2025-09-09 20:45:53 +10:00
Mike Farah
7d49d408ef
Added parents operator
2025-09-09 20:27:11 +10:00
Mike Farah
02b28073bf
Fixing error reporting
2025-09-09 20:16:49 +10:00
Mike Farah
6957399dc0
Updating go-yaml from v3 to v4
2025-09-09 20:05:58 +10:00
Mike Farah
6251e95af8
Bumping version
2025-09-08 20:05:05 +10:00
Mike Farah
b2155ebb00
Preparing release
2025-09-08 20:04:59 +10:00
Mike Farah
911e3942e3
Bumping pflag
2025-09-08 20:01:58 +10:00
Louis Lombard
35d338cc24
modify empty table decode
2025-09-08 20:00:31 +10:00
dependabot[bot]
6d7aa384c4
Bump github.com/spf13/cobra from 1.9.1 to 1.10.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.9.1 to 1.10.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.9.1...v1.10.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-version: 1.10.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 19:45:13 +10:00
Mike Farah
e89001156a
Adding gah as a community supported install method
2025-09-04 14:23:06 +10:00
dependabot[bot]
c34edcf983
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [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/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 14:18:19 +10:00
dependabot[bot]
a46a5766fa
Bump golang from 1.24.5 to 1.25.0
...
Bumps golang from 1.24.5 to 1.25.0.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.25.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 14:17:49 +10:00
dependabot[bot]
af2f86828c
Bump golang.org/x/net from 0.42.0 to 0.43.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.42.0 to 0.43.0.
- [Commits](https://github.com/golang/net/compare/v0.42.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 14:17:12 +10:00
Jeremy L. Morris
76c817009f
Use ghcr.io instead of ghrc.io
2025-08-27 08:23:00 +10:00
Mike Farah
f03c9dc599
Bumping version
2025-07-23 14:03:02 +10:00
Mike Farah
023c85e1e2
Adding test for #2404
2025-07-23 13:46:15 +10:00
Mike Farah
a3d9e0172f
Prepping release notes
2025-07-23 13:42:07 +10:00
dependabot[bot]
ab3be228dc
Bump github.com/spf13/pflag from 1.0.6 to 1.0.7
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-version: 1.0.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 13:37:12 +10:00
dependabot[bot]
93fed3fd7a
Bump golang.org/x/net from 0.41.0 to 0.42.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/net/compare/v0.41.0...v0.42.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.42.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 13:37:03 +10:00
dependabot[bot]
f42534ea0f
Bump github.com/alecthomas/repr from 0.4.0 to 0.5.1
...
Bumps [github.com/alecthomas/repr](https://github.com/alecthomas/repr ) from 0.4.0 to 0.5.1.
- [Commits](https://github.com/alecthomas/repr/compare/v0.4.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/repr
dependency-version: 0.5.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 13:36:52 +10:00
Mike Farah
b968963ed4
Merge branch 'stevenwdv-merge-anchor-fix'
2025-07-23 13:32:57 +10:00
Mike Farah
92309b17a4
Fixed test doc gen
2025-07-23 13:31:25 +10:00
Mike Farah
d5757fc82b
Working on clarifying docs
2025-07-22 11:51:33 +10:00
Mike Farah
db2a4550e5
Fixed tests
2025-07-22 11:25:02 +10:00
Mike Farah
3018396ed2
wip: fixing key order
2025-07-22 10:50:52 +10:00
Mike Farah
84b095bbc4
Making examples of the merge fix flag clearer
2025-07-22 10:18:39 +10:00
Mike Farah
f35e57d901
Warn less about flag
2025-07-22 10:02:27 +10:00
Steven WdV
70ac3d6c7a
Add override behavior comments
2025-07-20 15:46:15 +02:00
Steven WdV
904215ef4d
Fix key overriding in regular maps for traversing
2025-07-20 15:37:45 +02:00
Steven WdV
41cc4fb4ac
Merge remote-tracking branch 'stevenwdv/merge-anchor-fix' into merge-anchor-fix
...
# Conflicts:
# pkg/yqlib/doc/operators/anchor-and-alias-operators.md
# pkg/yqlib/operator_anchors_aliases_test.go
2025-07-20 15:00:23 +02:00
Steven WdV
9c95a9f379
Unify reconstructAliasedMap & fixedReconstructAliasedMap
2025-07-20 14:59:17 +02:00
Steven WdV
a4720c089a
Merge remote-tracking branch 'origin/MakeExplodeGreatAgain' into merge-anchor-fix
...
# Conflicts:
# pkg/yqlib/doc/operators/anchor-and-alias-operators.md
# pkg/yqlib/operator_anchors_aliases.go
# pkg/yqlib/operator_anchors_aliases_test.go
2025-07-20 14:37:36 +02:00
Steven WdV
3431aebb2c
Add tests for accessing !!str <<
2025-07-20 13:28:14 +02:00
Steven WdV
ae87394f4a
Formatting
2025-07-20 13:24:48 +02:00
Mike Farah
23a7b173bf
Fixing merge anchor key order
2025-07-19 15:27:44 +10:00
stevenwdv
5e75db824b
UK spelling
2025-07-17 11:43:28 +02:00
Steven WdV
08ecd39a1e
Add tests for invalid merge key handling for traverse
2025-07-16 18:07:16 +02:00
Steven WdV
b7aa711d94
Add note
2025-07-16 18:02:51 +02:00
Steven WdV
a5b8ef6cb1
Add some tests regarding override behavior.
...
The one in fixedTraversePathOperatorScenarios still fails
2025-07-16 17:56:56 +02:00
Steven WdV
a47e882c8f
Flag for fixed list merge key traverse override behavior,
...
and fix traversing map with merge key that would override local key (completes #2110 fix)
2025-07-16 16:00:16 +02:00
Steven WdV
128bf80eed
Merge branch 'master' into merge-anchor-fix
2025-07-16 14:25:23 +02:00
Mike Farah
4019d42d60
Install specific version of gosec
2025-07-16 15:51:42 +10:00
Mike Farah
55daf6d93c
Fixed panic for syntax error when creating a map #2423
2025-07-16 15:35:12 +10:00
Mike Farah
8e731ac13c
Added "debug-node-info" flag for inspecting yq AST
2025-07-15 21:35:54 +10:00
ryenus
d0c897f5e6
skip format check for filenames ending with dot
...
also add a unit test for func FormatStringFromFilename to cover such case
2025-07-15 19:30:07 +10:00
Mike Farah
6e8cc00030
Added flag to fix #2110
2025-07-14 16:26:26 +10:00
Mike Farah
b9d9e2fbad
Moar tests
2025-07-11 22:00:20 +10:00
dependabot[bot]
a98921213f
Bump golang.org/x/text from 0.26.0 to 0.27.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 11:18:33 +10:00
dependabot[bot]
0153cccda9
Bump golang from 1.24.4 to 1.24.5
...
Bumps golang from 1.24.4 to 1.24.5.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 11:18:23 +10:00
Mike Farah
9b299649f7
Refactored initCommand
2025-07-11 10:17:21 +10:00
Mike Farah
369fe56e2d
Adding test file (CursorAI)
2025-07-11 09:59:59 +10:00
Steven WdV
8c06478ade
Remove now-unused badAliasSample
2025-07-10 15:03:44 +02:00
Steven WdV
fa6dc5c9fb
Move new merge test comments to description field
2025-07-10 15:03:41 +02:00
Mike Farah
422300457c
(attempt) to build snapcract for all architectures
2025-07-10 16:17:23 +10:00
cloudclaim
544bd9ff6f
chore: fix some minor issues in the comments
...
Signed-off-by: cloudclaim <824973921@qq.com>
2025-07-10 13:33:36 +10:00
Mike Farah
1187c954ec
Bumping version
2025-07-10 13:09:34 +10:00
Mike Farah
08d3789daa
Preparing release
2025-07-10 13:07:43 +10:00
Mike Farah
6a5e95ac84
Merge branch 'imzue-build-small-yq'
2025-07-10 13:06:54 +10:00
Mike Farah
221a5b1106
Adding tinygo to project words
2025-07-10 13:06:42 +10:00
Mike Farah
c10bfe0602
Switching to YAML org supported go-yaml
2025-07-10 13:04:54 +10:00
Mike Farah
99f88df21e
Switching to YAML org supported go-yaml
2025-07-10 13:01:09 +10:00
Zue
7696723d5c
Add more build tags to reduce binary size
2025-07-01 15:52:40 +08:00
Zue
a9f7cc1ebb
Add TinyGo build example
2025-07-01 13:28:10 +08:00
Zue
384d227efe
Add yq_noini tag to build-small-yq
2025-07-01 13:27:21 +08:00
Zue
25365a0f0b
Fix compilation errors when building build-small-yq
2025-07-01 13:26:26 +08:00
stevenwdv
78c096fa8f
Remove redundant logic
2025-06-17 15:56:13 +02:00
Steven WdV
ce9a4af0df
Fix inline map exploding when it contains aliases
2025-06-16 16:09:55 +02:00
Steven WdV
4734be9a4d
Fix excessive exploding for merge anchor
2025-06-16 13:53:28 +02:00
Steven WdV
4d88d51b1b
Fix precedence of merge anchor sequence for traverse (explode was already correct)
2025-06-16 13:36:42 +02:00
Steven WdV
31628e7324
Make merge anchor errors for traversing nonfatal
2025-06-16 13:33:42 +02:00
Steven WdV
bfcb3fc6b7
Fix merge anchor exploding
...
- Allow inline maps instead of just aliases
- Allow aliased sequences
- Disallow other types
- Use tag `!!merge` instead of key `<<`
- Fix insertion index for sequence merge
Closes #2386
2025-06-16 09:58:26 +02:00
Steven WdV
c3782799c5
Merge anchor traversing: add test for aliased sequence, cleanup
2025-06-16 09:56:10 +02:00
Steven WdV
162ea5437c
Fix merge anchor traversing
...
- Allow inline maps instead of just aliases
- Disallow nested sequences
- Disallow other types
Closes #2386
2025-06-13 19:08:36 +02:00
dependabot[bot]
40808838ba
Bump golang.org/x/net from 0.40.0 to 0.41.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.40.0 to 0.41.0.
- [Commits](https://github.com/golang/net/compare/v0.40.0...v0.41.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-13 10:47:51 +10:00
Mike Farah
176873e93a
Refining add op
2025-06-12 15:41:27 +10:00
dependabot[bot]
fd7e750040
Bump golang from 1.24.3 to 1.24.4
...
Bumps golang from 1.24.3 to 1.24.4.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 15:01:24 +10:00
Mike Farah
ff9d2acd4a
Preparing release notes (won't release till I get back from holiday)
2025-06-12 14:53:39 +10:00
Mike Farah
88bfbec97b
Fix add op when there are not matches piped in, #2383 , #2384
2025-06-12 14:48:10 +10:00
Antoine Deschênes
b15ce77cad
fix: correct key order after add, flatten, keys, sort, reverse and shuffle
...
Signed-off-by: Antoine Deschênes <antoine.deschenes@linux.com>
2025-06-07 21:04:26 +10:00
Mike Farah
b84fd47934
More goccy progress
2025-06-07 15:23:38 +10:00
dependabot[bot]
58e0cd2600
Bump github.com/goccy/go-yaml from 1.17.1 to 1.18.0
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.17.1 to 1.18.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.17.1...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-version: 1.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 10:51:48 +10:00
o.bilko
c58d9e7da4
fix tests
2025-05-17 18:55:53 +10:00
beliys
3ac203ebb8
Add INI support
2025-05-17 18:55:53 +10:00
Mike Farah
b534aa9ee5
Bumping version
2025-05-11 21:31:47 +10:00
Mike Farah
39a65b62d2
Updating release notes
2025-05-10 07:41:19 +10:00
Mike Farah
1e3006e951
Removing old issue template
2025-05-10 07:25:48 +10:00
Mike Farah
22949df0fd
Fixing running map against empty array bug #2359
2025-05-10 07:24:48 +10:00
Mike Farah
734e2cd254
Bumping version
2025-05-09 15:48:44 +10:00
Mike Farah
082b76affa
Preparing release notes
2025-05-09 15:48:13 +10:00
Mike Farah
5bc2cd03da
Bumping golang version
2025-05-09 15:45:28 +10:00
Mike Farah
20407a07a5
Adding more tests to prevent regression again :sweat
2025-05-09 15:40:29 +10:00
dependabot[bot]
0a83da6b38
Bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.3 to 2.2.4.
- [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.3...v2.2.4 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-version: 2.2.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-09 15:40:02 +10:00
dependabot[bot]
77da8b7d32
Bump golang from 1.24.2 to 1.24.3
...
Bumps golang from 1.24.2 to 1.24.3.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-09 15:39:48 +10:00
dependabot[bot]
a27db3aacc
Bump golang.org/x/net from 0.39.0 to 0.40.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/net/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-09 15:35:30 +10:00
dependabot[bot]
ed7fd54dac
Bump github.com/a8m/envsubst from 1.4.2 to 1.4.3
...
Bumps [github.com/a8m/envsubst](https://github.com/a8m/envsubst ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/a8m/envsubst/releases )
- [Commits](https://github.com/a8m/envsubst/compare/v1.4.2...v1.4.3 )
---
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>
2025-05-09 15:33:53 +10:00
Mike Farah
2c2487c0bd
Fixing Regression in #2353 , #2359 , #2325
2025-05-09 15:29:44 +10:00
Mike Farah
2c7cce0878
Line and Column working with Goccy, Fixed Anchor Map problem
2025-05-04 19:29:42 +10:00
Mike Farah
2bd08ea4e8
Dont panic on tests
2025-05-04 10:33:09 +10:00
Mike Farah
72fa3cca98
goccy decoder supports merge maps
2025-05-03 20:20:50 +10:00
Mike Farah
f89605e3c0
goccy yaml decoder supports anchor/aliases
2025-05-03 20:01:16 +10:00
Mike Farah
c59fa8de59
Bumping version
2025-05-03 16:40:24 +10:00
Mike Farah
ef8b520f89
Updating release notes
2025-05-03 16:39:36 +10:00
Mike Farah
20b5129120
Updating golanglint
2025-05-03 16:34:21 +10:00
Mike Farah
89518a09b8
Bumping golint
2025-05-03 15:58:14 +10:00
Mike Farah
d01ac7801d
Regen doc
2025-05-03 11:37:52 +10:00
Mike Farah
67520b5e7b
Adding windows arm build #2344
2025-05-03 11:37:52 +10:00
Romain Lebrun Thauront
7b6e61ba2c
Update README.md
2025-05-03 11:36:12 +10:00
Romain Lebrun Thauront
cf8621d9e3
Install to /usr/local in README install instruction
2025-05-03 11:36:12 +10:00
dependabot[bot]
340b897252
Bump github.com/spf13/cobra from 1.8.1 to 1.9.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.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>
2025-05-03 11:28:22 +10:00
n4zukker
4155c99a12
Typo in cats example
...
The quotation mark and closing parenthesis were swapped.
Before:
```
$ echo "Hello kitty" | yq eval 'test("(?i)cats)"'
Error: bad expression - probably missing close bracket on TEST
```
After:
```
$ echo "Hello kitty" | yq eval 'test("(?i)cats")'
false
```
2025-05-03 11:27:51 +10:00
dependabot[bot]
b26de94758
Bump github.com/magiconair/properties from 1.8.9 to 1.8.10
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.9 to 1.8.10.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.9...v1.8.10 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-version: 1.8.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-03 11:24:22 +10:00
dependabot[bot]
7dc5efee62
Bump golang.org/x/net from 0.34.0 to 0.39.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.34.0 to 0.39.0.
- [Commits](https://github.com/golang/net/compare/v0.34.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-03 11:24:12 +10:00
Alberto Cavalcante
2cb7498444
chore(release): add windows arm64 binary target for release
2025-05-03 11:23:55 +10:00
Alberto Cavalcante
649c9a083a
chore(check): use golangci-lint from GOPATH/bin as first option
2025-05-03 11:23:55 +10:00
Alberto Cavalcante
074d785396
chore(devtools): use curl instead of wget for better compatibility with MacOS
2025-05-03 11:23:55 +10:00
dependabot[bot]
de2f77b49c
Bump github.com/alecthomas/participle/v2 from 2.1.1 to 2.1.4
...
Bumps [github.com/alecthomas/participle/v2](https://github.com/alecthomas/participle ) from 2.1.1 to 2.1.4.
- [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.1...v2.1.4 )
---
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>
2025-04-05 21:36:59 +11:00
Ashok Pariya
fe06096514
Add s390x platform support to Docker release workflow
...
Updated the list of supported platforms in the GitHub Actions
Docker release workflow to include linux/s390x.
Signed-off-by: Ashok Pariya <ashok.pariya@ibm.com>
2025-04-05 20:18:39 +11:00
dependabot[bot]
40f2c2381b
Bump golang from 1.24.1 to 1.24.2
...
Bumps golang from 1.24.1 to 1.24.2.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 20:17:56 +11:00
dependabot[bot]
64bee0fbe3
Bump golang from 1.24.0 to 1.24.1
...
Bumps golang from 1.24.0 to 1.24.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 15:45:53 +11:00
dependabot[bot]
6e6575d5b0
Bump golang.org/x/text from 0.22.0 to 0.23.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.22.0...v0.23.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>
2025-03-25 15:45:42 +11:00
Oleksandr Redko
ce2ce51236
Remove mistakenly committed cover.out
2025-03-25 15:45:27 +11:00
Zoltán Reegn
c9766c1cab
Also push docker images to ghcr.io
...
With docker-hub starting to introduce a much stricter limit on anonymous
pulls, it makes sense to also host the image in ghcr.io as well,
allowing users flexibility in where they pull the docker images from.
Also with the github action it makes more sense hosting the docker image
on github infrastructure.
I've introduced a github action for logging into registries as well.
2025-03-25 15:45:15 +11:00
Mike Farah
337960a6d1
Fixing add when there is no node match #2325
2025-03-25 15:35:16 +11:00
damuzhi0810
1395d6e230
refactor: using slices.Contains to simplify the code
...
Signed-off-by: damuzhi0810 <rust@before.tech>
2025-03-25 15:10:25 +11:00
Mike Farah
ba1b9737b6
Added recursive update map keys example
2025-03-03 15:10:42 +11:00
dependabot[bot]
d74e70104f
Bump golang.org/x/text from 0.21.0 to 0.22.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.21.0...v0.22.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>
2025-02-22 11:19:34 +11:00
dependabot[bot]
15071ba393
Bump github.com/goccy/go-json from 0.10.4 to 0.10.5
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.10.4 to 0.10.5.
- [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.4...v0.10.5 )
---
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>
2025-02-22 11:19:24 +11:00
dependabot[bot]
a9495ff395
Bump github.com/spf13/pflag from 1.0.5 to 1.0.6
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-22 11:19:12 +11:00
dependabot[bot]
e176ec649f
Bump golang from 1.23.5 to 1.24.0
...
Bumps golang from 1.23.5 to 1.24.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-22 11:19:00 +11:00
dependabot[bot]
c34d3f7805
Bump golang from 1.23.4 to 1.23.5
...
Bumps golang from 1.23.4 to 1.23.5.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 22:04:08 +11:00
dependabot[bot]
99e24956b3
Bump github.com/elliotchance/orderedmap from 1.7.1 to 1.8.0
...
Bumps [github.com/elliotchance/orderedmap](https://github.com/elliotchance/orderedmap ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/elliotchance/orderedmap/releases )
- [Commits](https://github.com/elliotchance/orderedmap/compare/v1.7.1...v1.8.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>
2025-01-22 14:40:05 +11:00
dependabot[bot]
2bce6b2608
Bump golang.org/x/net from 0.33.0 to 0.34.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.34.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>
2025-01-22 14:39:55 +11:00
Mike Farah
f202d06d82
sort_by works on maps
2025-01-22 14:36:50 +11:00
Stephen Uridge
1508f1fd5f
Update docs and tests for --properties-separator flag
2025-01-22 09:53:51 +11:00
Mike Farah
8bf425b4d1
Bumping version
2025-01-12 14:17:39 +11:00
Mike Farah
f755755bb0
Updated release notes
2025-01-12 14:17:20 +11:00
Mike Farah
0f390b27aa
Bumping goccy
2025-01-12 14:13:31 +11:00
dependabot[bot]
31ad7fbaa2
Bump github.com/magiconair/properties from 1.8.7 to 1.8.9
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.7 to 1.8.9.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.7...v1.8.9 )
---
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>
2025-01-12 14:03:15 +11:00
dependabot[bot]
566cf82d08
Bump github.com/goccy/go-json from 0.10.3 to 0.10.4
...
Bumps [github.com/goccy/go-json](https://github.com/goccy/go-json ) from 0.10.3 to 0.10.4.
- [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.3...v0.10.4 )
---
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>
2025-01-12 14:03:05 +11:00
dependabot[bot]
2c9f8331c4
Bump github.com/elliotchance/orderedmap from 1.7.0 to 1.7.1
...
Bumps [github.com/elliotchance/orderedmap](https://github.com/elliotchance/orderedmap ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/elliotchance/orderedmap/releases )
- [Commits](https://github.com/elliotchance/orderedmap/compare/v1.7.0...v1.7.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>
2025-01-12 14:02:52 +11:00
dependabot[bot]
c02d44de63
Bump golang.org/x/net from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.32.0...v0.33.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>
2025-01-12 14:02:38 +11:00
Rudolf Thomas
f73c862cc5
feat: Create parent directories if --split-exp is used.
...
Problem: When --split-exp is used and produces filenames with slashes in
them, the target directories must already exist otherwise yq fails.
Fix/feature: Create the necessary directories with os.MkdirAll().
The permissions 0750 were chosen to satisfy the vulnerability checker.
2024-12-14 19:52:09 +11:00
Mike Farah
294a1709ad
Bumping version
2024-12-07 17:33:47 +11:00
Mike Farah
342efb23ff
Fixed panic on multipling string by very large number #2211
2024-12-07 16:53:40 +11:00
Mike Farah
2201381235
Fixed multiply string by negative number panic #2211
2024-12-07 16:28:59 +11:00
Mike Farah
5273715428
Fixed panic error #2211
2024-12-07 16:20:45 +11:00
Mike Farah
e204677ff8
Fixed no-colors regression #2218
2024-12-07 16:05:58 +11:00
Brian Egge
f76815959a
Create docker image for armv7 / raspberry pi3
2024-12-07 11:10:20 +11:00
Jan Dubois
c16b1800a0
Make sure to update the key when deleting array elements
2024-12-07 11:09:52 +11:00
dependabot[bot]
3bca3a23c0
Bump github.com/elliotchance/orderedmap from 1.6.0 to 1.7.0
...
Bumps [github.com/elliotchance/orderedmap](https://github.com/elliotchance/orderedmap ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/elliotchance/orderedmap/releases )
- [Commits](https://github.com/elliotchance/orderedmap/compare/v1.6.0...v1.7.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>
2024-12-07 11:03:57 +11:00
dependabot[bot]
70bef5b9d2
Bump golang.org/x/net from 0.31.0 to 0.32.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.32.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-12-07 11:03:23 +11:00
dependabot[bot]
ea2ba18ef4
Bump golang from 1.23.3 to 1.23.4
...
Bumps golang from 1.23.3 to 1.23.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 11:00:34 +11:00
Mike Farah
80310eaaac
Removing temp docker fix
2024-11-16 20:37:27 +11:00
Mike Farah
8391193732
Temp fix docker version
2024-11-16 20:34:50 +11:00
Mike Farah
d858ab1644
Removing riscv64 from docker build as its not supported by the base golang:1.23.2 image
2024-11-16 20:31:39 +11:00
Mike Farah
f1c7e5ca79
Updated release notes
2024-11-16 15:45:36 +11:00
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
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]
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]
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]
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
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
6908161f1f
replace error creation
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo
f168172bf4
remove unused variable parameters from functions
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo
3ce266bfa0
fix parameter order in error type comparison
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo
7eef1a454e
exclude lint errors to keep cobra params unchanged
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo
072491c656
remove lint exception no longer required
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo
18972b290a
replace deprecated megacheck with specific linters
2024-11-16 11:48:53 +11:00
Marco Vito Moscaritolo
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]
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]
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]
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]
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]
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]
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]
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
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
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
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
Bryan Honof
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
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
b80e1cb35e
Use static bin in snap ( #2090 )
2024-07-21 10:52:32 +10:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
21ba506edb
Fix: shell-completion ( #2006 )
...
* fix: shell-completion
* update: description
2024-04-22 14:15:36 +10:00
Matt Benson
b54d7eb21c
handle escaped backslashes ( #1997 )
2024-04-14 18:52:08 +10:00
dependabot[bot]
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
dependabot[bot]
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
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
101cf14b8c
min/max operators ( #1992 )
...
* min/max operators
* min, max operator headers
2024-03-30 13:34:36 +11:00
Matt Benson
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
dependabot[bot]
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
f5bfe5a248
omit operator ( #1989 )
2024-03-23 17:15:45 +11:00
Matt Benson
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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ä
eecc106529
Update JSON to YAML example for new JSON input output default ( #1875 )
2023-11-23 11:54:43 +11:00
Ville Skyttä
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
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
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
Samuel Mutel
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
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
05ad1dad90
Fix typos ( #1798 )
2023-09-26 14:18:18 +10:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
d14eaa9b49
fix: runtime error: invalid memory address or nil pointer dereference ( #1649 )
2023-05-04 14:43:48 +10:00
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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)
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
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
dependabot[bot]
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
69d3e3f3f8
Add support for decoding base64 strings without padding ( #1604 )
2023-03-18 14:30:35 +11:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
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
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
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
dependabot[bot]
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
dependabot[bot]
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
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
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
dependabot[bot]
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
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
d119dbc239
Upgrading golang.org/x/net package ( #1540 )
2023-02-02 11:56:36 +11:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
Mike Farah
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
8df8d89c6d
Upgraded golang/x/text and golang/x/net to fix trivy scan vulnerabilities ( #1461 )
2022-12-06 20:48:47 +11:00
dependabot[bot]
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
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
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
dependabot[bot]
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
d99614f55a
Slice array ( #1403 )
2022-10-29 18:15:21 +11:00
Mike Farah
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
dependabot[bot]
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
dependabot[bot]
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
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
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
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
a44938101d
Document dynamic get and output in GitHub Action ( #1303 )
2022-08-14 10:40:41 +10:00
dependabot[bot]
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
dependabot[bot]
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
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
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
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
dependabot[bot]
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
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
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
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
dependabot[bot]
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
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
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
6f4702a230
Added action to automatically prepare a branch for the alpine package update ( #1171 )
2022-04-12 08:51:27 +10:00
Naveen
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
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
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
78e9cc7998
Envsubst params ( #1147 )
...
* Can give envsubst optional arguments
2022-03-20 10:56:50 +11:00
justin-f-perez
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
dependabot[bot]
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
dependabot[bot]
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
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
dependabot[bot]
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
dependabot[bot]
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
b35893d783
Date Time Ops ( #1110 )
...
* Added datetime operators
* Added date subtract support
2022-02-14 15:37:43 +11:00
whi-tw
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
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
dependabot[bot]
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
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
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
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
dependabot[bot]
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
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
dependabot[bot]
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
eac75f7dad
Arch Linux install instructions ( #1059 )
2022-01-03 09:20:38 +11:00
robertomier
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
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
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
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
dependabot[bot]
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
dependabot[bot]
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
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
Rob Ferguson
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
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
15d7c9e118
enable misspell linter
2021-11-25 22:01:30 +11:00
Paul S
3e82171f18
Clean up errored file?
...
Probably a leftover of shell testing?
2021-11-25 10:46:47 +11:00
Rob Ferguson
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
8711042c98
enable errorlint linter
2021-11-24 09:14:02 +11:00
Ben Burke
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
183007d120
simplify prod stage, move version label to action
2021-11-22 09:47:28 +11:00
AJ ONeal
207d863edf
Update install-man-page.sh
2021-11-21 17:46:49 +11:00
AJ ONeal
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
76841fab3b
Update check.sh
2021-11-16 16:20:50 +11:00
Matthieu MOREL
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
e7d4dc9581
Update go.yml
2021-11-09 08:25:26 +11:00
Matthieu MOREL
b086bee7c3
Update dependabot.yml
2021-11-09 08:25:26 +11:00
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
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
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
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
e87808683a
Skip the tests if the nocheck Debian build option is specified
2021-10-07 13:44:16 +11:00
Emmanuel Bourg
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
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
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