Skip to content

Releases: clux/lq

0.15.0

08 May 22:29
0.15.0
1da506e
Compare
Choose a tag to compare

What's Changed

Uppercase Shorthands

  • -T as a shorthand for --input=toml
  • -J as shorthand for --input=json

e.g. lq -tT is a toml to toml querier, with jq round-tripping.

Indexmaps for Key Ordering

All supported formats now preserve key orderings for any query and transformation. Key order is stable under format change.

Changes

  • Add input flag aliases and improve docs by @clux in #63
  • Preserve key ordering by @clux in #65

Dependencies

  • Bump toml from 0.8.21 to 0.8.22 in the rust group by @dependabot in #62

Full Changelog: 0.14.0...0.15.0

0.14.0

27 Apr 21:37
0.14.0
9fe6759
Compare
Choose a tag to compare

What's Changed

When passing a file as the input (rather than stdin), we now infer the input format from the file extension.

    $ lq . doc.json
    $ lq . doc.yaml / $ lq . doc.yml
    $ lq . doc.toml

Changes

  • Infer input type from extension when it is set by @clux in #60

Dependencies

  • Bump the rust group across 1 directory with 6 updates by @dependabot in #61

Full Changelog: 0.13.0...0.14.0

0.13.0

06 Jan 08:53
0.13.0
dc49945
Compare
Choose a tag to compare

What's Changed

You can now split multidoc input into multiple files with filenames determined by a single-doc key:

$ lq '.' --split '"test/split/" + (.metadata.name) + "_" + (.kind | ascii_downcase) + ".yaml"' ./test/deploy.yaml -y

Changes

Full Changelog: 0.12.2...0.13.0

0.12.2

28 Oct 20:16
0.12.2
33eb219
Compare
Choose a tag to compare

Fixes cargo binstall lq.

Full Changelog: 0.12.1...0.12.2

0.12.1

28 Oct 19:56
0.12.1
9e9f1d5
Compare
Choose a tag to compare

EXECUTABLE RENAMED to lq

yq -> lq.

For interop issues and not wanting to wage a holy war against the go version.

please add aliases as you see fit if you want to use as yq for muscle memory:

alias yq='lq --input=yaml'
alias tq='lq --input=toml'

but otherwise, this project is interoperable now. CI users, please symlink to old to avoid breaking or upgrade in lockstep with CI referencing the yq executable.

Dependencies

Changes

Full Changelog: 0.10.2...0.12.1

0.10.2

06 Mar 21:39
0.10.2
a9cffd5
Compare
Choose a tag to compare

What's Changed

Dependencies

Changes

  • Avoid sigpipe errors without pulling in libc by @clux in #45

Full Changelog: 0.10.1...0.10.2

0.10.1

09 Jan 03:40
0.10.1
f28b9aa
Compare
Choose a tag to compare

What's Changed

Dependencies

Full Changelog: 0.10.0...0.10.1

0.10.0

14 Nov 13:26
0.10.0
a46e405
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.9.0...0.10.0

0.9.0

01 Nov 22:21
0.9.0
60b0523
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.2...0.9.0

0.8.2

19 Sep 09:25
0.8.2
2174a5e
Compare
Choose a tag to compare

What's Changed

  • Allow eliding the jq_query by @clux in #19

Full Changelog: 0.8.1...0.8.2