NAME

perl5321delta - what is new for perl v5.32.1

DESCRIPTION

This document describes differences between the 5.32.0 release and the 5.32.1 release.

If you are upgrading from an earlier release such as 5.30.0, first read perl5320delta, which describes differences between 5.30.0 and 5.32.0.

Incompatible Changes

There are no changes intentionally incompatible with Perl 5.32.0. If any exist, they are bugs, and we request that you submit a report. See "Reporting Bugs" below.

Modules and Pragmata

Updated Modules and Pragmata

  • Data::Dumper has been upgraded from version 2.174 to 2.174_01.

    A number of memory leaks have been fixed.

  • DynaLoader has been upgraded from version 1.47 to 1.47_01.

  • Module::CoreList has been upgraded from version 5.20200620 to 5.20210123.

  • Opcode has been upgraded from version 1.47 to 1.48.

    A warning has been added about evaluating untrusted code with the perl interpreter.

  • Safe has been upgraded from version 2.41 to 2.41_01.

    A warning has been added about evaluating untrusted code with the perl interpreter.

Documentation

New Documentation

perlgov

Documentation of the newly formed rules of governance for Perl.

perlsecpolicy

Documentation of how the Perl security team operates and how the team evaluates new security reports.

Changes to Existing Documentation

We have attempted to update the documentation to reflect the changes listed in this document. If you find any we have missed, open an issue at https://github.com/Perl/perl5/issues.

Additionally, the following selected changes have been made:

perlop

  • Document range op behaviour change.

Diagnostics

The following additions or changes have been made to diagnostic output, including warnings and fatal error messages. For the complete list of diagnostic messages, see perldiag.

Changes to Existing Diagnostics

Configuration and Compilation

  • Newer 64-bit versions of the Intel C/C++ compiler are now recognized and have the correct flags set.

  • We now trap SIGBUS when Configure checks for va_copy.

    On several systems the attempt to determine if we need va_copy or similar results in a SIGBUS instead of the expected SIGSEGV, which previously caused a core dump.

    [GH #18148]

Testing

Tests were added and changed to reflect the other additions and changes in this release.

Platform Support

Platform-Specific Notes

MacOS (Darwin)

The hints file for darwin has been updated to handle future macOS versions beyond 10. Perl can now be built on macOS Big Sur.

[GH #17946, GH #18406]

Minix

Build errors on Minix have been fixed.

[GH #17908]

Selected Bug Fixes

  • Some list assignments involving undef on the left-hand side were over-optimized and produced incorrect results.

    [GH #16685, GH #17816]

  • Fixed a bug in which some regexps with recursive subpatterns matched incorrectly.

    [GH #18096]

  • Fixed a deadlock that hung the build when Perl is compiled for debugging memory problems and has PERL_MEM_LOG enabled.

    [GH #18341]

  • Fixed a crash in the use of chained comparison operators when run under "no warnings 'uninitialized'".

    [GH #17917, GH #18380]

  • Exceptions thrown from destructors during global destruction are no longer swallowed.

    [GH #18063]

Acknowledgements

Perl 5.32.1 represents approximately 7 months of development since Perl 5.32.0 and contains approximately 7,000 lines of changes across 80 files from 23 authors.

Excluding auto-generated files, documentation and release tools, there were approximately 1,300 lines of changes to 23 .pm, .t, .c and .h files.

Perl continues to flourish into its fourth decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.32.1:

Adam Hartley, Andy Dougherty, Dagfinn Ilmari Mannsåker, Dan Book, David Mitchell, Graham Knop, Graham Ollis, Hauke D, H.Merijn Brand, Hugo van der Sanden, John Lightsey, Karen Etheridge, Karl Williamson, Leon Timmermans, Max Maischein, Nicolas R., Ricardo Signes, Richard Leach, Sawyer X, Sevan Janiyan, Steve Hay, Tom Hukins, Tony Cook.

The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker.

Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.

For a more complete list of all of Perl's historical contributors, please see the AUTHORS file in the Perl source distribution.

Reporting Bugs

If you find what you think is a bug, you might check the perl bug database at https://github.com/Perl/perl5/issues. There may also be information at http://www.perl.org/, the Perl Home Page.

If you believe you have an unreported bug, please open an issue at https://github.com/Perl/perl5/issues. Be sure to trim your bug down to a tiny but sufficient test case.

If the bug you are reporting has security implications which make it inappropriate to send to a public issue tracker, then see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to report the issue.

Give Thanks

If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you can do so by running the perlthanks program:

perlthanks

This will send an email to the Perl 5 Porters list with your show of thanks.

SEE ALSO

The Changes file for an explanation of how to view exhaustive details on what changed.

The INSTALL file for how to build Perl.

The README file for general stuff.

The Artistic and Copying files for copyright information.