ce3131723a
Pr 2825 ( #2836 )
...
* disable hard line wrapping
The formatting defaults of the used YAML library changed.
Since yq has no mechanism for the user to override them,
change them back to what we used before.
* Clamp YAML indent and close dumper after encoding.
Clamp indent to the library's 2-9 range, wrap dumper setup errors with %w,
and always close the dumper after dump.
Co-authored-by: Cursor <cursoragent@cursor.com >
---------
Co-authored-by: Maximilian Gaß <m.gass@babiel.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 15:59:11 +10:00
Mike Farah
ce7026e319
Bumping version
2026-08-19 14:32:17 +10:00
Mike Farah
62ac0c6b07
Release notes
2026-08-19 14:29:08 +10:00
Mike Farah and Cursor
2ba1b902aa
Merge master into fix/hcl-nonstring-key-panic-2795
...
Resolve conflict in decoder_hcl.go by keeping typed object keys via
convertCtyValueToNode (preserves int/bool/float keys in YAML) rather than
coercing all keys to strings. Retain PR test case for integer key with
empty object value, adapted to typed key output.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 13:52:03 +10:00
Mike Farah
6a182b6a30
Fixing HCL non string key issue #2795
2026-08-19 13:50:42 +10:00
Mike Farah
7862131c9c
Generalising the empty array fix to map
2026-08-03 13:31:47 +10:00
Mike Farah
5cf0adcc5b
Adding some tests
2026-06-09 14:23:11 +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
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
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 and GitHub
602586d8fd
Create scorecard.yml
...
Signed-off-by: Mike Farah <mikefarah@gmail.com >
2026-04-14 18:43:11 +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
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
Mike Farah
6a965bc39a
Bumping golint
2026-03-21 09:25:31 +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
Mike Farah and GitHub
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
Mike Farah
41adc1ad18
Fixing wrongly named instructions file
2026-02-01 08:53:12 +11: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
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 and GitHub
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
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
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
Mike Farah
0914121d29
Fixing number color issue
2025-12-20 15:12:30 +11:00
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
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
Mike Farah and GitHub
ea40e14fb1
Create *.instructions.md
2025-12-20 15:02:22 +11:00
Mike Farah
b974d973ee
spelling
2025-12-20 09:55:29 +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
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
Mike Farah and Copilot
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