Skip to content

Releases: Blacksmoke16/oq

`ARGV` parsing refactor

01 May 01:00
c33d41e
Compare
Choose a tag to compare

Changes

  • ARGV parsing refactor #58
    • Better supports files and multiple arguments

Better handle empty JSON array to XML

22 Apr 15:55
e8dafaf
Compare
Choose a tag to compare

Bug Fixes

  • Dont emit anything for empty JSON arrays #56

Release 1.0.2

12 Apr 17:01
ee40e9e
Compare
Choose a tag to compare

Bug Fixes

  • Better handle some cases #55
    • Correctly sets JSON value content when XML content is blank
    • Sets mixed content #text value if there is a single text node child

Changes

  • Support wrapping XML value in CDATA #54
    • When converting to XML, JSON keys prefixed with ! will have the value wrapped in <![CDATA[]]. See the specs for an example.
  • Switch CI to GH actions #47

Fix jq argument passing & add docs on using oq with Docker

21 Jan 20:08
f803983
Compare
Choose a tag to compare

Bug Fixes

  • Remove unneeded escape sequences (#45)

Changes

  • Add support for additional jq arguments (#43)
  • Update readme to include usage instructions for Docker (#44)

Release 1.0.0

16 Dec 17:03
f11ca70
Compare
Choose a tag to compare

Bug Fixes

  • Fix output getting cutoff on MacOS (#29)

Changes

  • Add support for XML as an input format (#37)
  • Fix typo in readme (#40)

Some bug fixes

11 Aug 22:59
45f09d5
Compare
Choose a tag to compare

Bug Fixes

  • Return the correct error code on jq process failures (#25)
  • Check libyaml version to deflake YAML specs (#24)

Changes

  • Updated MacOS install instructions (#28)
  • Migrate json.kind to use enum syntax as it is now deprecated (#30)

IO Streaming + CLI improvements

06 Aug 12:22
9f50edc
Compare
Choose a tag to compare

Bug Fixes

  • Fix the -h and --help options on the oq binary (#15)
  • Better define how JSON arrays are translated into XML (#17)
  • Correctly null values in XML (#8)

New Features

  • Ability to omit the XML prolog (#14)
  • Add a -V/--version to output the current jq and oq versions
  • Input/Output for all formats (except input YAML due to anchors/aliases, see #20) is now streamed directly to/from jq.
    • Allows oq to simply act as a "proxy" and not have to load the data into memory.
    • Big thanks to @asterite for the initial gist that made this possible.

Optimize Input/Output

13 Jul 17:44
1e54456
Compare
Choose a tag to compare

Optimizes IO when the input or output format is JSON. Allows oq to act as a simple proxy to jq when no conversion is needed.

Initial Release

07 Jul 23:16
e5fa156
Compare
Choose a tag to compare

Initial release of oq.