SHA256
9
0
forked from pool/perl-JSON
Stephan Kulow
2013-11-26 07:30:00 +00:00
committed by Git OBS Bridge
parent 57bb67b6d4
commit bd26dba7d1
4 changed files with 62 additions and 4 deletions

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Nov 26 07:28:28 UTC 2013 - coolo@suse.com
- updated to 2.90
CAUTION!!!
INCOMPATIBLE CHANGE
JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally
on loading time for making these modules inherit JSON::Boolean.
But since JSON::XS v3.0 it use Types::Serialiser as boolean class.
Then now JSON.pm breaks boolean classe overload features and
-support_by_pp if JSON::XS v3.0 or later is installed.
JSON::true and JSON::false returned JSON::Boolean objects.
For workaround, they return JSON::PP::Boolean objects in this version.
isa_ok(JSON::true, 'JSON::PP::Boolean');
And it discards a feature:
ok(JSON::true eq 'true');
In other word, JSON::PP::Boolean overload numeric only.
ok( JSON::true == 1 );
-------------------------------------------------------------------
Mon Jun 10 10:54:05 UTC 2013 - coolo@suse.com