diff options
author | Petri Lehtinen <petri@digip.org> | 2014-10-02 08:57:07 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2014-10-02 08:57:07 +0300 |
commit | 391d9101a8d32b083bef9c76f53a603800e3e09f (patch) | |
tree | 652ee9cc90c91f7007c04146ab2a01aed4ab2802 /CHANGES | |
parent | 2137e0c8957cfe3bd18ee3a4e384de562f5ca6c0 (diff) | |
download | jansson-391d9101a8d32b083bef9c76f53a603800e3e09f.zip jansson-391d9101a8d32b083bef9c76f53a603800e3e09f.tar.gz jansson-391d9101a8d32b083bef9c76f53a603800e3e09f.tar.bz2 |
Update CHANGES for 2.7
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 78 |
1 files changed, 71 insertions, 7 deletions
@@ -1,34 +1,98 @@ -Version 2.7 (in development) -============================ +Version 2.7 +=========== -Released XXXX-XX-XX +Released 2014-10-02 * New features: - `json_pack()` and friends: Add format specifiers ``s%`` and ``+%`` - for a size_t string length. + for a size_t string length (#141). - `json_unpack()` and friends: Add format specifier ``s%`` for - unpacking the string length along with the string itself. + unpacking the string length along with the string itself (#141). - Add length-aware string constructors `json_stringn()` and `json_stringn_nocheck()`, length-aware string mutators `json_string_setn()` and `json_string_setn_nocheck()`, and a - function for getting string's length `json_string_length()`. + function for getting string's length `json_string_length()` (#141, + #143). - Support ``\u0000`` escapes in the decoder. The support can be - enabled by using the ``JSON_ALLOW_NUL`` decoding flag. + enabled by using the ``JSON_ALLOW_NUL`` decoding flag (#141). + + - Add `json_boolean_value()` as an alias for `json_is_true()` + (#146). + + - Add JSON_REAL_PRECISION encoding flag/macro for controlling real + number precision (#178). + + - Define the maximum indentation as JSON_MAX_INDENT (#191). * Bug fixes: - Some malformed ``\uNNNN`` escapes could crash the decoder with an assertion failure. + - Avoid integer overflows with very long strings in UTF-8 decoder and + hashtable. + + - Check for *NULL* key in `json_object_get()` and + `json_object_del()` (#151). + + - Enhance hashtable seeding on Windows (#162). + + - `json_unpack()`: Allow mixing JSON_STRICT with optional keys + (#162, #163). + + - Fix int/int32 mismatch (#142). + + - Parse subnormal numbers correctly (#202). + +* Build: + + - Remove VS2010 build files. CMake should be used on Windows instead + (#165). + + - Fix CMake build flags for MinGW (#193). + + - Add CMake config files for find_package. Rename config.h to + jansson_private_config.h (#157, #159). + + - Make Valgrind checks work with CMake (#160). + + - Fix feature checks to use correct __ATOMIC flags. + + - Fix CMake checks for uint16_t and uint8_t support (#177). + + - Make Jansson build on SmartOS/Solaris (#171). + + - Work around a GCC bug on Solaris (#175). + + - Fix autoreconf on Debian (#182). + + - Don't use GNU make specific export for global AM_CFLAGS (#203, + #204). + + - Fix building on Android using the supplied Android.mk (#166, + #174). + + - Android.mk: Add -DHAVE_STDINT_H to LOCAL_CFLAGS (#200). + +* Documentation: + + - Document JANSSON_BUILD_SHARED_LIBS CMake option (#187). + +* Tests: + + - Close file handles correctly (#198). + * Other changes: - ``\uNNNN`` escapes are now encoded in upper case for better readability. + - Enable usage of AddressSanitizer (#180). + Version 2.6 =========== |