Skip to content

Releases: clux/lq

0.16.0

22 Apr 07:48
0.16.0
e9d503c

Choose a tag to compare

What's Changed

Switching over to serde-saphyr.

Changes

  • Edition 2024 + msrv bump by @clux in #75
  • switch over from serde-yaml to serde-saphyr by @clux in #82
  • bump all actions by @clux in #87
  • pin serde-saphyr by @clux in #89

Dependencies

Full Changelog: 0.15.0...0.16.0

0.15.0

08 May 22:29
0.15.0
1da506e

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

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

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

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

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

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

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

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

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.2...0.9.0