- implement
input_filename
function for the command - fix priority bug of declared functions and arguments (
def g: 1; def f(g): g; f(2)
) - fix label handling to catch the correct break error (
first((0, 0) | first(0))
) - fix
null|error
anderror(null)
to behave likeempty
(null | [0, error, error(null), 1]
) - fix integer division to keep precision when divisible (
1 / 1 * 1000000000000000000000
) - fix modulo operator on negative number and large number (
(-1) % 10000000000
) - fix combination of slurp (
--slurp
) and raw input option (--raw-input
) to keep newlines - change the default module paths to
~/.jq
,$ORIGIN/../lib/gojq
,$ORIGIN/lib
where$ORIGIN
is the directory where the executable is located in - improve command argument parser to recognize query with leading hyphen, allow hyphen for standard input, and force posix style on Windows
- improve
@base64d
to allow input without padding characters - improve
fromdate
,fromdateiso8601
to parse date time strings with timezone offset - improve
halt_error
to print error values without prefix - improve
sub
,gsub
to allow the replacement string emitting multiple values - improve encoding
\b
and\f
in strings - improve module loader for search path in query, and absolute path
- improve query lexer to support string literal including newlines
- improve performance of
index
,rindex
,indices
,transpose
, andwalk
functions - improve performance of value preview in errors and debug mode
- improve runtime performance including tail call optimization
- switch Docker base image to
distroless/static:debug