- updated to 9.410.0 (9.41)
see /usr/share/doc/packages/perl-Mojolicious/Changes
9.41 2025-07-03
- Added EXPERIMENTAL support for Server-Sent Events.
- Added EXPERIMENTAL module Mojo::SSE.
- Added EXPERIMENTAL sse attribute to Test::Mojo.
- Added EXPERIMENTAL get_sse_ok, post_sse_ok, sse_finish_ok, sse_finished_ok, sse_ok, sse_id_is, sse_id_isnt,
sse_text_is, sse_text_isnt, sse_text_like, sse_text_unlike, sse_type_is and sse_type_isnt methods to Test::Mojo.
- Added EXPERIMENTAL is_sse and write_sse methods to Mojo::Content.
- Added EXPERIMENTAL write_sse method to Mojolicious::Controller.
- Added EXPERIMENTAL sse event to Mojo::Content.
- Fixed a bug where query parameters could not be set to undef. (ether)
- Fixed a bug where Host headers were not initialized correctly. (ether)
OBS-URL: https://build.opensuse.org/request/show/1291897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=434
- updated to 9.390.0 (9.39)
see /usr/share/doc/packages/perl-Mojolicious/Changes
9.39 2024-11-23
- Added EXPERIMENTAL support for encrypted session cookies.
This feature is much more secure than signed cookies and can be enabled by installing CryptX and setting the
encrypted attribute.
$app->sessions->encrypted(1);
- Added EXPERIMENTAL encrypted attribute to Mojolicious::Sessions.
- Added EXPERIMENTAL encrypted_cookie and every_encrypted_cookie methods to Mojolicious::Controller.
- Added EXPERIMENTAL decrypt_cookie, encrypt_cookie and generate_secret functions to Mojo::Util.
- Fixed a bug in Mojo::Message::Request where message size limits were not always correctly applied.
(Alexander Kuehne)
OBS-URL: https://build.opensuse.org/request/show/1230644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=430
- updated to 9.35
see /usr/share/doc/packages/perl-Mojolicious/Changes
9.35 2023-10-27
- Added EXPERIMENTAL support for persistent cookies in Netscape format.
- Added EXPERIMENTAL file attribute to Mojo::UserAgent::CookieJar.
- Added EXPERIMENTAL load, save and to_string methods to Mojo::UserAgent::CookieJar.
- Fixed error reporting when loading applicartions with syntax errors. (haarg)
- Fixed absolute URL support in url_for_file and url_for_asset methods. (rawleyfowler)
OBS-URL: https://build.opensuse.org/request/show/1125739
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=420
- updated to 9.34
see /usr/share/doc/packages/perl-Mojolicious/Changes
9.34 2023-09-11
- Added support for serving static files with a prefix.
- Deprecated Mojo::File::spurt in favor of Mojo::File::spew.
- Added prefix attribute to Mojolicious::Static.
- Added url_for_file method to Mojolicious::Controller.
- Added file_path method to Mojolicious::Static.
- Added spew method to Mojo::File. (genio)
- Added encoding option to slurp method in Mojo::File. (genio)
- Added url_for_asset and url_for_file helpers to Mojolicious::Plugins::DefaultHelpers.
- Added favicon helper to Mojolicious::Plugin::TagHelpers.
- Fixed support for module_true Perl feature in Mojolicious apps. (haarg)
- Fixed a bug in Mojo::Promise where map could hang on false values after concurrency limit. (ilmari)
- Fixed built-in templates to not require an internet connection. (hernan604)
OBS-URL: https://build.opensuse.org/request/show/1110557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=418
- updated to 9.31
see /usr/share/doc/packages/perl-Mojolicious/Changes
9.31 2022-12-21
- This release contains fixes for security issues, everybody should upgrade!
- Removed experimental status from links method in Mojo::Headers.
- Added tls_options attribute to Mojo::UserAgent. (heikojansen)
- Fixed multiple "<script>" parsing issues in Mojo::DOM.
- Fixed a sporadic warning in Mojo::UserAgent. (s1037989)
- Fixed UNIX domain socket support in Mojo::UserAgent debug feature. (s1037989)
- Fixed a bug in Mojo::DOM where strings like "<.>" were considered valid tags.
OBS-URL: https://build.opensuse.org/request/show/1046334
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=412
- updated to 9.27
see /usr/share/doc/packages/perl-Mojolicious/Changes
9.27 2022-09-10
- Added support for static assets.
- Added support for JSON and plain text exceptions.
- Removed experimental status from capture method in Mojo::Log.
- Added asset_dir attribute to Mojolicious::Static.
- Added asset_path method to Mojolicious::Static.
- Added url_for_asset method to Mojolicious::Controller.
- Added reply->html_exception, reply->html_not_found, reply->json_exception, reply->json_not_found,
reply->http_exception, reply->http_not_found, reply->txt_exception and reply->txt_not_found helpers to
Mojolicious::Plugin::DefaultHelpers.
- Added asset_tag helper to Mojolicious::Plugin::TagHelpers.
- Fixed a bug where async rendering did not work properly in the before_dispatch hook. (andrii-suse)
OBS-URL: https://build.opensuse.org/request/show/1006038
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=406
- updated to 9.21
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
- 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)
OBS-URL: https://build.opensuse.org/request/show/913814
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=396
- updated to 9.19
see /usr/share/doc/packages/perl-Mojolicious/Changes
9.19 2021-06-01
- This release contains fixes for security issues, everybody should upgrade!
- Swiched from HMAC-SHA1 to HMAC-SHA256 for signed cookies. Note that this means that all sessions will be reset.
- Improved signed cookie based sessions to pad short values, to make it harder to brute force attack the application
secret. (jberger)
OBS-URL: https://build.opensuse.org/request/show/896876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=393
- updated to 9.12
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
OBS-URL: https://build.opensuse.org/request/show/880383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=385
- updated to 9.10
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
OBS-URL: https://build.opensuse.org/request/show/879384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=384
- updated to 9.0
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
OBS-URL: https://build.opensuse.org/request/show/872772
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=378
- updated to 8.73
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
OBS-URL: https://build.opensuse.org/request/show/870486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=376
- updated to 8.72
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
OBS-URL: https://build.opensuse.org/request/show/867426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=374
- updated to 8.70
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
OBS-URL: https://build.opensuse.org/request/show/859600
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=370
- updated to 8.67
see /usr/share/doc/packages/perl-Mojolicious/Changes
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.
OBS-URL: https://build.opensuse.org/request/show/854509
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=368
- updated to 8.66
see /usr/share/doc/packages/perl-Mojolicious/Changes
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)
OBS-URL: https://build.opensuse.org/request/show/852060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=366
- updated to 8.57
see /usr/share/doc/packages/perl-Mojolicious/Changes
8.57 2020-07-16
- Added support for YAML config files.
- Added module Mojolicious::Plugin::NotYAMLConfig.
- Improved app generator command to use a YAML config file.
- Fixed a bug in proxy helpers that caused response content to be ignored in some cases. (mohawk2)
- Fixed attr_is bug in Test::Mojo that prevented false value comparisons from working correctly. (tim-2)
OBS-URL: https://build.opensuse.org/request/show/821670
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious?expand=0&rev=348