Skip to content

Commit

Permalink
Merge pull request #396 from coreyfarrell/2.11
Browse files Browse the repository at this point in the history
jansson 2.11
  • Loading branch information
akheron authored Feb 11, 2018
2 parents 0362098 + 744fe5e commit 6dddf68
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 7 deletions.
42 changes: 42 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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
============

Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ endif (WIN32)
# set (JANSSON_VERSION "2.3.1")
# 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
set(JANSSON_VERSION "4.10.0")
set(JANSSON_VERSION "4.11.0")
set(JANSSON_SOVERSION 4)

# for CheckFunctionKeywords
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ([2.60])
AC_INIT([jansson], [2.10], [[email protected]])
AC_INIT([jansson], [2.11], [[email protected]])

AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([1.10 foreign])
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# built documents.
#
# The short X.Y version.
version = '2.10'
version = '2.11'
# The full version, including alpha/beta/rc tags.
release = version

Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ libjansson_la_SOURCES = \
libjansson_la_LDFLAGS = \
-no-undefined \
-export-symbols-regex '^json_' \
-version-info 14:0:10
-version-info 15:0:11
4 changes: 2 additions & 2 deletions src/jansson.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ extern "C" {
/* version */

#define JANSSON_MAJOR_VERSION 2
#define JANSSON_MINOR_VERSION 10
#define JANSSON_MINOR_VERSION 11
#define JANSSON_MICRO_VERSION 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
for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */
Expand Down

0 comments on commit 6dddf68

Please sign in to comment.