Skip to content

Releases: Blacksmoke16/oq

v1.3.5

04 Apr 01:53
a81bcc8
Compare
Choose a tag to compare

Changes

Fixes

New Contributors

Handle reading null JSON values when creating CDATA elements

16 Aug 16:06
a60acdd
Compare
Choose a tag to compare

Fixed

  • Handle reading null JSON values when creating CDATA elements by @Blacksmoke16 in #111

Fix Typos in docs

13 Aug 05:02
3423c89
Compare
Choose a tag to compare

Changes

Fixes

Fix space after `-L` option

01 Jan 16:56
5b6920f
Compare
Choose a tag to compare

Fixes

Fix null input

19 Dec 18:10
f155670
Compare
Choose a tag to compare

Fixes

XML Improvements

17 Aug 22:44
7aa0971
Compare
Choose a tag to compare

Additions

  • Adds install instructions for Arch linux (#87)
  • Add --xmlns option that will tell oq to parse namespaces (#89)
    • NOTE: This will become the default in oq 2.x.
  • Add --xml-namespace-alias option to allow normalizing namespaced element names (#89)
    • E.g. --xml-namespace-alias myKey=https://namespace.org would re-write the prefix of any element within the https://namespace.org namespace to be myKey
    • NOTE: The --xmlns option is required to use this
  • Add --xml-force-array elementName option that will force the provided element to be parsed as an array even if it only has one item (#93)

Changes

  • Various build improvements (#91, #95)

Fixes

  • Correctly treat elements with namespace prefixes as unique elements (#88, #90)
  • Handle empty jq input on serialization (#83)

Deprecations

  • Deprecate Processor#tab and Processor#xml_prolog methods, use Processor#tab? and Processor#xml_prolog? instead

Allow for file/directory (json)arg references

30 Jun 02:57
fc83bef
Compare
Choose a tag to compare

Fixes

  • Allow the "name" portion of the --arg/--jsonarg option to match a file/directory within the current directory

Library support + SimpleYAML format + Better multi non JSON file input

27 Feb 03:02
fbe81cb
Compare
Choose a tag to compare

Dependency Upgrades

Additions

  • Adds the SimpleYAML format
    • Is the same as the YAML format, but doesn't support aliases and anchors; allowing for the input data to be streamed. Useful for large "simple" inputs

Changes

  • Convert input files individually to JSON if more than 1 is provided and the input format is not JSON
    • Better simulates jq behavior, especially with the --slurp option
  • Made some updates to OQ::Processor to allow supplying custom input arguments and/or IOs.
    • Allows oq to be used within an existing Crystal project in addition to as a binary

Fixes

  • Allow oq snap to access home and USB drives
  • Build oq snaps with the --release flag
  • Various doc updates/improvements

Update specs for new libyaml version

25 Jun 03:16
5ec05e2
Compare
Choose a tag to compare

Fixes

  • Makes the YAML serialization specs less strict
    • Removes need to do version checking and should make them more robust going forward

Crystal 0.35.0 Support

21 Jun 20:13
59a5e0c
Compare
Choose a tag to compare

Dependency Upgrades

Fixes

  • Fix now invalid variable name
    • in is now a reserved variable name
  • Fix format list within help info
    • Now properly lists the formats Format of the input data. Supported formats: json, yaml, xml versus Format of the input data. Supported formats: OQ::Format

Changes

  • Some updates related to 0.35.0
    • Use exhaustive case for OQ::Format.converter method
    • Remove --link-flags option when building as libxml2 is now properly linked