In perl.git, the branch maint-5.26 has been updated <https://perl5.git.perl.org/perl.git/commitdiff/40da35774dd1607c9035cfdce4daee389f08f2a3?hp=9f922be61a8e3708c40069229c1807261a1c015d>
- Log ----------------------------------------------------------------- commit 40da35774dd1607c9035cfdce4daee389f08f2a3 Author: Steve Hay <steve.m....@googlemail.com> Date: Tue Mar 13 09:18:57 2018 +0000 perldelta - Update Modules so far commit 530940e447a55bac1b463ed13792c031fc16f5fa Author: Steve Hay <steve.m....@googlemail.com> Date: Tue Mar 13 09:14:40 2018 +0000 Update Module-CoreList with data so far commit 93b08c5a3157162d4b142ba1f566cd9ba31d8de1 Author: Steve Hay <steve.m....@googlemail.com> Date: Tue Mar 13 09:05:12 2018 +0000 perldelta - Remove most boilerplate sections TODO: Security, Modules, Acknowledgements commit d195dbb598217b67f1d1161b43936abde0faa33f Author: Steve Hay <steve.m....@googlemail.com> Date: Tue Mar 13 08:49:30 2018 +0000 perldelta tidy-ups commit 871a12f074fc443943a33d99214258ce6fd8f119 Author: Steve Hay <steve.m....@googlemail.com> Date: Tue Mar 13 08:30:36 2018 +0000 perldelta for commit 6f669bf58b (cherry picked from commit 04139aa0b51c7b5d9f80f77b10f85ce4c65a4cf6) commit c6054d96963769dfa440aa49db466dbb57a922f3 Author: Steve Hay <steve.m....@googlemail.com> Date: Wed Nov 15 17:27:38 2017 +0000 perldelta for commit 43b354f1e1 (cherry picked from commit 40ed79887e6ad18d8f06c8a0094fb38ef752db06) commit f82fc568b401c0f5dae9d2c1ddcb522d66ab8b18 Author: Tony Cook <t...@develop-help.com> Date: Tue Mar 13 08:28:46 2018 +0000 perldelta for fa2e45943e2b (cherry picked from commit cc289c9e6344a3d6386f2ed69849186df75de054) commit 1ca58b656d5f507228a1844abbcb18bedf054409 Author: Zefram <zef...@fysh.org> Date: Tue Mar 13 08:27:08 2018 +0000 perldelta 6c4f4eb174d1e2e9f874786123a699d11ae741f9 (cherry picked from commit 8f46363a472d5148c5802fbdd14a98b120decc9d) commit 95b4f3383fad90458ca7aea36e14e98fbdf8ceb9 Author: Karl Williamson <k...@cpan.org> Date: Sat Nov 18 19:44:47 2017 -0700 perldelta for perluniprops change For commit 9b79e9e3431d11e79a4f85268f70130b7b4369f6 (cherry picked from commit 6ce1ac118347076fe34b31bf15c4df342ef2c828) commit ec71dc50dc1147033b0eb47ce87dd92fcb04bd8d Author: Zefram <zef...@fysh.org> Date: Tue Mar 13 08:24:27 2018 +0000 perldelta 16ada235c332e017667585e1a5a00ce43a31c529 (cherry picked from commit d679c20fded9b40ee1ab7917ec766709408c57ad) commit 2f28693612b9a084a91ee702f0000e3105094ecb Author: Tony Cook <t...@develop-help.com> Date: Thu Aug 31 10:29:36 2017 +1000 perldelta for 745e740c825d and remove an obsolete comment, oops. (cherry picked from commit cb87b182a5dce7fcec9a566d505ef08d0e85c813) commit ff4568dea5945cfdf5e2fcc59bee3cb41839ccb4 Author: Tony Cook <t...@develop-help.com> Date: Thu Aug 31 09:50:41 2017 +1000 perldelta for 1141a2c75717 (cherry picked from commit eed68fe8b5a46fc91d4df38f4eaccc998836085d) commit 0b6469b125d7ea0fac2b886ea216bb6dca758fb4 Author: Tony Cook <t...@develop-help.com> Date: Tue Mar 13 08:21:52 2018 +0000 perldelta for 3b8804a4c232 (cherry picked from commit 365cfd8eaaec7a682ba41eb6274ce70b09eb9430) commit 85d7bd1f093b62721e39268026643ec5d2690b0c Author: Tony Cook <t...@develop-help.com> Date: Tue Mar 13 08:20:33 2018 +0000 perldelta for 57bd660029 (cherry picked from commit 4e235a450ab8452a3fcc4eb1ecb7dd354928bb95) commit 9f5903153ae3cde0550d6dcb4f5f15786f07140a Author: Zefram <zef...@fysh.org> Date: Tue Mar 13 08:17:28 2018 +0000 perldelta 397baf232086e0a9ad6f881a9614d3dbaea853fc (cherry picked from commit 9a40fcb68413c7a6091696885a6f6b34ec8bdf97) ----------------------------------------------------------------------- Summary of changes: dist/Module-CoreList/lib/Module/CoreList.pm | 3 + pod/perldelta.pod | 333 +++++----------------------- t/op/magic.t | 2 - 3 files changed, 53 insertions(+), 285 deletions(-) diff --git a/dist/Module-CoreList/lib/Module/CoreList.pm b/dist/Module-CoreList/lib/Module/CoreList.pm index 3504d1c883..157a615479 100644 --- a/dist/Module-CoreList/lib/Module/CoreList.pm +++ b/dist/Module-CoreList/lib/Module/CoreList.pm @@ -15179,6 +15179,9 @@ for my $version ( sort { $a <=> $b } keys %released ) { 'Module::CoreList' => '5.20180315_26', 'Module::CoreList::TieHashDelta'=> '5.20180315_26', 'Module::CoreList::Utils'=> '5.20180315_26', + 'PerlIO::via' => '0.17', + 'Term::ReadLine' => '1.17', + 'Unicode::UCD' => '0.69', }, removed => { } diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 968ba86f08..c0baccfe62 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.26.2 =head1 DESCRIPTION @@ -15,18 +12,6 @@ release. If you are upgrading from an earlier release such as 5.26.0, first read L<perl5261delta>, which describes differences between 5.26.0 and 5.26.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. - -[ List each enhancement as a =head2 entry ] - =head1 Security XXX Any security-related notices go here. In particular, any security @@ -37,343 +22,125 @@ L</Selected Bug Fixes> section. =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. - -=over - -=item XXX - -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. - -=back - -[ List each other deprecation as a =head2 entry ] - -=head1 Performance Enhancements - -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 ] - -=over 4 - -=item * - -XXX - -=back +There are no changes intentionally incompatible with 5.26.1. If any exist, +they are bugs, and we request that you submit a report. See L</Reporting +Bugs> below. =head1 Modules and Pragmata -XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> -go here. If Module::CoreList is updated, generate an initial draft of the -following sections using F<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 F<Changes> file that could be cribbed. - -[ Within each section, list entries as a =item entry ] - -=head2 New Modules and Pragmata +=head2 Updated Modules and Pragmata =over 4 =item * -XXX - -=back - -=head2 Updated Modules and Pragmata - -=over 4 +L<Module::CoreList> has been upgraded from version 5.20170922_26 to 5.20180315_26. =item * -L<XXX> has been upgraded from version A.xx to B.yy. - -=back +L<PerlIO::via> has been upgraded from version 0.16 to 0.17. -=head2 Removed Modules and Pragmata +=item * -=over 4 +L<Term::ReadLine> has been upgraded from version 1.16 to 1.17. =item * -XXX +L<Unicode::UCD> has been upgraded from version 0.68 to 0.69. =back =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<perluniprops> =over 4 =item * -XXX Description of the change here +This has been updated to note that C<\p{Word}> now includes code points +matching the C<\p{Join_Control}> property. The change to the property was made +in Perl 5.18, but not documented until now. There are currently only two code +points that match this property: U+200C (ZERO WIDTH NON-JOINER) and U+200D +(ZERO WIDTH JOINER). =back -=head1 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 L<perldiag>. - -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. - -=head2 New Diagnostics - -XXX Newly added diagnostic messages go under here, separated into New Errors -and New Warnings +=head1 Platform Support -=head3 New Errors +=head2 Platform-Specific Notes =over 4 -=item * - -XXX L<message|perldiag/"message"> - -=back +=item Windows -=head3 New Warnings - -=over 4 - -=item * +Visual C++ compiler version detection has been improved to work on non-English +language systems. +L<[perl #132421]|https://rt.perl.org/Public/Bug/Display.html?id=132421> -XXX L<message|perldiag/"message"> +We now set C<$Config{libpth}> correctly for 64-bit builds using Visual C++ +versions earlier than 14.1. +L<[perl #132484]|https://rt.perl.org/Public/Bug/Display.html?id=132484> =back -=head2 Changes to Existing Diagnostics - -XXX Changes (i.e. rewording) of diagnostic messages go here +=head1 Selected Bug Fixes =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> - -=over 4 +The C<readpipe()> built-in function now checks at compile time that it has only +one parameter expression, and puts it in scalar context, thus ensuring that it +doesn't corrupt the stack at runtime. +L<[perl #4574]|https://rt.perl.org/Public/Bug/Display.html?id=4574> =item * -XXX - -=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 +Fixed a use after free bug in C<pp_list> introduced in Perl 5.27.1. +L<[perl #131954]|https://rt.perl.org/Public/Bug/Display.html?id=131954> =item * -XXX - -=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 +Parsing a C<sub> definition could cause a use after free if the C<sub> keyword +was followed by whitespace including newlines (and comments). +L<[perl #131836]|https://rt.perl.org/Public/Bug/Display.html?id=131836> =item * -XXX - -=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 XXX-some-platform - -XXX - -=back - -=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 +The tokenizer now correctly adjusts a parse pointer when skipping whitespace in +an C< ${identifier} > construct. +L<[perl #131949]|https://rt.perl.org/Public/Bug/Display.html?id=131949> =item * -XXX - -=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 +Accesses to C<${^LAST_FH}> no longer assert after using any of a variety of I/O +operations on a non-glob. +L<[perl #128263]|https://rt.perl.org/Public/Bug/Display.html?id=128263> =item * -XXX - -=back - -=head1 Known Problems - -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. - -[ List each fix as a =item entry ] - -=over 4 +C<sort> now performs correct reference counting when aliasing C<$a> and C<$b>, +thus avoiding premature destruction and leakage of scalars if they are +re-aliased during execution of the sort comparator. +L<[perl #92264]|https://rt.perl.org/Public/Bug/Display.html?id=92264> =item * -XXX - -=back - -=head1 Errata From Previous Releases - -=over 4 +Some convoluted kinds of regexp no longer cause an arithmetic overflow when +compiled. +L<[perl #131893]|https://rt.perl.org/Public/Bug/Display.html?id=131893> =item * -XXX Add anything here that we forgot to add, or were mistaken about, in -the perldelta of a previous release. +Fixed a duplicate symbol failure with B<-flto -mieee-fp> builds. F<pp.c> +defined C<_LIB_VERSION> which B<-lieee> already defines. +L<[perl #131786]|https://rt.perl.org/Public/Bug/Display.html?id=131786> =back -=head1 Obituary - -XXX If any significant core contributor has died, we've added a short obituary -here. - =head1 Acknowledgements XXX Generate this with: diff --git a/t/op/magic.t b/t/op/magic.t index 36abafb098..02ced156d5 100644 --- a/t/op/magic.t +++ b/t/op/magic.t @@ -645,8 +645,6 @@ is ${^LAST_FH}, undef, '${^LAST_FH} is undef when PL_last_in_gv is NULL'; # all of these would set PL_last_in_gv to a non-GV which would # assert when referenced by the magic for ${^LAST_FH}. -# Instead it should act like <$0> which NULLs PL_last_in_gv and the magic -# returns that as undef. # The approach to fixing this has changed (#128263), but it's still useful # to check each op. for my $code ('tell $0', 'sysseek $0, 0, 0', 'seek $0, 0, 0', 'eof $0') { -- Perl5 Master Repository