Releases: DaveGamble/cJSON
Releases · DaveGamble/cJSON
1.4.7
1.4.6
Fixes:
- Several corrections in the README
- Making clear that
valueint
should not be written to - Fix overflow detection in
ensure
(2683d4d) - Fix a potential null pointer dereference in cJSON_Utils (795c3ac)
- Replace incorrect
sizeof('\0')
withsizeof("")
(84237ff) - Add caveats section to the README (50b3c30)
- Make cJSON locale independent (#146) Thanks @peterh for reporting
- Fix compiling without CMake with MSVC (#147) Thanks @dertuxmalwieder for reporting
1.4.5
1.4.4
Fixes:
- Fix a theoretical integer overflow, (not sure if it is possible on actual hardware) e58f7ec
- Fix an off by one error (cc84a44), thanks @gatzka
- Double check the offset of the print buffer in
ensure
(1934059)
Improvements:
- Add a note in the header about required buffer size when using
cJSON_PrintPreallocated
(4bfb880)
1.4.3
1.4.2
1.4.1
1.4.0
Features
- Functions to check the type of an item (#120)
- Use dllexport on windows and fvisibility on Unix systems for public functions (#116), thanks @mjerris
- Remove trailing zeroes from printed numbers (#123)
- Expose the internal boolean type
cJSON_bool
in the header (2d3520e)
Fixes
- Fix handling of NULL pointers in
cJSON_ArrayForEach
(b47d0e3) - Make it compile with GCC 7 (fix -Wimplicit-fallthrough warning) (9d07917)