viq
aa8a2bd422
Make checksums file usable by common tools
...
Adding flag --bsd makes rhash output checksums in a format compatible
with common tools, like sha256sum, and makes it obvious what algorithm a
particular checksum was calculated for, at the expense of making the
checksums file larger. This allows for the checksums file to be used
directly by tools understanding traditional format, like Ansible or
Salt, and obviates the existence of extract-checksum.sh script.
2023-06-09 15:38:56 +02: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