|
| 1 | +=encoding utf8 |
| 2 | + |
| 3 | +=head1 NAME |
| 4 | + |
| 5 | +perl5435delta - what is new for perl v5.43.5 |
| 6 | + |
| 7 | +=head1 DESCRIPTION |
| 8 | + |
| 9 | +This document describes differences between the 5.43.4 release and the 5.43.5 |
| 10 | +release. |
| 11 | + |
| 12 | +If you are upgrading from an earlier release such as 5.43.3, first read |
| 13 | +L<perl5434delta>, which describes differences between 5.43.3 and 5.43.4. |
| 14 | + |
| 15 | +=head1 Core Enhancements |
| 16 | + |
| 17 | +=head2 Named Parameters in Signatures |
| 18 | + |
| 19 | +This adds a major new ability to subroutine signatures, allowing callers |
| 20 | +to pass parameters by name/value pairs rather than by position. |
| 21 | + |
| 22 | + sub f ($x, $y, :$alpha, :$beta = undef) { ... } |
| 23 | + |
| 24 | + f( 123, 456, alpha => 789 ); |
| 25 | + |
| 26 | +Originally specified in |
| 27 | +L<PPC0024|https://github.com/Perl/PPCs/blob/main/ppcs/ppc0024-signature-named-parameters.md>. |
| 28 | + |
| 29 | +This feature is currently considered B<experimental>, and is described in |
| 30 | +further detail in L<perlsub/Signatures>. |
| 31 | + |
| 32 | +=head1 Modules and Pragmata |
| 33 | + |
| 34 | +=head2 Updated Modules and Pragmata |
| 35 | + |
| 36 | +=over 4 |
| 37 | + |
| 38 | +=item * |
| 39 | + |
| 40 | +L<Compress::Raw::Bzip2> has been upgraded from version 2.213 to 2.214. |
| 41 | + |
| 42 | +=item * |
| 43 | + |
| 44 | +L<Compress::Raw::Zlib> has been upgraded from version 2.213 to 2.214. |
| 45 | + |
| 46 | +=item * |
| 47 | + |
| 48 | +L<Getopt::Std> has been upgraded from version 1.14 to 1.15. |
| 49 | + |
| 50 | +=item * |
| 51 | + |
| 52 | +L<IO::Compress> has been upgraded from version 2.213 to 2.214. |
| 53 | + |
| 54 | +=item * |
| 55 | + |
| 56 | +L<Module::CoreList> has been upgraded from version 5.20251022 to 5.20251120. |
| 57 | + |
| 58 | +=item * |
| 59 | + |
| 60 | +L<Term::Table> has been upgraded from version 0.025 to 0.027. |
| 61 | + |
| 62 | +=item * |
| 63 | + |
| 64 | +L<Test::Simple> has been upgraded from version 1.302214 to 1.302216. |
| 65 | + |
| 66 | +=item * |
| 67 | + |
| 68 | +L<Time::Piece> has been upgraded from version 1.38 to 1.41. |
| 69 | + |
| 70 | +=item * |
| 71 | + |
| 72 | +L<warnings> has been upgraded from version 1.74 to 1.75. |
| 73 | + |
| 74 | +=back |
| 75 | + |
| 76 | +=head1 Selected Bug Fixes |
| 77 | + |
| 78 | +=over 4 |
| 79 | + |
| 80 | +=item * |
| 81 | + |
| 82 | +S<C<use 5.42>> now turns on S<C<use source::encoding "ascii">> for the |
| 83 | +remainder of the line (besides subsequent lines). [L<GH #23881|https://github.com/Perl/perl5/issues/23881>] |
| 84 | + |
| 85 | +=item * |
| 86 | + |
| 87 | +Since 5.32.0, the second branch of a ternary condition operator wasn't |
| 88 | +getting the correct autovivification context applied. For example in |
| 89 | +something like |
| 90 | + |
| 91 | + @{ $cond ? $h{foo} : $h{bar} } = ...; |
| 92 | + |
| 93 | +the first branch would correctly autovivify C<$h{foo}> to an array ref, |
| 94 | +but the second branch might incorrectly autovivify C<$h{bar}> to a hash |
| 95 | +ref. [L<GH #18669|https://github.com/Perl/perl5/issues/18669>]. |
| 96 | + |
| 97 | +=item * |
| 98 | + |
| 99 | +Don't warn about jumping into a construct if we're DIE-ing [L<GH #23922|https://github.com/Perl/perl5/pull/23922>] |
| 100 | + |
| 101 | +=back |
| 102 | + |
| 103 | +=head1 Acknowledgements |
| 104 | + |
| 105 | +Perl 5.43.5 represents approximately 4 weeks of development since Perl |
| 106 | +5.43.4 and contains approximately 11,000 lines of changes across 370 files |
| 107 | +from 18 authors. |
| 108 | + |
| 109 | +Excluding auto-generated files, documentation and release tools, there were |
| 110 | +approximately 5,500 lines of changes to 310 .pm, .t, .c and .h files. |
| 111 | + |
| 112 | +Perl continues to flourish into its fourth decade thanks to a vibrant |
| 113 | +community of users and developers. The following people are known to have |
| 114 | +contributed the improvements that became Perl 5.43.5: |
| 115 | + |
| 116 | +Branislav Zahradník, Chad Granum, David Mitchell, Elvin Aslanov, Eric |
| 117 | +Herman, Graham Knop, Harald Jörg, James E Keenan, Karl Williamson, Matthew |
| 118 | +Horsfall, Paul Evans, Paul Marquess, Philippe Bruhat (BooK), Samuel Smith, |
| 119 | +Samuel Young, Thibault Duponchelle, Tony Cook, Yitzchak Scott-Thoennes. |
| 120 | + |
| 121 | +The list above is almost certainly incomplete as it is automatically |
| 122 | +generated from version control history. In particular, it does not include |
| 123 | +the names of the (very much appreciated) contributors who reported issues to |
| 124 | +the Perl bug tracker. |
| 125 | + |
| 126 | +Many of the changes included in this version originated in the CPAN modules |
| 127 | +included in Perl's core. We're grateful to the entire CPAN community for |
| 128 | +helping Perl to flourish. |
| 129 | + |
| 130 | +For a more complete list of all of Perl's historical contributors, please |
| 131 | +see the F<AUTHORS> file in the Perl source distribution. |
| 132 | + |
| 133 | +=head1 Reporting Bugs |
| 134 | + |
| 135 | +If you find what you think is a bug, you might check the perl bug database |
| 136 | +at L<https://github.com/Perl/perl5/issues>. There may also be information at |
| 137 | +L<https://www.perl.org/>, the Perl Home Page. |
| 138 | + |
| 139 | +If you believe you have an unreported bug, please open an issue at |
| 140 | +L<https://github.com/Perl/perl5/issues>. Be sure to trim your bug down to a |
| 141 | +tiny but sufficient test case. |
| 142 | + |
| 143 | +If the bug you are reporting has security implications which make it |
| 144 | +inappropriate to send to a public issue tracker, then see |
| 145 | +L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> |
| 146 | +for details of how to report the issue. |
| 147 | + |
| 148 | +=head1 Give Thanks |
| 149 | + |
| 150 | +If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, |
| 151 | +you can do so by running the C<perlthanks> program: |
| 152 | + |
| 153 | + perlthanks |
| 154 | + |
| 155 | +This will send an email to the Perl 5 Porters list with your show of thanks. |
| 156 | + |
| 157 | +=head1 SEE ALSO |
| 158 | + |
| 159 | +The F<Changes> file for an explanation of how to view exhaustive details on |
| 160 | +what changed. |
| 161 | + |
| 162 | +The F<INSTALL> file for how to build Perl. |
| 163 | + |
| 164 | +The F<README> file for general stuff. |
| 165 | + |
| 166 | +The F<Artistic> and F<Copying> files for copyright information. |
| 167 | + |
| 168 | +=cut |
0 commit comments