Skip to content

Commit

Permalink
jansson 2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
npmccallum authored and Petri Lehtinen committed Mar 2, 2017
1 parent df454e3 commit b23201b
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 7 deletions.
25 changes: 25 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
Version 2.10
============

Released 2017-03-02

* New features:

- Add JSON_EMBED encoding flag allowing arrays and objects to be encoded
into existing streams (#329).

- Add `json_dumpb()` function for dumping to a pre-allocated buffer (#328).

- Add `json_dumpfd()` and `json_loadfd()` functions for dumping to streaming
file descriptors (#328).

- Add support for parsing buffers larger than 2GB (#309).

* Build:

- Fix CMake build when LONG_LONG_INT is defined as "" (#321)

* Other:

- Internal code cleanup (#311, #314)

Version 2.9
===========

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.9")
set(JANSSON_DISPLAY_VERSION "2.10")

# This is what is required to match the same numbers as automake's
set(JANSSON_VERSION "4.9.0")
set(JANSSON_VERSION "4.10.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.9], [[email protected]])
AC_INIT([jansson], [2.10], [[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-dev'
version = '2.10'
# 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 13:0:9
-version-info 14:0:10
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 9
#define JANSSON_MINOR_VERSION 10
#define JANSSON_MICRO_VERSION 0

/* Micro version is omitted if it's 0 */
#define JANSSON_VERSION "2.9"
#define JANSSON_VERSION "2.10"

/* 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 b23201b

Please sign in to comment.