diff --git a/AUTHORS b/AUTHORS index f0fcf97..5cd0460 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,5 @@ Alan Coopersmith +Alan Urmancheev <108410815+alurm@users.noreply.github.com> Alexander Dahl Alexandru Ardelean An7ar35 @@ -6,6 +7,7 @@ andy5995 Aram Poghosyan Björn Esser BonsaY +Bruno Haible changyong guo chenguoping Chris Lamb @@ -21,9 +23,12 @@ dota17 Eric Haszlakiewicz Eric Hawicz Even Rouault +evo <149657734+evo-i@users.noreply.github.com> +Fabrice Fontaine Federico Francescon Gianluigi Tiesi grdowns +HansolChoe Hex052 hofnarr ihsinme <61293369+ihsinme@users.noreply.github.com> @@ -51,6 +56,7 @@ Micah Snyder Michael Clark myd7349 Pascal Cuoq +Pavel Zwerschke Pawday Philosoph228 Pierce Lopez @@ -58,7 +64,9 @@ Po-Chuan Hsieh Ramiro Polla Rikard Falkeborn Robert Bielik +Robert Pang Robert +Rolf Eike Beer Rosen Penev Rubasri Kalidas Sergey Sharshunov diff --git a/ChangeLog b/ChangeLog index d1e3f4e..a5590e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,42 @@ +0.18 (up to commit 6bfab90, 2023-09-15) +======================================== + +Deprecated and removed features: +-------------------------------- +* Clean up pre-3.9 CMake support in CMakeLists.txt + +New features +------------ +* Build pkg-config for msvc as well + +Significant changes and bug fixes +--------------------------------- +* Critical fix for binary compatibility with 0.16: Move the + json_tokener_error_memory entry to the end of enum json_tokener_error. +* Issue #829: attempt to detect clang-cl.exe and pass MSVC-compatile command + line arguments. +* PR #831 - rename WIN32 to _WIN32 +* PR #839 - Fix gcc 5 "may be used uninitialized" failure in json_pointer.c +* PR #849 - random_seed.c: add a Coverity Scan suppression +* Issue #854: Set error=json_tokener_error_memory in + json_tokener_parser_verbose() when allocating the tokener fails. +* Issue #857: fix a few places where json_tokener should have been returning + json_tokener_error_memory but wasn't. +* Handle yet another out-of-memory condition in json_tokener, duplocate can + return NULL. +* Various fixes in the fuzzers +* A few minor doc fixes + +*** 0.17 (up to commit 077661f, 2023-08-08) ======================================== +Known Bugs +---------- +* DO NOT USE THE 0.17 RELEASE: json_tokener_error_memory in misplaced in the + json_tokener_error enum, leading to binary compatibility issues. + Deprecated and removed features: -------------------------------- * None diff --git a/abi-check.sh b/abi-check.sh index 6dab54a..ab829f3 100644 --- a/abi-check.sh +++ b/abi-check.sh @@ -1,7 +1,7 @@ #!/bin/sh -prev=0.16 -release=0.17 +prev=0.17 +release=0.18 # ... clone json-c, abi-compliance-checker, abi-dumper diff --git a/issues_closed_for_0.18.md b/issues_closed_for_0.18.md new file mode 100644 index 0000000..241074c --- /dev/null +++ b/issues_closed_for_0.18.md @@ -0,0 +1,52 @@ +This list was created with: + +``` +PREV=2023-08-12 +NOW=2024-09-15 +curl "https://api.github.com/search/issues?q=repo%3Ajson-c%2Fjson-c+closed%3A>${PREV}+created%3A<${NOW}&sort=created&order=asc&per_page=100&page=1" > issues1.out +jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md +sed -e's,^\[ *\(.*\)\](https://api.github.com/.*/\([0-9].*\)),* [Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md +cat issues.md >> issues_closed_for_0.18.md +``` + +* [Issue #826](https://github.com/json-c/json-c/issues/826) - CMake: remove needless policy setting +* [Issue #827](https://github.com/json-c/json-c/issues/827) - Resolve build issue in tokener_parse_ex_fuzzer.c +* [Issue #828](https://github.com/json-c/json-c/issues/828) - Put arc4random check under DISABLE_EXTRA_LIBS=OFF in CMakeLists.txt. +* [Issue #829](https://github.com/json-c/json-c/issues/829) - Cannot build with clang-cl +* [Issue #830](https://github.com/json-c/json-c/issues/830) - I am looking whether this CVE - CVE-2021-32292 is impacted by json-c version v0.13.1or not ? +* [Issue #831](https://github.com/json-c/json-c/issues/831) - rename WIN32 to _WIN32 +* [Issue #833](https://github.com/json-c/json-c/issues/833) - memory leak issue in 0.13 +* [Issue #834](https://github.com/json-c/json-c/issues/834) - fix error des of 'error_memory' +* [Issue #835](https://github.com/json-c/json-c/issues/835) - fix error des of 'error_memory' +* [Issue #836](https://github.com/json-c/json-c/issues/836) - Null pointer dereference in tokener_parse_ex_fuzzer.cc +* [Issue #837](https://github.com/json-c/json-c/issues/837) - Add type checking for parsed objects in tokener_parse_ex_fuzzer +* [Issue #838](https://github.com/json-c/json-c/issues/838) - Cannot link properly using cmake +* [Issue #839](https://github.com/json-c/json-c/issues/839) - json_pointer.c: initialize idx +* [Issue #840](https://github.com/json-c/json-c/issues/840) - Memory leak when enable HAVE_SETLOCALE and HAVE_USELOCALE +* [Issue #841](https://github.com/json-c/json-c/issues/841) - Random crash in json_tokener_parse +* [Issue #842](https://github.com/json-c/json-c/issues/842) - Assignment bug in json_pointer.c +* [Issue #843](https://github.com/json-c/json-c/issues/843) - _WIN32 should be used, not WIN32 in source code ifdefs. +* [Issue #844](https://github.com/json-c/json-c/issues/844) - Doxygen: mis-wording in `json_object_put` +* [Issue #845](https://github.com/json-c/json-c/issues/845) - [CMP0153](https://cmake.org/cmake/help/latest/policy/CMP0153.html) +* [Issue #846](https://github.com/json-c/json-c/issues/846) - CMP0153 +* [Issue #848](https://github.com/json-c/json-c/issues/848) - json_object_from_file caused calloc SIGSEGV +* [Issue #849](https://github.com/json-c/json-c/issues/849) - random_seed.c: add a Coverity Scan suppression +* [Issue #850](https://github.com/json-c/json-c/issues/850) - Missing return description +* [Issue #851](https://github.com/json-c/json-c/issues/851) - Allow NULL in json_object_new_string() and json_object_new_string_len() +* [Issue #852](https://github.com/json-c/json-c/issues/852) - docs: micro typo in json_object_put doc +* [Issue #853](https://github.com/json-c/json-c/issues/853) - json_tokener_parse_verbose does not set the error indicator when it fails to allocate the tokener +* [Issue #854](https://github.com/json-c/json-c/issues/854) - json_tokener_parse_verbose sets the error indicator to a wrong value when there is a memory allocation failure +* [Issue #856](https://github.com/json-c/json-c/issues/856) - Using libjson-c.so or compiling from source seg faults on json_tokener_parse_ex in alpine docker container +* [Issue #857](https://github.com/json-c/json-c/issues/857) - json_tokener_parse_verbose sets the error indicator to a wrong value when there is a memory allocation failure +* [Issue #858](https://github.com/json-c/json-c/issues/858) - json_tokener.h: json_tokener_parse_verbose: fix typo +* [Issue #859](https://github.com/json-c/json-c/issues/859) - Develop +* [Issue #860](https://github.com/json-c/json-c/issues/860) - Develop +* [Issue #861](https://github.com/json-c/json-c/issues/861) - Handle yet another out-of-memory condition. +* [Issue #862](https://github.com/json-c/json-c/issues/862) - Missing `json-c-targets.cmake` during build cmake build step +* [Issue #863](https://github.com/json-c/json-c/issues/863) - build ios simulator error +* [Issue #864](https://github.com/json-c/json-c/issues/864) - Build pkg-config for msvc as well +* [Issue #865](https://github.com/json-c/json-c/issues/865) - Assertion usage +* [Issue #866](https://github.com/json-c/json-c/issues/866) - Added github actions +* [Issue #868](https://github.com/json-c/json-c/issues/868) - I meet compile error in harmony +* [Issue #869](https://github.com/json-c/json-c/issues/869) - At a high level how are jsons parses? Are they terminated by the new line? +* [Issue #870](https://github.com/json-c/json-c/issues/870) - Non-Compliant features should be optional (and disabled)