pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/p5-Mojolicious



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 27 17:19:55 UTC 2021

Modified Files:
        pkgsrc/www/p5-Mojolicious: Makefile distinfo

Log Message:
p5-Mojolicious: update to 9.17.

9.17  2021-04-12
  - Deprecated ?format=* parameter in favor of ?_format=* for content negotiation in Mojolicious::Renderer.

9.16  2021-04-08
  - Added support for format inheritance.
  - Improved Mojo::Server::CGI with support for before_server_start hook.

9.15  2021-03-30
  - Improved form generator in Mojo::UserAgent::Transactor to allow custom Content-Disposition headers.

9.14  2021-03-23
  - Added EXPERIMENTAL support for :text pseudo-class to Mojo::DOM::CSS.

9.13  2021-03-22
  - Improved request_id attribute in Mojo::Message::Request to be a little more unique.
  - Fixed Mojolicious::Plugin::Mount to share the logger of the host application.

9.12  2021-03-21
  - Improved mojo script startup time slightly with a Mojo::HelloWorld optimization.
  - Improved design of built-in templates.

9.11  2021-03-20
  - This release contains fixes for security issues, everybody should upgrade!
  - Disabled format detection by default to fix vulnerabilities in many Mojolicious applications. That means some of
    your routes that previously matched "/foo" and "/foo.json", will only match "/foo" after upgrading. From now on you
    will have to explicitly declare the formats your routes are allowed to handle.
      # /foo
      # /foo.html
      # /foo.json
      $r->get('/foo')->to('bar#yada');
    becomes
      $r->get('/foo' => [format => ['html', 'json']])->to('bar#yada', format => undef);
    And if you are certain that your application is not vulnerable, you also have the option to re-enable format
    detection for a route and all its nested routes. Due to the high risk of vulnerabilities, this feature is going to
    be removed again in a future release however.
      my $active = $r->any([format => 1]);
      $active->get('/foo')->to('Test#first');
      $active->put('/bar')->to('Test#second');
  - Improved built-in templates not to show embedded apps in the stash snapshot.
  - Improved built-in development not found page to include tooltips with the compiled regular expressions for each
    route.
  - Improved Mojo::UserAgent to include "Content-Length: 0" with non-GET requests for better compatibility with broken
    web servers.

9.10  2021-03-14
  - Fixed top-level --help and -h options in Mojolicious::Commands.

9.09  2021-03-13
  - Added comma_separated filter to Mojolicious::Validator.
  - Fixed built-in templates to be a bit more responsive.
  - Fixed filter list handling in Mojolicious::Validator::Validation.

9.08  2021-03-12
  - Fixed a bug in Test::Mojo where Test::Mojo->new($app) would not work correctly.

9.07  2021-03-11
  - Improved config override feature to work for Mojolicious::Lite applications.
  - Improved Mojo::UserAgent performance slightly by not including unnecessary "Content-Length: 0" request headers.

9.03  2021-03-05
  - Fixed a bug in Mojo::Transaction::WebSocket where finish event handlers would not always get the same number of
    arguments passed.

9.02  2021-02-17
  - Fixed finally method in Mojo::Promise to deal correctly with promises returned by the handler.
  - Improved Mojo::Server::Daemon to include random ports in the "Web application available at ..." message.

9.01  2021-02-16
  - Added EXPERIMENTAL color attribute to Mojo::Log.
  - Added EXPERIMENTAL MOJO_LOG_COLOR environment variable to Mojo::Log.
  - Fixed Windows support of network_contains function in Mojo::Util. (jberger)

9.0  2021-02-14
  - Code name "Waffle", this is a major release.
  - Added support for deployment specific plugins.
  - Removed Mojo::IOLoop::Delay.
  - Removed hidden attribute from Mojolicious::Routes.
  - Removed hide and is_hidden methods from Mojolicious::Routes.
  - Removed deprecated success method from Mojo::Transaction.
  - Removed deprecated detour, over, route and via methods from Mojolicious::Routes::Route.
  - Removed deprecated local_address method from Mojo::UserAgent.
  - Removed deprecated tls_ciphers, tls_protocols, tls_verify and tls_version options from Mojo::IOLoop::TLS.
  - Removed deprecated local_address option from Mojo::IOLoop::Client.
  - Removed deprecated config stash value.
  - Changed Mojo::Log to join mutiple log messages with a whitespace instead of a newline.
  - Added is_reserved method to Mojolicious::Routes::Route.
  - Improved Mojolicious::Routes to disallow the use of reserved stash values, such as "/:action", in route patterns.
  - Improved Mojolicious::Routes to throw exceptions for missing controllers.
  - Improved Mojolicious::Routes to throw exceptions for routes with controllers but without action.
  - Improved Mojolicious::Routes to disallow namespace without controller for routing.
  - Improved Mojolicious::Routes to die if auto rendering failed.
  - Improved render method in Mojolicious::Controller to die if no response could be rendered.
  - Improved reply->static helper to die if the requested file does not exist.
  - Improved contextual logging feature in Mojo::Log not to concatenate log messages and context.
  - Improved all_text method in Mojo::DOM to exclude "<script>" and "<style>" from text extraction in HTML documents.
  - Improved error messages in config plugins to be more consistent.

8.73  2021-02-05
  - Removed finally keyword from check function in Mojo::Exception.
  - Changed arguments of check function in Mojo::Exception to be easier to use with Perl 5.34 try/catch.
  - Removed experimental status from preload_namespaces attribute in Mojolicious.
  - Removed experimental status from any, map, timer and timeout methods in Mojo::Promise.
  - Removed experimental status from extname method in Mojo::File.
  - Removed experimental status from warmup method in Mojolicious.
  - Removed experimental status from load_classes function in Mojo::Loader.
  - Removed experimental status from Mojo::DynamicMethods. Still summons old gods, use at your own risk!
  - Removed experimental status from before_command hook in Mojolicious.
  - Added silent attribute to Mojo::Server::Morbo.

8.72  2021-01-26
  - Deprecated Mojo::UserAgent::local_address in favor of Mojo::UserAgent::socket_options.
  - Deprecated local_address option of connect method in Mojo::IOLoop::Client in favor of socket_options.
  - Deprecated tls_protocols option of connect method in Mojo::IOLoop::Client in favor of tls_options.
  - Deprecated tls_verify option of connect method in Mojo::IOLoop::Client in favor of tls_options.
  - Deprecated tls_protocols option of negotiate method in Mojo::IOLoop::TLS in favor of tls_options.
  - Deprecated tls_ciphers option of negotiate method in Mojo::IOLoop::TLS in favor of tls_options.
  - Deprecated tls_verify option of negotiate method in Mojo::IOLoop::TLS in favor of tls_options.
  - Deprecated tls_version option of negotiate method in Mojo::IOLoop::TLS in favor of tls_options.
  - Deprecated tls_ciphers option of listen method in Mojo::IOLoop::Server in favor of tls_options.
  - Deprecated tls_verify option of listen method in Mojo::IOLoop::Server in favor of tls_options.
  - Deprecated tls_version option of listen method in Mojo::IOLoop::Server in favor of tls_options.
  - Added support for trusted reverse proxies. (jberger)
  - Added network_contains function to Mojo::Util. (jberger)
  - Added trusted_proxies attribute to Mojo::Server and Mojo::Message::Request. (jberger)
  - Added socket_options method to Mojo::UserAgent.
  - Added build_server method to Mojolicious::Command::daemon and Mojolicious::Command::prefork. (jberger)
  - Added trusted_proxies option to Hynotoad. (jberger)
  - Added socket_options and tls_options options to connect method in Mojo::IOLoop::Client.
  - Added tls_options option to negotiate method in Mojo::IOLoop::TLS.

8.71  2021-01-17
  - Added EXPERIMENTAL freeze option to reset method in Mojo::IOLoop.
  - Improved Mojo::IOLoop::Subprocess not to close connections after fork.

8.70  2020-12-29
  - Fixed top-level help command in Mojolicious::Commands. (schelcj)

8.69  2020-12-28
  - Improved design of built-in templates.

8.68  2020-12-27
  - Updated built-in templates with new responsive design from mojolicious.org.
  - Fixed a bug in Mojo::Message::Request that resulted in duplicate request ids for Mojo::Server::Prefork workers.

8.67  2020-12-04
  - Deprecated Mojolicious::Routes::Route::route in favor of Mojolicious::Routes::Route::any.
  - Deprecated Mojolicious::Routes::Route::over in favor of Mojolicious::Routes::Route::requires.
  - Deprecated Mojolicious::Routes::Route::via in favor of Mojolicious::Routes::Route::methods.
  - Deprecated Mojolicious::Routes::Route::detour.
  - Added methods and requires methods to Mojolicious::Routes::Route.
  - Improved Mojolicious::Commands to throw an exception for invalid commands.

8.66  2020-11-28
  - Deprecated logging to "log/$mode.log" (if a log directory exists) in Mojolicious. The default will simply be STDERR
    in the future.
  - Added support for preloading controllers and other classes during startup of Mojolicious applications.
  - Added EXPERIMENTAL preload_namespaces attribute to Mojolicious.
  - Added EXPERIMENTAL warmup method to Mojolicious.
  - Added EXPERIMENTAL load_classes function to Mojo::Loader.
  - Removed experimental status from humanize_bytes method in Mojo::ByteStream.
  - Removed experimental status from humanize_bytes function in Mojo::Util.
  - Improved find_modules function in Mojo::Loader with recursive option.
  - Improved Mojo::DOM::CSS to throw exceptions for unknown CSS selectors.
  - Fixed a bug in Mojolicious::Commands where help messages would not be displayed correctly for some commands.
    (kiwiroy)
  - Fixed a bug in Mojolicious::Routes::Pattern where type_start was treated as a regex. (Grinnz)

8.65  2020-11-10
  - Added generate dockerfile command. (tianon)
  - Improved cookbook with container deployment recipe.
  - Improved security of secure_compare function in Mojo::Util. (robrwo)
  - Fixed all generated code to consistently use a *::Sandbox class, instead of *::SandBox.

8.64  2020-11-01
  - Replaced prettify.js with highlight.js. (zakame)
  - Fixed a bug in Mojo::DOM where the tree root would be checked for all pseudo-classes.
  - Fixed a redefined subroutine warning in eval command. (elmar)

8.63  2020-10-11
  - Improved Mojo::IOLoop::Subprocess to ensure a clean exit even if something unexpected happens in the forked
    process.

8.62  2020-10-10
  - Improved commands to exit with a usage message on unknown options.

8.61  2020-10-01
  - Fixed fork-safety feature in Mojo::UserAgent to work with more than one fork.
  - Fixed reset method in Mojo::IOLoop to not interfere with close events anymore, since that resulted in leaks.

8.60  2020-09-27
  - Improved reset method in Mojo::IOLoop to prevent close event to be emitted in affected streams. (kiwiroy)
  - Improved cookbook with Envoy deployment recipe. (zakame)


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 pkgsrc/www/p5-Mojolicious/Makefile
cvs rdiff -u -r1.132 -r1.133 pkgsrc/www/p5-Mojolicious/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/p5-Mojolicious/Makefile
diff -u pkgsrc/www/p5-Mojolicious/Makefile:1.144 pkgsrc/www/p5-Mojolicious/Makefile:1.145
--- pkgsrc/www/p5-Mojolicious/Makefile:1.144    Sun Sep 20 07:56:20 2020
+++ pkgsrc/www/p5-Mojolicious/Makefile  Tue Apr 27 17:19:55 2021
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.144 2020/09/20 07:56:20 wiz Exp $
+# $NetBSD: Makefile,v 1.145 2021/04/27 17:19:55 wiz Exp $
 #
 # When updating this package, please upload the distfile
 # since they disappear immediately when new releases happen,
 # which is quite often.
 
-DISTNAME=      Mojolicious-8.59
+DISTNAME=      Mojolicious-9.17
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Mojolicious/}

Index: pkgsrc/www/p5-Mojolicious/distinfo
diff -u pkgsrc/www/p5-Mojolicious/distinfo:1.132 pkgsrc/www/p5-Mojolicious/distinfo:1.133
--- pkgsrc/www/p5-Mojolicious/distinfo:1.132    Sun Sep 20 07:56:20 2020
+++ pkgsrc/www/p5-Mojolicious/distinfo  Tue Apr 27 17:19:55 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.132 2020/09/20 07:56:20 wiz Exp $
+$NetBSD: distinfo,v 1.133 2021/04/27 17:19:55 wiz Exp $
 
-SHA1 (Mojolicious-8.59.tar.gz) = 339a278944baaf581012562c78358cb6c0cce631
-RMD160 (Mojolicious-8.59.tar.gz) = fcc61afd2d8d06a3f0e1dcce09d7e474e145b3ec
-SHA512 (Mojolicious-8.59.tar.gz) = 61e73e84d663227ba6c978dbb3ac4e343cf2b93209dc50fd253f45f778c9dd506139cd6d9a68240ea127f400dd46df4633004b438c5c6b5f9535ad542dedeb2c
-Size (Mojolicious-8.59.tar.gz) = 779642 bytes
+SHA1 (Mojolicious-9.17.tar.gz) = a4716a47fb91f9f603f253eca40c96a114d0c2bc
+RMD160 (Mojolicious-9.17.tar.gz) = a989e8578177495a19eb6293630b52e9c01b4ed7
+SHA512 (Mojolicious-9.17.tar.gz) = d419e026f3e86b4360ca7f8ef4d3298f3022ffeb4530532fb39adc4deff5bd505545e65a384533a6ae4ff466a261ccf84e1a186c61986c12c202bc71fcaf1f8b
+Size (Mojolicious-9.17.tar.gz) = 2206551 bytes



Home | Main Index | Thread Index | Old Index