Skip to content

Commit

Permalink
Merge pull request #448 from coreyfarrell/2.12
Browse files Browse the repository at this point in the history
jansson 2.12
  • Loading branch information
akheron committed Nov 26, 2018
2 parents 2a31c4f + 10afd33 commit 71c4e8e
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 7 deletions.
40 changes: 40 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
Version 2.12

Released 2018-11-25

* Bug fixes:

- Fix error message in `json_pack()` for NULL object (#409).

- Avoid invalid memory read in `json_pack()` (#421).

- Call va_end after va_copy in `json_vsprintf()` (#427).

- Improve handling of formats with '?' and '*' in `json_pack()` (#438).

- Remove inappropriate `jsonp_free()` which caused segmentation fault in
error handling (#444).

* Build:

- Add function attributes for GCC and CLANG to provide warnings on improper
use of jansson routines (#404).

- Many CMake fixes (#408, #412, #415).

- Enable -Bsymbolic-functions linker flag whenever possible.

- Resolve various compiler warnings (#423, #430, #435, #436).

- Fix code coverage ignored paths (#439).

* Other:

- Test coverage improvements (#398, #400).

- Add VS 2017 to appveyor, update Visual Studio documentation (#417).

- Update copyright for 2018 (#424).

- Update install instructions in README (#401).

Version 2.11
============

Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ endif()
# set (JANSSON_VERSION "2.3.1")
# set (JANSSON_SOVERSION 2)

set(JANSSON_DISPLAY_VERSION "2.11")
set(JANSSON_DISPLAY_VERSION "2.12")

# This is what is required to match the same numbers as automake's
set(JANSSON_VERSION "4.11.0")
set(JANSSON_VERSION "4.11.1")
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.11], [petri@digip.org])
AC_INIT([jansson], [2.12], [petri@digip.org])

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.11'
version = '2.12'
# 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,5 +24,5 @@ libjansson_la_SOURCES = \
libjansson_la_LDFLAGS = \
-no-undefined \
-export-symbols-regex '^json_' \
-version-info 15:0:11 \
-version-info 15:1:11 \
@JSON_BSYMBOLIC_LDFLAGS@
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 11
#define JANSSON_MINOR_VERSION 12
#define JANSSON_MICRO_VERSION 0

/* Micro version is omitted if it's 0 */
#define JANSSON_VERSION "2.11"
#define JANSSON_VERSION "2.12"

/* 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 71c4e8e

Please sign in to comment.