4 Commits

Author SHA256 Message Date
a88e28552a Accepting request 1320791 from utilities
- 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

OBS-URL: https://build.opensuse.org/request/show/1320791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gojq?expand=0&rev=8
2025-12-02 12:20:24 +00:00
Arnav Singh
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

OBS-URL: https://build.opensuse.org/package/show/utilities/gojq?expand=0&rev=18
2025-12-02 02:00:19 +00:00
f891941702 Accepting request 1227621 from utilities
- 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.

OBS-URL: https://build.opensuse.org/request/show/1227621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gojq?expand=0&rev=7
2024-12-02 15:59:01 +00:00
Arnav Singh
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.

OBS-URL: https://build.opensuse.org/package/show/utilities/gojq?expand=0&rev=16
2024-12-01 17:27:33 +00:00
5 changed files with 38 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80365ef7dd7935296d42b98c79b51723a01d3c332501098485bebb4b9a89eb13
size 131894

3
gojq-0.12.18.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a228e4feab900f45db14bde147e8c6f820ec2413631b932e3c15bc1f0545995
size 133200

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Dec 2 01:52:01 UTC 2025 - Arnav Singh <opensuse@arnavion.dev>
- 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 <opensuse@arnavion.dev>
- 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 <opensuse@arnavion.dev>

View File

@@ -1,7 +1,7 @@
#
# spec file for package gojq
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: gojq
Version: 0.12.16
Version: 0.12.18
Release: 0
Summary: Pure Go implementation of jq
License: MIT
@@ -25,7 +25,7 @@ URL: https://github.com/itchyny/gojq
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source2: gojq.rpmlintrc
BuildRequires: go >= 1.20
BuildRequires: go >= 1.21
BuildRequires: golang-packaging
BuildRequires: zstd

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c104076127c7c4963ec0581f2adf00ecf0c9c79b5177c338ff6df67d3f130d0
size 573394
oid sha256:6435c6e8a66f0e17199550d3d09614ee55d563cd491422bb61461eebc2623585
size 473456