Commit Graph

1588 Commits

Author SHA1 Message Date
Mike Farah
4eca302efc yaml includes comments 2023-04-15 14:10:12 +10:00
Mike Farah
c38841ce20 wip 2023-04-13 15:40:41 +10:00
Mike Farah
2de69a19f5 wip 2023-04-13 14:53:14 +10:00
Mike Farah
27fa4e10b8 wip 2023-04-13 14:44:39 +10:00
Mike Farah
08c93f0f1f wip 2023-04-13 14:34:34 +10:00
Mike Farah
1421a5a879 wip 2023-04-12 19:04:21 +10:00
Mike Farah
eb7844dd1d wip 2023-04-11 15:33:32 +10:00
Mike Farah
b4cdcfb32e wip 2023-04-11 12:39:22 +10:00
Mike Farah
b74edd43da Merge branch 'master' into generic_ast 2023-04-11 12:10:29 +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
Mike Farah
fe8f46d475 wip 2023-04-10 14:13:28 +10:00
Mike Farah
4c6c653d25 wip 2023-04-09 11:14:51 +10:00
Mike Farah
4696d11bbc wip 2023-04-08 21:42:46 +10:00
Mike Farah
e4dd94248b wip 2023-04-08 21:27:47 +10:00
Mike Farah
6e3f1d959e wip 2023-04-08 20:17:13 +10:00
Mike Farah
66ab916c6b wip 2023-04-08 19:56:35 +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
52b364ec52 wip 2023-04-03 22:25:37 +10:00
Mike Farah
54f5c9ee2f wip 2023-04-03 17:29:33 +10:00
Mike Farah
8fef31b417 wip 2023-04-03 17:27:41 +10:00
Mike Farah
6a891e5239 wip 2023-04-03 16:16:07 +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