flintwinters
fe0ed2a8b1
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.
2025-12-30 21:22:07 -05:00
flintwinters
c859948ca9
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.
2025-12-30 21:22:07 -05:00
flintwinters
a84c2eb92c
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.
2025-12-30 21:22:07 -05: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
8780172b33
Added missing fix in release notes
2025-12-14 19:05:55 +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