=encoding utf8 =head1 NAME perldelta - what is new for perl v5.39.3 =head1 DESCRIPTION This document describes differences between the 5.39.2 release and the 5.39.3 release. If you are upgrading from an earlier release such as 5.39.1, first read L, which describes differences between 5.39.1 and 5.39.2. =head1 Performance Enhancements =over 4 =item * The negation OPs have been modified to support the generic TARGMY optimization. [L] =back =head1 Modules and Pragmata =head2 Updated Modules and Pragmata =over 4 =item * L has been upgraded from version 1.88 to 1.89. =item * L has been upgraded to version 0.010. It now has an C method, allowing you to remove lexically-imported functions by the C syntax. =item * L has been upgraded from version 2.188 to 2.189. =item * L has been upgraded from version 1.858 to 1.859. =item * L has been upgraded from version 3.71 to 3.72. =item * L has been upgraded from version 0.280239 to 0.280240. =item * L has been upgraded from version 2.24 to 2.25. =item * L has been upgraded from version 1.1007 to 1.1008. =item * L has been upgraded from version 1.53 to 1.54. =item * L has been upgraded from version 1.13 to 1.14. Documentation and test improvements only; no change in functionality. =item * L has been upgraded from version 1.52 to 1.53. =item * L has been upgraded from version 5.20230820 to 5.20230920. =item * L has been upgraded from version 2.38 to 2.39. =item * L has been upgraded from version 1.68 to 1.69. =back =head1 Documentation =head2 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 L. =head1 Configuration and Compilation =over 4 =item * Fix here-doc used for code to probe C syntax for disparate locales introduced in 5.39.2. [L] =back =head1 Testing Tests were added and changed to reflect the other additions and changes in this release. Furthermore, these significant changes were made: =over 4 =item * F would fail when C was the BusyBox implementation, since that doesn't support the C<-p> flag and otherwise ignores a process id on the command-line. This caused F failures on BusyBox systems such as Alpine Linux. [L] =back =head1 Platform Support =head2 Platform-Specific Notes =over 4 =item MacOS/Darwin Don't set C when building on OS X 10.5. [L] =back =head1 Internal Changes =over 4 =item * A new API function has been added that simplifies C (or XS) code that creates C optree fragments. C is a variadic function that takes a C-terminated list of child op pointers, and constructs a new checked C to contain them all. This is simpler than creating a new plain C, adding each child individually, and finally calling C in most code fragments. =item * The C API now accepts the C flag, which uses the hints such as strict and features from C instead of the default, which is to use default hints, e.g. no C, no strict, default features. Beware if you use this flag in XS code: your evaluated code will need to support whatever strictness or features are in effect at the point your XS function is called. [L] =back =head1 Selected Bug Fixes =over 4 =item * Declared references can now be used with C variables. [L] =item * Trailing elements in an Ced and resized array will now always be initialized. [L] =item * Make C respect the -X flag perl's -X flag disables all warnings globally, but «use 5.036» didn't respect that until now. [L] =item * Fixed an OP leak when an error was produced for initializer for a class field. [L] =item * Fixed a leak of the return value when smartmatching against a code reference. =item * Fixed a slowdown in repeated substitution replacements using special variables, such as C. It actually makes all string concatenations involving such "magic" variables less slow, but the slowdown was more noticeable on repeated substitutions due to extra memory usage that was only freed after the last iteration. The slowdown started in perl 5.28.0 - which generally sped up string concatenation but slowed down when using special variables. [L] =back =head1 Acknowledgements Perl 5.39.3 represents approximately 4 weeks of development since Perl 5.39.2 and contains approximately 9,100 lines of changes across 170 files from 21 authors. Excluding auto-generated files, documentation and release tools, there were approximately 6,100 lines of changes to 91 .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.39.3: Alexander Kanavin, Bruno Meneguele, Dagfinn Ilmari Mannsåker, Dan Church, David Mitchell, Elvin Aslanov, Graham Knop, Jakub Wilk, James E Keenan, Karl Williamson, Leon Timmermans, Lukas Mai, Matthew Horsfall, Nicolas R, Paul Evans, Paul Marquess, Richard Leach, Sevan Janiyan, Tomasz Konojacki, Tony Cook, Zakariyya Mughal. 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 F file in the Perl source distribution. =head1 Reporting Bugs If you find what you think is a bug, you might check the perl bug database at L. There may also be information at L, the Perl Home Page. If you believe you have an unreported bug, please open an issue at L. 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 L for details of how to report the issue. =head1 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 C program: perlthanks This will send an email to the Perl 5 Porters list with your show of thanks. =head1 SEE ALSO The F file for an explanation of how to view exhaustive details on what changed. The F file for how to build Perl. The F file for general stuff. The F and F files for copyright information. =cut