Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Cpanel-JSON-XS for 
openSUSE:Factory checked in at 2022-06-21 16:32:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Cpanel-JSON-XS (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Cpanel-JSON-XS.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Cpanel-JSON-XS"

Tue Jun 21 16:32:02 2022 rev:35 rq:983957 version:4.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.changes  
2022-06-02 21:54:58.944427632 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Cpanel-JSON-XS.new.1548/perl-Cpanel-JSON-XS.changes
        2022-06-21 16:32:04.939782162 +0200
@@ -1,0 +2,9 @@
+Fri Jun 17 03:06:07 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 4.30
+   see /usr/share/doc/packages/perl-Cpanel-JSON-XS/Changes
+
+  4.30 2022-06-14 (rurban)
+          - Fix perl 5.37 utf8n_to_uvuni deprecation. GH #196
+
+-------------------------------------------------------------------

Old:
----
  Cpanel-JSON-XS-4.29.tar.gz

New:
----
  Cpanel-JSON-XS-4.30.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Cpanel-JSON-XS.spec ++++++
--- /var/tmp/diff_new_pack.voI6Xg/_old  2022-06-21 16:32:05.783783400 +0200
+++ /var/tmp/diff_new_pack.voI6Xg/_new  2022-06-21 16:32:05.787783406 +0200
@@ -18,7 +18,7 @@
 
 %define cpan_name Cpanel-JSON-XS
 Name:           perl-Cpanel-JSON-XS
-Version:        4.29
+Version:        4.30
 Release:        0
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        CPanel fork of JSON::XS, fast and correct serializing

++++++ Cpanel-JSON-XS-4.29.tar.gz -> Cpanel-JSON-XS-4.30.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.29/Changes 
new/Cpanel-JSON-XS-4.30/Changes
--- old/Cpanel-JSON-XS-4.29/Changes     2022-05-27 17:30:28.000000000 +0200
+++ new/Cpanel-JSON-XS-4.30/Changes     2022-06-16 21:18:00.000000000 +0200
@@ -2,9 +2,13 @@
 
 TODO: http://stevehanov.ca/blog/index.php?id=104 compression
 
+4.30 2022-06-14 (rurban)
+        - Fix perl 5.37 utf8n_to_uvuni deprecation. GH #196
+
 4.29 2022-05-27 (rurban)
         - Hack: Revert native bool (unblessed) overloads via JSON::PP 4.08.
           JSON::PP ignores unblessed bools for now. GH #194
+
 4.28 2022-05-05 (rurban)
         - Validate the JSON struct which might get corrupted by wrong 
FREEZE/THAW
           methods, or other serializers, or corrupting our magic object. (GH 
#192)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.29/META.json 
new/Cpanel-JSON-XS-4.30/META.json
--- old/Cpanel-JSON-XS-4.29/META.json   2022-05-27 17:31:52.000000000 +0200
+++ new/Cpanel-JSON-XS-4.30/META.json   2022-06-16 21:18:49.000000000 +0200
@@ -100,7 +100,7 @@
          "url" : "https://github.com/rurban/Cpanel-JSON-XS";
       }
    },
-   "version" : "4.29",
+   "version" : "4.30",
    "x_contributors" : [
       "Ashley Willis <[email protected]>",
       "Chip Salzenberg <[email protected]>",
@@ -127,5 +127,5 @@
       "Syohei Yoshida <[email protected]>",
       "tevfik1903 <[email protected]>"
    ],
-   "x_serialization_backend" : "JSON::PP version 4.06"
+   "x_serialization_backend" : "JSON::PP version 2.97001"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.29/META.yml 
new/Cpanel-JSON-XS-4.30/META.yml
--- old/Cpanel-JSON-XS-4.29/META.yml    2022-05-27 17:31:52.000000000 +0200
+++ new/Cpanel-JSON-XS-4.30/META.yml    2022-06-16 21:18:49.000000000 +0200
@@ -48,7 +48,7 @@
   bugtracker: https://github.com/rurban/Cpanel-JSON-XS/issues
   license: http://dev.perl.org/licenses/
   repository: https://github.com/rurban/Cpanel-JSON-XS
-version: '4.29'
+version: '4.30'
 x_contributors:
   - 'Ashley Willis <[email protected]>'
   - 'Chip Salzenberg <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.29/README 
new/Cpanel-JSON-XS-4.30/README
--- old/Cpanel-JSON-XS-4.29/README      2022-05-27 17:31:54.000000000 +0200
+++ new/Cpanel-JSON-XS-4.30/README      2022-06-16 21:18:50.000000000 +0200
@@ -100,8 +100,9 @@
 
     Changes to JSON::XS
 
-    - stricter decode_json() as documented. non-refs are disallowed. added a
-    2nd optional argument. decode() honors now allow_nonref.
+    - stricter decode_json() as documented. non-refs are disallowed. safe by
+    default. added a 2nd optional argument. decode() honors now
+    allow_nonref.
 
     - fixed encode of numbers for dual-vars. Different string
     representations are preserved, but numbers with temporary strings which
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.29/SIGNATURE 
new/Cpanel-JSON-XS-4.30/SIGNATURE
--- old/Cpanel-JSON-XS-4.29/SIGNATURE   2022-05-27 17:31:53.000000000 +0200
+++ new/Cpanel-JSON-XS-4.30/SIGNATURE   2022-06-16 21:18:50.000000000 +0200
@@ -1,5 +1,5 @@
 This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.87.
+signed via the Module::Signature module, version 0.88.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -20,14 +20,14 @@
 SHA256 a3c34aba52e269e6cec558ecf9cff393138574189fdff26b183bee9cc2e0434f 
.travis.yml
 SHA256 c3f2a1a4f66382f796f71a571946722edba53cf3238152b26fd325f4c2f1a20f 
.whitesource
 SHA256 8de3540a3cd7ecc9a9dcb48975fe852c082fe17d4462f87bb72aa7cc47f083ad COPYING
-SHA256 6e818dfea74342e815813eb65321e50b22bcb849e2fadcedd915b66a9182da88 Changes
+SHA256 c5a06bfe5fe712c999e8f56d338646f6b1b18e5fc3b1771f27eca90fa77a2971 Changes
 SHA256 a5378ebe65273d49047a21e94af087f70a303793ffed2a695c800ed965ac185d 
MANIFEST
-SHA256 e4cf9f44a1cf9600850b3d56fe13bb4d79d6991bedab40e6637066e9bacd7775 
META.json
-SHA256 a5827867c95f03bbe9b20c339aafd243b9d6786696b8f04686acb5a305d66b8a 
META.yml
+SHA256 7871e189f76078cb24aa422cd98c224677d389fee2f6853354096b37fd4b265c 
META.json
+SHA256 7c111de03bbe332597ba4b1b60d3515e940f38341a6427d40818e98a91b2e5c1 
META.yml
 SHA256 31d74c68c91639bc34e18541091616d226713c6c49168d42eefab58535f5cd4a 
Makefile.PL
-SHA256 77d93364f2517135118fa729c598ac64a02ec7d8901fa69b8327a65596f72a86 README
-SHA256 e397719fbd2f5b1fd353877093d7c3c652b241dc870e3316c4dd43971f5afaf3 XS.pm
-SHA256 1c4055f100c6607ffdaf3e53a2c395c7232d6941bfd1691a835cdfd069453955 XS.xs
+SHA256 08e9c93c93d50feaa087f9fd4db48cb2db9c0f0190524550ef42579b30266178 README
+SHA256 bea828613eb42907b9a128ced6a81e3d45aded0df2ae0e05d9b4616956ab3588 XS.pm
+SHA256 76b3a2015df7b9593c8cdd27c8cf77e712f9d60a98ca52bac36997cecc37baea XS.xs
 SHA256 c95e4b970183cbd6d1ec9c88c37a80f12bd2b66ed6be3c008ffd578d2f622c01 
XS/Boolean.pm
 SHA256 20596259e7e399ed1984a469a9a907be878499406d5285a11f1ab98f93aff44f 
XS/Type.pm
 SHA256 2f34a530b7ce981b0df9aacd2b6944ccf74c4a7f8bb49fde57b342663e7feb26 
bin/cpanel_json_xs
@@ -446,12 +446,12 @@
 SHA256 aca6f846869ab2e4881e807739086e1535b1438bd0e23d7a021360742736a6a9 
xt/pod.t
 -----BEGIN PGP SIGNATURE-----
 
-iQEzBAEBAwAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAmKQ7ukACgkQtPYzOeZd
-ZBQsOAf/Vlm1I9SFlhRsyoaHXyibqQ2lnYmOXgKKIOAwPx+rV9d3tLWPbP9lDz6J
-DWkjE9BI8KGt1vZZ11x7jRdkgrOnrAKjtc1ATghLWiUlFT4uyudvZKkQVjt8jpJc
-RPrV1o/75mcTV9aZjYqqkoOH5D4CX3MPLeuSjIffU+Bd6MnLmvdxWLsC+Xm++DuI
-TL9h8CJKBggaFXjgyJlgsh2hjGiPZ9TlSdOPLveGVWYmm/H6yxZBCpYgQ6uEIe0Z
-Ve8Qs93/4GN8Qphxz4xmKpYVwpnqMnVfbBAcDqqzmB+L0VSyaV4F9FcBEBhjmi/m
-ExCPxed6Eq0CbwaXgqw9egkiFm6c+g==
-=F1kI
+iQEzBAEBAwAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAmKrghkACgkQtPYzOeZd
+ZBQQNggAlOaEr+heCen9PQ9VBABdCsV/eEFZNBN48H4u1CCJLNVfnCzi5hoW4yrV
+SLQ5bHop0hPgffZ5V1yUR3ipqixsw5MnGJGPiD0FMcT/vKhOyOnvdFUxGUr04M7L
+Zxu32XrYgSbzU4GV/DEWykcB3SaihXgsHXvKdsfNx5VniE9u0Uk3gy2Os89lDQXe
+06r45mV6xs3h3JKCXcf8SrRUKaIQnO3uq0sGj9GXTvWX6EXLPSQyxblIx0NvmVgE
+hQRvXk1mhgJTf8j4lra5eTGwEkHVRp+NjG4Bi8Ze1SBuBgtELk4PklOBRH72+A2B
+NdFdeVGIwyDDNMD3HxVm2GK6odT68Q==
+=B0dk
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.29/XS.pm 
new/Cpanel-JSON-XS-4.30/XS.pm
--- old/Cpanel-JSON-XS-4.29/XS.pm       2022-05-27 17:29:43.000000000 +0200
+++ new/Cpanel-JSON-XS-4.30/XS.pm       2022-06-16 21:18:00.000000000 +0200
@@ -1,5 +1,5 @@
 package Cpanel::JSON::XS;
-our $VERSION = '4.29';
+our $VERSION = '4.30';
 our $XS_VERSION = $VERSION;
 # $VERSION = eval $VERSION;
 
@@ -113,6 +113,7 @@
 B<Changes to JSON::XS>
 
 - stricter decode_json() as documented. non-refs are disallowed.
+  safe by default.
   added a 2nd optional argument. decode() honors now allow_nonref.
 
 - fixed encode of numbers for dual-vars. Different string
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-4.29/XS.xs 
new/Cpanel-JSON-XS-4.30/XS.xs
--- old/Cpanel-JSON-XS-4.29/XS.xs       2022-05-05 16:44:35.000000000 +0200
+++ new/Cpanel-JSON-XS-4.30/XS.xs       2022-06-16 21:18:00.000000000 +0200
@@ -525,8 +525,11 @@
 /* Decode an utf-8 character and return it, or (UV)-1 in
    case of an error.
    We special-case "safe" characters from U+80 .. U+7FF,
-   but use the very good perl function to parse anything else.
-   note that we never call this function for a ascii codepoints. */
+   but use the very good perl function until 5.36 to parse anything else.
+   note that we never call this function for an ascii codepoints.
+   With 5.36 perl5 removed the API to decode utf8 again with flags for relaxed,
+   so we have to hack around this regression again.
+*/
 INLINE UV
 decode_utf8 (pTHX_ unsigned char *s, STRLEN len, int relaxed, STRLEN *clen)
 {
@@ -540,19 +543,13 @@
   else {
 /* Since perl 5.14 we can disallow illegal unicode above U+10FFFF.
    Before we could only warn with warnings 'utf8'.
-   We accept only valid unicode, unless we are in the relaxed mode. */
-/*    
-   perl 5.32 deprecated utf8n_to_uvuni accepting illegal unicode, so relaxed 
does not
-   allow such illegal unicode anymore, rather throws a warning in the 'utf8' 
category.
-   Still looking for a way to get the old correct behavior. */
-/*
-#if PERL_VERSION > 31
-    UV c = utf8_to_uvchr_buf (s, &s[len+1], clen);
-    / * UV c = valid_utf8_to_uvchr (s, clen); * /
-    PERL_UNUSED_ARG(relaxed);
-#elif PERL_VERSION > 12
+   We accept only valid unicode, unless we are in the relaxed mode,
+   which allows SUPER, above U+10FFFF.
 */
-#if PERL_VERSION > 12
+#if PERL_VERSION > 36
+    UV c = utf8n_to_uvchr (s, len, clen,
+                          UTF8_CHECK_ONLY | (relaxed ? 0 : 
UTF8_DISALLOW_SUPER));
+#elif PERL_VERSION > 12
     UV c = utf8n_to_uvuni (s, len, clen,
                            UTF8_CHECK_ONLY | (relaxed ? 0 : 
UTF8_DISALLOW_SUPER));
 #elif PERL_VERSION >= 8

Reply via email to