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