- implement
gojq.ToIntandgojq.ToFloat64for converting number values - fix destructuring alternative operator (
?//) to reset variables of
later alternatives, and to propagatebreakandhalterrors - fix update-assignment operator against object with overlapping paths
- fix
delpathsfunction to delete ancestor paths before descendant paths - fix
getpathfunction against string input - fix indexing and slicing a number literal written after a unary operator
- fix slice indices of floating point numbers for jq compatibility
- fix date and time functions against fractional, non-finite, and out of range numbers
- fix
strptimefunction to accept the zero time instant - fix
match,test, andcapturefunctions to support array arguments - fix
matchfunction to report an empty match after a non-empty one - fix
split/1function against empty input string - fix math functions against large number literals like
1e1000 - fix
jn/2andyn/2functions to avoid long recurrence on large orders - fix
absfunction against non-numbers for jq compatibility - fix
isnanfunction to return false for non-numbers for jq compatibility - fix
halt_errorfunction not to print a newline after non-string values - fix
--argjsonand--jsonargsoptions to reject empty and multiple JSON values - fix
--streamoption error message against unterminated input - fix JSON parse error message after a large value in non-seekable input like stdin
- fix offset of YAML parse error on multi-byte characters
- fix panic on continuing iteration after an invalid path error
- fix data race on input iterator when running code concurrently
- fix
addfunction to handle a nil map and slice as the first value - support destructuring alternative operator (
?//) inreduceandforeachsyntax - allow optional operator followed by alternative operator without spaces (
.a?//1) - improve performance of function calls by avoiding copies of scope values,
and path tracking inpath,paths,|=, anddelby reducing allocations