- Update to 0.17:

+ New features:
    * json_patch: add first implementation only with patch application
    * Add --disable-static and --disable-dynamic options to the cmake-configure script.
    * Add -DBUILD_APPS=NO option to disable app build
    * Minimum cmake version is now 3.9
  + Significant changes and bug fixes:
    * When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
      closing curly or square braces on same line for empty objects or arrays.
    * Disable locale handling when targeting a uClibc system due to problems
      with its duplocale() function.
    * When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
      now result in a json_tokener_error_parse_number. Without that flag
      values are capped at INT64_MIN/UINT64_MAX.
    * Fix memory leak with emtpy strings in json_object_set_string
    * json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
    * Add back json_number_chars, but only because it's part of the public API.
    * Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
      platforms.
    * Specify dependent libraries, including -lbsd, in a more consistent way so
      linking against a static json-c works better
    * Fix a variety of build problems and add & improve tests
    * Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/json-c?expand=0&rev=44
This commit is contained in:
Paolo Stivanin 2023-11-03 08:49:25 +00:00 committed by Git OBS Bridge
parent 375cfbcb25
commit 6a6875c55c
4 changed files with 33 additions and 6 deletions

BIN
json-c-0.16-20220414.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
json-c-0.17-20230812.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Fri Nov 3 08:47:33 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
- Update to 0.17:
+ New features:
* json_patch: add first implementation only with patch application
* Add --disable-static and --disable-dynamic options to the cmake-configure script.
* Add -DBUILD_APPS=NO option to disable app build
* Minimum cmake version is now 3.9
+ Significant changes and bug fixes:
* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
closing curly or square braces on same line for empty objects or arrays.
* Disable locale handling when targeting a uClibc system due to problems
with its duplocale() function.
* When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
now result in a json_tokener_error_parse_number. Without that flag
values are capped at INT64_MIN/UINT64_MAX.
* Fix memory leak with emtpy strings in json_object_set_string
* json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
* Add back json_number_chars, but only because it's part of the public API.
* Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
platforms.
* Specify dependent libraries, including -lbsd, in a more consistent way so
linking against a static json-c works better
* Fix a variety of build problems and add & improve tests
* Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 20 06:29:21 UTC 2022 - Paolo Stivanin <info@paolostivanin.com> Wed Apr 20 06:29:21 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package json-c # spec file for package json-c
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,9 +19,9 @@
%define libname libjson-c %define libname libjson-c
%define libsoname %{libname}5 %define libsoname %{libname}5
%define oldlibname libjson %define oldlibname libjson
%define version_date 20220414 %define version_date 20230812
Name: json-c Name: json-c
Version: 0.16 Version: 0.17
Release: 0 Release: 0
Summary: JSON implementation in C Summary: JSON implementation in C
License: MIT License: MIT