Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-CGI for openSUSE:Factory 
checked in at 2022-02-10 23:11:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CGI (Old)
 and      /work/SRC/openSUSE:Factory/.perl-CGI.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-CGI"

Thu Feb 10 23:11:29 2022 rev:24 rq:952636 version:4.54

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-CGI/perl-CGI.changes        2021-06-09 
21:51:23.714377758 +0200
+++ /work/SRC/openSUSE:Factory/.perl-CGI.new.1956/perl-CGI.changes      
2022-02-10 23:11:31.072123483 +0100
@@ -1,0 +2,12 @@
+Fri Feb  4 03:06:10 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 4.54
+   see /usr/share/doc/packages/perl-CGI/Changes
+
+  4.54 2022-02-03
+
+      [ FIX ]
+      - fix use of cache when calling ->cookie (GH #252)
+      - thanks to Sergey Panteleev for the PR
+
+-------------------------------------------------------------------

Old:
----
  CGI-4.53.tar.gz

New:
----
  CGI-4.54.tar.gz

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

Other differences:
------------------
++++++ perl-CGI.spec ++++++
--- /var/tmp/diff_new_pack.CvrWvZ/_old  2022-02-10 23:11:31.632124901 +0100
+++ /var/tmp/diff_new_pack.CvrWvZ/_new  2022-02-10 23:11:31.640124921 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-CGI
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define cpan_name CGI
 Name:           perl-CGI
-Version:        4.53
+Version:        4.54
 Release:        0
 Summary:        Handle Common Gateway Interface requests and responses
 License:        Artistic-2.0

++++++ CGI-4.53.tar.gz -> CGI-4.54.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/Changes new/CGI-4.54/Changes
--- old/CGI-4.53/Changes        2021-06-03 08:43:27.000000000 +0200
+++ new/CGI-4.54/Changes        2022-02-03 08:37:53.000000000 +0100
@@ -1,3 +1,9 @@
+4.54 2022-02-03
+
+    [ FIX ]
+    - fix use of cache when calling ->cookie (GH #252)
+    - thanks to Sergey Panteleev for the PR
+
 4.53 2021-06-03
 
     [ FIX ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/META.json new/CGI-4.54/META.json
--- old/CGI-4.53/META.json      2021-06-03 08:45:08.000000000 +0200
+++ new/CGI-4.54/META.json      2022-02-03 08:51:23.000000000 +0100
@@ -4,7 +4,7 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "artistic_2"
    ],
@@ -78,6 +78,6 @@
          "web" : "https://github.com/leejo/CGI.pm";
       }
    },
-   "version" : "4.53",
-   "x_serialization_backend" : "JSON::PP version 4.04"
+   "version" : "4.54",
+   "x_serialization_backend" : "JSON::PP version 4.06"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/META.yml new/CGI-4.54/META.yml
--- old/CGI-4.53/META.yml       2021-06-03 08:45:08.000000000 +0200
+++ new/CGI-4.54/META.yml       2022-02-03 08:51:23.000000000 +0100
@@ -16,7 +16,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 
2.150010'
 license: artistic_2
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -47,5 +47,5 @@
   homepage: https://metacpan.org/module/CGI
   license: http://dev.perl.org/licenses/
   repository: https://github.com/leejo/CGI.pm
-version: '4.53'
+version: '4.54'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/README.md new/CGI-4.54/README.md
--- old/CGI-4.53/README.md      2021-05-04 09:57:01.000000000 +0200
+++ new/CGI-4.54/README.md      2022-02-03 08:41:26.000000000 +0100
@@ -71,7 +71,7 @@
 If you upgrade to a new version of perl or if you rely on a
 system or vendor perl and get an updated version of perl through a system
 update, then you will have to install CGI.pm yourself with cpan/cpanm/a vendor
-package/manually. To make this a little easier the 
[CGI::Fast](https://metacpan.org/pod/CGI::Fast) module has been
+package/manually. To make this a little easier the 
[CGI::Fast](https://metacpan.org/pod/CGI%3A%3AFast) module has been
 split into its own distribution, meaning you do not need access to a compiler
 to install CGI.pm
 
@@ -79,7 +79,7 @@
 practice for developing web applications, **including** quick prototyping and
 small web scripts. There are far better, cleaner, quicker, easier, safer,
 more scalable, more extensible, more modern alternatives available at this 
point
-in time. These will be documented with 
[CGI::Alternatives](https://metacpan.org/pod/CGI::Alternatives).
+in time. These will be documented with 
[CGI::Alternatives](https://metacpan.org/pod/CGI%3A%3AAlternatives).
 
 For more discussion on the removal of CGI.pm from core please see:
 
@@ -101,15 +101,15 @@
 The rationale for this is that the HTML generation functions of CGI.pm
 are an obfuscation at best and a maintenance nightmare at worst. You
 should be using a template engine for better separation of concerns.
-See [CGI::Alternatives](https://metacpan.org/pod/CGI::Alternatives) for an 
example of using CGI.pm with the
-[Template::Toolkit](https://metacpan.org/pod/Template::Toolkit) module.
+See [CGI::Alternatives](https://metacpan.org/pod/CGI%3A%3AAlternatives) for an 
example of using CGI.pm with the
+[Template::Toolkit](https://metacpan.org/pod/Template%3A%3AToolkit) module.
 
 These functions, and perldoc for them, are considered deprecated, they
 are no longer being maintained and no fixes or features for them will be
 accepted. They will, however, continue to exist in CGI.pm without any
 deprecation warnings ("soft" deprecation) so you can continue to use
 them if you really want to. All documentation for these functions has
-been moved to 
[CGI::HTML::Functions](https://metacpan.org/pod/CGI::HTML::Functions).
+been moved to 
[CGI::HTML::Functions](https://metacpan.org/pod/CGI%3A%3AHTML%3A%3AFunctions).
 
 # Programming style
 
@@ -973,7 +973,7 @@
 
 ### Basics
 
-When the form is processed, you can retrieve an 
[IO::File](https://metacpan.org/pod/IO::File) compatible handle
+When the form is processed, you can retrieve an 
[IO::File](https://metacpan.org/pod/IO%3A%3AFile) compatible handle
 for a file upload field like this:
 
     use autodie;
@@ -1088,9 +1088,9 @@
 storage of file uploads, or potentially write your own file upload progress
 meter.
 
-This is much like the UPLOAD\_HOOK facility available in 
[Apache::Request](https://metacpan.org/pod/Apache::Request),
+This is much like the UPLOAD\_HOOK facility available in 
[Apache::Request](https://metacpan.org/pod/Apache%3A%3ARequest),
 with the exception that the first argument to the callback is an
-[Apache::Upload](https://metacpan.org/pod/Apache::Upload) object, here it's 
the remote filename.
+[Apache::Upload](https://metacpan.org/pod/Apache%3A%3AUpload) object, here 
it's the remote filename.
 
     my $q = CGI->new( \&hook [,$data [,$use_tempfile]] );
 
@@ -1138,7 +1138,7 @@
 To solve this problem the upload() method was added, which always returns a
 lightweight filehandle. This generally works well, but will have trouble
 interoperating with some other modules because the file handle is not derived
-from [IO::File](https://metacpan.org/pod/IO::File). So that brings us to 
current recommendation given above,
+from [IO::File](https://metacpan.org/pod/IO%3A%3AFile). So that brings us to 
current recommendation given above,
 which is to call the handle() method on the file handle returned by upload().
 That upgrades the handle to an IO::File. It's a big win for compatibility for
 a small penalty of loading IO::File the first time you call it.
@@ -1298,6 +1298,12 @@
 See the **cookie.cgi** example script for some ideas on how to use cookies
 effectively.
 
+- **$CGI::COOKIE\_CACHE**
+
+    If set to a non-negative integer, this variable will cause CGI.pm to use 
the
+    cached cookie details from the previous call to cookie(). By default this
+    cache is off to retain backwards compatibility.
+
 # DEBUGGING
 
 If you are running the script from the command line or in the perl debugger,
@@ -1683,6 +1689,18 @@
 status code. It might be better just to create a page that warns the user of
 the problem.
 
+# MODULE FLAGS
+
+There are a number of global module flags which affect how CGI.pm operates.
+
+- **$CGI::APPEND\_QUERY\_STRING**
+
+    If set to a non-zero value, this will add query string parameters to a POST
+    forms parameters hence allowing _param()_ to return values from the query
+    string as well as from the decoded POST request instead of having to use
+    _url\_param_ instead. This makes it easier to get the value of a parameter
+    when you don't know the source.
+
 # COMPATIBILITY WITH CGI-LIB.PL
 
 To make it easier to port existing programs that use cgi-lib.pl the
@@ -1778,6 +1796,6 @@
 
 # SEE ALSO
 
-[CGI::Carp](https://metacpan.org/pod/CGI::Carp) - provides 
[Carp](https://metacpan.org/pod/Carp) implementation tailored to the CGI 
environment.
+[CGI::Carp](https://metacpan.org/pod/CGI%3A%3ACarp) - provides 
[Carp](https://metacpan.org/pod/Carp) implementation tailored to the CGI 
environment.
 
-[CGI::Fast](https://metacpan.org/pod/CGI::Fast) - supports running CGI 
applications under FastCGI
+[CGI::Fast](https://metacpan.org/pod/CGI%3A%3AFast) - supports running CGI 
applications under FastCGI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI/Carp.pm new/CGI-4.54/lib/CGI/Carp.pm
--- old/CGI-4.53/lib/CGI/Carp.pm        2021-06-03 08:42:26.000000000 +0200
+++ new/CGI-4.54/lib/CGI/Carp.pm        2022-02-03 08:38:45.000000000 +0100
@@ -326,7 +326,7 @@
 
 $main::SIG{__WARN__}=\&CGI::Carp::warn;
 
-$CGI::Carp::VERSION     = '4.53';
+$CGI::Carp::VERSION     = '4.54';
 $CGI::Carp::CUSTOM_MSG  = undef;
 $CGI::Carp::DIE_HANDLER = undef;
 $CGI::Carp::TO_BROWSER  = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI/Cookie.pm 
new/CGI-4.54/lib/CGI/Cookie.pm
--- old/CGI-4.53/lib/CGI/Cookie.pm      2021-06-03 08:42:30.000000000 +0200
+++ new/CGI-4.54/lib/CGI/Cookie.pm      2022-02-03 08:38:47.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION='4.53';
+our $VERSION='4.54';
 
 use CGI::Util qw(rearrange unescape escape);
 use overload '""' => \&as_string, 'cmp' => \&compare, 'fallback' => 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI/File/Temp.pm 
new/CGI-4.54/lib/CGI/File/Temp.pm
--- old/CGI-4.53/lib/CGI/File/Temp.pm   2021-06-03 08:42:25.000000000 +0200
+++ new/CGI-4.54/lib/CGI/File/Temp.pm   2022-02-03 08:38:48.000000000 +0100
@@ -3,7 +3,7 @@
 # you use it directly and your code breaks horribly.
 package CGI::File::Temp;
 
-$CGI::File::Temp::VERSION = '4.53';
+$CGI::File::Temp::VERSION = '4.54';
 
 use parent File::Temp;
 use parent Fh;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI/Pretty.pm 
new/CGI-4.54/lib/CGI/Pretty.pm
--- old/CGI-4.53/lib/CGI/Pretty.pm      2021-06-03 08:42:32.000000000 +0200
+++ new/CGI-4.54/lib/CGI/Pretty.pm      2022-02-03 08:38:49.000000000 +0100
@@ -5,7 +5,7 @@
 
 use CGI ();
 
-$CGI::Pretty::VERSION = '4.53';
+$CGI::Pretty::VERSION = '4.54';
 $CGI::DefaultClass = __PACKAGE__;
 @CGI::Pretty::ISA = qw( CGI );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI/Push.pm new/CGI-4.54/lib/CGI/Push.pm
--- old/CGI-4.53/lib/CGI/Push.pm        2021-06-03 08:42:33.000000000 +0200
+++ new/CGI-4.54/lib/CGI/Push.pm        2022-02-03 08:38:51.000000000 +0100
@@ -5,7 +5,7 @@
 use warnings;
 #/;
 
-$CGI::Push::VERSION='4.53';
+$CGI::Push::VERSION='4.54';
 use CGI;
 use CGI::Util 'rearrange';
 @ISA = ('CGI');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI/Util.pm new/CGI-4.54/lib/CGI/Util.pm
--- old/CGI-4.53/lib/CGI/Util.pm        2021-06-03 08:42:28.000000000 +0200
+++ new/CGI-4.54/lib/CGI/Util.pm        2022-02-03 08:38:52.000000000 +0100
@@ -5,7 +5,7 @@
 our @EXPORT_OK = qw(rearrange rearrange_header make_attributes unescape escape
         expires ebcdic2ascii ascii2ebcdic);
 
-our $VERSION = '4.53';
+our $VERSION = '4.54';
 
 our $_EBCDIC = "\t" ne "\011";
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI.pm new/CGI-4.54/lib/CGI.pm
--- old/CGI-4.53/lib/CGI.pm     2021-06-03 08:42:41.000000000 +0200
+++ new/CGI-4.54/lib/CGI.pm     2022-02-03 08:38:44.000000000 +0100
@@ -7,7 +7,7 @@
 use warnings;
 #/;
 
-$CGI::VERSION='4.53';
+$CGI::VERSION='4.54';
 
 use CGI::Util qw(rearrange rearrange_header make_attributes unescape escape 
expires ebcdic2ascii ascii2ebcdic);
 
@@ -28,6 +28,7 @@
 $LIST_CONTEXT_WARN   = 1;
 $ENCODE_ENTITIES     = q{&<>"'};
 $ALLOW_DELETE_CONTENT = 0;
+$COOKIE_CACHE        = 0;  # backcompat: cache was broken for years
 
 @SAVED_SYMBOLS = ();
 
@@ -2773,7 +2774,7 @@
     # value of the cookie, if any.  For efficiency, we cache the parsed
     # cookies in our state variables.
     unless ( defined($value) ) {
-       $self->{'.cookies'} = CGI::Cookie->fetch;
+       $self->{'.cookies'} = CGI::Cookie->fetch unless $COOKIE_CACHE && exists 
$self->{'.cookies'};
        
        # If no name is supplied, then retrieve the names of all our cookies.
        return () unless $self->{'.cookies'};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/CGI.pod new/CGI-4.54/lib/CGI.pod
--- old/CGI-4.53/lib/CGI.pod    2021-05-04 09:57:01.000000000 +0200
+++ new/CGI-4.54/lib/CGI.pod    2022-02-03 08:29:06.000000000 +0100
@@ -1317,6 +1317,16 @@
 See the B<cookie.cgi> example script for some ideas on how to use cookies
 effectively.
 
+=over 4
+
+=item B<$CGI::COOKIE_CACHE>
+
+If set to a non-negative integer, this variable will cause CGI.pm to use the
+cached cookie details from the previous call to cookie(). By default this
+cache is off to retain backwards compatibility.
+
+=back
+
 =head1 DEBUGGING
 
 If you are running the script from the command line or in the perl debugger,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CGI-4.53/lib/Fh.pm new/CGI-4.54/lib/Fh.pm
--- old/CGI-4.53/lib/Fh.pm      2021-06-03 08:42:23.000000000 +0200
+++ new/CGI-4.54/lib/Fh.pm      2022-02-03 08:38:55.000000000 +0100
@@ -5,6 +5,6 @@
 use strict;
 use warnings;
 
-$Fh::VERSION = '4.53';
+$Fh::VERSION = '4.54';
 
 1;

Reply via email to