------------------------------------------------------------------- Tue Dec 2 01:52:01 UTC 2025 - Arnav Singh - 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 ------------------------------------------------------------------- Sun Dec 1 17:17:33 UTC 2024 - Arnav Singh - 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. ------------------------------------------------------------------- Sat Jun 1 15:43:28 UTC 2024 - Arnav Singh - 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. ------------------------------------------------------------------- Mon Apr 1 16:33:18 UTC 2024 - Arnav Singh - Suppress rpmlint error statically-linked-binary. - Fix rpmlint warning no-%check-section. ------------------------------------------------------------------- Mon Apr 1 15:57:12 UTC 2024 - Arnav Singh - 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`. ------------------------------------------------------------------- Fri Dec 1 16:47:58 UTC 2023 - Arnav Singh - 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. ------------------------------------------------------------------- Thu Jun 1 21:13:53 UTC 2023 - Arnav Singh - Update vendor tarball. ------------------------------------------------------------------- Thu Jun 1 14:56:20 UTC 2023 - Arnav Singh - 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. ------------------------------------------------------------------- Sat May 13 20:12:11 UTC 2023 - Arnav Singh - Restrict minumum golang version to the one listed in go.mod ------------------------------------------------------------------- Sat May 13 20:00:43 UTC 2023 - Arnav Singh - Disable -buildmode=pie on ppc64, and add some verbosity flags. ------------------------------------------------------------------- Fri May 12 03:53:38 UTC 2023 - Arnav Singh - Initial package of 0.12.12 for OpenSUSE.