jansson 2.8
This commit is contained in:
parent
14573dc920
commit
a931aace16
29
CHANGES
29
CHANGES
@ -1,24 +1,47 @@
|
|||||||
Version 2.8 (in development)
|
Version 2.8
|
||||||
============================
|
===========
|
||||||
|
|
||||||
|
Released 2016-08-26
|
||||||
|
|
||||||
* New features:
|
* New features:
|
||||||
|
|
||||||
|
- Always preserve insertion order of object items.
|
||||||
|
`json_object_iter()` and friends, `json_object_foreach()` and
|
||||||
|
json_dumps() and friends now always work in the insertion order of
|
||||||
|
object items (#293).
|
||||||
|
|
||||||
- Add `json_object_foreach_safe()` macro that allows
|
- Add `json_object_foreach_safe()` macro that allows
|
||||||
`json_object_del()` calls during iteration (#230).
|
`json_object_del()` calls during iteration (#230).
|
||||||
|
|
||||||
- Add `json_get_alloc_funcs()` to allow reading the allocation
|
- Add `json_get_alloc_funcs()` to allow reading the allocation
|
||||||
functions set by `json_set_alloc_funcs()` (#262, #264).
|
functions set by `json_set_alloc_funcs()` (#262, #264).
|
||||||
|
|
||||||
|
- Add `json_pack()` format specifiers s?, o? and O? for values that
|
||||||
|
can be null (#261, #270).
|
||||||
|
|
||||||
* Bug fixes:
|
* Bug fixes:
|
||||||
|
|
||||||
|
- Fix a crash when parsing inputs consisting of very deeply nested
|
||||||
|
arrays or objects (#282, #284).
|
||||||
|
|
||||||
- Never convert numbers to integers in the parser when
|
- Never convert numbers to integers in the parser when
|
||||||
JSON_DECODE_INT_AS_REAL is set. This fixes error messages for
|
JSON_DECODE_INT_AS_REAL is set. This fixes error messages for
|
||||||
overflowing numbers when JSON_DECODE_INT_AS_REAL is set (#212).
|
overflowing numbers when JSON_DECODE_INT_AS_REAL is set (#212).
|
||||||
|
|
||||||
- Fix a use-after-free in `json_pack()` error handling.
|
- Fix a use-after-free in `json_pack()` error handling.
|
||||||
|
|
||||||
|
- Fix subnormal number parsing on mingw32.
|
||||||
|
|
||||||
|
- Handle out-of-memory situations gracefully in the hashtable
|
||||||
|
implementation (#298).
|
||||||
|
|
||||||
* Build:
|
* Build:
|
||||||
|
|
||||||
|
- Fix build with CMake on all versions of Visual Studio up to 2015
|
||||||
|
(#262, #289).
|
||||||
|
|
||||||
|
- Fix pkgconfig libdir when using CMake (#268).
|
||||||
|
|
||||||
- Fix CMake config for static CRT builds on Windows (#206).
|
- Fix CMake config for static CRT builds on Windows (#206).
|
||||||
|
|
||||||
- Fix warnings on LLVM 6.0 targeting iOS arm64 (#208).
|
- Fix warnings on LLVM 6.0 targeting iOS arm64 (#208).
|
||||||
@ -34,8 +57,6 @@ Version 2.8 (in development)
|
|||||||
- Use snprintf and strncpy in place of sprintf and strcpy to silence
|
- Use snprintf and strncpy in place of sprintf and strcpy to silence
|
||||||
linker warnings on OpenBSD (#233).
|
linker warnings on OpenBSD (#233).
|
||||||
|
|
||||||
- Fix build on MSVC >= 1900 (#262).
|
|
||||||
|
|
||||||
* Documentation:
|
* Documentation:
|
||||||
|
|
||||||
- Fix various typos in documentation, and a broken link (#258).
|
- Fix various typos in documentation, and a broken link (#258).
|
||||||
|
Loading…
Reference in New Issue
Block a user