./www/p5-Mojolicious, Perl web framework: The Web In A Box!

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 9.34, Package name: p5-Mojolicious-9.34, Maintainer: pkgsrc-users

Back in the early days of the web there was this wonderful Perl
library called CGI, many people only learned Perl because of it.
It was simple enough to get started without knowing much about the
language and powerful enough to keep you going, learning by doing
was much fun. While most of the techniques used are outdated now,
the idea behind it is not. Mojolicious is a new attempt at implementing
this idea using state of the art technology. Features:

* An amazing MVC web framework supporting a simplified single
file mode through Mojolicious::Lite. Powerful out of the box
with RESTful routes, plugins, Perl-ish templates, session
management, signed cookies, testing framework, static file
server, I18N, first class unicode support and much more for
you to discover.
* Very clean, portable and Object Oriented pure Perl API without
any hidden magic and no requirements besides Perl 5.8.7.
* Full stack HTTP 1.1 and WebSocket client/server implementation
with IPv6, TLS, Bonjour, IDNA, Comet (long polling), chunking
and multipart support.
* Builtin async IO web server supporting epoll, kqueue, UNIX
domain sockets and hot deployment, perfect for embedding.
* Automatic CGI, FastCGI and PSGI detection.
* JSON and XML/HTML5 parser with CSS3 selector support.
* Fresh code based upon years of experience developing Catalyst.


Required to run:
[lang/perl5]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 837.133 KB

Version history: (Expand)


CVS history: (Expand)


   2023-09-11 22:06:41 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 9.34. From the changelog:

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)

9.33  2023-06-14
- Improved log messages to refer to the FAQ when they have an entry.
- Fixed a bug where the prefork server could sometimes send redundant
  QUIT signals, which could result in unintended core dumps because of a
  race condition. (brsakai-csco)

9.32  2023-05-09
- Improved file and line number details in async/await
  exceptions. (batman)
- Fixed various CSS selector equation bugs in Mojo::DOM::CSS. (mauke)
- Fixed exceptions being added to the stash for formats other than HTML.
  (rawleyfowler)
- Fixed context sensitivity issue. (Grinnz)
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-04-29 11:32:28 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 9.31

Upstream 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.

9.30  2022-11-22
  - Added EXPERIMENTAL support for parsing and generating Link headers.
  - Added EXPERIMENTAL links method to Mojo::Headers.
  - Added EXPERIMENTAL header_params function to Mojo::Util.

9.29  2022-11-11
  - Fixed a bug where promises returning promises were not handled correctly. \ 
(batman)

9.28  2022-09-12
  - Fixed a bug where async/await use could result in unhandled promise \ 
warnings. (batman)

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)

9.26  2022-05-20
  - Added EXPERIMENTAL capture method to Mojo::Log.

9.25  2022-04-25
  - Improved Mojolicious::Renderer to throw an exception if rendering is \ 
attempted more than once.

9.24  2022-04-18
  - Improved Mojo::Headers to output headers in a canonical order.
  - Fixed a memory leak in Mojo::Asset::Memory.

9.23  2022-03-25
  - Enable gzip compression by default in Mojolicious::Renderer.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-31 09:33:21 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 9.22. From the changelog:

- Added a referer method to Mojo::Headers, as an alias for the
  referrer method.
- Fixed response status log message to use the "trace" log level instead
  of "debug".
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-11 22:19:19 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 9.21. From the changelog:

- Added EXPERIMENTAL support for top-level await to Mojo::Promise.
- Updated Future::AsyncAwait requirement to 0.52 for new features 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)
- Added trace log level to Mojo::Log.
- Changed default log level in Mojo::Log from "debug" to \ 
"trace" and
  moved all built-in "debug" log messages to the level \ 
"trace". That
  will allow for the "debug" level to be used exclusively for user
  defined log messages.
- Switched 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)
- Remove Font Awesome from distribution.
- This release contains fixes for security issues, everybody
  should upgrade!
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles