Changes for version 9.55 - 2026-12-06

  • Added EXPERIMENTAL max_parts attribute to Mojo::Content::MultiPart.
  • Added EXPERIMENTAL directory and download options to reply->file helper in Mojolicious::Plugin::DefaultHelpers.
  • Changed Mojolicious::Routes::Match to die on unknown route conditions, instead of silently not matching the route.
  • Fixed a security issue in Mojo::DOM where deeply nested markup could make the HTML/XML parser block the event loop for a very long time. Elements are now limited to 512 levels of nesting, deeper ones are added as siblings, like in browsers.
  • Fixed a security issue where small gzip compressed responses could exceed max_response_size in Mojo::UserAgent after decompression.
  • Fixed a security issue where multipart requests with many tiny parts could use large amounts of memory. The number of parts is now limited to 1000 by default.
  • Fixed a bug in Mojo::DOM::CSS where selectors like "p + p", "p ~ p" and ":nth-child()" could make selection extremely slow for elements with thousands of siblings.
  • Fixed a bug in Mojolicious::Static where "Range: bytes=-500" returned the first instead of the last 500 bytes, and invalid Range headers like "bytes=-" were not ignored. Responses with status 416 now include a Content-Range header.
  • Fixed a bug in Mojolicious::Static where If-Modified-Since was not ignored when If-None-Match was present, weak ETags did not match strong ones, and "If-None-Match: *" was not supported.
  • Fixed a bug in Mojo::Message::Request where the "Basic" authentication scheme was case-sensitive and matched anywhere in the Authorization header.
  • Fixed a bug in Mojolicious::Renderer and Mojolicious::Types where "q=0" values in Accept and Accept-Encoding headers were treated as acceptable.
  • Fixed a bug in Mojolicious::Routes where routes added, removed or renamed after the first lookup were not found by url_for.
  • Fixed a bug in Mojolicious::Routes where "_method" values containing ":" could change the routes cached for other paths.

Documentation

The Mojolicious Guide to the Galaxy
Contributing to Mojolicious
Cooking with Mojolicious
Frequently Asked Questions
Growing Mojolicious applications
Rendering content
Routing requests
Web Application Testing Made Easy
Get started with Mojolicious
Hypnotoad HTTP and WebSocket server
The Mojolicious command system
Morbo HTTP and WebSocket development server

Modules

Web development toolkit
HTTP content storage base class
File storage for HTTP content
In-memory storage for HTTP content
Minimal base class for Mojo projects
Common utility functions used in Mojo::Base, re-exported in Mojo::Util
ByteStream
Naive in-memory cache
Collection
HTTP content base class
HTTP multipart content
HTTP content
HTTP cookie base class
HTTP request cookie
HTTP response cookie
Minimalistic HTML/XML DOM parser with CSS selectors
CSS selector engine
HTML/XML engine
HTTP date
Fast dynamic method dispatch
Event emitter base class
Exception base class
File system paths
HTTP headers
Hello World!
Home sweet home
Minimalistic event loop
Non-blocking TCP/IP and UNIX domain socket client
Non-blocking TCP and UNIX domain socket server
Non-blocking I/O stream
Non-blocking TLS handshake
Minimalistic JSON
JSON Pointers
Load all kinds of things
Simple logger
HTTP message base class
HTTP request
HTTP response
Parameters
Path
Promises/A+
Low-level event reactor base class
Low-level event reactor with libev support
Low-level event reactor with poll support
Server-Sent Events
HTTP/WebSocket server base class
CGI server
Non-blocking I/O HTTP and WebSocket server
A production web serv...ALL GLORY TO THE HYPNOTOAD!
Tonight at 11...DOOOOOOOOOOOOOOOM!
Morbo backend base class
Morbo default backend
PSGI server
Pre-forking non-blocking I/O HTTP and WebSocket server
Perl-ish templates
Transaction base class
HTTP transaction
WebSocket transaction
Uniform Resource Locator
Upload
Non-blocking I/O HTTP and WebSocket user agent
Cookie jar for HTTP user agents
User agent proxy manager
Application server
User agent transactor
Portable utility functions
The WebSocket protocol
Real-time web framework
Command base class
Command line interface
Controller base class
Micro real-time web framework
Plugin base class
Perl-ish configuration plugin
Default helpers plugin
Embedded Perl Lite renderer plugin
Embedded Perl renderer plugin
Header condition plugin
JSON configuration plugin
Application mount plugin
Not quite YAML configuration plugin
Tag helpers plugin
Plugin manager
Generate dynamic content
Always find your destination with routes
Session manager based on signed cookies
Serve static files
MIME types
Validate values
Testing Mojo
ojo
Fun one-liners with Mojo

Provides

in lib/Mojo/Log.pm
in lib/Mojo/Server/PSGI.pm
in lib/Mojo/Util.pm