|
|
|
@ -1,3 +1,45 @@
|
|
|
|
|
Version 2.11
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
Released 2018-02-09
|
|
|
|
|
|
|
|
|
|
* New features:
|
|
|
|
|
|
|
|
|
|
- Add `json_pack()` format specifiers s*, o* and O* for values that
|
|
|
|
|
can be omitted if null (#339).
|
|
|
|
|
|
|
|
|
|
- Add `json_error_code()` to retrieve numeric error codes (#365, #380,
|
|
|
|
|
#381).
|
|
|
|
|
|
|
|
|
|
- Enable thread safety for `json_dump()` on all systems. Enable thread
|
|
|
|
|
safe `json_decref()` and `json_incref()` for modern compilers (#389).
|
|
|
|
|
|
|
|
|
|
- Add `json_sprintf()` and `json_vsprintf()` (#393).
|
|
|
|
|
|
|
|
|
|
* Bug Fixes:
|
|
|
|
|
|
|
|
|
|
- Fix incorrect report of success from `json_dump_file()` when an error
|
|
|
|
|
is returned by `fclose()` (#359).
|
|
|
|
|
|
|
|
|
|
- Make json_equal() const-correct (#344).
|
|
|
|
|
|
|
|
|
|
- Fix incomplete stealing of references by `json_pack()` (#374).
|
|
|
|
|
|
|
|
|
|
* Build:
|
|
|
|
|
|
|
|
|
|
- Work around gcc's -Wimplicit-fallthrough.
|
|
|
|
|
|
|
|
|
|
- Fix CMake detection of `sys/types.h` header (#375).
|
|
|
|
|
|
|
|
|
|
- Fix `jansson.pc` generated by CMake to be more consistent with the one
|
|
|
|
|
generated using GNU Autotools (#368).
|
|
|
|
|
|
|
|
|
|
* Other:
|
|
|
|
|
|
|
|
|
|
- Miscellaneous documentation fixes (#356, #378, #395).
|
|
|
|
|
|
|
|
|
|
- Remove unnecessary reference actions from parsers (#377).
|
|
|
|
|
|
|
|
|
|
Version 2.10
|
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|