aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2016-08-26 20:35:52 +0300
committerPetri Lehtinen <petri@digip.org>2016-08-26 20:35:52 +0300
commita931aace16b24cd51d0d468a5f91dac67713918c (patch)
treeb105e1d755841b085bab18bb5ab35b7524e614e4
parent14573dc9205f489b764e25e6a658308427191281 (diff)
downloadjansson-a931aace16b24cd51d0d468a5f91dac67713918c.zip
jansson-a931aace16b24cd51d0d468a5f91dac67713918c.tar.gz
jansson-a931aace16b24cd51d0d468a5f91dac67713918c.tar.bz2
jansson 2.8
-rw-r--r--CHANGES29
1 files changed, 25 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index ea48aa8..73db7bf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,24 +1,47 @@
-Version 2.8 (in development)
-============================
+Version 2.8
+===========
+
+Released 2016-08-26
* 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
`json_object_del()` calls during iteration (#230).
- Add `json_get_alloc_funcs()` to allow reading the allocation
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:
+ - 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
JSON_DECODE_INT_AS_REAL is set. This fixes error messages for
overflowing numbers when JSON_DECODE_INT_AS_REAL is set (#212).
- 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:
+ - 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 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
linker warnings on OpenBSD (#233).
- - Fix build on MSVC >= 1900 (#262).
-
* Documentation:
- Fix various typos in documentation, and a broken link (#258).