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:   wen
Date:           Thu Oct 29 10:48:16 UTC 2026

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

Log Message:
Update to 9.53

Upstream changes:
9.53  2026-10-25
  - Added any, delete, get, options, patch, post, put, query, under and websocket methods to Mojolicious, as shortcuts
    for the same methods on the routes attribute.
  - Added support for all server commands to morbo, like "morbo ./myapp.pl prefork -w 2". The server now runs in a
    separate process, so the daemon attribute of Mojo::Server::Morbo is only used to create listen sockets, and server
    settings need to be passed to the command instead, like "morbo ./myapp.pl daemon -p -i 30". That also means Morbo
    no longer works on platforms with fork emulation, such as native Windows (use WSL instead).
  - Added exec attribute to Mojo::Server::Morbo and -x/--exec option to morbo, to start additional commands like asset
    bundlers in watch mode alongside the server.
  - Improved url_for_asset in Mojolicious::Controller to find assets that have been rebuilt with different names in
    development mode.
  - Improved at performance in Mojo::DOM for selectors without combinators, it now stops at the first match.
  - Improved HTML/XML parsing performance in Mojo::DOM by up to 35%, the tokenizer now matches attributes only once.
  - Fixed a bug in Mojo::DOM where many unclosed comments, CDATA sections, processing instructions or RCDATA elements
    could make parsing extremely slow.
9.52  2026-10-24
  - Improved multipart/form-data performance in Mojo::Message.
  - Improved Mojo::Server::Daemon performance by up to 27% for keep-alive requests, by finishing static responses
    without an extra write cycle and caching socket addresses per connection.
  - Improved header parsing performance in Mojo::Headers by up to 2x.
  - Improved route matching performance in Mojolicious::Routes by up to 8x for real world applications, routes are now
    indexed by the text their patterns start with, so the cost no longer grows with the number of routes.
  - Improved encode and decode performance in Mojo::Util by up to 3x for ASCII strings, which speeds up parameter
    parsing by up to 35%.
  - Improved url_for performance in Mojolicious::Controller by up to 15%.
  - Improved xor_encode performance in Mojo::Util by up to 3x, which speeds up WebSocket frame masking.
  - Fixed a bug in Mojo::Util where gzip did not accept Mojo::ByteStream objects, causing compressed responses
    rendered from them to fail.
  - Fixed a bug in Mojo::Log where messages from nested contexts were not written to the log file.
  - Fixed a bug in Mojo::Util where html_unescape did not replace numeric character references to NUL, surrogates and
    code points beyond Unicode with U+FFFD, and did not remap the C1 control range through windows-1252, as required
    by the WHATWG HTML standard.
  - Fixed a bug in Mojo::Server::Daemon where destroying the server while a response was being written could cause
    an exception.
9.51  2026-10-19
  - Fixed a bug in Mojo::DOM where CDATA sections, processing instructions and DOCTYPE declarations did not end at the
    first ">" in HTML documents.
  - Fixed a bug in Mojo::DOM where the content of "<style>" and "<script>" elements in "<svg>" and "<math>" blocks was
    not parsed as markup.
  - Fixed a bug in Mojo::DOM where end tags like "</style/>" did not end "<style>" and "<script>" elements.
  - Fixed a bug in Mojo::DOM where raw text moved out of "<style>" and "<script>" elements, for example with strip, was
    not escaped.
  - Fixed a bug in Mojo::DOM where any processing instruction containing "xml" would activate XML mode.
  - Fixed a bug in Mojo::Message::Request where the SCRIPT_NAME prefix was sometimes incorrectly removed from
    PATH_INFO in CGI and PSGI environments.
  - Fixed a bug in Mojo::Asset::Memory where an end_range of 0 was ignored, causing range requests for the first
    byte of an asset to return the whole asset.
  - Fixed a bug in Mojo::Server::Daemon where WebSocket frames sent together with the handshake would be parsed as
    a new HTTP request, preventing the finish event from being emitted.


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 pkgsrc/www/p5-Mojolicious/Makefile
cvs rdiff -u -r1.145 -r1.146 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.162 pkgsrc/www/p5-Mojolicious/Makefile:1.163
--- pkgsrc/www/p5-Mojolicious/Makefile:1.162    Sat Oct 17 23:44:53 2026
+++ pkgsrc/www/p5-Mojolicious/Makefile  Thu Oct 29 10:48:16 2026
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.162 2026/10/17 23:44:53 wen Exp $
+# $NetBSD: Makefile,v 1.163 2026/10/29 10:48:16 wen Exp $
 #
 # When updating this package, please upload the distfile
 # since they disappear immediately when new releases happen,
 # which is quite often.
 
-DISTNAME=      Mojolicious-9.50
+DISTNAME=      Mojolicious-9.53
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SR/SRI/}

Index: pkgsrc/www/p5-Mojolicious/distinfo
diff -u pkgsrc/www/p5-Mojolicious/distinfo:1.145 pkgsrc/www/p5-Mojolicious/distinfo:1.146
--- pkgsrc/www/p5-Mojolicious/distinfo:1.145    Sat Oct 17 23:44:53 2026
+++ pkgsrc/www/p5-Mojolicious/distinfo  Thu Oct 29 10:48:16 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.145 2026/10/17 23:44:53 wen Exp $
+$NetBSD: distinfo,v 1.146 2026/10/29 10:48:16 wen Exp $
 
-BLAKE2s (Mojolicious-9.50.tar.gz) = 287c723bd14bc906aa55124340746da5ed043440b2cf92903fd9013f8ccd6501
-SHA512 (Mojolicious-9.50.tar.gz) = dfc2eb9e8d200a68ab09fdd8d8d18d4234e71eaa82b37a5b22fc849f637db4441d2b21961c8d2770fb5b03921f722bda493a26585446caf6ddf5e070d38bfa35
-Size (Mojolicious-9.50.tar.gz) = 968707 bytes
+BLAKE2s (Mojolicious-9.53.tar.gz) = 86e7dcc930d5f5ad03ae7fad4d7b5f3f5fdcd48f8de6152ab81401cc10f792c0
+SHA512 (Mojolicious-9.53.tar.gz) = 8ed00a4eed93b855ea97a887688052f024865d1aa8cc108761ef6330c4214d8df2ace947dc9ba5afee2dd6a308eb5ba7f08148b5fbdb5351631470c980d7c190
+Size (Mojolicious-9.53.tar.gz) = 981804 bytes



Home | Main Index | Thread Index | Old Index