Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 (openembedded#339). - Add `json_error_code()` to retrieve numeric error codes (openembedded#365, openembedded#380, openembedded#381). - Enable thread safety for `json_dump()` on all systems. Enable thread safe `json_decref()` and `json_incref()` for modern compilers (openembedded#389). - Add `json_sprintf()` and `json_vsprintf()` (openembedded#393). * Bug Fixes: - Fix incorrect report of success from `json_dump_file()` when an error is returned by `fclose()` (openembedded#359). - Make json_equal() const-correct (openembedded#344). - Fix incomplete stealing of references by `json_pack()` (openembedded#374). * Build: - Work around gcc's -Wimplicit-fallthrough. - Fix CMake detection of `sys/types.h` header (openembedded#375). - Fix `jansson.pc` generated by CMake to be more consistent with the one generated using GNU Autotools (openembedded#368). * Other: - Miscellaneous documentation fixes (openembedded#356, openembedded#378, openembedded#395). - Remove unnecessary reference actions from parsers (openembedded#377). Version 2.10 ============ Released 2017-03-02 * New features: - Add JSON_EMBED encoding flag allowing arrays and objects to be encoded into existing streams (openembedded#329). - Add `json_dumpb()` function for dumping to a pre-allocated buffer (openembedded#328). - Add `json_dumpfd()` and `json_loadfd()` functions for dumping to streaming file descriptors (openembedded#328). - Add support for parsing buffers larger than 2GB (openembedded#309). * Build: - Fix CMake build when LONG_LONG_INT is defined as "" (openembedded#321) * Other: - Internal code cleanup (openembedded#311, openembedded#314) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information