Jansson v2.11 Release Notes

Release Date: 2018-02-11 // about 6 years ago
  • ๐Ÿš€ 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).