File libjansson.changes of Package libjansson
160
1
-------------------------------------------------------------------
2
Mon Feb 6 08:14:34 UTC 2023 - Paolo Stivanin <pstivanin@suse.com>
3
4
- Update to 2.14 (boo#1201817):
5
* New Features:
6
+ Add `json_object_getn`, `json_object_setn`, `json_object_deln`, and the
7
corresponding `nocheck` functions.
8
+ Add jansson_version_str() and jansson_version_cmp() for runtime
9
version checking
10
+ Add json_object_update_new(), json_object_update_existing_new()
11
and json_object_update_missing_new() functions
12
+ Add json_object_update_recursive()
13
+ Add `json_pack()` format specifiers s*, o* and O* for values
14
that can be omitted if null (#339).
15
+ Add `json_error_code()` to retrieve numeric error codes
16
(#365, #380, #381).
17
+ Enable thread safety for `json_dump()` on all systems.
18
Enable thread safe `json_decref()` and `json_incref()` for
19
modern compilers (#389).
20
+ Add `json_sprintf()` and `json_vsprintf()` (#393).
21
* Fixes:
22
+ Handle `sprintf` corner cases.
23
+ Add infinite loop check in json_deep_copy()
24
+ Enhance JANSSON_ATTRS macro to support earlier C standard(C89)
25
+ Update version detection for sphinx-build
26
+ Fix error message in `json_pack()` for NULL object (#409).
27
+ Avoid invalid memory read in `json_pack()` (#421).
28
+ Call va_end after va_copy in `json_vsprintf()` (#427).
29
+ Improve handling of formats with '?' and '*' in `json_pack()`
30
(#438).
31
+ Remove inappropriate `jsonp_free()` which caused
32
segmentation fault in error handling (#444).
33
+ Fix incorrect report of success from `json_dump_file()` when
34
an error is returned by `fclose()` (#359).
35
+ Make json_equal() const-correct (#344).
36
+ Fix incomplete stealing of references by `json_pack()` (#374)
37
- Use GitHub as source URLs: Release hasn't been uploaded to digip.org.
38
- Add check section.
39
40
-------------------------------------------------------------------
41
Wed Mar 1 16:04:10 UTC 2017 - coolo@suse.com
42
43
- update to new upstream release 2.9
44
* New features:
45
Add json_auto_t to automatically decref a value that goes out of scope.
46
Available only on GCC and Clang. (#301)
47
* Small documentation fixes.
48
49
- changelog from 2.8
50
* New features:
51
- Always preserve insertion order of object items. json_object_iter()
52
and friends, json_object_foreach() and json_dumps() and friends now
53
always work in the insertion order of object items (#293).
54
- Add json_object_foreach_safe() macro that allows json_object_del()
55
calls during iteration (#230).
56
- Add json_get_alloc_funcs() to allow reading the allocation functions
57
set by json_set_alloc_funcs() (#262, #264).
58
- Add json_pack() format specifiers s?, o? and O? for values that can
59
be null (#261, #270).
60
* Bug fixes:
61
- Fix a crash when parsing inputs consisting of very deeply nested
62
arrays or objects (#282, #284).
63
- Never convert numbers to integers in the parser when
64
JSON_DECODE_INT_AS_REAL is set.
65
- Fix a use-after-free in json_pack() error handling.
66
- Fix subnormal number parsing on mingw32.
67
- Handle out-of-memory situations gracefully in the hashtable
68
implementation
69
70
-------------------------------------------------------------------
71
Wed Nov 05 10:18:23 UTC 2014 - efimovov@gmail.com
72
73
- Update to new upstream release 2.7
74
* The json_pack et al functions recognize the specifiers "s%", "+%"
75
and "+#"
76
* Add length-aware string constructors "json_stringn()" and
77
"json_stringn_nocheck()", length-aware string mutators
78
"json_string_setn()" and "json_string_setn_nocheck()",
79
and a function for getting string's length "json_string_length()"
80
* Support ""\u0000"" escapes in the decoder. The support can be
81
enabled by using the ""JSON_ALLOW_NUL"" decoding flag
82
* Add "json_boolean_value()" as an alias for "json_is_true()"
83
* Add JSON_REAL_PRECISION encoding flag/macro for controlling real
84
number precision
85
* Define the maximum indentation as JSON_MAX_INDENT.
86
* Fix cases when some malformed ""\uNNNN"" escapes could crash
87
the decoder with an assertion failure
88
* Avoid integer overflows with very long strings in UTF-8 decoder
89
and hashtable
90
* Check for *NULL* key in "json_object_get()"
91
and "json_object_del()"
92
* "json_unpack()": Allow mixing JSON_STRICT with optional keys.
93
* Fix int/int32 mismatch
94
* Parse subnormal numbers correctly
95
96
-------------------------------------------------------------------
97
Thu Sep 11 18:59:04 UTC 2014 - hrvoje.senjan@gmail.com
98
99
- Add baselibs.conf
100
101
-------------------------------------------------------------------
102
Sun Jul 20 10:50:34 UTC 2014 - jengelh@inai.de
103
104
- Update to new upstream release 2.6
105
* Fixed CVE-2013-6401: avoid bad performance in large JSON objects
106
* The json_pack et al functions recognize the specifiers "s#", "+"
107
and "+#"
108
* Add the "JSON_DECODE_INT_AS_REAL" flag
109
* Add "json_array_foreach()" function
110
* Add the "json_boolean()" macro that returns the JSON true or
111
false value based on its argument
112
* Add "json_load_callback()" that calls a callback function
113
repeatedly to read the JSON input.
114
* Add JSON_ESCAPE_SLASH encoding flag to escape all occurences of
115
'/' with '\/'.
116
- Drop defunct gpg-offline and use local source_validator instead
117
118
-------------------------------------------------------------------
119
Wed Nov 28 19:42:17 CET 2012 - sbrabec@suse.cz
120
121
- Verify GPG signature.
122
123
-------------------------------------------------------------------
124
Sat May 12 15:18:44 UTC 2012 - jengelh@inai.de
125
126
- Update to new upstream release 2.3.1
127
* Add support for optional object keys with the "{s?o}" syntax
128
in json_unpack and the like
129
* Add json_object_update_existing() and json_object_update_missing()
130
for updating only existing keys or only adding missing keys to an
131
object.
132
* Add json_object_foreach() for more convenient iteration over
133
objects.
134
* When decoding JSON, write the number of bytes that were read from
135
input to "error.position" also on success. This is handy with
136
JSON_DISABLE_EOF_CHECK.
137
* Add support for decoding any JSON value, not just arrays or
138
objects. The support is enabled with the new "JSON_DECODE_ANY"
139
flag.
140
* Avoid problems with object's serial number growing too big.
141
* Remove "+" and leading zeros from exponents in the encoder.
142
* Decoding functions now return NULL if the first argument is NULL.
143
144
-------------------------------------------------------------------
145
Tue Jan 31 16:50:56 UTC 2012 - jengelh@medozas.de
146
147
- Provide pkgconfig symbols
148
149
-------------------------------------------------------------------
150
Fri Oct 21 16:03:16 UTC 2011 - jengelh@medozas.de
151
152
- Remove redundant tags/sections (cf. specfile guidelines)
153
- Centralize the shlib package name
154
155
-------------------------------------------------------------------
156
Mon Oct 17 14:53:08 UTC 2011 - fcastelli@suse.com
157
158
- Create initial package (v2.2.1)
159
160