-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2023-07a341e23a 2023-04-15 02:01:33.483636 -------------------------------------------------------------------------------- Name : perl-Function-Parameters Product : Fedora 38 Version : 2.2.2 Release : 1.fc38 URL : https://metacpan.org/release/Function-Parameters Summary : Subroutine definitions with parameter lists Description : This module extends Perl with keywords that let you define functions with parameter lists. It uses Perl's keyword plugin API, so it works reliably and doesn't require a source filter. -------------------------------------------------------------------------------- Update Information: Current upstream maintenance release. -------------------------------------------------------------------------------- ChangeLog: * Sun Apr 2 2023 Paul Howarth <paul@xxxxxxxxxxxx> - 2.2.2-1 - Update to 2.002002 (rhbz#2183727) - Provide //= for default arguments, which are also used when the caller passes in undef - Provide more type combinators in parameter declarations: In addition to | (union types), now ~ & / are also supported (for complement types, intersection types, and alternative types, respectively) - Enable type coercions: if a parameter has a declared type and that type supports coercions ($type->has_coercion returns true), call its ->coerce($value) method to transform arguments before type checking - Enable inline type checks: if a parameter has a declared type and that type supports inlining ($type->can_be_inlined returns true), its inline code (as provided by ->inline_check('$value')) is baked into the function definition instead of a call to ->check($value), which may speed up type checks - Move a big chunk of tests to xt/ (author testing only) - Remove xt/ from the distribution - Enable parallel testing by default (with -j4) - Fix (hopefully) Windows builds using nmake.exe - Work around old versions of ExtUtils::MakeMaker not providing is_make_type(), whose version dependency is undocumented (sigh) - Restrict GNU syntax for exporting variables to type 'gmake'; should fix building on BSD, Solaris, etc. - Declare dependency on ExtUtils::MakeMaker 7+ and remove compatibility code for older versions * Mon Mar 27 2023 Paul Howarth <paul@xxxxxxxxxxxx> - 2.1.6-1 - Update to 2.001006 (rhbz#2182064) - Work around perl core issue GH#20950 (use re "eval" doesn't capture lexical %^H environment like eval() does and stringifies it instead), by downgrading the previous hard error to a warning (in the new category 'Function::Parameters') and switching Function::Parameters off in the affected scope -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2023-07a341e23a' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue