forked from crazyxman/simdjson_php
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.xml
280 lines (278 loc) · 10.8 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>simdjson</name>
<channel>pecl.php.net</channel>
<summary>Provides faster json decoding through simdjson bindings for PHP</summary>
<description>Provides faster json decoding through simdjson bindings for PHP (Single Instruction, Multiple Data)</description>
<lead>
<name>Tyson Andre</name>
<user>tandre</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<!-- https://pecl.php.net/release-upload.php fails with "User does not exist" for blank username, there is no corresponding PECL account.
<lead>
<name>Jinxi Wang</name>
<user></user>
<email>[email protected]</email>
<active>yes</active>
</lead>
-->
<date>2022-10-19</date>
<version>
<release>4.0.1dev</release>
<api>4.0.1dev</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Update the README
</notes>
<contents>
<dir name="/">
<file name="CMakeLists.txt" role="src"/>
<file name="config.m4" role="src"/>
<file name="config.w32" role="src"/>
<file name="CREDITS" role="doc"/>
<file name="LICENSE" role="doc"/>
<file name="php_simdjson.h" role="src"/>
<file name="php_simdjson.cpp" role="src"/>
<file name="README.md" role="doc"/>
<file name="simdjson.stub.php" role="src"/>
<file name="simdjson_arginfo.h" role="src"/>
<dir name="src">
<file name="simdjson_bindings.cpp" role="src"/>
<file name="simdjson_bindings_defs.h" role="src"/>
<file name="simdjson.cpp" role="src"/>
<file name="simdjson.h" role="src"/>
</dir>
<dir name="tests">
<file name="32bit_support.phpt" role="test"/>
<file name="64bit_support.phpt" role="test"/>
<file name="decode_args.phpt" role="test"/>
<file name="decode_exception.phpt" role="test"/>
<file name="decode_integer_overflow.phpt" role="test"/>
<file name="decode_invalid_property.phpt" role="test"/>
<file name="decode_max_depth.phpt" role="test"/>
<file name="decode_max_depth_memory_reduction.phpt" role="test"/>
<file name="decode_repeat.phpt" role="test"/>
<file name="decode_result.phpt" role="test"/>
<file name="decode_strict_types.phpt" role="test"/>
<file name="decode_types.phpt" role="test"/>
<file name="depth.phpt" role="test"/>
<file name="dump.inc" role="test"/>
<file name="is_valid.phpt" role="test"/>
<file name="is_valid_args.phpt" role="test"/>
<file name="key_count.phpt" role="test"/>
<file name="key_count_args.phpt" role="test"/>
<file name="key_count_exception.phpt" role="test"/>
<file name="key_exists.phpt" role="test"/>
<file name="key_exists_args.phpt" role="test"/>
<file name="key_value_args.phpt" role="test"/>
<file name="key_value_deep_string.phpt" role="test"/>
<file name="key_value_exception.phpt" role="test"/>
<file name="key_value_int.phpt" role="test"/>
<file name="key_value_result.phpt" role="test"/>
<file name="key_value_slash.phpt" role="test"/>
<file name="uint64_overflow.phpt" role="test"/>
<file name="_files/result.json" role="test"/>
<dir name="compat">
<file name="001.phpt" role="test"/>
<file name="bug41067.phpt" role="test"/>
<file name="bug41504.phpt" role="test"/>
<file name="bug45791.phpt" role="test"/>
<file name="bug47644.phpt" role="test"/>
<file name="bug50224.phpt" role="test"/>
<file name="bug62010.phpt" role="test"/>
<file name="bug64874_part1.phpt" role="test"/>
<file name="bug64874_part2.phpt" role="test"/>
<file name="bug68546.phpt" role="test"/>
<file name="bug68817.phpt" role="test"/>
<file name="bug68938.phpt" role="test"/>
<file name="bug69187.phpt" role="test"/>
<file name="fail001.phpt" role="test"/>
<file name="json_decode_basic.phpt" role="test"/>
<file name="json_decode_invalid_utf8.phpt" role="test"/>
<file name="pass001.1_64bit.phpt" role="test"/>
<file name="pass001.1.phpt" role="test"/>
<file name="pass001.phpt" role="test"/>
<file name="pass002.phpt" role="test"/>
<file name="pass003.phpt" role="test"/>
</dir>
</dir>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>7.0.0</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>simdjson</providesextension>
<extsrcrelease/>
<changelog>
<release>
<date>2022-10-19</date>
<version>
<release>4.0.0</release>
<api>4.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Make the `SIMDJSON_ERR_*` constants case-sensitive in all PHP versions.
(The code it was based on was missing the flag needed to mark constants as case sensitive before PHP 8)
* Fix a bug that prevented using JSON pointer in `simdjson_key_count`, `simdjson_key_exists`, and `simdjson_key_value` with a leading slash https://www.rfc-editor.org/rfc/rfc6901.html.
This bug was introduced when working around test failures following a change in json pointer validation in the underlying C simdjson library.
* "" in a JSON pointer continues to refer to the entire document.
* "/" in a JSON pointer now properly refers to the key that is the empty string.
* Continue to allow the non-standard omission of the leading "/" for compatibility with earlier PECL releases. This may be deprecated in a subsequent release.
</notes>
</release>
<release>
<version>
<release>3.0.0</release>
<api>3.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Add SimdJsonValueError. In php 8.0+, it extends ValueError, and it extends Error in older php versions.
This provides an API similar to the JSON module, which started throwing ValueError for invalid depths in php 8.0.
* Throw SimdJsonValueError instead of emitting notices if $depth is too small or too large in all simdjson PHP functions.
simdjson_is_valid(), simdjson_key_count() and simdjson_key_exists() now have non-null return types.
* Throw a SimdJsonException in simdjson_key_exists on error conditions such as invalid json, to be consistent with other simdjson PHP functions.
* Add an optional boolean `$throw_if_uncountable = false` to simdjson_key_count.
When this is overridden to be true, simdjson_key_count will throw a SimdJsonException if the JSON pointer refers to a value that exists but is neither an array nor an object instead of returning 0.
* Rename the parameter $assoc to $associative in simdjson_decode and simdjson_key_value, to match naming practices used in json_decode()
</notes>
</release>
<release>
<date>2022-10-14</date>
<version>
<release>2.1.0</release>
<api>2.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Allow out of range 64-bit values in JSON integer syntax and allow floating point values outside of the max/min finite floating point values (i.e. parsing to +/- infinity).
This allows simdjson_decode() to be used as a replacement for json_decode() in more use cases.
* Return the correct value in simdjson_key_count() for JSON pointers to arrays/objects exceeding size 0xFFFFFF.
Previously, this would be limited to returning at most 0xFFFFFF(16777215).
* Throw 'SimdJsonException extends RuntimeException' instead of RuntimeException.
* Set the error code from simdjson as SimdJsonException->getCode()
* Expose error_code constants from simdjson as `SIMDJSON_ERR_$ERRCODENAME`
</notes>
</release>
<release>
<date>2022-10-01</date>
<version>
<release>2.0.5</release>
<api>2.0.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Reuse PHP's 1-byte and 0-byte interned strings in simdjson_decode, reducing memory usage for those strings. (e.g. for the key/value in '{"x":""}')
</notes>
</release>
<release>
<date>2022-10-01</date>
<version>
<release>2.0.4</release>
<api>2.0.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Add `-fvisibility=hidden` to compiler options to reduce compiled extension size by avoiding exporting symbols by default.
* If the requested json parsing $depth is excessively large when reallocating larger buffers for the C simdjson parser,
then internally use a smaller $depth that would behave identically with lower memory usage. (#66)
* Update simdjson to fix handling of surrogate pairs with invalid low surrogate.
</notes>
</release>
<release>
<date>2022-08-30</date>
<version>
<release>2.0.3</release>
<api>2.0.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Fix error validating package.xml when uploading to PECL due to blank username of lead without a PECL account.
</notes>
</release>
<release>
<date>2022-08-30</date>
<version>
<release>2.0.2</release>
<api>2.0.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Fix license metadata in package.xml
</notes>
</release>
<release>
<date>2022-08-29</date>
<version>
<release>2.0.1</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* On 32-bit builds, convert decoded 64-bit integers to floats if they would be out of range.
</notes>
</release>
<release>
<date>2022-08-15</date>
<version>
<release>2.0.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</license>
<notes>
* Initial PECL release
</notes>
</release>
</changelog>
</package>