xref: /openbsd-src/gnu/usr.bin/perl/pod/perl5301delta.pod (revision 256a93a44f36679bee503f12e49566c2183f6181)
198dafc01Safresh1=encoding utf8
298dafc01Safresh1
398dafc01Safresh1=head1 NAME
498dafc01Safresh1
598dafc01Safresh1perl5301delta - what is new for perl v5.30.1
698dafc01Safresh1
798dafc01Safresh1=head1 DESCRIPTION
898dafc01Safresh1
998dafc01Safresh1This document describes differences between the 5.30.0 release and the 5.30.1
1098dafc01Safresh1release.
1198dafc01Safresh1
12*256a93a4Safresh1If you are upgrading from an earlier release such as 5.28.0, first read
13*256a93a4Safresh1L<perl5300delta>, which describes differences between 5.28.0 and 5.30.0.
1498dafc01Safresh1
1598dafc01Safresh1=head1 Incompatible Changes
1698dafc01Safresh1
1798dafc01Safresh1There are no changes intentionally incompatible with 5.30.1.  If any exist,
1898dafc01Safresh1they are bugs, and we request that you submit a report.  See
1998dafc01Safresh1L</Reporting Bugs> below.
2098dafc01Safresh1
2198dafc01Safresh1=head1 Modules and Pragmata
2298dafc01Safresh1
2398dafc01Safresh1=head2 Updated Modules and Pragmata
2498dafc01Safresh1
2598dafc01Safresh1=over 4
2698dafc01Safresh1
2798dafc01Safresh1=item *
2898dafc01Safresh1
2998dafc01Safresh1L<Module::CoreList> has been upgraded from version 5.20190522 to 5.20191110.
3098dafc01Safresh1
3198dafc01Safresh1=back
3298dafc01Safresh1
3398dafc01Safresh1=head1 Documentation
3498dafc01Safresh1
3598dafc01Safresh1=head2 Changes to Existing Documentation
3698dafc01Safresh1
3798dafc01Safresh1We have attempted to update the documentation to reflect the changes listed in
3898dafc01Safresh1this document.  If you find any we have missed, send email to
3998dafc01Safresh1L<perlbug@perl.org|mailto:perlbug@perl.org>.
4098dafc01Safresh1
4198dafc01Safresh1Additionally, documentation has been updated to reference GitHub as the new
4298dafc01Safresh1canonical repository and to describe the new GitHub pull request workflow.
4398dafc01Safresh1
4498dafc01Safresh1=head1 Configuration and Compilation
4598dafc01Safresh1
4698dafc01Safresh1=over 4
4798dafc01Safresh1
4898dafc01Safresh1=item *
4998dafc01Safresh1
5098dafc01Safresh1The C<ECHO> macro is now defined.  This is used in a C<dtrace> rule that was
5198dafc01Safresh1originally changed for FreeBSD, and the FreeBSD make apparently predefines it.
5298dafc01Safresh1The Solaris make does not predefine C<ECHO> which broke this rule on Solaris.
5398dafc01Safresh1L<[perl #17057]|https://github.com/perl/perl5/issues/17057>
5498dafc01Safresh1
5598dafc01Safresh1=back
5698dafc01Safresh1
5798dafc01Safresh1=head1 Testing
5898dafc01Safresh1
5998dafc01Safresh1Tests were added and changed to reflect the other additions and changes in this
6098dafc01Safresh1release.
6198dafc01Safresh1
6298dafc01Safresh1=head1 Platform Support
6398dafc01Safresh1
6498dafc01Safresh1=head2 Platform-Specific Notes
6598dafc01Safresh1
6698dafc01Safresh1=over 4
6798dafc01Safresh1
6898dafc01Safresh1=item Win32
6998dafc01Safresh1
7098dafc01Safresh1The locale tests could crash on Win32 due to a Windows bug, and separately due
7198dafc01Safresh1to the CRT throwing an exception if the locale name wasn't validly encoded in
7298dafc01Safresh1the current code page.
7398dafc01Safresh1
7498dafc01Safresh1For the second we now decode the locale name ourselves, and always decode it as
7598dafc01Safresh1UTF-8.
7698dafc01Safresh1
7798dafc01Safresh1L<[perl #16922]|https://github.com/perl/perl5/issues/16922>
7898dafc01Safresh1
7998dafc01Safresh1=back
8098dafc01Safresh1
8198dafc01Safresh1=head1 Selected Bug Fixes
8298dafc01Safresh1
8398dafc01Safresh1=over 4
8498dafc01Safresh1
8598dafc01Safresh1=item *
8698dafc01Safresh1
8798dafc01Safresh1Setting C<$)> now properly sets supplementary group ids, if you have the
8898dafc01Safresh1necessary privileges.
8998dafc01Safresh1L<[perl #17031]|https://github.com/perl/perl5/issues/17031>
9098dafc01Safresh1
9198dafc01Safresh1=item *
9298dafc01Safresh1
9398dafc01Safresh1C<readline @foo> now evaluates C<@foo> in scalar context.  Previously, it would
9498dafc01Safresh1be evaluated in list context, and since readline() pops only one argument from
9598dafc01Safresh1the stack, the stack could underflow, or be left with unexpected values on it.
9698dafc01Safresh1L<[perl #16929]|https://github.com/perl/perl5/issues/16929>
9798dafc01Safresh1
9898dafc01Safresh1=item *
9998dafc01Safresh1
10098dafc01Safresh1sv_gets() now recovers better if the target SV is modified by a signal handler.
10198dafc01Safresh1L<[perl #16960]|https://github.com/perl/perl5/issues/16960>
10298dafc01Safresh1
10398dafc01Safresh1=item *
10498dafc01Safresh1
10598dafc01Safresh1Matching a non-C<SVf_UTF8> string against a regular expression containing
10698dafc01Safresh1Unicode literals could leak an SV on each match attempt.
10798dafc01Safresh1L<[perl #17140]|https://github.com/perl/perl5/issues/17140>
10898dafc01Safresh1
10998dafc01Safresh1=item *
11098dafc01Safresh1
11198dafc01Safresh1C<< sprintf("%.*a", -10000, $x) >> would cause a buffer overflow due to
11298dafc01Safresh1mishandling of the negative precision value.
11398dafc01Safresh1L<[perl #16942]|https://github.com/perl/perl5/issues/16942>
11498dafc01Safresh1
11598dafc01Safresh1=item *
11698dafc01Safresh1
11798dafc01Safresh1C<scalar()> on a reference could cause an erroneous assertion failure during
11898dafc01Safresh1compilation.
11998dafc01Safresh1L<[perl #16969]|https://github.com/perl/perl5/issues/16969>
12098dafc01Safresh1
12198dafc01Safresh1=back
12298dafc01Safresh1
12398dafc01Safresh1=head1 Acknowledgements
12498dafc01Safresh1
12598dafc01Safresh1Perl 5.30.1 represents approximately 6 months of development since Perl 5.30.0
12698dafc01Safresh1and contains approximately 4,700 lines of changes across 67 files from 14
12798dafc01Safresh1authors.
12898dafc01Safresh1
12998dafc01Safresh1Excluding auto-generated files, documentation and release tools, there were
13098dafc01Safresh1approximately 910 lines of changes to 20 .pm, .t, .c and .h files.
13198dafc01Safresh1
13298dafc01Safresh1Perl continues to flourish into its fourth decade thanks to a vibrant community
13398dafc01Safresh1of users and developers.  The following people are known to have contributed
13498dafc01Safresh1the improvements that became Perl 5.30.1:
13598dafc01Safresh1
13698dafc01Safresh1Chris 'BinGOs' Williams, Dan Book, David Mitchell, Hugo van der Sanden, James E
13798dafc01Safresh1Keenan, Karen Etheridge, Karl Williamson, Manuel Mausz, Max Maischein, Nicolas
13898dafc01Safresh1R., Sawyer X, Steve Hay, Tom Hukins, Tony Cook.
13998dafc01Safresh1
14098dafc01Safresh1The list above is almost certainly incomplete as it is automatically generated
14198dafc01Safresh1from version control history.  In particular, it does not include the names of
14298dafc01Safresh1the (very much appreciated) contributors who reported issues to the Perl bug
14398dafc01Safresh1tracker.
14498dafc01Safresh1
14598dafc01Safresh1Many of the changes included in this version originated in the CPAN modules
14698dafc01Safresh1included in Perl's core.  We're grateful to the entire CPAN community for
14798dafc01Safresh1helping Perl to flourish.
14898dafc01Safresh1
14998dafc01Safresh1For a more complete list of all of Perl's historical contributors, please see
15098dafc01Safresh1the F<AUTHORS> file in the Perl source distribution.
15198dafc01Safresh1
15298dafc01Safresh1=head1 Reporting Bugs
15398dafc01Safresh1
15498dafc01Safresh1If you find what you think is a bug, you might check the perl bug database at
15598dafc01Safresh1L<https://rt.perl.org/>.  There may also be information at
15698dafc01Safresh1L<http://www.perl.org/>, the Perl Home Page.
15798dafc01Safresh1
15898dafc01Safresh1If you believe you have an unreported bug, please run the L<perlbug> program
15998dafc01Safresh1included with your release.  Be sure to trim your bug down to a tiny but
16098dafc01Safresh1sufficient test case.  Your bug report, along with the output of C<perl -V>,
16198dafc01Safresh1will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
16298dafc01Safresh1
16398dafc01Safresh1If the bug you are reporting has security implications which make it
16498dafc01Safresh1inappropriate to send to a publicly archived mailing list, then see
16598dafc01Safresh1L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> for details of how to
16698dafc01Safresh1report the issue.
16798dafc01Safresh1
16898dafc01Safresh1=head1 Give Thanks
16998dafc01Safresh1
17098dafc01Safresh1If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you
17198dafc01Safresh1can do so by running the C<perlthanks> program:
17298dafc01Safresh1
17398dafc01Safresh1    perlthanks
17498dafc01Safresh1
17598dafc01Safresh1This will send an email to the Perl 5 Porters list with your show of thanks.
17698dafc01Safresh1
17798dafc01Safresh1=head1 SEE ALSO
17898dafc01Safresh1
17998dafc01Safresh1The F<Changes> file for an explanation of how to view exhaustive details on
18098dafc01Safresh1what changed.
18198dafc01Safresh1
18298dafc01Safresh1The F<INSTALL> file for how to build Perl.
18398dafc01Safresh1
18498dafc01Safresh1The F<README> file for general stuff.
18598dafc01Safresh1
18698dafc01Safresh1The F<Artistic> and F<Copying> files for copyright information.
18798dafc01Safresh1
18898dafc01Safresh1=cut
189