Debian Codegraph @

Changes

raw
1 Revision history for Perl extension JSON.
2
3 4.10 2022-10-09
4 - updated backportPP with JSON::PP 4.12
5
6 4.09 2022-08-01
7 - fix a test to pass under perl with core bool support
8
9 4.08 2022-07-31
10 - updated backportPP with JSON::PP 4.11
11
12 4.07 2022-06-24
13 - updated backportPP with JSON::PP 4.10
14
15 4.06 2022-05-22
16 - updated backportPP with JSON::PP 4.09
17
18 4.05 2022-01-14
19 - removed VERSION section in pod (GH#52, abraxxa++)
20
21 4.04 2021-12-17
22 - updated backportPP with JSON::PP 4.07
23
24 4.03 2021-01-24
25 - corrected one typo in POD (James E Keenan)
26 - updated backportPP with JSON::PP 4.06
27
28 4.02 2019-02-23
29 - fixed a test that breaks if perl is compiled with -Dquadmath
30 (RT-128589)
31
32 4.01 2019-01-21
33 - added boolean function/method that takes a scalar value and
34 returns a boolean value (David Cantrell)
35
36 4.00 2018-12-07
37 - production release
38
39 3.99_01 2018-12-03
40 - BACKWARD INCOMPATIBILITY:
41 As JSON::XS 4.0 changed its policy and enabled allow_nonref
42 by default, JSON::PP, and thus JSON, also enabled allow_nonref
43 by default
44
45 - updated backportPP with JSON::PP 3.99_01
46 - allow PERL_JSON_PP_USE_B environmental variable to restore
47 old number detection behavior for compatibility
48
49 2.97001 2017-12-21
50 - updated backportPP with JSON::PP 2.97001
51
52 2.97000 2017-11-21
53 - updated backportPP with JSON::PP 2.97000
54 - use 5 digit minor version number for a while to avoid
55 confusion
56 - fixed is_bool to use blessed() instead of ref()
57
58 2.96 2017-11-20
59 - fixed packaging issue
60 - updated backportPP with JSON::PP 2.96
61 - not to use newer Test::More features (RT-122421; ilmari++)
62
63 2.95 2017-11-20
64 - updated backportPP with JSON::PP 2.95
65
66 2.94 2017-05-29
67 - fixed VERSION issue caused by VERSION methods added to abstract
68 backend packages (RT-121892; ppisar++)
69 - fixed a test for perl 5.6
70
71 2.93 2017-05-19
72 - add VERSION methods to (abstract) backend packages
73 - explained backward incompatibility about backend method
74 - updated VERSIONs of backportPP modules
75
76 2.92 2017-05-15
77 - production release
78
79 2.91_04 2017-01-10
80 - updated backportPP with JSON::PP 2.91_04
81
82 2.91_03 2017-01-09
83 - reworked documentation, based on the one for JSON::XS
84 - updated backportPP with JSON::PP 2.91_03
85
86 2.91_02 2016-12-04
87 - fixed not to fail tests under Perl 5.25.* (srezic++)
88
89 2.91_01 2016-12-03
90 - PERL_JSON_BACKEND now accepts Cpanel::JSON::XS as well
91 - tweaked tests to support various backends
92 - made convert_blessed_universally (for Perl 5.18+) and
93 support_by_pp less harmful
94 - fixed N/A exit code in Makefile.PL (bulk88)
95 - various doc patches from gregoa, topaz, zoffix, singingfish,
96 yanick, dsteinbrunner, Toby Inkster
97 - removed duplicated tests
98 - removed base.pm dependency
99 - updated backportPP with JSON::PP 2.91_01
100
101 2.90 Wed Oct 30 19:48:43 2013
102
103 ** INCOMPATIBLE CHANGE **
104
105 - workaround for JSON::XS version 3.0 or later installed case.
106
107 * the objects returned by JSON::true/false are JSON::PP::Boolean.
108 * they do not overload 'eq'.
109
110 - changed test cases for this patch.
111
112 t/e02_bool.t
113 t/e03_bool2.t
114 t/x17_strange_overload.t
115 t/xe02_bool.t
116 t/xe03_bool2.t
117 t/xe12_boolean.t
118
119 2.61 Thu Oct 17 19:38:55 2013
120 - fixed return/or in _incr_parse
121 reported and patched by MAUKE, sprout and rjbs
122 https://rt.cpan.org/Public/Bug/Display.html?id=86948
123
124 2.60
125 - $json->is_xs, $json->is_pp was completely broken.
126 pointed by rt#75867 and emceelam
127
128 2.59 Wed Jun 5 14:35:54 2013
129 - PUREPERL_ONLY support was not supported...
130 and finally remove all PP options from Makefile.PL.
131 - recommend JSON::XS instead of conditionally requiring it
132 patched by miyagaw
133 ( for example, $ cpanm --with-recommends JSON)
134 - Hide more packages from PAUSE (and other stuff)
135 patched by miyagawa
136
137 2.58 Thu May 23 09:04:37 2013
138 - support PUREPERL_ONLY install option. (rt#84876)
139 (PERL_ONLY and NO_XS are not yet removed)
140 - stop installing JSON::XS automatically on Perl 5.18
141
142 2.57
143 - t/x17_strage_overload.t didn't work correctly.
144
145 2.56 Sat Apr 6 09:58:32 2013
146 - fixed t/x17_strage_overload.t (rt#84451 by Ricardo Signes)
147
148 2.55
149 - update JSON::BackportPP version
150
151 2.54 Fri Apr 5 16:15:08 2013
152 - fixed t/19_incr.t on perl >= 5.17.10 (wyant, rt#84154)
153 pathced by mbeijen and modified with demerphq's patch
154 - Fixed some spelling (by briandfoy)
155 - fixed sppeling (by Perlover)
156 - enhanced documents (Thanks to Justin Hunter and Olof Johansson)
157 - changed backend module loading for overloaded object behavior
158 (reported by tokuhirom)
159
160 2.53 Sun May 22 16:11:05 2011
161 - made Makefile.PL skipping a installing XS question
162 when set $ENV{PERL_ONLY} or $ENV{NO_XS} (rt#66820)
163
164 2.52 Sun May 22 15:05:49 2011
165 - fixed to_json (pointed and patched by mmcleric in rt#68359)
166 - backport JSON::PP 2.27200
167 * fixed incr_parse docodeing string more correctly (rt#68032 by LCONS)
168
169 2.51 Tue Mar 8 16:03:34 2011
170 - import JSON::PP 2.27105 as BackportPP
171 - fixed documentations (pointed by Britton Kerin and rt#64738)
172
173 2.50 Mon Dec 20 14:56:42 2010
174 [JSON]
175 - stable release
176
177 2.49_01 Sat Nov 27 22:03:17 2010
178 [JSON]
179 - JSON::PP is split away JSON distributino for perl 5.14
180 - JSON::backportPP is included in instead.
181
182 2.27 Sun Oct 31 20:32:46 2010
183 [JSON::PP]
184 - Some optimizations (gfx)
185 [JSON::PP::5005]
186 - added missing B module varibales (makamaka)
187
188 2.26 Tue Sep 28 17:41:37 2010
189 [JSON::PP]
190 - cleaned up code and enhanced sort option efficiency in encode.
191
192 2.25 Tue Sep 28 16:47:08 2010
193 [JSON]
194 - JSON::Backend::XS::Supportable always executed a needless process
195 with JSON::XS backend. This made encode/decode a bit slower.
196
197 2.24 Mon Sep 27 10:56:24 2010
198 [JSON::PP]
199 - tweaked code.
200 - optimized code in hash object encoding.
201
202 2.23 Sun Sep 26 22:08:12 2010
203 [JSON::PP]
204 - modified tied object handling in encode. it made encoding speed faster.
205 pointed by https://rt.cpan.org/Ticket/Display.html?id=61604
206 - modified t/e10_bignum.t
207 for avoiding a warning in using Math::BigInt dev version
208
209 2.22 Wed Aug 25 12:46:13 2010
210 [JSON]
211 - added JSON::XS installing feature in Makefile.PL
212 with cpan or cpanm (some points suggested by gfx)
213 - check that to_json and from_json are not called as methods (CHORNY)
214 [JSON::PP]
215 - modified for -Duse64bitall -Duselongdouble compiled perl.
216 11_pc_expo.t too. (these are patched by H.Merijn Brand)
217
218 2.21 Mon Apr 5 14:56:52 2010
219 [JSON]
220 - enhanced 'HOW DO I DECODE A DATA FROM OUTER AND ENCODE TO OUTER'
221 - renamed eg/bench_pp_xs.pl to eg/bench_decode.pl
222 - added eg/bench_encode.pl
223
224 2.20 Fri Apr 2 12:50:08 2010
225 [JSON]
226 - added eg/bench_pp_xs.pl for benchmark sample
227 - updated 'INCREMENTAL PARSING' section
228 [JSON::PP]
229 - decode_prefix() didn't count a consumed text length properly.
230 - enhanced XS compatibilty
231 in the case of decoding a white space garbaged text.
232
233 2.19 Tue Mar 30 13:40:24 2010
234 [JSON]
235 - fixed typo (rt#53535 by Angel Abad)
236 - added a recommendation
237 refering to (en|de)code_json to pod (suggested by tokuhirom)
238 - added 'HOW DO I DECODE A DATA FROM OUTER AND ENCODE TO OUTER' to pod.
239
240 2.18 Tue Mar 23 15:18:10 2010
241 [JSON]
242 - updated document (compatible with JSON::XS 2.29)
243 [JSON::PP]
244 - fixed encode an overloaded 'eq' object bug (reported by Alexey A. Kiritchun)
245 - enhanced an error message compatible to JSON::XS
246
247 2.17 Thu Jan 7 12:23:13 2010
248 [JSON]
249 - fixed a problem caused by JSON::XS backend and support_by_pp option
250 (rt#52842, rt#52847 by ikegami)
251 [JSON::PP]
252 - made compatible with JSON::XS 2.27
253 - patched decode for incr_parse (rt#52820 by ikegami)
254 - relaxed option caused an infinite loop in some condition.
255
256 2.16 Fri Oct 16 15:07:37 2009
257 [JSON][JSON::PP]
258 - made compatible with JSON::XS 2.26
259 *indent adds a final newline
260 - corrected copyrights in JSON::PP58.
261
262 2.15 Tue Jun 2 16:36:42 2009
263 [JSON]
264 - made compatible with JSON::XS 2.24
265 - corrected copyrights in some modules.
266 [JSON::PP]
267 - modified incr_parse, pointed by Martin J. Evans (rt#46439)
268 - deleted a meaningless code
269
270 2.14 Tue Feb 24 11:20:24 2009
271 [JSON]
272 - the compatible XS version was miswritten in document.
273
274 2.13 Sat Feb 21 17:01:05 2009
275 [JSON::PP]
276 - decode() didn't upgrade unicode escaped charcters \u0080-\u00ff.
277 this problem was pointed by rt#43424 (Mika Raento)
278 [JSON::PP::56]
279 - fixed utf8::encode/decode emulators bugs.
280 - defined a missing B module constant in Perl 5.6.0.
281 (reported by Clinton Pierce)
282 [JSON::PP::5005]
283 - _decode_unicode() returned a 0x80-0xff value as UTF8 encoded byte.
284 [JSON]
285 - added a refference to JSON::XS's document "JSON and ECMAscript".
286 - fixed a typo in the document (pointed by Jim Cromie).
287
288 2.12 Wed Jul 16 11:14:35 2008
289 [JSON]
290 - made compatible with JSON::XS 2.22
291
292 [JSON::PP]
293 - fixed the incremental parser in negative nest level
294 (pointed and patched by Yuval Kogman)
295
296 2.11 Tue Jun 17 14:30:01 2008
297 [JSON::PP]
298 - fixed the decoding process which checks number.
299 regarded number like chars in Unicode (ex. U+FF11) as [\d].
300 - enhanced error messages compatible to JSON::XS.
301
302 2.10 Tue Jun 3 18:42:11 2008
303 [JSON]
304 - made compatible with JSON::XS 2.21
305 * updated the document.
306 - added an item pointed by rt#32361 to the doc.
307
308 [JSON::PP] [JSON::PP58] [JSON::PP56] [JSON::PP5005]
309 - made compatible with JSON::XS 2.21
310 * added incr_reset
311 - removed useless codes.
312
313 2.09 Sun Apr 20 20:45:33 2008
314 [JSON]
315 - made compatible with JSON::XS 2.2
316 - changed pod section totally.
317
318 [JSON::PP] 2.20001
319 - made compatible witg JSON::XS 2.2
320 * lifted the log2 rounding restriction of max_depth and max_size.
321 * incremental json parsing (EXPERIMENTAL).
322 * allow_unknown/get_allow_unknown methods.
323 - the version format was changed.
324 X.YYZZZ => X.YY is the same as JSON::XS. ZZZ is the PP own version.
325 - changed pod section totally.
326
327 2.08 Sat Apr 12 22:49:39 2008
328 [JSON]
329 - fixed JSON::Boolean inheritance mechanism.
330 If the backend is XS with support_by_pp mode and using PP only
331 support method, JSON::Boolean did not work correctly.
332 Thanks to hg[at]apteryx's point.
333
334 [JSON::PP] 2.07
335 - Now split into JSON::PP58 for Perl 5.8 and lator.
336 - enhanced an error message compatible to JSON::XS
337 did not croak when TO_JSON method returns same object as passed.
338
339 [JSON::PP58]
340 - modified for Perls post 5.8.0 that don't have utf8::is_utf8.
341 Thanks to Andreas Koenig.
342
343 2.07 Sat Feb 16 15:52:29 2008
344 [JSON]
345 - experimentally added -convert_blessed_universally to define
346 UNIVERSAL::TO_JSON subroutine.
347
348 use JSON -convert_blessed_universally;
349 $json->convert_blessed->encode( $blessed );
350
351 - and as_nonbleesed is obsoleted (not yet removed). OK?
352 - fixed t/04_pretty.t.
353
354 2.06 Fri Feb 8 16:21:59 2008
355 [JSON::PP] 2.06
356 - enhanced the XS compatibility for pretty-printing
357 and the indent handling was broken!
358
359 2.05 Tue Feb 5 13:57:19 2008
360 [JSON::PP] 2.05
361 - enhanced some XS compatibilities for de/encode.
362 - now decode_error can dump high (>127) chars.
363 - enhanced the XS combatilbity of the decoding error.
364 - fixed the utf8 checker while decoding (is_valid_utf8).
365 - implemented utf8::downgrade in JSON::PP56.
366 - enhanced utf8::encode in JSON::PP56.
367 - made utf8::downgrade return a true in JSON::PP5005.
368
369 2.04 Sat Jan 5 16:10:01 2008
370 [JSON]
371 - fixed a document typo pointed by kawasaki@annocpan
372 - make DATA handle closed for error mssages in support_by_pp mode.
373 - switched JSON::Backend::XS::Supportable wrapper de/encode
374 to changing symbolic tables for croak messages and speed.
375 - fixed support_by_pp setting
376
377 [JSON::PP] 2.04
378 - enhanced the error message compatiblity to XS.
379
380 2.03 Fri Jan 4 14:10:58 2008
381 [JSON]
382 - fixed the description - Transition ways from 1.xx to 2.xx.
383 $JSON::ConvBlessed compat => $json->allow_blessed->as_nonbleesed
384 - support_by_pp supports 'as_nonbleesed' (experimental)
385 - clean up the code for saving memory
386
387 [JSON::PP] 2.03
388 - Now the allo_bignum flag also affects the encoding process.
389 encode() can convert Math::BigInt/Float objects into JSON numbers
390 - added as_nonblessed option (experimental)
391 - cleaned up internal function names (renamed camel case names)
392
393 2.02 Wed Dec 26 11:08:19 2007
394 [JSON]
395 - Now support_by_pp allows to use indent_length()
396
397 [JSON::PP] 2.02
398 - added get_indent_length
399
400 2.01 Thu Dec 20 11:30:59 2007
401 [JSON]
402 - made the object methods - jsonToObj and objToJson
403 available for a while with warnings.
404
405 2.00 Wed Dec 19 11:48:04 2007
406 [JSON]
407 - new version!
408 - modified Makefile.PL for broken Perls (when PERL_DL_NONLAZY = 1).
409
410 [JSON::PP] 2.0104
411 - clean up the document.
412 - use 'subs' instead of CORE::GLOBAL for fixing join() in 5.8.0 - 5.8.2
413 - enhanced decoding error messages for JSON::XS compatibility.
414 - jsonToObj and objToJson warn.
415
416
417 1.99_05 Fri Dec 14 18:30:43 2007
418 [JSON]
419 - added a description about the Unicode handling to document.
420
421 [JSON::PP] (2.0103)
422 - Now the JSON::PP56 unicode handling does not require Unicode::String.
423 - Now JSON::PP5005 can de/enocde properly within the Perl 5.005 world.
424 - decode() always utf8::decode()ed to strings.
425 - decode() returned a big integer as string though the integer is
426 smaller than it is so.
427 - a bad know how - added the join() wrapper for Perl 5.8.0 - 5.8.2 bug.
428 - JSON::PP56 encode() did not handle Unicode properly.
429 - added a section about the unicode handling on Perls to JSON::PP doc.
430
431 1.99_04 Mon Dec 10 14:28:15 2007
432 [JSON]
433 - modified the tests and source for Perl 5.005
434
435 [JSON::PP] (2.0102)
436 - modified some prototypes in JSON::PP5005.
437
438 1.99_03 Mon Dec 10 11:43:02 2007
439 [JSON]
440 - modified tests and document.
441 in Perl5.8.2 or earlier, decoding with utf8 is broken because of
442 a Perl side problem. (join() had a bug.)
443 - modified Makefile.PL for Perl 5.005.
444 in the version, 'require JSON' is fail....
445
446 [JSON::PP] (2.0102)
447 - modified string decode function.
448 - enhanced error messages for compatibility to JSON::XS.
449 - enhanced utf8::decode emulator and unpack emulator in JSON::PP56.
450
451 1.99_02 Sun Dec 9 05:06:19 2007
452 [JSON::PP] (2.0101)
453 - decoding with utf8 was broken in Perl 5.10
454 as the behaviour of unpack was changed.
455 - added a fake in JSON::PP5005 (bytes.pm)
456 - added the missing file JONS::PP::Boolean.pm
457
458 1.99_01 Sat Dec 8 12:01:43 2007
459 [JSON]
460 - released as version 2.0
461 this module is incompatible to 1.xx, so check the document.
462
463 [JSON::PP] (2.01 from 0.97)
464 - updated JSON::PP for compatible to JSON::XS 2.01
465 - renamed from_json and to_json to decode_json and encode_json
466 - added get_* to JSON::PP
467 - deleted property() from JSON::PP
468 - deleted strict() and added loose()
469 - deleted disable_UTF8() and self_encode()
470 - renamed singlequote to allow_singlequote
471 - renamed allow_bigint to allow_bignum
472 - max_depth and max_size round up their arguments.
473 - added indent_length and sort_by
474
475
476 ## JSON version 1.xx
477
478 1.15 Wed Nov 14 14:52:31 2007
479 - 1.xx final version.
480
481 0.09 Sat Apr 9 15:27:47 2005
482 - original version; created by h2xs 1.22 with options
483 -XA -b 5.5.3 -n JSON
484