Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Mojolicious for
openSUSE:Factory checked in at 2021-10-26 20:14:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old)
and /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojolicious"
Tue Oct 26 20:14:06 2021 rev:162 rq:927512 version:9.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes
2021-08-24 10:55:41.228256238 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Mojolicious.new.1890/perl-Mojolicious.changes
2021-10-26 20:14:51.134046524 +0200
@@ -1,0 +2,10 @@
+Fri Oct 22 03:08:54 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 9.22
+ see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+ 9.22 2021-10-16
+ - Added a referer method to Mojo::Headers, as an alias for the referrer
method.
+ - Fixed response status log message to use the "trace" log level instead
of "debug".
+
+-------------------------------------------------------------------
Old:
----
Mojolicious-9.21.tar.gz
New:
----
Mojolicious-9.22.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.VrrNyT/_old 2021-10-26 20:14:51.614046777 +0200
+++ /var/tmp/diff_new_pack.VrrNyT/_new 2021-10-26 20:14:51.618046780 +0200
@@ -18,7 +18,7 @@
%define cpan_name Mojolicious
Name: perl-Mojolicious
-Version: 9.21
+Version: 9.22
Release: 0
Summary: Real-time web framework
License: Artistic-2.0
++++++ Mojolicious-9.21.tar.gz -> Mojolicious-9.22.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/Changes new/Mojolicious-9.22/Changes
--- old/Mojolicious-9.21/Changes 2021-08-13 17:00:38.000000000 +0200
+++ new/Mojolicious-9.22/Changes 2021-10-16 13:05:25.000000000 +0200
@@ -1,7 +1,11 @@
+9.22 2021-10-16
+ - Added a referer method to Mojo::Headers, as an alias for the referrer
method.
+ - Fixed response status log message to use the "trace" log level instead of
"debug".
+
9.21 2021-08-13
- - Added EXPERIMENTAL supprt for top-level await to Mojo::Promise.
- - Updated Future::AsyncAwait requirement to 0.52 for new fatures and bug
fixes.
+ - Added EXPERIMENTAL support for top-level await to Mojo::Promise.
+ - Updated Future::AsyncAwait requirement to 0.52 for new features and bug
fixes.
- Improved *_attr and *_text methods in Test::Mojo to return undef instead
of empty string for values that do not
exist. (tim-2)
- Fixed Mojo::DOM not to auto-close tags in <svg> and <math> blocks. (mkende)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/META.json
new/Mojolicious-9.22/META.json
--- old/Mojolicious-9.21/META.json 2021-08-13 21:14:04.000000000 +0200
+++ new/Mojolicious-9.22/META.json 2021-10-21 13:52:15.000000000 +0200
@@ -63,6 +63,6 @@
"web" : "https://web.libera.chat/#mojo"
}
},
- "version" : "9.21",
+ "version" : "9.22",
"x_serialization_backend" : "JSON::PP version 4.06"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/META.yml
new/Mojolicious-9.22/META.yml
--- old/Mojolicious-9.21/META.yml 2021-08-13 21:14:04.000000000 +0200
+++ new/Mojolicious-9.22/META.yml 2021-10-21 13:52:15.000000000 +0200
@@ -34,5 +34,5 @@
homepage: https://mojolicious.org
license: http://www.opensource.org/licenses/artistic-license-2.0
repository: https://github.com/mojolicious/mojo.git
-version: '9.21'
+version: '9.22'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/lib/Mojo/Headers.pm
new/Mojolicious-9.22/lib/Mojo/Headers.pm
--- old/Mojolicious-9.21/lib/Mojo/Headers.pm 2021-06-30 15:58:00.000000000
+0200
+++ new/Mojolicious-9.22/lib/Mojo/Headers.pm 2021-10-19 00:12:26.000000000
+0200
@@ -123,7 +123,7 @@
}
# New header
- if ($line =~ /^(\S[^:]*)\s*:\s*(.*)$/) { push @$headers, [$1, $2] }
+ if ($line =~ /^(\S[^:]*):\s*(.*)$/) { push @$headers, [$1, $2] }
# Multi-line
elsif ($line =~ s/^\s+// && @$headers) { $headers->[-1][1] .= " $line" }
@@ -142,6 +142,7 @@
return $self;
}
+sub referer { shift->referrer(@_) }
sub referrer { shift->header(Referer => @_) }
sub remove {
@@ -556,6 +557,13 @@
Get or replace current header value, shortcut for the C<Range> header.
+=head2 referer
+
+ my $referrer = $headers->referer;
+ $headers = $headers->referer('http://example.com');
+
+Alias for L</"referrer">.
+
=head2 referrer
my $referrer = $headers->referrer;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/lib/Mojolicious/Controller.pm
new/Mojolicious-9.22/lib/Mojolicious/Controller.pm
--- old/Mojolicious-9.21/lib/Mojolicious/Controller.pm 2021-08-09
18:33:11.000000000 +0200
+++ new/Mojolicious-9.22/lib/Mojolicious/Controller.pm 2021-10-16
13:03:22.000000000 +0200
@@ -174,7 +174,7 @@
# Disable auto rendering and stop timer
my $app = $self->render_later->app;
- $self->helpers->log->debug(sub {
+ $self->helpers->log->trace(sub {
my $timing = $self->helpers->timing;
my $elapsed = $timing->elapsed('mojo.timer') // 0;
my $rps = $timing->rps($elapsed) // '??';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/lib/Mojolicious/Guides/Cookbook.pod
new/Mojolicious-9.22/lib/Mojolicious/Guides/Cookbook.pod
--- old/Mojolicious-9.21/lib/Mojolicious/Guides/Cookbook.pod 2021-06-30
15:58:00.000000000 +0200
+++ new/Mojolicious-9.22/lib/Mojolicious/Guides/Cookbook.pod 2021-08-30
12:06:26.000000000 +0200
@@ -839,7 +839,7 @@
});
# Stop recurring timer
- $c->on(finish => sub ($ioloop) { $ioloop->remove($id) });
+ $c->on(finish => sub ($c) { Mojo::IOLoop->remove($id) });
};
app->start;
@@ -1062,7 +1062,7 @@
use Scalar::Util qw(weaken);
# Intercept multipart uploads and log each chunk received
- hook after_build_tx => sub ($tx) {
+ hook after_build_tx => sub ($tx, $app) {
# Subscribe to "upgrade" event to identify multipart uploads
weaken $tx;
@@ -1080,7 +1080,7 @@
$single->unsubscribe('read')->on(read => sub ($single, $bytes) {
# Log size of every chunk we receive
- app->log->debug(length($bytes) . ' bytes uploaded');
+ $app->log->debug(length($bytes) . ' bytes uploaded');
});
});
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/lib/Mojolicious.pm
new/Mojolicious-9.22/lib/Mojolicious.pm
--- old/Mojolicious-9.21/lib/Mojolicious.pm 2021-08-09 19:26:06.000000000
+0200
+++ new/Mojolicious-9.22/lib/Mojolicious.pm 2021-10-09 11:30:34.000000000
+0200
@@ -56,7 +56,7 @@
has validator => sub { Mojolicious::Validator->new };
our $CODENAME = 'Waffle';
-our $VERSION = '9.21';
+our $VERSION = '9.22';
sub BUILD_DYNAMIC {
my ($class, $method, $dyn_methods) = @_;
@@ -883,6 +883,8 @@
Andy Grundman
+Andy Lester
+
Aristotle Pagaltzis
Ashley Dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojolicious-9.21/t/mojo/headers.t
new/Mojolicious-9.22/t/mojo/headers.t
--- old/Mojolicious-9.21/t/mojo/headers.t 2021-06-30 15:58:00.000000000
+0200
+++ new/Mojolicious-9.22/t/mojo/headers.t 2021-08-30 12:06:26.000000000
+0200
@@ -96,6 +96,11 @@
is $headers->user_agent('foo')->user_agent,
'foo', 'right value';
is $headers->vary('foo')->vary,
'foo', 'right value';
is $headers->www_authenticate('foo')->www_authenticate,
'foo', 'right value';
+
+ is $headers->referrer('foo')->referrer, 'foo', 'right value';
+ is $headers->referer, 'foo', 'right value';
+ is $headers->referer('bar')->referer, 'bar', 'right value';
+ is $headers->referrer, 'bar', 'right value';
};
subtest 'Clone' => sub {