commit
6dddf687d8
42
CHANGES
42
CHANGES
@ -1,3 +1,45 @@
|
|||||||
|
Version 2.11
|
||||||
|
============
|
||||||
|
|
||||||
|
Released 2018-02-09
|
||||||
|
|
||||||
|
* New features:
|
||||||
|
|
||||||
|
- Add `json_pack()` format specifiers s*, o* and O* for values that
|
||||||
|
can be omitted if null (#339).
|
||||||
|
|
||||||
|
- Add `json_error_code()` to retrieve numeric error codes (#365, #380,
|
||||||
|
#381).
|
||||||
|
|
||||||
|
- Enable thread safety for `json_dump()` on all systems. Enable thread
|
||||||
|
safe `json_decref()` and `json_incref()` for modern compilers (#389).
|
||||||
|
|
||||||
|
- Add `json_sprintf()` and `json_vsprintf()` (#393).
|
||||||
|
|
||||||
|
* Bug Fixes:
|
||||||
|
|
||||||
|
- Fix incorrect report of success from `json_dump_file()` when an error
|
||||||
|
is returned by `fclose()` (#359).
|
||||||
|
|
||||||
|
- Make json_equal() const-correct (#344).
|
||||||
|
|
||||||
|
- Fix incomplete stealing of references by `json_pack()` (#374).
|
||||||
|
|
||||||
|
* Build:
|
||||||
|
|
||||||
|
- Work around gcc's -Wimplicit-fallthrough.
|
||||||
|
|
||||||
|
- Fix CMake detection of `sys/types.h` header (#375).
|
||||||
|
|
||||||
|
- Fix `jansson.pc` generated by CMake to be more consistent with the one
|
||||||
|
generated using GNU Autotools (#368).
|
||||||
|
|
||||||
|
* Other:
|
||||||
|
|
||||||
|
- Miscellaneous documentation fixes (#356, #378, #395).
|
||||||
|
|
||||||
|
- Remove unnecessary reference actions from parsers (#377).
|
||||||
|
|
||||||
Version 2.10
|
Version 2.10
|
||||||
============
|
============
|
||||||
|
|
||||||
|
@ -86,10 +86,10 @@ endif (WIN32)
|
|||||||
# set (JANSSON_VERSION "2.3.1")
|
# set (JANSSON_VERSION "2.3.1")
|
||||||
# set (JANSSON_SOVERSION 2)
|
# set (JANSSON_SOVERSION 2)
|
||||||
|
|
||||||
set(JANSSON_DISPLAY_VERSION "2.10")
|
set(JANSSON_DISPLAY_VERSION "2.11")
|
||||||
|
|
||||||
# This is what is required to match the same numbers as automake's
|
# This is what is required to match the same numbers as automake's
|
||||||
set(JANSSON_VERSION "4.10.0")
|
set(JANSSON_VERSION "4.11.0")
|
||||||
set(JANSSON_SOVERSION 4)
|
set(JANSSON_SOVERSION 4)
|
||||||
|
|
||||||
# for CheckFunctionKeywords
|
# for CheckFunctionKeywords
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
AC_PREREQ([2.60])
|
AC_PREREQ([2.60])
|
||||||
AC_INIT([jansson], [2.10], [petri@digip.org])
|
AC_INIT([jansson], [2.11], [petri@digip.org])
|
||||||
|
|
||||||
AC_CONFIG_AUX_DIR([.])
|
AC_CONFIG_AUX_DIR([.])
|
||||||
AM_INIT_AUTOMAKE([1.10 foreign])
|
AM_INIT_AUTOMAKE([1.10 foreign])
|
||||||
|
@ -48,7 +48,7 @@ copyright = u'2009-2016, Petri Lehtinen'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '2.10'
|
version = '2.11'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = version
|
release = version
|
||||||
|
|
||||||
|
@ -24,4 +24,4 @@ libjansson_la_SOURCES = \
|
|||||||
libjansson_la_LDFLAGS = \
|
libjansson_la_LDFLAGS = \
|
||||||
-no-undefined \
|
-no-undefined \
|
||||||
-export-symbols-regex '^json_' \
|
-export-symbols-regex '^json_' \
|
||||||
-version-info 14:0:10
|
-version-info 15:0:11
|
||||||
|
@ -21,11 +21,11 @@ extern "C" {
|
|||||||
/* version */
|
/* version */
|
||||||
|
|
||||||
#define JANSSON_MAJOR_VERSION 2
|
#define JANSSON_MAJOR_VERSION 2
|
||||||
#define JANSSON_MINOR_VERSION 10
|
#define JANSSON_MINOR_VERSION 11
|
||||||
#define JANSSON_MICRO_VERSION 0
|
#define JANSSON_MICRO_VERSION 0
|
||||||
|
|
||||||
/* Micro version is omitted if it's 0 */
|
/* Micro version is omitted if it's 0 */
|
||||||
#define JANSSON_VERSION "2.10"
|
#define JANSSON_VERSION "2.11"
|
||||||
|
|
||||||
/* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this
|
/* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this
|
||||||
for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */
|
for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */
|
||||||
|
Loading…
Reference in New Issue
Block a user