tizen 2.4 release
[external/libjson-glib.git] / NEWS
1 Overview of changes for 1.0
2 ==============================
3 • Bump the dependency on GLib to 2.38
4 • Use the TAP driver for the test suite
5 • Improve the syntax validation in JsonPath
6 • Validate the JsonParser input to be UTF-8
7 • Add command line tools for validating and formatting JSON
8 • Improve documentation
9
10 Overview of changes for 0.16.0
11 ==============================
12 • Fixes for building with VisualStudio. [Chun-wei Fan]
13 • Allow out-of-tree builds. [Colin Walters]
14 • Bump the dependency on GLib to 2.31.
15 • Use the new deprecation system provided by GLib.
16 • Simplify the value handling inside JsonNode.
17 • Use lcov to generate coverage reports for the test suite.
18 • Check expected ABI when building.
19 • Drop dependency on gnome-autogen.sh when building from Git.
20
21 Overview of changes for 0.14.0
22 ==============================
23 • Documentation fixes
24 • Bump the dependency on GLib to 2.26
25 • Allow building on Windows using VisualStudio [Chun-wei Fan]
26 • Add JSON ↔ GVariant translation [Eduardo Lima Mitev]
27 • Improve sanity checks when (de)serializing GObject
28   properties [Tristan Van Berkom]
29 • Add missing introspection annotations [Luca Bruno]
30 • Add JsonReader.list_members()
31 • Allow using JsonReader.read_element() on JSON objects
32 • Remove all G_CONST_RETURN usage after the deprecation
33 • Allow JsonSerializable to override the introspection and
34   modification of properties
35 • Add i18n support for GError messages
36 • Do not serialize GObject properties that match their default
37   values.
38 • Make JsonReader perform a stricter validation especially when using
39   the strongly typed accessors.
40
41 Overview of changes for 0.12.0
42 ==============================
43 • Support surrogate pairs in JSON strings [Eiichi Sato]
44 • Update the test suite
45 • Add (optional) coverage reports
46 • Improve strictness of JsonParser
47 • Improve error reporting of JsonParser
48 • Add JsonBuilder, a convenience API for programmatic building
49   of JSON trees [Luca Bruno]
50 • Add methods for JsonParser and JsonGenerator to handle Input|OutputStream
51   objects coming from GIO.
52 • Add JsonReader, a convenience API for cursor-based parsing of
53   JSON trees
54 • Depend on GObject-Introspection ≥ 0.9.5
55
56 Overview of changes for 0.10.0
57 ==============================
58 • Fix generation of doubles [Cornelius Hald]
59 • Add more units to the test suite
60 • Add JsonNode macros for quick type checking
61 • Guarantee insertion order when parsing and generating JSON Objects
62 • Serialize GParamSpecObject properties
63 • Add serialization and deserialization for GBoxed types
64 • Add API for serializing GObjects to, and deserializing from, JsonNode
65 • Build environment fixes
66 • Documentation fixes
67 • Generate correct introspection data
68 • Make JsonSerializable in complete control of deserialization [Tristan Van
69   Berkom]
70
71 Overview of changes for 0.8.0
72 =============================
73 * Remove the in-tree Vala bindings: they are part of Vala, now
74 * Remove the in-tree Debian packaging
75 * Fix bug #958: JsonGenerator does not escape special characters
76 * Fix bug #965: Conditionally compile the test suite
77 * Display the filename and line inside the error messages when
78   loading from a file
79 * Fix bug #1203: Correctly terminate a string array
80 * Fix bug #1393: Regression tests fail on OpenBSD
81 * Do not leak memory on error code paths
82 * Improve and clean up the build system
83 * Make JsonNode completely opaque
84 * Conditionally generate introspection data on build
85 * Fix bug #1353: Do not overwrite when copying
86 * Deprecate json_object_add_member()
87 * Add convenience accessors for JsonObject and JsonArray
88 * Add convenience iteration functions for JsonObject and JsonArray
89 * Automatically promote integers to gint64, to compensate for the
90   lack of integer size in the JSON specificiation
91 * Disallow the inclusion of single header files: only json-glib,h
92   and json-gobject.h can be included directly
93 * Documentation fixes
94 * Clean up and remove code duplication inside the Parser object
95
96 Overview of changes for 0.6.0
97 =============================
98 * Allow deserialization of strings into enum and flag types
99 * Add the :indent-char property to JsonGenerator
100 * Add functions to retrieve copies of the nodes inside Object and Array
101 * Fix leaks and invalid accesses
102 * Use the right type for the buffer length parameter in JsonParser
103 * Provide a default implementation for JsonSerializable
104 * Provide our own JSON tokenizer (using GScanner) for the JSON-only
105   features that would have been lost by using GScanner
106 * Add a fully automated test suite, using the GTest framework
107 * Allow 'null' nodes to return a value without warnings
108 * Add support for parsing Unicode characters escaped using \uXXXX
109 * Make the deserialization of G_TYPE_STRV properties more robust
110 * Export the public symbols only
111 * Provide GTypes for the enumerations
112 * Avoid a warning when trying to copy an empty JsonNode
113 * Fix gtk-doc cross-references with GLib and GObject documentation
114
115 Overview of changes for 0.4.0
116 =============================
117 * Support parsing of negative numbers
118 * Fix parse error propagation and message
119 * More parser sanity checks
120 * GObject deserialization support
121 * Detect and parse JSON masked as a JavaScript assignment
122 * Allow using JsonNode with GObject properties and signals
123 * Add JsonGenerator:root property