aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2011-02-24 22:15:13 +0200
committerPetri Lehtinen <petri@digip.org>2011-02-24 22:15:13 +0200
commit53bc9d8a39a440d6cbd70c139bff4ae67787b8eb (patch)
tree72034af8d75aff9f6480ed950986d1a596ecaf65 /CHANGES
parenta3468c9bd8f02bef8c4a42d385a68e81c46f9695 (diff)
downloadjansson-53bc9d8a39a440d6cbd70c139bff4ae67787b8eb.zip
jansson-53bc9d8a39a440d6cbd70c139bff4ae67787b8eb.tar.gz
jansson-53bc9d8a39a440d6cbd70c139bff4ae67787b8eb.tar.bz2
Add "Upgrading from older releases" to docs, tweak CHANGES a bit
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES18
1 files changed, 9 insertions, 9 deletions
diff --git a/CHANGES b/CHANGES
index c2e393b..cf4f5a3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,8 +2,8 @@ Version 2.0 (in development)
============================
This release is backwards incompatible with the 1.x release series.
-See the documentation for instructions on how to port existing code to
-Jansson 2.0.
+See the chapter "Upgrading from older versions" in documentation for
+details.
* Backwards incompatible changes:
@@ -14,7 +14,7 @@ Jansson 2.0.
type available, i.e. long long if it's supported, otherwise long.
Add a typedef json_int_t that defines the type.
- - Change the maximum indentation depth to 32 spaces in encoder. This
+ - Change the maximum indentation depth to 31 spaces in encoder. This
frees up bits from the flags parameter of encoding functions
`json_dumpf()`, `json_dumps()` and `json_dump_file()`.
@@ -23,8 +23,8 @@ Jansson 2.0.
* New features
- - `json_pack()`, `json_pack_ex()`, `json_vpack_ex()`: Create complex
- JSON values based on a format string.
+ - `json_pack()`, `json_pack_ex()`, `json_vpack_ex()`: Create JSON
+ values based on a format string.
- `json_unpack()`, `json_unpack_ex()`, `json_vunpack_ex()`: Simple
value extraction and validation functionality based on a format
@@ -33,12 +33,12 @@ Jansson 2.0.
- Add column, position and source fields to the ``json_error_t``
struct.
- - Report the error context for UTF-8 decoding errors in the decoder.
+ - Enhance error reporting in the decoder.
- - Add preprocessor constants that define the library version.
+ - ``JANSSON_VERSION`` et al.: Preprocessor constants that define the
+ library version.
- - Add API for setting custom memory allocation functions:
- `json_set_alloc_funcs()`.
+ - `json_set_alloc_funcs()`: Set custom memory allocation functions.
* Fix many portability issues, especially on Windows.