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