Has a stable provider (sys-kernel/gentoo-sources), and others
like gentoo-kernel soon.
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Sam James <sam@gentoo.org>
- Fix LICENSE
- Include Cpanel-JSON-XS dep w/o USE=minimal, as it gives a perf benefit
for JSON code, and JSON is now used in the IPC channel, so this
probably helps a lot.
Upstream:
- Improve Mojo::Promise->map efficiency
- Fix Mojo::Asset::Memory not changing temporary directory in `upgrade`
event.
- Add experimental Mojo::File->extname
- Fix Mojolicious::Types considering 'dotfiles' to be file extensions
- Add experimental Mojo::DOM::CSS support for ":scope" and ":has"
pseudo-classes
- Fix Mojo::DOM parsing `select` and `ruby` elements incorrectly
- Fix Mojo::UserAgent::Transactor not inheriting compression settings
across redirects.
- Fix Mojolicious templates not being able to use 'continue;' perl
keyword.
- Fix Mojo::DOM::CSS failing to parse valid selectors
- Fix "% end, begin" not working in Mojo::Template
- Add support for YAML config files
- Add module Plugin::NotYAMLConfig
- `app` generator command now can use YAML config file
- Fix proxy helpers ignoring response content in some cases
- Fix Test::Mojo::attr_is with false value comparisons.
- `app` and `lite_app` generators now use templates with sub sigs
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Upstream:
- Make minimum Perl 5.16
- Mojo::Base now enables various perl 5.16 features.
- Handle Mojolicious::Command invocation to make "mojo generate
lite_app" work like "mojo generate lite-app"
- Add experimental Mojo::DOM::CSS ':any-link' pseudo-class support
- Add experimental Mojo::DOM::CSS case-sensitive attribute selectors
like [foo="bar" s]
- Mojo::DOM::CSSS rename of experimental ":matches" to ":is"
- Fix security issue allowing _method query params to be used with GET
requests
- Remove deprecated argument handling in Mojo::Promise->new
- Mojo::Promise->all_settled no longer experimental
- Mojolicious::Types {content,file}_types no longer experimental
- Mojo::IOLoop::Subprocess 'cleanup' event no longer experimental
- Mojo::IOLoop::Subprocess now uses JSON for IPC serialization instead
of Storable, for efficiency.
- Add Mojo::IOLoop::Subprocess->exit_code
- Mojo::Promise now warns when an unhandled rejected promise is
destroyed
- Don't unnecessarily create new promises in Mojo::Promise->resolve
- Fix a promise chaining bug in Mojo::Promise
Security:
- Previous versions permitted an HTTP GET request to pass a query
parameter _method=POST, and the code would then get routed through the
POST handler, even though the security models for allowing POST and
GET can be quite different, especially if you're trying to prevent
people make XSS attacks on your domain.
https://github.com/mojolicious/mojo/commit/3c1c99a7131a1419d8d355a6083c31a7f9ca7ba0
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Upstream:
- Add Test::Mojo->attr_{is,isnt,like,unlike}
- Mojolicious::Static->is_fresh now supports weak etags
- Mojo::Base `-async` now `-async_await` due to fun parsing problems in
perl.
- Fix Mojo::Base where `-async_await` would not load Mojo::Promise
- Add experimental Mojo::Util->humanize_bytes
- Add experimental Mojo::ByteStream->humanize_bytes
- Update Future::AsyncAwait requirement to 0.36 for tests
- Plugin::DefaultHelpers proxy->{get,post,start}_p no longer
experimental
- Mojolicious::Renderer->{compress,min_compress_size} no longer
experimental
- Mojo::IOLoop::Stream `high_water_mark` no longer experimental
- Mojolicious::Renderer->respond no longer experimental
- Mojo::IOLoop::Stream->{bytes_waiting,can_write} no longer experimental
- Mojo::Headers->dehop no longer experimental
- Mojo::Util->scope_guard no longer experimental
- Mojolicious::Validator size check now only requires one argument
- Mojolicious::Validator now properly validates empty strings instead of
ingoring them.
- Fix plugin generator to not use an __END__ section
- Add Mojolicious::Validator `not_empty` filter
- Add Test::Mojo `handler` attribute
- Add Test::Mojo->test
- Improve extension testing in Test::Mojo
- Improve uniqueness of `request_id` in Mojo::Message::Request
- Add Mojo::Server::Daemon->keep_alive_timeout
- Add `-k` option to daemon and prefork commands.
- Add `keep_alive_timeout` setting to Hypnotoad
- Increase default timeouts
- Improve timeout setting peformance in Mojo::IOLoop::Stream
- Improve ->again in various reactors to allow changing invocation time
of active timers.
- Fix support for 425 status in Mojo::Message::Response
- Add Mojo::IOLoop::Subprocess->run_p
- Fix Mojo::Server::Daemon getting keep-alive timeout instead of
inactivity timeout on active connections.
- Fix Mojo::UserAgent race condition where test servers would disconnect
prematurely.
- Fix support for disabling inactivity timeout in Mojo::UserAgent
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Since https://github.com/mean00/avidemux2/commit/0100e4b4
"[i18n] Move TS.cmake to submodule" a git submodule i18n is used get
translation files which are moved to a separate repository.
Download the release tarball with the translation files and unpack them
to the i18n submodule directory, where cmake expects it.
Closes: https://bugs.gentoo.org/736820
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Stefan Strogin <steils@gentoo.org>
Upstream:
- *un*deprecate Mojo::Exception::verbose
- add ENV var MOJO_EXCEPTION_VERBOSE
- Built in templates now use the same stacktrace format as
Mojo::Exception
- Fix Mojo::Exception not correctly stringifying messages ending with
"\n"
- Mojo::Exception now appends file and line number to stringified
exceptions that do not end with a "\n"
- Update Cpanel::JSON::XS requirement to 4.09 for duplicate keys support
- Add Mojo::Collection->{head,tail}
- Mojo::File no longer allows undefined values in paths
- Add experimental Mojo::Log->context
- Add experimental Mojo::IOLoop::Subprocess `cleanup` event
- Add `log` helper to Plugin::DefaultHelpers
- Log messages generated by Mojolicious now include request_id's where
possible
- Add Mojo::File::curfile
- Remove deprecated Mojo::Collection->slice
- Move HTML entities from Mojo::Util to a seperate file
- Event loop state determination in Reactor::EV now more consistent with
Reactor::Poll
- Add experimental `before_command` hook
- Add experimental Mojo::Util::scope_guard
- Mojo::Log->context no longer experimental
- Default Mojolicious::Types content_type MIME type is now
`application/octet-stream`
- Add experimental async/await support with `Mojo::Base -async`
- Add experimental Mojo::Promise->{all_settled,any}
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Upstream:
- Add experimental SameSite cookie support.
- Add `samesite` attribute to Mojo::Cookie::Response and
Mojolicious::Cookies
- Add Mojo::File->lstat
- Add Mojo::File->remove
- Improve `eval` command with support for promises
- Improve Mojo::JSON::Pointer to ignore many invalid JSON pointers
- Add experimental Mojo::Promise->timeout
- Remove deprecated Plugin::PODRenderer
- Remove deprecated Mojo::Home->mojo_lib_dir
- Fix warning in Mojo::Log
- Add experimental Mojo::Promise->map
- Add experimentla Mojolicious::Renderer->min_compress_size
- Now also signs the cookie name when using signed cookies.
- Mojo::IOLoop::Server no longer checks if listen sockets are writable
- Add experimental Mojo::Promise->timer
- Add Test::Mojo->header_exists{,_not}
- Fix Mojo::Promise's finally callback being passed a value which is
incompatible with JavaScript API
- Fix Mojo::Promise `finally` being able to change promise values
- Fix merge in Mojo::Parameters losing multiple values with the same
shared name.
- Update jQuery to 3.4.0
- Mojo::Promise->wait no longer affected by manually stopped event loops
- Fix Mojo::Promise->new not accepting a passed callback for wrapping
continuation-passing style APIs
- Mojo::Headers now rejects characters in header values that would
corrupt the HTTP message
- Mojo::Util `getopt` now behaves more like `GetOptionsFromArray`
- Fix Mojo::UserAgent request timeouts not working for keep-alive
requests.
- Deprecate using config stash values and $config variable in templates
used by Plugin::Config.
- Deprecate Mojo::Collection::slice
- Add experimental proxy->{get_p,post_p,start_p} helpers to
Plugin::DefaultHelpers
- Add experimental Mojo::Headers->dehop
- Add experimental Mojo::IOLoop::Stream->{bytes_waiting,can_write}
- Add experimental Mojo::IOLoop::Stream `high_water_mark` attribute.
- Updated bundled TLS certificate
- Mojo::Base flags no longer required in a certain order
- Mojo::Headers clone performance 100% faster.
- Improved streaming performance
- Fix typo in Mojo::Message::Response 425 status message.
- Fix missing deprecation warning in Mojo::Promise
- Deprecate Mojo::Exception::verbose
- Add experimental Mojo::Exception->{check,raise}
- `generate plugin` command now accepts `-f` argument.
- Mojo::Exception->inspect now safe to call more than once.
- Fix various Mojo::Exception stack trace formatting bugs
- Fix Mojo::Sever daemonize exception handling
- Mojo::Exception check function now matches regex against stringified
exception objects as well
- Mojolicious::Validator `num` check now accepts negative numbers
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Upstream:
- Update to jQuery 3.3.1
- Fix order of command namespaces for a problem not relevant to Gentoo
- Fix excessive pickyness in TLS test
- Deprecate Mojo::Transaction::success in favour of
Mojo::Transaction::{result,error}
- Add gzip compression support in dynamically generated responses via
renderer->compress(1)
- Add experimental Mojolicious::Renderer `compress` attribute.
- Add experimental Mojolicious::renderer->respond
- Add Mojo::Message->save_to
- Add Mojo::ByteStream->{gzip,gunzip}
- Add Mojo::Util->{gzip,gunzip}
- Mojo::DOM::HTML improved HTML5.2 compliance.
- Fix Mojo::Transaction::HTTP preventing `finish` event emission from
Mojo::Message::Request
- Fix Mojo::Promise not weakening reference in `ioloop` attribute after
construction
- Fix `is_fresh` helper only handling If-None-match headers with a
single etag value
- Add support for weak reference accessors in Mojo::Base
- Require newer List::Util for `set_subname`
- Fix bug in Mojo::UserAgent creating request timeouts twice
- Mojo::Exception now includes a stack trace in verbose output
- Mojo::Types now uses correct MIME types for woff and woff2 files
- Add experimental Mojo::DynamicMethods module
- Replace all uses of AUTOLOAD with faster alternative, making helpers
400% faster and stacktraces contain more information
- Mojolicious "status" server method no longer experimental
- Deprecate Plugin::PODRenderer in favour of CPAN alternatives
- Deprecate Mojo::Home::mojo_lib_dir
- Replace `continue,flash,redirect_to,respond_to` and validation methods
in Mojolicious::Controller with Plugin::DefaultHelpers helpers
- Add Mojo::IOLoop::Subprocess->progress
- Add Mojo::IOLoop::Subprocess `progress` event
- Mojo::Log log methods now accept closures to only generate content on
demand, to avoid expensive debug code on production
- Mojo::Log now uses time format "YYYY-MM-DD HH:mm:ss.ssssss" and
includes process-id in log messages
- Mojolicious now up to 10% more performant overall due to improved
logging efficiency
- Fix problem building templates where an image was missing
- Fix debug log messages being generated for static files
- Fix Mojo::Server::Morbo preventing before_server_start hook gettting
triggered
- Add Mojo::File->touch
- Add Mojo::File->stat
- Add Mojo::file->list_tree `max_depth` option
- Add Mojo::IOLoop `reset` event
- Add Mojo::ByteStream->split `limit` argument
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Upstream:
- Add experimental Mojolicious::Types->{content,file}_type methods
- Fix reply->file helper not trying to set a Content-Type heeder
- Fix Mojolicious::Controller->render not always using
Mojolicious::Types to find the correct Content-Type value
- Improve Test::Mojo to accept Mojo::File objects for app scripts
- Remove the various stream classes added in 7.83
- Fix Mojo::IOLoop::Stream not being able to call is_readable after a
timeout event.
Security:
- Upstream indicates that the stream classes added in 7.83 (included in
gentoo version 7.900.0) result in many Mojo applications being
unstable, and upstream have declared this as being a potential
security issue, and remove it.
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Upstream:
- Deprecate Mojo::Content `expect_close` attribute
- Remove deprecated `delay` helper in Plugin::DefaultHelpers
- Change error message for destroyed transactions to "Transaction
already destroyed"
- Fix race condition in Mojo::UserAgent where closed connections
sometimes got reused.
- Fix incomplete HTTP/1.1 responses for RFC 7230 complaince
- New Mojolicious logo
- Add experimental
Mojo::IOLoop::Stream->{bytes_read,bytes_written,transition} methods.
- Add Mojo::IOLoop::stream transition event
- Improve uniqueness in Mojo::Message::Request request id's
- Add support for using Cpanel::JSON::XS inside Mojo::JSON
- Remove support for encoding unicode whitespace characters u2028, u2029
due to not being supported in Cpanel::JSON::XS
- Mojo::JSON now encodes unknown reference types as "null"
- Add Mojolicious::Command `template` attribute
- Add Mojo::IOLoop::Subprocess `spawn` event
- Mojo::IOLoop::Subprocess only forks new processes after the event loop
has started
- Remove deprecated Mojo->{build_tx,config,handler,log} methods.
- Add Mojo::UserAgent::Transactor->promisify
- Mojolicious::Command now dies on template errors
- Don't start test servers when reusing Mojo::UserAgent objects after a
fork
- Replace ENV vars MOJO_{DAEMON,USERAGENT}_DEBUG with
MOJO_{SERVER,CLIENT}_DEBUG
- Require newer IO::Socket::SSL for ALPN support
- Add modules
Mojo::IOLoop::Stream::{HTTP{Client,Server},WebSocket{Client,Server}}
- Add Mojo::IOLoop->transition
- Add Mojo::Server::Daemon->close_connections
- Add arguments `stream_class` and `tls_protocols` to
Mojo::IOLoop->{server,client} methods.
- Fix small `render_maybe` argument localization bug
- Mark Mojo::DOM->{new_tag,selector} non-experimental
- Improve before_server_start_hook for Mojo::Server::PSGI
- Fix `render_maybe` in Mojolicious::Client not rendering multiple
alternatives properly due to missing arg localisation
- Add Mojo::Message::Request `request_id` attribute
- All built-in templates now contain a comment with their request_id
- Some log messages now include their request_id
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Proxied maintainer retired on request due to lack of time.
Closes: https://bugs.gentoo.org/633082
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Jonas Stein <jstein@gentoo.org>
Upstream:
- Mojo::UserAgent now verifies and rejects all invalid TLS certificates
unless the user specifies $ua->insecure(1)
- Test::Mojo defaults to being insecure for easier testing
- `mojo get` now supports -k option (similar to `curl -k`) to allow
fetching from invalid TLS URLs
- Mojo::IOLoop::TLS no longer has a default tls_verify value, instead,
disabling TLS verification is done with
$tls->negotiate(tls_verify => 0x00)
- Add Mojo::UserAgent->insecure
- Add experimental server method to Mojolicious
- Add experimental `before_server_start` hook
- Fix bug where Mojo::DOM could only reuse Mojo::DOM objects containing
root nodes
- Add experimental Mojo::DOM->selector
- Add reply->file helper to Plugin::DefaultHelpers
- Deprecated delay helper in Plugin::DefaultHelpers
- Add experimental Mojo::DOM->new_tag
- Add experimental Mojo::DOM::HTML->{tag,tag_to_html}
- All Mojo::DOM dom manipulation methods now faster then reusing
Mojo::DOM objects
- Fix windows directory traversal security issue
- Support namespace selectors like "ns|*" in Mojo::DOM::CSS
- Mojo::DOM::CSS supports ":link" and ":visited" pseudo-classes
- Mojo::DOM::CSS supports hyphen-seperated list attribute selectors like
"[hreflang|=en]" to match hreflang="en-us"
- Fix Plugin::Config stash value unavailability with config_overrides
feature
- Deprecated placeholder quoting with "(placeholder)" in favor of
"<placeholder>"
- Fix various Mojo::Collection warnings
- Add support for routes with placeholder types
- Add types attr to Mojolicious::Routes{,::Pattern}
- Add Mojolicious::Rotes->add_type
- Add Mojo::Asset{,::File,::Memory}->to_file
- Add 'num' placeholder type to Mojolicious::Routes
- Remove deprecated instance methods Mojo::Promise->{all,race}
- Improve Mojo::Content::MultiPart performance with large numbers of
parts.
- Fix more source-ordering problems in Mojolicious::Renderer content
negotiation
- Deprecate Mojo::{build_tx,Config,handler,log}
- Add Mojolicious->config
- Fix exceptions cased by non-UTF8 files in Mojo::Exception
Security:
- Older versions did not by default reject invalid TLS certificates,
but code now needs to explicitly opt-in to this weak-security
behaviour with ->insecure(1)
- On windows, due to the different use of path seperators than unix,
would-be attackers could subvert the directory-traversal protection in
Mojo, and this is now mitigated by bailing dispatch entirely if a
windows directory seperator is seen in the static dispatch path
Bug: https://github.com/mojolicious/mojo/pull/1217
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>