1Revision history for Perl extension JSON::PP. 2-------------------------------------------------------------------------- 3 4JSON::PP had been inculded in JSON distribution (CPAN module). 5It was a perl core module in Perl 5.14. 6 7-------------------------------------------------------------------------- 8 92.27203 Thu Oct 17 19:38:55 2013 10 - fixed return/or in _incr_parse 11 reported and patched by MAUKE, sprout and rjbs 12 https://rt.cpan.org/Public/Bug/Display.html?id=86948 13 142.27202 Wed Mar 13 15:41:22 2013 15 - license in Makefile.PL was missing 16 172.27201 Wed Mar 13 13:22:33 2013 18 - occasionally failed in t/019_incr.t in Perl 5.17.6 or more 19 (because of hash iterator randomization) 20 reported and patched by demerphq 21 https://rt.cpan.org/Public/Bug/Display.html?id=83421 22 232.27200 Sun May 22 12:17:51 2011 24 - fixed incr_parse docodeing string more correctly (rt#68032 by LCONS) 25 262.27105 Tue Mar 8 12:38:42 2011 27 - removed t/900_pod.t from package because of author test 28 292.27104 Thu Jan 20 19:06:25 2011 30 - fixed a problem to convert overloaded objects (pointed by rt#64783) 31 - changed decoding methods object() and array() to pass a object. 32 332.27103 Wed Dec 29 15:32:38 2010 34 - added bin/json_pp - command line utility 35 362.27102 Mon Dec 20 20:29:39 2010 37 - modified JSON::PP::Boolean pod 38 392.27101 Mon Dec 20 16:21:03 2010 40 - renamed JSON::PPdev to JSON::PP 41 422.27100 Sun Nov 28 02:02:49 2010 43 - split away JSON distribution 2.27 (= JSON::PP 2.27008) 44 - renamed t/* files 45 46-------------------------------------------------------------------------- 47 old history 48-------------------------------------------------------------------------- 49 502.27 Sun Oct 31 20:32:46 2010 51 [JSON::PP] 52 - Some optimizations (gfx) 53 [JSON::PP::5005] 54 - added missing B module varibales (makamaka) 55 562.26 Tue Sep 28 17:41:37 2010 57 [JSON::PP] 58 - cleaned up code and enhanced sort option efficiency in encode. 59 602.25 Tue Sep 28 16:47:08 2010 61 [JSON] 62 - JSON::Backend::XS::Supportable always executed a needless process 63 with JSON::XS backend. This made encode/decode a bit slower. 64 652.24 Mon Sep 27 10:56:24 2010 66 [JSON::PP] 67 - tweaked code. 68 - optimized code in hash object encoding. 69 702.23 Sun Sep 26 22:08:12 2010 71 [JSON::PP] 72 - modified tied object handling in encode. it made encoding speed faster. 73 pointed by https://rt.cpan.org/Ticket/Display.html?id=61604 74 - modified t/e10_bignum.t 75 for avoiding a warning in using Math::BigInt dev version 76 772.22 Wed Aug 25 12:46:13 2010 78 [JSON] 79 - added JSON::XS installing feature in Makefile.PL 80 with cpan or cpanm (some points suggested by gfx) 81 - check that to_json and from_json are not called as methods (CHORNY) 82 [JSON::PP] 83 - modified for -Duse64bitall -Duselongdouble compiled perl. 84 11_pc_expo.t too. (these are patched by H.Merijn Brand) 85 862.21 Mon Apr 5 14:56:52 2010 87 [JSON] 88 - enhanced 'HOW DO I DECODE A DATA FROM OUTER AND ENCODE TO OUTER' 89 - renamed eg/bench_pp_xs.pl to eg/bench_decode.pl 90 - added eg/bench_encode.pl 91 922.20 Fri Apr 2 12:50:08 2010 93 [JSON] 94 - added eg/bench_pp_xs.pl for benchmark sample 95 - updated 'INCREMENTAL PARSING' section 96 [JSON::PP] 97 - decode_prefix() didn't count a consumed text length properly. 98 - enhanced XS compatibilty 99 in the case of decoding a white space garbaged text. 100 1012.19 Tue Mar 30 13:40:24 2010 102 [JSON] 103 - fixed typo (rt#53535 by Angel Abad) 104 - added a recommendation 105 refering to (en|de)code_json to pod (suggested by tokuhirom) 106 - added 'HOW DO I DECODE A DATA FROM OUTER AND ENCODE TO OUTER' to pod. 107 1082.18 Tue Mar 23 15:18:10 2010 109 [JSON] 110 - updated document (compatible with JSON::XS 2.29) 111 [JSON::PP] 112 - fixed encode an overloaded 'eq' object bug (reported by Alexey A. Kiritchun) 113 - enhanced an error message compatible to JSON::XS 114 1152.17 Thu Jan 7 12:23:13 2010 116 [JSON] 117 - fixed a problem caused by JSON::XS backend and support_by_pp option 118 (rt#52842, rt#52847 by ikegami) 119 [JSON::PP] 120 - made compatible with JSON::XS 2.27 121 - patched decode for incr_parse (rt#52820 by ikegami) 122 - relaxed option caused an infinite loop in some condition. 123 1242.16 Fri Oct 16 15:07:37 2009 125 [JSON][JSON::PP] 126 - made compatible with JSON::XS 2.26 127 *indent adds a final newline 128 - corrected copyrights in JSON::PP58. 129 1302.15 Tue Jun 2 16:36:42 2009 131 [JSON] 132 - made compatible with JSON::XS 2.24 133 - corrected copyrights in some modules. 134 [JSON::PP] 135 - modified incr_parse, pointed by Martin J. Evans (rt#46439) 136 - deleted a meaningless code 137 1382.14 Tue Feb 24 11:20:24 2009 139 [JSON] 140 - the compatible XS version was miswritten in document. 141 1422.13 Sat Feb 21 17:01:05 2009 143 [JSON::PP] 144 - decode() didn't upgrade unicode escaped charcters \u0080-\u00ff. 145 this problem was pointed by rt#43424 (Mika Raento) 146 [JSON::PP::56] 147 - fixed utf8::encode/decode emulators bugs. 148 - defined a missing B module constant in Perl 5.6.0. 149 (reported by Clinton Pierce) 150 [JSON::PP::5005] 151 - _decode_unicode() returned a 0x80-0xff value as UTF8 encoded byte. 152 [JSON] 153 - added a refference to JSON::XS's document "JSON and ECMAscript". 154 - fixed a typo in the document (pointed by Jim Cromie). 155 1562.12 Wed Jul 16 11:14:35 2008 157 [JSON] 158 - made compatible with JSON::XS 2.22 159 160 [JSON::PP] 161 - fixed the incremental parser in negative nest level 162 (pointed and patched by Yuval Kogman) 163 1642.11 Tue Jun 17 14:30:01 2008 165 [JSON::PP] 166 - fixed the decoding process which checks number. 167 regarded number like chars in Unicode (ex. U+FF11) as [\d]. 168 - enhanced error messages compatible to JSON::XS. 169 1702.10 Tue Jun 3 18:42:11 2008 171 [JSON] 172 - made compatible with JSON::XS 2.21 173 * updated the document. 174 - added an item pointed by rt#32361 to the doc. 175 176 [JSON::PP] [JSON::PP58] [JSON::PP56] [JSON::PP5005] 177 - made compatible with JSON::XS 2.21 178 * added incr_reset 179 - removed useless codes. 180 1812.09 Sun Apr 20 20:45:33 2008 182 [JSON] 183 - made compatible with JSON::XS 2.2 184 - changed pod section totally. 185 186 [JSON::PP] 2.20001 187 - made compatible witg JSON::XS 2.2 188 * lifted the log2 rounding restriction of max_depth and max_size. 189 * incremental json parsing (EXPERIMENTAL). 190 * allow_unknown/get_allow_unknown methods. 191 - the version format was changed. 192 X.YYZZZ => X.YY is the same as JSON::XS. ZZZ is the PP own version. 193 - changed pod section totally. 194 1952.08 Sat Apr 12 22:49:39 2008 196 [JSON] 197 - fixed JSON::Boolean inheritance mechanism. 198 If the backend is XS with support_by_pp mode and using PP only 199 support method, JSON::Boolean did not work correctly. 200 Thanks to hg[at]apteryx's point. 201 202 [JSON::PP] 2.07 203 - Now split into JSON::PP58 for Perl 5.8 and lator. 204 - enhanced an error message compatible to JSON::XS 205 did not croak when TO_JSON method returns same object as passed. 206 207 [JSON::PP58] 208 - modified for Perls post 5.8.0 that don't have utf8::is_utf8. 209 Thanks to Andreas Koenig. 210 2112.07 Sat Feb 16 15:52:29 2008 212 [JSON] 213 - experimentally added -convert_blessed_universally to define 214 UNIVERSAL::TO_JSON subroutine. 215 216 use JSON -convert_blessed_universally; 217 $json->convert_blessed->encode( $blessed ); 218 219 - and as_nonbleesed is obsoleted (not yet removed). OK? 220 - fixed t/04_pretty.t. 221 2222.06 Fri Feb 8 16:21:59 2008 223 [JSON::PP] 2.06 224 - enhanced the XS compatibility for pretty-printing 225 and the indent handling was broken! 226 2272.05 Tue Feb 5 13:57:19 2008 228 [JSON::PP] 2.05 229 - enhanced some XS compatibilities for de/encode. 230 - now decode_error can dump high (>127) chars. 231 - enhanced the XS combatilbity of the decoding error. 232 - fixed the utf8 checker while decoding (is_valid_utf8). 233 - implemented utf8::downgrade in JSON::PP56. 234 - enhanced utf8::encode in JSON::PP56. 235 - made utf8::downgrade return a true in JSON::PP5005. 236 2372.04 Sat Jan 5 16:10:01 2008 238 [JSON] 239 - fixed a document typo pointed by kawasaki@annocpan 240 - make DATA handle closed for error mssages in support_by_pp mode. 241 - switched JSON::Backend::XS::Supportable wrapper de/encode 242 to changing symbolic tables for croak messages and speed. 243 - fixed support_by_pp setting 244 245 [JSON::PP] 2.04 246 - enhanced the error message compatiblity to XS. 247 2482.03 Fri Jan 4 14:10:58 2008 249 [JSON] 250 - fixed the description - Transition ways from 1.xx to 2.xx. 251 $JSON::ConvBlessed compat => $json->allow_blessed->as_nonbleesed 252 - support_by_pp supports 'as_nonbleesed' (experimental) 253 - clean up the code for saving memory 254 255 [JSON::PP] 2.03 256 - Now the allo_bignum flag also affects the encoding process. 257 encode() can convert Math::BigInt/Float objects into JSON numbers 258 - added as_nonblessed option (experimental) 259 - cleaned up internal function names (renamed camel case names) 260 2612.02 Wed Dec 26 11:08:19 2007 262 [JSON] 263 - Now support_by_pp allows to use indent_length() 264 265 [JSON::PP] 2.02 266 - added get_indent_length 267 2682.01 Thu Dec 20 11:30:59 2007 269 [JSON] 270 - made the object methods - jsonToObj and objToJson 271 available for a while with warnings. 272 2732.00 Wed Dec 19 11:48:04 2007 274 [JSON] 275 - new version! 276 - modified Makefile.PL for broken Perls (when PERL_DL_NONLAZY = 1). 277 278 [JSON::PP] 2.0104 279 - clean up the document. 280 - use 'subs' instead of CORE::GLOBAL for fixing join() in 5.8.0 - 5.8.2 281 - enhanced decoding error messages for JSON::XS compatibility. 282 - jsonToObj and objToJson warn. 283 284 2851.99_05 Fri Dec 14 18:30:43 2007 286 [JSON] 287 - added a description about the Unicode handling to document. 288 289 [JSON::PP] (2.0103) 290 - Now the JSON::PP56 unicode handling does not require Unicode::String. 291 - Now JSON::PP5005 can de/enocde properly within the Perl 5.005 world. 292 - decode() always utf8::decode()ed to strings. 293 - decode() returned a big integer as string though the integer is 294 smaller than it is so. 295 - a bad know how - added the join() wrapper for Perl 5.8.0 - 5.8.2 bug. 296 - JSON::PP56 encode() did not handle Unicode properly. 297 - added a section about the unicode handling on Perls to JSON::PP doc. 298 2991.99_04 Mon Dec 10 14:28:15 2007 300 [JSON] 301 - modified the tests and source for Perl 5.005 302 303 [JSON::PP] (2.0102) 304 - modified some prototypes in JSON::PP5005. 305 3061.99_03 Mon Dec 10 11:43:02 2007 307 [JSON] 308 - modified tests and document. 309 in Perl5.8.2 or earlier, decoding with utf8 is broken because of 310 a Perl side problem. (join() had a bug.) 311 - modified Makefile.PL for Perl 5.005. 312 in the version, 'require JSON' is fail.... 313 314 [JSON::PP] (2.0102) 315 - modified string decode function. 316 - enhanced error messages for compatibility to JSON::XS. 317 - enhanced utf8::decode emulator and unpack emulator in JSON::PP56. 318 3191.99_02 Sun Dec 9 05:06:19 2007 320 [JSON::PP] (2.0101) 321 - decoding with utf8 was broken in Perl 5.10 322 as the behaviour of unpack was changed. 323 - added a fake in JSON::PP5005 (bytes.pm) 324 - added the missing file JONS::PP::Boolean.pm 325 3261.99_01 Sat Dec 8 12:01:43 2007 327 [JSON] 328 - released as version 2.0 329 this module is incompatible to 1.xx, so check the document. 330 331 [JSON::PP] (2.01 from 0.97) 332 - updated JSON::PP for compatible to JSON::XS 2.01 333 - renamed from_json and to_json to decode_json and encode_json 334 - added get_* to JSON::PP 335 - deleted property() from JSON::PP 336 - deleted strict() and added loose() 337 - deleted disable_UTF8() and self_encode() 338 - renamed singlequote to allow_singlequote 339 - renamed allow_bigint to allow_bignum 340 - max_depth and max_size round up their arguments. 341 - added indent_length and sort_by 342 343 344## JSON version 1.xx 345 3461.15 Wed Nov 14 14:52:31 2007 347 - 1.xx final version. 348 3490.09 Sat Apr 9 15:27:47 2005 350 - original version; created by h2xs 1.22 with options 351 -XA -b 5.5.3 -n JSON 352 353