2e7fc97100
- Update to v0.12.18 * Implement trimstr/1, toboolean/0 function * Fix last/1 to be included in builtins/0 * Fix --indent 0 to preserve newlines * Fix string repetition to emit error when the result is too large * Increase the array index limit to 536870912 (2^29) * Stop numeric normalization for concurrent execution * Support binding expressions with binary operators (1 + 2 as $x | -$x) * Improve gojq.NewIter to be a generic function * Improve logic for getting file contents on JSON parse error * Improve JSON parsing to preserve the precision of floating-point numbers * Improve YAML parsing performance and preserve the precision of large integers * Improve performance and reduce memory allocation of long-running queries
Arnav Singh
2025-12-02 02:00:19 +00:00
f891941702
Accepting request 1227621 from utilities
Ana Guerrero2024-12-02 15:59:01 +00:00
ff901bf419
- Update to v0.12.17 * Implement add/1, skip/2 functions. * Implement --library-path option as the alias of -L option. * Fix reduce syntax to emit results for each initial value. * Fix last/1 to yield no values when the argument yields no values. * Fix limit/2 to emit an error on negative count. * Fix @uri and @urid formats not to convert space between plus sign. * Fix resolving search paths of import statements in the query. * Improve time functions to accept fewer element arrays.
Arnav Singh
2024-12-01 17:27:33 +00:00
d1d0d219af
- Update to v0.12.16 * Fix offset of query parsing error on multi-byte characters. * Fix tests of exp10 and atan2 failing on some platforms. * Fix debug/1 to be available only when debug/0 is defined. * Improve parser to allow binary operators as object values. * Improve compiler to emit error if query is missing.
Arnav Singh
2024-06-01 15:49:45 +00:00
f969a10af9
Accepting request 1163958 from utilities
Ana Guerrero2024-04-02 14:43:19 +00:00
8cbc4be302
- Update to v0.12.15 * Implement ltrim, rtrim, and trim functions. * Fix object construction with duplicate keys ({x:0,y:1} | {a:.x,a:.y}) * Fix halt and halt_error functions to stop the command execution immediately. * Fix variable scope of binding syntax ("a" as $v | def f: $v; "b" as $v | f). * Fix pre-defined variables to be available in initial modules ($ARGS in ~/.jq). * Fix ltrimstr and rtrimstr functions to emit error on non-string input. * Fix nearbyint and rint functions to round ties to even. * Improve parser to allow reduce, foreach, if, try-catch syntax as object values. * Remove pow10 in favor of exp10, define scalbn and scalbln by ldexp.
Arnav Singh
2024-04-01 16:03:52 +00:00
c8bf743f55
- Update to v0.12.14 * Implement abs, pick and debug/1 functions. * Implement --raw-output0 option, and remove --nul-output (-0) option. * Fix string multiplication by zero to emit an empty string. * Fix zero divided by zero to emit an error, not nan. * Fix modulo operator to emit nan if either side is nan. * Fix implode function to emit replacement characters on invalid code points. * Fix stderr function to output strings in raw format. * Fix error function to throw an error even for null. * Fix walk function on multiple outputs arguments. * Fix --from-file option to work with --arg and --argjson options. * Improve query parser to support comment continuation with backslash. * Improve modulemeta function to include defined function names in the module. * Improve search path of import and include directives to support $ORIGIN expansion. * Remove deprecated leaf_paths function.
Arnav Singh
2023-12-01 17:00:14 +00:00
bbae62a7f1
- Update to v0.12.13 * Implement @urid format string to decode URI values. * Fix some functions returning arrays to emit empty slices instead of nil.
Arnav Singh
2023-06-01 21:08:47 +00:00