perlcdelta - what is new for cperl v5.27.0
This document describes the differences between the cperl 5.26.0 and the cperl 5.27.0 releases.
If you are upgrading from an earlier release such as v5.24.2c, first read the perl525*cdelta documentation, which describes differences between v5.25.1c and v5.26.0c
XXX Any important notices here
study does not stringify hashes anymore, it rather calls the new hv_study function on hashes, which optimizes the internal structure of a hash. Currently clears all placeholders, and optionally shrinks its size if the new size falls below a power of two. On code and arrays it does nothing yet, but might add type optimizations on the current dynamic status.
XXX Any security-related notices go here. In particular, any security vulnerabilities closed should be noted here rather than in the "Selected Bug Fixes" section.
[ List each security issue as a =head2 entry ]
XXX For a release on a stable branch, this section aspires to be:
There are no changes intentionally incompatible with 5.XXX.XXX
If any exist, they are bugs, and we request that you submit a
report. See L</Reporting Bugs> below.
[ List each incompatible change as a =head2 entry ]
XXX Any deprecated features, syntax, modules etc. should be listed here.
XXX Remove this section if inapplicable.
The following modules will be removed from the core distribution in a future release, and will at that time need to be installed from CPAN. Distributions on CPAN which require these modules will need to list them as prerequisites.
The core versions of these modules will now issue "deprecated"
-category warnings to alert you to this fact. To silence these deprecation warnings, install the modules in question from CPAN.
Note that these are (with rare exceptions) fine modules that you are encouraged to continue to use. Their disinclusion from core primarily hinges on their necessity to bootstrapping a fully functional, CPAN-capable Perl installation, not usually on concerns over their design.
XXX Note that deprecated modules should be listed here even if they are listed as an updated module in the "Modules and Pragmata" section.
[ List each other deprecation as a =head2 entry ]
XXX Changes which enhance performance without changing behaviour go here. There may well be none in a stable release.
[ List each enhancement as a =item entry ]
XXX
XXX All changes to installed files in cpan/, dist/, ext/ and lib/ go here. If Module::CoreList is updated, generate an initial draft of the following sections using Porting/corelist-perldelta.pl. A paragraph summary for important changes should then be added by hand. In an ideal world, dual-life modules would have a Changes file that could be cribbed.
[ Within each section, list entries as a =item entry ]
XXX
getcwd has now long path support. Added realpath, with long path support, if the libc supports NULL as 2nd argument.
getcwd and abs_path have now long path support.
XXX
XXX Changes to files in pod/ go here. Consider grouping entries by file and be sure to link to the appropriate page, e.g. perlfunc.
XXX Changes which create new files in pod/ go here.
XXX Description of the purpose of the new file here
XXX Changes which significantly change existing files in pod/ go here. However, any changes to pod/perldiag.pod should go in the "Diagnostics" section.
XXX Description of the change here
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.
XXX New or changed warnings emitted by the core's C
code go here. Also include any changes in perldiag that reconcile it to the C
code.
XXX Newly added diagnostic messages go under here, separated into New Errors and New Warnings
XXX message
XXX message
XXX Changes (i.e. rewording) of diagnostic messages go here
XXX Describe change here
XXX Changes to installed programs such as cperlbug and xsubpp go here. Most of these are built within the directory utils.
Four new dtrace probes for hash and glob. See perldtrace and #240.
d_getcwd probe and key added. Sets HAS_GETCWD
d_get_current_dir_name probe and key added. Sets HAS_GET_CURRENT_DIR_NAME
getcwdnull probe and key added. Sets HAS_GETCWDNULL
d_realpath probe and key added. Sets HAS_REALPATH
d_builtin_clz probe and key added. Sets HAS_BUILTIN_CLZ. ("Count leading zeros"). Needed later for fast hopscotch hashing.
XXX Any significant changes to the testing of a freshly built perl should be listed here. Changes which create new files in t/ go here as do any large changes to the testing harness (e.g. when parallel testing was added). Changes to existing files in t/ aren't worth summarizing, although the bugs that they represent may be covered elsewhere.
[ List each test improvement as a =item entry ]
XXX
XXX Any changes to platform support should be listed in the sections below.
[ Within the sections, list each platform as a =item entry with specific changes as paragraphs below it. ]
XXX List any platforms that this version of perl compiles on, that previous versions did not. These will either be enabled by new files in the hints/ directories, or new subdirectories and README files at the top level of the source tree.
XXX
XXX List any platforms that this version of perl no longer compiles on.
XXX
XXX List any changes for specific platforms. This could include configuration and compilation changes or changes in portability/compatibility. However, changes within modules for platforms should generally be listed in the "Modules and Pragmata" section.
XXX
XXX Changes which affect the interface available to XS
code go here. Other significant internal changes for future core maintainers should be noted as well.
[ List each change as a =item entry ]
XXX
XXX Important bug fixes in the core language are summarized here. Bug fixes in files in ext/ and lib/ are best summarized in "Modules and Pragmata".
[ List each fix as a =item entry ]
XXX
XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any tests that had to be TODO
ed for the release would be noted here. Unfixed platform specific bugs also go here.
[ List each fix as a =item entry ]
XXX
XXX Add anything here that we forgot to add, or were mistaken about, in the perldelta of a previous release.
XXX If any significant core contributor has died, we've added a short obituary here.
XXX Generate this with:
cperl Porting/acknowledgements.pl cperl-5.26.0..HEAD
If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at https://rt.perl.org/ . There may also be information at http://www.perl.org/ , the Perl Home Page.
If you believe you have an unreported bug, please run the cperlbug program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of perl -V
, will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
If you think it's a cperl specific bug or trust the cperl developers more please file an issue at https://github.com/perl11/cperl/issues.
If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, then see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec For details of how to report the issue.
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.