Hello community,
here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2017-09-04 12:36:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old)
and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-JSON-XS"
Mon Sep 4 12:36:33 2017 rev:20 rq:520423 version:3.04
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2016-11-18 22:02:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2017-09-04 12:36:37.676933521 +0200
@@ -1,0 +2,19 @@
+Fri Aug 18 05:38:04 UTC 2017 - coolo@suse.com
+
+- updated to 3.04
+ see /usr/share/doc/packages/perl-JSON-XS/Changes
+
+ TODO: move json_xs to types::serialiser
+
+ 3.04 Thu Aug 17 04:30:47 CEST 2017
+ - change exponential realloc algorithm on encoding and string decoding to be
+ really exponential (this helps slow/debugging allocators such as libumem)
+ (reported by Matthew Horsfall).
+ - string encoding would needlessly overallocate output space
+ (testcase by Matthew Horsfall).
+ - be very paranoid about extending buffer lengths and croak if buffers get too large,
+ which might (or might not) improve security.
+ - add cbor-packed type to json_xs.
+ - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated.
+
+-------------------------------------------------------------------
Old:
----
JSON-XS-3.03.tar.gz
New:
----
JSON-XS-3.04.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-JSON-XS.spec ++++++
--- /var/tmp/diff_new_pack.WiLovY/_old 2017-09-04 12:36:39.140727578 +0200
+++ /var/tmp/diff_new_pack.WiLovY/_new 2017-09-04 12:36:39.152725890 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-JSON-XS
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-JSON-XS
-Version: 3.03
+Version: 3.04
Release: 0
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
%define cpan_name JSON-XS
@@ -25,7 +25,7 @@
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/JSON-XS/
-Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -47,7 +47,7 @@
overridden) with no overhead due to emulation (by inheriting constructor
and methods). If JSON::XS is not available, it will fall back to the
compatible JSON::PP module as backend, so using JSON instead of JSON::XS
-gives you a portable JSON API that can be fast when you need and doesn't
+gives you a portable JSON API that can be fast when you need it and doesn't
require a C compiler when that is a problem.
As this is the n-th-something JSON module on CPAN, what was the reason to
@@ -77,6 +77,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes COPYING README
+%doc Changes README
+%license COPYING
%changelog
++++++ JSON-XS-3.03.tar.gz -> JSON-XS-3.04.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/Changes new/JSON-XS-3.04/Changes
--- old/JSON-XS-3.03/Changes 2016-11-16 20:21:23.000000000 +0100
+++ new/JSON-XS-3.04/Changes 2017-08-17 04:31:27.000000000 +0200
@@ -7,6 +7,18 @@
TODO: investigate magic (Eric Brine)
TODO: rfc7464
TODO: Victor Efimov
+TODO: move json_xs to types::serialiser
+
+3.04 Thu Aug 17 04:30:47 CEST 2017
+ - change exponential realloc algorithm on encoding and string decoding to be
+ really exponential (this helps slow/debugging allocators such as libumem)
+ (reported by Matthew Horsfall).
+ - string encoding would needlessly overallocate output space
+ (testcase by Matthew Horsfall).
+ - be very paranoid about extending buffer lengths and croak if buffers get too large,
+ which might (or might not) improve security.
+ - add cbor-packed type to json_xs.
+ - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated.
3.03 Wed Nov 16 20:20:59 CET 2016
- fix a bug introduced by a perl bug workaround that would cause
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/META.json new/JSON-XS-3.04/META.json
--- old/JSON-XS-3.03/META.json 2016-11-16 20:21:42.000000000 +0100
+++ new/JSON-XS-3.04/META.json 2017-08-17 05:47:47.000000000 +0200
@@ -4,7 +4,7 @@
"unknown"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001",
+ "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010",
"license" : [
"unknown"
],
@@ -39,5 +39,6 @@
}
},
"release_status" : "stable",
- "version" : 3.03
+ "version" : 3.04,
+ "x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/META.yml new/JSON-XS-3.04/META.yml
--- old/JSON-XS-3.03/META.yml 2016-11-16 20:21:42.000000000 +0100
+++ new/JSON-XS-3.04/META.yml 2017-08-17 05:47:47.000000000 +0200
@@ -8,7 +8,7 @@
Canary::Stability: '0'
ExtUtils::MakeMaker: '6.52'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001'
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010'
license: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,4 +21,5 @@
requires:
Types::Serialiser: '0'
common::sense: '0'
-version: 3.03
+version: 3.04
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/README new/JSON-XS-3.04/README
--- old/JSON-XS-3.03/README 2016-11-16 20:21:43.000000000 +0100
+++ new/JSON-XS-3.04/README 2017-08-17 05:47:47.000000000 +0200
@@ -38,7 +38,7 @@
constructor and methods). If JSON::XS is not available, it will fall
back to the compatible JSON::PP module as backend, so using JSON instead
of JSON::XS gives you a portable JSON API that can be fast when you need
- and doesn't require a C compiler when that is a problem.
+ it and doesn't require a C compiler when that is a problem.
As this is the n-th-something JSON module on CPAN, what was the reason
to write yet another JSON module? While it seems there are many JSON
@@ -1565,13 +1565,11 @@
cannot handle non-reference values, in preparation for the day when the
default will change.
-THREADS
- This module is *not* guaranteed to be thread safe and there are no plans
- to change this until Perl gets thread support (as opposed to the
- horribly slow so-called "threads" which are simply slow and bloated
- process simulations - use fork, it's *much* faster, cheaper, better).
-
- (It might actually work, but you have been warned).
+(I-)THREADS
+ This module is *not* guaranteed to be ithread (or MULTIPLICITY-) safe
+ and there are no plans to change this. Note that perl's builtin
+ so-called theeads/ithreads are officially deprecated and should not be
+ used.
THE PERILS OF SETLOCALE
Sometimes people avoid the Perl locale support and directly call the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/XS.pm new/JSON-XS-3.04/XS.pm
--- old/JSON-XS-3.03/XS.pm 2016-11-16 20:21:40.000000000 +0100
+++ new/JSON-XS-3.04/XS.pm 2017-08-17 04:31:35.000000000 +0200
@@ -42,8 +42,8 @@
overridden) with no overhead due to emulation (by inheriting constructor
and methods). If JSON::XS is not available, it will fall back to the
compatible JSON::PP module as backend, so using JSON instead of JSON::XS
-gives you a portable JSON API that can be fast when you need and doesn't
-require a C compiler when that is a problem.
+gives you a portable JSON API that can be fast when you need it and
+doesn't require a C compiler when that is a problem.
As this is the n-th-something JSON module on CPAN, what was the reason
to write yet another JSON module? While it seems there are many JSON
@@ -103,7 +103,7 @@
use common::sense;
-our $VERSION = 3.03;
+our $VERSION = 3.04;
our @ISA = qw(Exporter);
our @EXPORT = qw(encode_json decode_json);
@@ -1698,14 +1698,11 @@
will change.
-=head1 THREADS
+=head1 (I-)THREADS
-This module is I<not> guaranteed to be thread safe and there are no
-plans to change this until Perl gets thread support (as opposed to the
-horribly slow so-called "threads" which are simply slow and bloated
-process simulations - use fork, it's I<much> faster, cheaper, better).
-
-(It might actually work, but you have been warned).
+This module is I<not> guaranteed to be ithread (or MULTIPLICITY-) safe
+and there are no plans to change this. Note that perl's builtin so-called
+theeads/ithreads are officially deprecated and should not be used.
=head1 THE PERILS OF SETLOCALE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/XS.xs new/JSON-XS-3.04/XS.xs
--- old/JSON-XS-3.03/XS.xs 2016-11-16 20:16:28.000000000 +0100
+++ new/JSON-XS-3.04/XS.xs 2017-08-17 03:54:33.000000000 +0200
@@ -8,6 +8,7 @@
#include