In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/6d9b7c7c4586a9dbb6b039e5dd3be7f449b454ae?hp=cf217b12874de6af9cdcd4724a3264a76a18b6d3>
- Log ----------------------------------------------------------------- commit 6d9b7c7c4586a9dbb6b039e5dd3be7f449b454ae Author: Abigail <[email protected]> Date: Sat Jul 19 23:25:34 2014 +0200 Changes for 5.21.1 -> 5.21.2. Not included the parts that are automated (module changes and acknowledgements). ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 271 ++++++++++++++---------------------------------------- 1 file changed, 69 insertions(+), 202 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 8b56660..b151c51 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -2,9 +2,6 @@ =head1 NAME -[ this is a template for a new perldelta file. Any text flagged as XXX needs -to be processed before release. ] - perldelta - what is new for perl v5.21.2 =head1 DESCRIPTION @@ -15,26 +12,16 @@ release. If you are upgrading from an earlier release such as 5.21.0, first read L<perl5211delta>, which describes differences between 5.21.0 and 5.21.1. -=head1 Notice - -XXX Any important notices here - =head1 Core Enhancements -XXX New core language features go here. Summarize user-visible core language -enhancements. Particularly prominent performance optimisations could go -here, but most should go in the L</Performance Enhancements> section. +=head2 Better heuristics on older platforms for determining locale UTF8ness -[ List each enhancement as a =head2 entry ] +On platforms that implement neither the C99 standard nor the POSIX 2001 +standard, determining if the current locale is UTF8 or not depends on +heuristics. These are improved in this release. =head1 Security -XXX Any security-related notices go here. In particular, any security -vulnerabilities closed should be noted here rather than in the -L</Selected Bug Fixes> section. - -[ List each security issue as a =head2 entry ] - =head2 Perl is now always compiled with -D_FORTIFY_SOURCE=2 if available The 'code hardening' option called C<_FORTIFY_SOURCE>, available in @@ -45,61 +32,35 @@ the step had already been taken several years ago: many Linux distributions (like Fedora) have been using this option for Perl, and OS X has enforced the same for many years. -=head1 Incompatible Changes - -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 ] =head1 Deprecations -XXX Any deprecated features, syntax, modules etc. should be listed here. - -=head2 Module removals - -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 C<"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. +=head2 C<< /\C/ >> character class -=over +This character class, which matches a single byte, even if it appears +in a multi-byte character has been deprecated. Matching single bytes +in a multi-byte character breaks encapsulation, and can corrupt utf8 +strings. -=item XXX +=head1 Performance Enhancements -XXX Note that deprecated modules should be listed here even if they are listed -as an updated module in the L</Modules and Pragmata> section. +=over 4 -=back +=item * -[ List each other deprecation as a =head2 entry ] +Refactoring of C<< pp_tied >> and CC<< pp_ref >> for small improvements. -=head1 Performance Enhancements +=item * -XXX Changes which enhance performance without changing behaviour go here. -There may well be none in a stable release. +Pathtools don't try to load XS on miniperl. -[ List each enhancement as a =item entry ] +=item * -=over 4 +A typo fix reduces the size of the C<< OP >> structure. =item * -XXX +Hash lookups where the key is a constant is faster. =back @@ -129,7 +90,11 @@ XXX =item * -L<IO::Socket::IP> has been upgraded from verion 0.29 to 0.31. +L<ExtUtils::Manifest> has been upgraded to 1.64. + +=item * + +L<IO::Socket::IP> has been upgraded from version 0.29 to 0.31. A better fix for subclassing C<connect()>. L<[cpan #95983]|https://rt.cpan.org/Ticket/Display.html?id=95983> @@ -170,57 +135,44 @@ XXX =head1 Documentation -XXX Changes to files in F<pod/> go here. Consider grouping entries by -file and be sure to link to the appropriate page, e.g. L<perlfunc>. - -=head2 New Documentation - -XXX Changes which create B<new> files in F<pod/> go here. - -=head3 L<XXX> - -XXX Description of the purpose of the new file here - =head2 Changes to Existing Documentation -XXX Changes which significantly change existing files in F<pod/> go here. -However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> -section. - -=head3 L<XXX> +=head3 L<< perlpolicy >> =over 4 =item * -XXX Description of the change here +We now have a code of conduct for the I<< p5p >> mailing list, as documented +in L<< perlpolicy/STANDARDS OF CONDUCT >>. =back -=head1 Diagnostics +=head3 L<< perlfunc >> -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 L<perldiag>. +=over 4 -XXX New or changed warnings emitted by the core's C<C> code go here. Also -include any changes in L<perldiag> that reconcile it to the C<C> code. +=item * -=head2 New Diagnostics +Improve documentation of C<< our >>. -XXX Newly added diagnostic messages go under here, separated into New Errors -and New Warnings +=back -=head3 New Errors +=head3 L<< perlsyn >> =over 4 =item * -XXX L<message|perldiag/"message"> +The empty conditional in C<< for >> and C<< while >> is now documented +in L<< perlsyn >>. =back +=head1 Diagnostics + +=head2 New Diagnostics + =head3 New Warnings =over 4 @@ -234,115 +186,45 @@ as 0 in increment (++)"> which expects either a number or a string matching C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and Auto-decrement> for details. -=back - -=head2 Changes to Existing Diagnostics - -XXX Changes (i.e. rewording) of diagnostic messages go here - -=over 4 - =item * -XXX Describe change here - -=back - -=head1 Utility Changes - -XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here. -Most of these are built within the directory F<utils>. - -[ List utility changes as a =head2 entry for each utility and =item -entries for each change -Use L<XXX> with program names to get proper documentation linking. ] - -=head2 L<XXX> +L<Redundant argument in %s|perldiag/Redundant argument in %s> -=over 4 - -=item * +(W redundant) You called a function with more arguments than other +arguments you supplied indicated would be needed. Currently only +emitted when a printf-type format required fewer arguments than were +supplied, but might be used in the future for e.g. L<perlfunc/pack>. -XXX +The warnings category C<< redundant >> is new. See also [RT #121025] =back =head1 Configuration and Compilation -XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools -go here. Any other changes to the Perl build process should be listed here. -However, any platform-specific changes should be listed in the -L</Platform Support> section, instead. - -[ List changes as a =item entry ]. - =over 4 =item * -XXX +A new compilation flag, C<< -DPERL_OP_PARENT >> is available. For details, +see the discussion below at L<< /Internal Changes >>. =back =head1 Testing -XXX Any significant changes to the testing of a freshly built perl should be -listed here. Changes which create B<new> files in F<t/> go here as do any -large changes to the testing harness (e.g. when parallel testing was added). -Changes to existing files in F<t/> aren't worth summarizing, although the bugs -that they represent may be covered elsewhere. - -[ List each test improvement as a =item entry ] - =over 4 =item * -XXX +C<< test.pl >> now allows C<< plan skip_all => $reason >>, to make it +more compatible with C<< Test::More >>. =back =head1 Platform Support -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. ] - -=head2 New Platforms - -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 F<hints/> -directories, or new subdirectories and F<README> files at the top level of the -source tree. - -=over 4 - -=item XXX-some-platform - -XXX - -=back - -=head2 Discontinued Platforms - -XXX List any platforms that this version of perl no longer compiles on. - -=over 4 - -=item XXX-some-platform - -XXX - -=back - =head2 Platform-Specific Notes -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 -L</Modules and Pragmata> section. - =over 4 =item Solaris @@ -356,12 +238,6 @@ L<[perl #120120]|https://rt.perl.org/Ticket/Display.html?id=120120> =head1 Internal Changes -XXX Changes which affect the interface available to C<XS> code go here. Other -significant internal changes for future core maintainers should be noted as -well. - -[ List each change as a =item entry ] - =over 4 =item * @@ -373,55 +249,46 @@ C<Perl_mini_mktime>, C<Perl_my_dirfd>, C<Perl_sv_backoff>, C<Perl_utf8_hop>. Users of the public API prefix-less calls remain unaffected. -=back - -=head1 Selected Bug Fixes - -XXX Important bug fixes in the core language are summarized here. Bug fixes in -files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>. - -[ List each fix as a =item entry ] - -=over 4 - =item * -XXX +Experimental support for ops in the optree to be able to locate their +parent, if any. A general-purpose function, C<< op_sibling_splice() >> +allows for general manipulating an C<< op_sibling >> chain. The last op +in such a chain is now marked with the field C<< op_lastsib >>. -=back +A new build define, C<< -DPERL_OP_PARENT >> has been added; if +given, it forces the core to use C<< op_lastsib >> to detect the +last sibling in a chain, freeing the last C<< op_sibling >> pointer, +which then points back to the parent (instead of being C<< NULL >>). -=head1 Known Problems +A C-level C<< op_parent() >> function, and a C<< B >> C<< parent() >> method +have been added; under a default build, they return C<< NULL >>, but when +C<< -DPERL_OP_PARENT >> has been set, they return the parent of the current op. -XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any -tests that had to be C<TODO>ed for the release would be noted here. Unfixed -platform specific bugs also go here. +=back -[ List each fix as a =item entry ] +=head1 Selected Bug Fixes =over 4 =item * -XXX +C<< s///e >> on tainted utf8 strings got C<< pos() >> messed up. This bug, +introduced in 5.20, is now fixed. [RT #122148] -=back - -=head1 Errata From Previous Releases +=item * -=over 4 +A non-word boundary in a regular expression (C<< \B >>) did not always +match the end of the string; in particular C<< q{} =~ /\B/ >> did not +match. This bug, introduced in perl 5.14, is now fixed. [RT #122090] =item * -XXX Add anything here that we forgot to add, or were mistaken about, in -the perldelta of a previous release. +C<< " P" =~ /(?=.*P)P/ >> should match, but did not. This is now fixed. +[RT #122171]. =back -=head1 Obituary - -XXX If any significant core contributor has died, we've added a short obituary -here. - =head1 Acknowledgements XXX Generate this with: -- Perl5 Master Repository
