Skip to content

Commit 6dddf68

Browse files
authored
Merge pull request #396 from coreyfarrell/2.11
jansson 2.11
2 parents 0362098 + 744fe5e commit 6dddf68

File tree

6 files changed

+49
-7
lines changed

6 files changed

+49
-7
lines changed

CHANGES

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
Version 2.11
2+
============
3+
4+
Released 2018-02-09
5+
6+
* New features:
7+
8+
- Add `json_pack()` format specifiers s*, o* and O* for values that
9+
can be omitted if null (#339).
10+
11+
- Add `json_error_code()` to retrieve numeric error codes (#365, #380,
12+
#381).
13+
14+
- Enable thread safety for `json_dump()` on all systems. Enable thread
15+
safe `json_decref()` and `json_incref()` for modern compilers (#389).
16+
17+
- Add `json_sprintf()` and `json_vsprintf()` (#393).
18+
19+
* Bug Fixes:
20+
21+
- Fix incorrect report of success from `json_dump_file()` when an error
22+
is returned by `fclose()` (#359).
23+
24+
- Make json_equal() const-correct (#344).
25+
26+
- Fix incomplete stealing of references by `json_pack()` (#374).
27+
28+
* Build:
29+
30+
- Work around gcc's -Wimplicit-fallthrough.
31+
32+
- Fix CMake detection of `sys/types.h` header (#375).
33+
34+
- Fix `jansson.pc` generated by CMake to be more consistent with the one
35+
generated using GNU Autotools (#368).
36+
37+
* Other:
38+
39+
- Miscellaneous documentation fixes (#356, #378, #395).
40+
41+
- Remove unnecessary reference actions from parsers (#377).
42+
143
Version 2.10
244
============
345

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ endif (WIN32)
8686
# set (JANSSON_VERSION "2.3.1")
8787
# set (JANSSON_SOVERSION 2)
8888

89-
set(JANSSON_DISPLAY_VERSION "2.10")
89+
set(JANSSON_DISPLAY_VERSION "2.11")
9090

9191
# This is what is required to match the same numbers as automake's
92-
set(JANSSON_VERSION "4.10.0")
92+
set(JANSSON_VERSION "4.11.0")
9393
set(JANSSON_SOVERSION 4)
9494

9595
# for CheckFunctionKeywords

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.60])
2-
AC_INIT([jansson], [2.10], [petri@digip.org])
2+
AC_INIT([jansson], [2.11], [petri@digip.org])
33

44
AC_CONFIG_AUX_DIR([.])
55
AM_INIT_AUTOMAKE([1.10 foreign])

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '2.10'
51+
version = '2.11'
5252
# The full version, including alpha/beta/rc tags.
5353
release = version
5454

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ libjansson_la_SOURCES = \
2424
libjansson_la_LDFLAGS = \
2525
-no-undefined \
2626
-export-symbols-regex '^json_' \
27-
-version-info 14:0:10
27+
-version-info 15:0:11

src/jansson.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ extern "C" {
2121
/* version */
2222

2323
#define JANSSON_MAJOR_VERSION 2
24-
#define JANSSON_MINOR_VERSION 10
24+
#define JANSSON_MINOR_VERSION 11
2525
#define JANSSON_MICRO_VERSION 0
2626

2727
/* Micro version is omitted if it's 0 */
28-
#define JANSSON_VERSION "2.10"
28+
#define JANSSON_VERSION "2.11"
2929

3030
/* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this
3131
for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */

0 commit comments

Comments
 (0)