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 2025-10-10 17:11:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.5300 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Mojolicious"

Fri Oct 10 17:11:46 2025 rev:182 rq:1310541 version:9.420.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes        
2025-07-11 21:32:53.947948199 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Mojolicious.new.5300/perl-Mojolicious.changes  
    2025-10-10 17:13:28.651666682 +0200
@@ -1,0 +2,18 @@
+Thu Oct  9 20:01:05 UTC 2025 - Tina Müller <[email protected]>
+
+- updated to 9.420.0 (9.42)
+   see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+  9.42  2025-10-01
+    - Un-deprecated the spurt method in Mojo::File, it is now an alternative 
to spew.
+    - Removed experimental status from top-level await support in 
Mojo::Promise.
+    - Removed experimental status from encrypted session cookie support.
+    - Removed experimental status from persistent cookie support.
+    - Removed experimental status from samesite cookie support.
+    - Removed experimental status from colourful log messages.
+    - Removed experimental status from freeze option in Mojo::IOLoop.
+    - Removed experimental status from check and raise functions in 
Mojo::Exception.
+    - Fixed Cpanel::JSON::XS compatibility issues. (ilmari)
+    - Fixed async/await memory leak in Mojo::Promise. (TFBW)
+
+-------------------------------------------------------------------

Old:
----
  Mojolicious-9.41.tar.gz

New:
----
  Mojolicious-9.42.tar.gz
  README.md
  _scmsync.obsinfo
  build.specials.obscpio

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

Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.AOhXvd/_old  2025-10-10 17:13:29.155687887 +0200
+++ /var/tmp/diff_new_pack.AOhXvd/_new  2025-10-10 17:13:29.159688055 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Mojolicious
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,16 @@
 
 %define cpan_name Mojolicious
 Name:           perl-Mojolicious
-Version:        9.410.0
+Version:        9.420.0
 Release:        0
-# 9.41 -> normalize -> 9.410.0
-%define cpan_version 9.41
+# 9.42 -> normalize -> 9.420.0
+%define cpan_version 9.42
 License:        Artistic-2.0
 Summary:        Real-time web framework
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/S/SR/SRI/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
+Source100:      README.md
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -70,7 +71,6 @@
 Provides:       perl(Mojo::JSON::Pointer)
 Provides:       perl(Mojo::Loader)
 Provides:       perl(Mojo::Log)
-Provides:       perl(Mojo::Log::_Capture)
 Provides:       perl(Mojo::Message)
 Provides:       perl(Mojo::Message::Request)
 Provides:       perl(Mojo::Message::Response)
@@ -89,7 +89,6 @@
 Provides:       perl(Mojo::Server::Morbo::Backend)
 Provides:       perl(Mojo::Server::Morbo::Backend::Poll)
 Provides:       perl(Mojo::Server::PSGI)
-Provides:       perl(Mojo::Server::PSGI::_IO)
 Provides:       perl(Mojo::Server::Prefork)
 Provides:       perl(Mojo::Template)
 Provides:       perl(Mojo::Transaction)
@@ -103,7 +102,6 @@
 Provides:       perl(Mojo::UserAgent::Server)
 Provides:       perl(Mojo::UserAgent::Transactor)
 Provides:       perl(Mojo::Util)
-Provides:       perl(Mojo::Util::_Guard)
 Provides:       perl(Mojo::WebSocket)
 Provides:       perl(Mojolicious) = %{version}
 Provides:       perl(Mojolicious::Command)

++++++ Mojolicious-9.41.tar.gz -> Mojolicious-9.42.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/Changes new/Mojolicious-9.42/Changes
--- old/Mojolicious-9.41/Changes        2025-07-03 14:04:59.204938426 +0200
+++ new/Mojolicious-9.42/Changes        2025-10-01 16:40:36.000000000 +0200
@@ -1,4 +1,16 @@
 
+9.42  2025-10-01
+  - Un-deprecated the spurt method in Mojo::File, it is now an alternative to 
spew.
+  - Removed experimental status from top-level await support in Mojo::Promise.
+  - Removed experimental status from encrypted session cookie support.
+  - Removed experimental status from persistent cookie support.
+  - Removed experimental status from samesite cookie support.
+  - Removed experimental status from colourful log messages.
+  - Removed experimental status from freeze option in Mojo::IOLoop.
+  - Removed experimental status from check and raise functions in 
Mojo::Exception.
+  - Fixed Cpanel::JSON::XS compatibility issues. (ilmari)
+  - Fixed async/await memory leak in Mojo::Promise. (TFBW)
+
 9.41  2025-07-03
   - Added EXPERIMENTAL support for Server-Sent Events.
   - Added EXPERIMENTAL module Mojo::SSE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/META.json 
new/Mojolicious-9.42/META.json
--- old/Mojolicious-9.41/META.json      2025-07-03 14:27:04.804209311 +0200
+++ new/Mojolicious-9.42/META.json      2025-10-01 16:46:10.000000000 +0200
@@ -4,7 +4,7 @@
       "Sebastian Riedel <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "artistic_2"
    ],
@@ -64,6 +64,6 @@
          "web" : "https://web.libera.chat/#mojo";
       }
    },
-   "version" : "9.41",
+   "version" : "9.42",
    "x_serialization_backend" : "JSON::PP version 4.16"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/META.yml 
new/Mojolicious-9.42/META.yml
--- old/Mojolicious-9.41/META.yml       2025-07-03 14:27:04.682245100 +0200
+++ new/Mojolicious-9.42/META.yml       2025-10-01 16:46:10.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter version 
2.150010'
 license: artistic_2
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -35,5 +35,5 @@
   homepage: https://mojolicious.org
   license: http://www.opensource.org/licenses/artistic-license-2.0
   repository: https://github.com/mojolicious/mojo.git
-version: '9.41'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+version: '9.42'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.020'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/Base.pm 
new/Mojolicious-9.42/lib/Mojo/Base.pm
--- old/Mojolicious-9.41/lib/Mojo/Base.pm       2025-02-25 01:50:10.000000000 
+0100
+++ new/Mojolicious-9.42/lib/Mojo/Base.pm       2025-10-01 16:34:33.000000000 
+0200
@@ -249,8 +249,7 @@
   use Mojo::Base -role, -signatures;
 
 If you have L<Future::AsyncAwait> 0.52+ installed you can also use the 
C<-async_await> flag to activate the C<async>
-and C<await> keywords to deal much more efficiently with promises. Note that 
this feature is B<EXPERIMENTAL> and might
-change without warning!
+and C<await> keywords to deal much more efficiently with promises.
 
   # Also enable async/await
   use Mojo::Base -strict, -async_await;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/BaseUtil.pm 
new/Mojolicious-9.42/lib/Mojo/BaseUtil.pm
--- old/Mojolicious-9.41/lib/Mojo/BaseUtil.pm   2024-05-13 18:21:42.000000000 
+0200
+++ new/Mojolicious-9.42/lib/Mojo/BaseUtil.pm   2025-09-08 16:18:43.000000000 
+0200
@@ -29,7 +29,7 @@
 
 =head1 SYNOPSIS
 
-  use Mojo::BaseUtil qw(class_to_patch monkey_path);
+  use Mojo::BaseUtil qw(class_to_path monkey_patch);
 
   my $path = class_to_path 'Foo::Bar';
   monkey_patch 'MyApp', foo => sub { say 'Foo!' };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/Cookie/Response.pm 
new/Mojolicious-9.42/lib/Mojo/Cookie/Response.pm
--- old/Mojolicious-9.41/lib/Mojo/Cookie/Response.pm    2025-02-25 
01:50:10.000000000 +0100
+++ new/Mojolicious-9.42/lib/Mojo/Cookie/Response.pm    2025-10-01 
16:35:24.000000000 +0200
@@ -135,9 +135,7 @@
   my $samesite = $cookie->samesite;
   $cookie      = $cookie->samesite('Lax');
 
-SameSite value. Note that this attribute is B<EXPERIMENTAL> because even 
though most commonly used browsers support the
-feature, there is no specification yet besides L<this
-draft|https://tools.ietf.org/html/draft-west-first-party-cookies-07>.
+SameSite value.
 
 =head2 secure
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/Exception.pm 
new/Mojolicious-9.42/lib/Mojo/Exception.pm
--- old/Mojolicious-9.41/lib/Mojo/Exception.pm  2025-02-25 01:50:10.000000000 
+0100
+++ new/Mojolicious-9.42/lib/Mojo/Exception.pm  2025-10-01 16:35:47.000000000 
+0200
@@ -196,7 +196,7 @@
   my $bool = check $err => ['MyApp::X::Foo' => sub {...}];
 
 Process exceptions by dispatching them to handlers with one or more matching 
conditions. Exceptions that could not be
-handled will be rethrown automatically. Note that this function is 
B<EXPERIMENTAL> and might change without warning!
+handled will be rethrown automatically.
 
   # Handle various types of exceptions
   eval {
@@ -249,8 +249,7 @@
   raise 'MyApp::X::Foo', 'Something went wrong!';
 
 Raise a L<Mojo::Exception>, if the class does not exist yet (classes are 
checked for a C<new> method), one is created
-as a L<Mojo::Exception> subclass on demand. Note that this function is 
B<EXPERIMENTAL> and might change without
-warning!
+as a L<Mojo::Exception> subclass on demand.
 
 =head1 ATTRIBUTES
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/File.pm 
new/Mojolicious-9.42/lib/Mojo/File.pm
--- old/Mojolicious-9.41/lib/Mojo/File.pm       2025-04-14 15:15:04.391291670 
+0200
+++ new/Mojolicious-9.42/lib/Mojo/File.pm       2025-10-01 16:30:21.000000000 
+0200
@@ -14,7 +14,7 @@
 use File::Temp            ();
 use IO::File              ();
 use Mojo::Collection;
-use Mojo::Util qw(decode deprecated encode);
+use Mojo::Util qw(decode encode);
 
 our @EXPORT_OK = ('curfile', 'path', 'tempdir', 'tempfile');
 
@@ -154,11 +154,7 @@
   return $self;
 }
 
-# DEPRECATED!
-sub spurt {
-  deprecated 'Mojo::File::spurt is deprecated in favor of Mojo::File::spew';
-  shift->spew(join '', @_);
-}
+sub spurt { shift->spew(join '', @_) }
 
 sub stat { File::stat::stat(${shift()}) }
 
@@ -518,6 +514,12 @@
 Write all data at once to the file. If an encoding is provided, an attempt to 
encode the content will be made prior to
 writing.
 
+=head2 spurt
+
+  $path = $path->spurt(@bytes);
+
+Alias for L</"spew"> that writes multiple chunks of bytes.
+
 =head2 stat
 
   my $stat = $path->stat;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/IOLoop.pm 
new/Mojolicious-9.42/lib/Mojo/IOLoop.pm
--- old/Mojolicious-9.41/lib/Mojo/IOLoop.pm     2025-02-25 01:50:10.000000000 
+0100
+++ new/Mojolicious-9.42/lib/Mojo/IOLoop.pm     2025-10-01 16:36:27.000000000 
+0200
@@ -432,8 +432,7 @@
   freeze => 1
 
 Freeze the current state of the event loop in time before resetting it. This 
will prevent active connections from
-getting closed immediately, which can help with many unintended side effects 
when processes are forked. Note that this
-option is B<EXPERIMENTAL> and might change without warning!
+getting closed immediately, which can help with many unintended side effects 
when processes are forked.
 
 =back
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/JSON.pm 
new/Mojolicious-9.42/lib/Mojo/JSON.pm
--- old/Mojolicious-9.41/lib/Mojo/JSON.pm       2024-12-06 13:48:58.000000000 
+0100
+++ new/Mojolicious-9.42/lib/Mojo/JSON.pm       2025-10-01 01:50:15.000000000 
+0200
@@ -5,12 +5,13 @@
 use Exporter     qw(import);
 use JSON::PP     ();
 use Mojo::Util   qw(decode encode monkey_patch);
+use overload     ();
 use Scalar::Util qw(blessed);
 
 # For better performance Cpanel::JSON::XS is required
 use constant JSON_XS => $ENV{MOJO_NO_JSON_XS}
   ? 0
-  : !!eval { require Cpanel::JSON::XS; Cpanel::JSON::XS->VERSION('4.09'); 1 };
+  : !!eval { require Cpanel::JSON::XS; Cpanel::JSON::XS->VERSION('4.20'); 1 };
 
 use constant CORE_BOOLS => defined &builtin::is_bool;
 
@@ -249,7 +250,7 @@
 
     # Everything else
     return 'null' unless blessed $value;
-    return _encode_string($value) unless my $sub = $value->can('TO_JSON');
+    return overload::Method($value, '""') ? _encode_string($value) : 'null' 
unless my $sub = $value->can('TO_JSON');
     return _encode_value($value->$sub);
   }
 
@@ -327,7 +328,7 @@
 
   "</script>" -> "<\/script>"
 
-For better performance the optional module L<Cpanel::JSON::XS> (4.09+) will be 
used automatically if possible. This can
+For better performance the optional module L<Cpanel::JSON::XS> (4.20+) will be 
used automatically if possible. This can
 also be disabled with the C<MOJO_NO_JSON_XS> environment variable.
 
 =head1 FUNCTIONS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/Log.pm 
new/Mojolicious-9.42/lib/Mojo/Log.pm
--- old/Mojolicious-9.41/lib/Mojo/Log.pm        2025-02-25 01:50:10.000000000 
+0100
+++ new/Mojolicious-9.42/lib/Mojo/Log.pm        2025-10-01 16:36:53.000000000 
+0200
@@ -193,8 +193,7 @@
   $log     = $log->color($bool);
 
 Colorize log messages with the levels C<warn>, C<error> and C<fatal> using 
L<Term::ANSIColor>, defaults to the value of
-the C<MOJO_LOG_COLOR> environment variables. Note that this attribute is 
B<EXPERIMENTAL> and might change without
-warning!
+the C<MOJO_LOG_COLOR> environment variables.
 
 =head2 format
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/Promise.pm 
new/Mojolicious-9.42/lib/Mojo/Promise.pm
--- old/Mojolicious-9.41/lib/Mojo/Promise.pm    2023-07-06 19:03:59.000000000 
+0200
+++ new/Mojolicious-9.42/lib/Mojo/Promise.pm    2025-09-08 16:18:43.000000000 
+0200
@@ -37,7 +37,9 @@
 sub AWAIT_ON_CANCEL { }
 
 sub AWAIT_ON_READY {
-  shift->_finally(0, @_)->catch(sub { });
+  my ($self, $cb) = @_;
+  push @{$self->{resolve}}, $cb;
+  push @{$self->{reject}},  $cb;
 }
 
 sub AWAIT_WAIT {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/UserAgent/CookieJar.pm 
new/Mojolicious-9.42/lib/Mojo/UserAgent/CookieJar.pm
--- old/Mojolicious-9.41/lib/Mojo/UserAgent/CookieJar.pm        2025-02-25 
01:50:10.000000000 +0100
+++ new/Mojolicious-9.42/lib/Mojo/UserAgent/CookieJar.pm        2025-10-01 
16:37:35.000000000 +0200
@@ -215,8 +215,7 @@
   my $file = $jar->file;
   $jar     = $jar->file('/home/sri/cookies.txt');
 
-File to L</"load"> cookies from and L</"save"> cookies to in Netscape format. 
Note that this attribute is
-B<EXPERIMENTAL> and might change without warning!
+File to L</"load"> cookies from and L</"save"> cookies to in Netscape format.
 
   # Save cookies to file
   $jar->file('cookies.txt')->save;
@@ -291,7 +290,7 @@
 
   $jar = $jar->load;
 
-Load cookies from L</"file">. Note that this method is B<EXPERIMENTAL> and 
might change without warning!
+Load cookies from L</"file">.
 
 =head2 prepare
 
@@ -303,13 +302,14 @@
 
   $jar = $jar->save;
 
-Save cookies to L</"file">. Note that this method is B<EXPERIMENTAL> and might 
change without warning!
+Save cookies to L</"file">.
 
 =head2 to_string
 
   my $string = $jar->to_string;
 
-Stringify cookies in Netscape format. Note that this method is B<EXPERIMENTAL> 
and might change without warning!
+Stringify cookies in Netscape format.
+
 
 =head1 SEE ALSO
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojo/Util.pm 
new/Mojolicious-9.42/lib/Mojo/Util.pm
--- old/Mojolicious-9.41/lib/Mojo/Util.pm       2025-07-03 14:03:09.911078048 
+0200
+++ new/Mojolicious-9.42/lib/Mojo/Util.pm       2025-10-01 16:38:12.000000000 
+0200
@@ -678,8 +678,7 @@
 
   my $value = decrypt_cookie $encrypted, 'passw0rd', 'salt';
 
-Decrypt cookie value encrypted with L</encrypt_cookie>, returns the decrypted 
value or C<undef>. Note that this
-function is B<EXPERIMENTAL> and might change without warning!
+Decrypt cookie value encrypted with L</encrypt_cookie>, returns the decrypted 
value or C<undef>.
 
 =head2 deprecated
 
@@ -704,7 +703,7 @@
 
   my $encrypted = encrypt_cookie $value, 'passw0rd', 'salt';
 
-Encrypt cookie value. Note that this function is B<EXPERIMENTAL> and might 
change without warning!
+Encrypt cookie value.
 
 =head2 extract_usage
 
@@ -728,7 +727,7 @@
   my $secret = generate_secret;
 
 Generate a random secret with a cryptographically secure random number 
generator if available, and a less secure
-fallback if not. Note that this function is B<EXPERIMENTAL> and might change 
without warning!
+fallback if not.
 
 =head2 getopt
 
@@ -769,7 +768,6 @@
   my ($params, $remainder) = header_params 'one=foo; two="bar", three=baz';
 
 Extract HTTP header field parameters until the first comma according to L<RFC 
5987|http://tools.ietf.org/html/rfc5987>.
-Note that this function is B<EXPERIMENTAL> and might change without warning!
 
 =head2 hmac_sha1_sum
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojolicious/Command/version.pm 
new/Mojolicious-9.42/lib/Mojolicious/Command/version.pm
--- old/Mojolicious-9.41/lib/Mojolicious/Command/version.pm     2025-02-25 
01:50:14.649864831 +0100
+++ new/Mojolicious-9.42/lib/Mojolicious/Command/version.pm     2025-10-01 
01:50:15.000000000 +0200
@@ -28,7 +28,7 @@
   Mojolicious ($Mojolicious::VERSION, $Mojolicious::CODENAME)
 
 OPTIONAL
-  Cpanel::JSON::XS 4.09+   ($json)
+  Cpanel::JSON::XS 4.20+   ($json)
   CryptX 0.080+            ($cryptx)
   EV 4.32+                 ($ev)
   IO::Socket::Socks 0.64+  ($socks)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojolicious/Controller.pm 
new/Mojolicious-9.42/lib/Mojolicious/Controller.pm
--- old/Mojolicious-9.41/lib/Mojolicious/Controller.pm  2025-07-03 
14:03:09.911264045 +0200
+++ new/Mojolicious-9.42/lib/Mojolicious/Controller.pm  2025-10-01 
16:38:45.000000000 +0200
@@ -447,7 +447,7 @@
 Access encrypted request cookie values and create new encrypted response 
cookies. If there are multiple values sharing
 the same name, and you want to access more than just the last one, you can use 
L</"every_encrypted_cookie">. Cookies
 are encrypted with ChaCha20-Poly1305, to prevent tampering, and the ones 
failing decryption will be automatically
-discarded. Note that this method is B<EXPERIMENTAL> and might change without 
warning!
+discarded.
 
 =head2 every_cookie
 
@@ -463,7 +463,7 @@
   my $values = $c->every_encrypted_cookie('foo');
 
 Similar to L</"encrypted_cookie">, but returns all encrypted request cookie 
values sharing the same name as an array
-reference. Note that this method is B<EXPERIMENTAL> and might change without 
warning!
+reference.
 
   # Get first encrypted cookie value
   my $first = $c->every_encrypted_cookie('foo')->[0];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojolicious/Sessions.pm 
new/Mojolicious-9.42/lib/Mojolicious/Sessions.pm
--- old/Mojolicious-9.41/lib/Mojolicious/Sessions.pm    2025-02-25 
01:50:10.000000000 +0100
+++ new/Mojolicious-9.42/lib/Mojolicious/Sessions.pm    2025-10-01 
16:39:19.000000000 +0200
@@ -147,17 +147,14 @@
   my $bool  = $sessions->encrypted;
   $sessions = $sessions->encrypted($bool);
 
-Use encrypted session cookies instead of merely cryptographically signed ones. 
Note that this attribute is
-B<EXPERIMENTAL> and might change without warning!
+Use encrypted session cookies instead of merely cryptographically signed ones.
 
 =head2 samesite
 
   my $samesite = $sessions->samesite;
   $sessions    = $sessions->samesite('Strict');
 
-Set the SameSite value on all session cookies, defaults to C<Lax>. Note that 
this attribute is B<EXPERIMENTAL> because
-even though most commonly used browsers support the feature, there is no 
specification yet besides L<this
-draft|https://tools.ietf.org/html/draft-west-first-party-cookies-07>.
+Set the SameSite value on all session cookies, defaults to C<Lax>.
 
   # Disable SameSite feature
   $sessions->samesite(undef);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/lib/Mojolicious.pm 
new/Mojolicious-9.42/lib/Mojolicious.pm
--- old/Mojolicious-9.41/lib/Mojolicious.pm     2025-05-12 15:08:33.762748428 
+0200
+++ new/Mojolicious-9.42/lib/Mojolicious.pm     2025-10-01 16:41:31.000000000 
+0200
@@ -57,7 +57,7 @@
 has validator => sub { Mojolicious::Validator->new };
 
 our $CODENAME = 'Waffle';
-our $VERSION  = '9.41';
+our $VERSION  = '9.42';
 
 sub BUILD_DYNAMIC {
   my ($class, $method, $dyn_methods) = @_;
@@ -920,6 +920,8 @@
 
 Breno G. de Oliveira
 
+Brett Watson
+
 Brian Duggan
 
 Brian Medley
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/t/mojo/file.t 
new/Mojolicious-9.42/t/mojo/file.t
--- old/Mojolicious-9.41/t/mojo/file.t  2025-02-25 01:50:10.000000000 +0100
+++ new/Mojolicious-9.42/t/mojo/file.t  2025-10-01 16:31:32.000000000 +0200
@@ -103,8 +103,9 @@
   my $file = tempfile(DIR => $dir);
   my $path = "$file";
   ok -f $path, 'file exists';
-  is $file->dirname,             $dir,   'same directory';
-  is $file->spew('test')->slurp, 'test', 'right result';
+  is $file->dirname,                                  $dir,           'same 
directory';
+  is $file->spew('test')->slurp,                      'test',         'right 
result';
+  is $file->spurt('just', 'a', 'test', '123')->slurp, 'justatest123', 'right 
result';
   undef $file;
   ok !-f $path, 'file does not exist anymore';
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/t/mojo/json.t 
new/Mojolicious-9.42/t/mojo/json.t
--- old/Mojolicious-9.41/t/mojo/json.t  2024-08-17 16:46:49.000000000 +0200
+++ new/Mojolicious-9.42/t/mojo/json.t  2025-10-01 01:50:15.000000000 +0200
@@ -13,6 +13,9 @@
 use Mojo::Base -base;
 use overload '&' => sub {die}, '""' => sub {'works!'};
 
+package JSONTest3;
+use Mojo::Base -base;
+
 package main;
 
 use Test::More;
@@ -334,6 +337,7 @@
 
 subtest 'Other reference types' => sub {
   is encode_json([JSONTest2->new]), "[\"works!\"]", 'object stringified';
+  is encode_json([JSONTest3->new]), '[null]',       'object with no 
stringification overload';
 };
 
 subtest 'Ensure numbers and strings are not upgraded' => sub {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/t/mojo/json_xs.t 
new/Mojolicious-9.42/t/mojo/json_xs.t
--- old/Mojolicious-9.41/t/mojo/json_xs.t       2023-03-08 19:43:33.000000000 
+0100
+++ new/Mojolicious-9.42/t/mojo/json_xs.t       2025-10-01 01:50:15.000000000 
+0200
@@ -4,7 +4,7 @@
 use Mojo::JSON qw(decode_json encode_json false from_json j to_json true);
 
 BEGIN {
-  plan skip_all => 'Cpanel::JSON::XS 4.09+ required for this test!' unless 
Mojo::JSON->JSON_XS;
+  plan skip_all => 'Cpanel::JSON::XS 4.20+ required for this test!' unless 
Mojo::JSON->JSON_XS;
 }
 
 package JSONTest;
@@ -14,6 +14,13 @@
 
 sub TO_JSON { shift->something }
 
+package JSONTest2;
+use Mojo::Base -base;
+use overload '&' => sub {die}, '""' => sub {'works!'};
+
+package JSONTest3;
+use Mojo::Base -base;
+
 package main;
 
 use Mojo::ByteStream;
@@ -64,6 +71,8 @@
   is_deeply decode_json($bytes), {}, 'successful roundtrip';
   $bytes = encode_json(JSONTest->new(something => {just => 'works'}, else => 
{not => 'working'}));
   is_deeply decode_json($bytes), {just => 'works'}, 'successful roundtrip';
+  is encode_json([JSONTest2->new]), "[\"works!\"]", 'object stringified';
+  is encode_json([JSONTest3->new]), '[null]',       'object with no 
stringification overload';
 };
 
 subtest '"stringify_infnan"' => sub {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Mojolicious-9.41/t/pod_coverage.t 
new/Mojolicious-9.42/t/pod_coverage.t
--- old/Mojolicious-9.41/t/pod_coverage.t       2024-05-13 18:17:53.000000000 
+0200
+++ new/Mojolicious-9.42/t/pod_coverage.t       2025-10-01 16:30:36.000000000 
+0200
@@ -14,4 +14,4 @@
 # These are base utils only to be used in Mojo::Base and not elsewhere
 my @base_utils = (qw(class_to_path monkey_patch));
 
-all_pod_coverage_ok({also_private => ['BUILD_DYNAMIC', @await, @base_utils, 
'spurt']});
+all_pod_coverage_ok({also_private => ['BUILD_DYNAMIC', @await, @base_utils]});

++++++ README.md ++++++

## Build Results

Current state of perl in openSUSE:Factory is

![Factory build 
results](https://br.opensuse.org/status/openSUSE:Factory/perl-Mojolicious/standard)

The current state of perl in the devel project build (devel:languages:perl)

![Devel project build 
results](https://br.opensuse.org/status/devel:languages:perl/perl-Mojolicious)



++++++ _scmsync.obsinfo ++++++
mtime: 1760040066
commit: 8c438d306d27aa758414e2190e55169dc3152bb54022f13e5c20ff2add1fd14f
url: https://src.opensuse.org/perl/perl-Mojolicious.git
revision: 8c438d306d27aa758414e2190e55169dc3152bb54022f13e5c20ff2add1fd14f
projectscmsync: https://src.opensuse.org/perl/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-10-10 11:42:19.000000000 +0200
@@ -0,0 +1 @@
+.osc

Reply via email to