All Versions
43
Latest Version
Avg Release Cycle
53 days
Latest Release
184 days ago

Changelog History
Page 2

  • v1.7.4

    March 02, 2018

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix potential use after free if the string parameter to cJSON_AddItemToObject is an alias of the string property of the object that is added (#248). Thanks @hhallen for reporting.
  • v1.7.3

    February 07, 2018

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix potential double free, thanks @projectgus for reporting (see #241)
  • v1.7.2

    February 06, 2018

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix the use of GNUInstallDirs variables and the pkgconfig file. Thanks @zeerd for reporting #240
  • v1.7.1

    January 10, 2018

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fixed an Off-By-One error that could lead to an out of bounds write. Thanks @liuyunbin for reporting #230
    • ๐Ÿ›  Fixed two errors with buffered printing. Thanks @liuyunbin for reporting #230
  • v1.7.0

    December 31, 2017

    ๐Ÿ”‹ Features:

    • ๐Ÿ“š Large rewrite of the documentation, see #215
    • โž• Added the cJSON_GetStringValue function
    • โž• Added the cJSON_CreateStringReference function
    • โž• Added the cJSON_CreateArrayReference function
    • โž• Added the cJSON_CreateObjectReference function
    • ๐Ÿ‘€ The cJSON_Add...ToObject macros are now functions that return a pointer to the added item, see #226

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix a problem with GNUInstallDirs in the CMakeLists.txt, thanks @yangfl, see #210
    • ๐Ÿ›  Fix linking the tests when building as static library, see #213
    • New overrides for the CMake option BUILD_SHARED_LIBS, see #207

    Other Changes:

    • ๐Ÿ‘€ Readme: Explain how to include cJSON, see #211
    • โœ‚ Removed some trailing spaces in the code, thanks @yangfl, see #212
    • โšก๏ธ Updated Unity and json-patch-tests
  • v1.6.0

    October 09, 2017

    ๐Ÿ”‹ Features:

    • You can now build cJSON as both shared and static library at once with CMake using -DBUILD_SHARED_AND_STATIC_LIBS=On, see #178
    • ๐Ÿ‘€ UTF-8 byte order marks are now ignored, see #184
    • ๐Ÿ‘€ Locales can now be disabled with the option -DENABLE_LOCALES=Off, see #202, thanks @Casperinous
    • ๐Ÿ‘ Better support for MSVC and Visual Studio

    Other Changes:

    • โž• Add the new warnings -Wswitch-enum, -Wused-but-makred-unused, -Wmissing-variable-declarations, -Wunused-macro
    • โœ… More number printing tests.
    • โœ… Continuous integration testing with AppVeyor (semi automatic at this point), thanks @simon-p-r
  • v1.5.9

    September 08, 2017

    ๐Ÿ›  Fixes:

    • ๐Ÿ“œ Set the global error pointer even if return_parse_end is passed to cJSON_ParseWithOpts, see #200, thanks @rmallins
  • v1.5.8

    August 21, 2017

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix make test in the Makefile, thanks @YanhaoMo for reporting this #195
  • v1.5.7

    July 13, 2017

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix a bug where realloc failing would return a pointer to an invalid memory address. This is a security issue as it could potentially be used by an attacker to write to arbitrary memory addresses, see #189, fixed in 954d61e, big thanks @timothyjohncarney for reporting this issue
    • ๐Ÿ›  Fix a spelling mistake in the AFL fuzzer dictionary, see #185, thanks @jwilk
  • v1.5.6

    June 28, 2017

    ๐Ÿ›  Fixes:

    • ๐Ÿ‘€ Make cJSON a lot more tolerant about passing NULL pointers to its functions, it should now fail safely instead of dereferencing the pointer, see #183. Thanks @msichal for reporting #182