Releases: Blacksmoke16/oq
Releases · Blacksmoke16/oq
v1.3.5
Changes
- Bump
ameba
to1.5.0
by @Blacksmoke16 in #118
Fixes
- Fix ameba issue and pin the version by @Blacksmoke16 in #115
- Fix typo by @taupiqueur in #116
- Leverage the non alpine version for ameba by @Blacksmoke16 in #117
- Make specs compatible with jq 1.7 by @Blacksmoke16 in #119
New Contributors
- @taupiqueur made their first contribution in #116
- @dependabot made their first contribution in #123
Handle reading null JSON values when creating CDATA elements
Fixed
- Handle reading null JSON values when creating CDATA elements by @Blacksmoke16 in #111
Fix Typos in docs
Changes
- Bump min Crystal version to
~> 1.4
by @Blacksmoke16 in #106
Fixes
- Use empty IO on
null
input by @Blacksmoke16 in #107
Fix space after `-L` option
Fixes
- Handle optional space in
-L
option by @Blacksmoke16 in #104
Fix null input
Fixes
- Use empty IO on
null
input by @Blacksmoke16 in #102
XML Improvements
Additions
- Adds install instructions for Arch linux (#87)
- Add
--xmlns
option that will telloq
to parse namespaces (#89)- NOTE: This will become the default in
oq
2.x.
- NOTE: This will become the default in
- 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 thehttps://namespace.org
namespace to bemyKey
- NOTE: The
--xmlns
option is required to use this
- E.g.
- 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
Fixes
- Correctly treat elements with namespace prefixes as unique elements (#88, #90)
- Handle empty
jq
input on serialization (#83)
Deprecations
- Deprecate
Processor#tab
andProcessor#xml_prolog
methods, useProcessor#tab?
andProcessor#xml_prolog?
instead
Allow for file/directory (json)arg references
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
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
- Is the same as the
Changes
- Convert input files individually to
JSON
if more than 1 is provided and the input format is notJSON
- Better simulates
jq
behavior, especially with the--slurp
option
- Better simulates
- Made some updates to OQ::Processor to allow supplying custom input arguments and/or
IO
s.- Allows
oq
to be used within an existing Crystal project in addition to as a binary
- Allows
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
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
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
versusFormat of the input data. Supported formats: OQ::Format
- Now properly lists the formats
Changes
- Some updates related to
0.35.0
- Use exhaustive case for
OQ::Format.converter
method - Remove
--link-flags
option when building aslibxml2
is now properly linked
- Use exhaustive case for