From e0f0cf8a4e7954eef597233d4727d1a834296d4f Mon Sep 17 00:00:00 2001 From: Abigail Date: Tue, 18 Dec 2018 14:32:27 +0100 Subject: [PATCH] New perldelta for 5.29.7 --- MANIFEST | 1 + Makefile.SH | 8 +- pod/.gitignore | 2 +- pod/perl.pod | 1 + pod/perl5296delta.pod | 378 +++++++++++++++++++++++++++++++++++++++++++++ pod/perldelta.pod | 394 +++++++++++++++++++++++++++-------------------- vms/descrip_mms.template | 2 +- win32/GNUmakefile | 4 +- win32/Makefile | 4 +- win32/makefile.mk | 4 +- win32/pod.mak | 4 + 11 files changed, 626 insertions(+), 176 deletions(-) create mode 100644 pod/perl5296delta.pod diff --git a/MANIFEST b/MANIFEST index 4276316..7c53c88 100644 --- a/MANIFEST +++ b/MANIFEST @@ -5010,6 +5010,7 @@ pod/perl5292delta.pod Perl changes in version 5.29.2 pod/perl5293delta.pod Perl changes in version 5.29.3 pod/perl5294delta.pod Perl changes in version 5.29.4 pod/perl5295delta.pod Perl changes in version 5.29.5 +pod/perl5296delta.pod Perl changes in version 5.29.6 pod/perl561delta.pod Perl changes in version 5.6.1 pod/perl56delta.pod Perl changes in version 5.6 pod/perl581delta.pod Perl changes in version 5.8.1 diff --git a/Makefile.SH b/Makefile.SH index 757a369..bd0c24f 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -586,7 +586,7 @@ esac $spitshell >>$Makefile <<'!NO!SUBS!' -perltoc_pod_prereqs = extra.pods pod/perl5296delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod +perltoc_pod_prereqs = extra.pods pod/perl5297delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod generated_pods = pod/perltoc.pod $(perltoc_pod_prereqs) generated_headers = uudmap.h bitcount.h mg_data.h @@ -1150,9 +1150,9 @@ pod/perlintern.pod: $(MINIPERL_EXE) autodoc.pl embed.fnc pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST $(MINIPERL) pod/perlmodlib.PL -q -pod/perl5296delta.pod: pod/perldelta.pod - $(RMS) pod/perl5296delta.pod - $(LNS) perldelta.pod pod/perl5296delta.pod +pod/perl5297delta.pod: pod/perldelta.pod + $(RMS) pod/perl5297delta.pod + $(LNS) perldelta.pod pod/perl5297delta.pod extra.pods: $(MINIPERL_EXE) -@test ! -f extra.pods || rm -f `cat extra.pods` diff --git a/pod/.gitignore b/pod/.gitignore index d15fa18..e32986b 100644 --- a/pod/.gitignore +++ b/pod/.gitignore @@ -50,7 +50,7 @@ /roffitall # generated -/perl5296delta.pod +/perl5297delta.pod /perlapi.pod /perlintern.pod /perlmodlib.pod diff --git a/pod/perl.pod b/pod/perl.pod index 7641303..f57c3e8 100644 --- a/pod/perl.pod +++ b/pod/perl.pod @@ -181,6 +181,7 @@ aux h2ph h2xs perlbug pl2pm pod2html pod2man splain xsubpp perlhist Perl history records perldelta Perl changes since previous version + perl5296delta Perl changes in version 5.29.6 perl5295delta Perl changes in version 5.29.5 perl5294delta Perl changes in version 5.29.4 perl5293delta Perl changes in version 5.29.3 diff --git a/pod/perl5296delta.pod b/pod/perl5296delta.pod new file mode 100644 index 0000000..be63ed8 --- /dev/null +++ b/pod/perl5296delta.pod @@ -0,0 +1,378 @@ +=encoding utf8 + +=head1 NAME + +perl5296delta - what is new for perl v5.29.6 + +=head1 DESCRIPTION + +This document describes differences between the 5.29.5 release and the 5.29.6 +release. + +If you are upgrading from an earlier release such as 5.29.4, first read +L, which describes differences between 5.29.4 and 5.29.5. + +=head1 Security + +=head2 [CVE-2018-18312] Heap-buffer-overflow write in S_regatom (regcomp.c) + +A crafted regular expression could cause heap-buffer-overflow write during +compilation, potentially allowing arbitrary code execution. (This was +actually fixed in 5.29.4, but not announced as a security fix at the time). +L<[perl #133423]|https://rt.perl.org/Ticket/Display.html?id=133423> + +=head1 Performance Enhancements + +=over 4 + +=item * + +Optimization of C to C conversions. +L<[perl #133677]|https://rt.perl.org/Ticket/Display.html?id=133677>. + +=item * + +Speed up of the integer stringification algorithm by processing +two digits at a time instead of one. +L<[perl #133691]|https://rt.perl.org/Ticket/Display.html?id=133691>. + +=item * + +Improvements based on LGTM analysis and recommendation. +(L). +L<[perl #133686]|https://rt.perl.org/Ticket/Display.html?id=133686>. +L<[perl #133699]|https://rt.perl.org/Ticket/Display.html?id=133699>. + +=item * + +Code optimizations in F, F, F. + +=back + +=head1 Modules and Pragmata + +=head2 Updated Modules and Pragmata + +=over 4 + +=item * + +L. has been upgraded from version 0.30 to 0.32. This was due +to a new configuration variable that has influence on binary compatibility: +C. + +=item * + +L has been upgraded from version 3.39 to 3.40. +C parameters are no longer incorrectly included in the +automatically generated function prototype. +L<[perl #133654]|https://rt.perl.org/Ticket/Display.html?id=133654>. + +=item * + +L has been upgraded from version 1.34 to 1.35. +C<$File::Find::dont_use_nlink> now defaults to 1 on all +platforms. +L<[perl #133673]|https://rt.perl.org/Ticket/Display.html?id=133673>. + +=item * + +L has been upgraded from version 5.20181120 to 5.20181218. + +=item * + +L has been upgraded from version 1.85 to 1.86. + +=item * + +L has been upgraded from version 3.13 to 3.14. + +Storable no longer probes for recursion limits at build time. +L<[perl #133708]|https://rt.perl.org/Ticket/Display.html?id=133708> +and others. + +Metasploit exploit code was included to test for CVE-2015-1992 +detection, this caused anti-virus detections on at least one AV suite. +The exploit code has been removed and replaced with a simple +functional test. +L<[perl #133706]|https://rt.perl.org/Ticket/Display.html?id=133706> + +=item * + +L has been upgraded from version 1.302140 to 1.302141. + +=item * + +L has been upgraded from version 1.58 to 1.59. + +=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, send email +to L. + +Additionally, the following selected changes have been made: + +=head3 L + +=over 4 + +=item * + +Clarification of behaviour of C. + +=back + +=head3 L + +=over 4 + +=item * + +Clarification of the syntax of /(?(cond)yes)/. + +=back + +=head3 L + +=over + +=item * + +We no longer have null (empty line) here doc terminators, so +L should not refer to them. + +=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. + +=head2 Changes to Existing Diagnostics + +=over 4 + +=item * + +Under C<< -Dr >> (or C<< use re 'Debug' >>) the compiled regex engine +program is displayed. It used two different spellings for I<< infinity >>, +C<< INFINITY >>, and C<< INFTY >>. It now uses the latter exclusively, +as that spelling has been around the longest. + +=back + +=head1 Utility Changes + +=head2 L + +=over 4 + +=item * + +The generated prototype (with C<< PROTOTYPES: ENABLE >>) would include +C<< OUTLIST >> parameters, but these aren't arguments to the perl function. +This has been rectified. +L<[perl #133654]|https://rt.perl.org/Ticket/Display.html?id=133654>. + +=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 * + +Some tests in F<< t/io/eintr.t >> caused the process to hang on +pre-16 Darwin. These tests are skipped for those version of Darwin. + +=back + +=head1 Platform Support + +=head2 Platform-Specific Notes + +=over 4 + +=item Cygwin + +Cygwin doesn't make C<< cuserid >> visible. + +=item Win32 Mingw + +C99 math functions are now available. + +=back + +=head1 Internal Changes + +=over 4 + +=item * + +Two new regnodes have been introduced C<< EXACT_ONLY8 >>, and +C<< EXACTFU_ONLY8 >>. They're equivalent to C<< EXACT >> and C<< EXACTFU >>, +except that they contain a code point which requires UTF-8 to +represent/match. Hence, if the target string isn't UTF-8, we know +it can't possibly match, without needing to try. + +=item * + +C<< print_bytes_for_locale() >> is now defined if C<< DEBUGGING >>, +Prior, it didn't get defined unless C<< LC_COLLATE >> was defined +on the platform. + +=back + +=head1 Selected Bug Fixes + +=over 4 + +=item * + +If an in-place edit is still in progress during global destruction and +the process exit code (as stored in C<$?>) is zero, perl will now +treat the in-place edit as successful, replacing the input file with +any output produced. + +This allows code like: + + perl -i -ne 'print "Foo"; last' + +to replace the input file, while code like: + + perl -i -ne 'print "Foo"; die' + +will not. Partly resolves +L<[perl #133659]|https://rt.perl.org/Ticket/Display.html?id=133659>. + +=item * + +A regression in 5.28 caused the following code to fail + + close(STDIN); open(CHILD, "|wc -l")' + +because the child's stdin would be closed on exec. This has now been fixed. + +=item * + +Fixed an issue where compiling a regexp containing both compile-time +and run-time code blocks could lead to trying to compile something +which is invalid syntax. + +=item * + +Fixed build failures with C<< -DNO_LOCALE_NUMERIC >> and +C<< -DNO_LOCALE_COLLATE >>. +L<[perl #133696]|https://rt.perl.org/Ticket/Display.html?id=133696>. + +=item * + +Prevent the tests in F<< ext/B/t/strict.t >> from being skipped. +L<[perl #133713]|https://rt.perl.org/Ticket/Display.html?id=133713>. + +=item * + +C<< /di >> nodes ending or beginning in I are now C<< EXACTF >>. We do not +want two C<< EXACTFU >> to be joined together during optimization, +and to form a C<< ss >>, C<< sS >>, C<< Ss >> or C<< SS >> sequence; +they are the only multi-character sequences which may match differently +under C<< /ui >> and C<< /di >>. + +=back + +=head1 Errata From Previous Releases + +=over 4 + +=item * + +The upper limit C<"n"> specifiable in a regular expression +quantifier of the form C<"{m,n}"> has been doubled to 65534. + +The meaning of an unbounded upper quantifier C<"{m,}"> remains unchanged. +It matches 2**31 - 1 times on most platforms, and more on ones where a C +language short variable is more than 4 bytes long. + +The text above is what perl5294delta should have said. Instead it said +"The maximum number of times a pattern can match has been doubled to 65535" +That statement was wrong. Try to forget you ever saw it. + +=back + +=head1 Acknowledgements + +Perl 5.29.6 represents approximately 4 weeks of development since Perl +5.29.5 and contains approximately 5,000 lines of changes across 230 files +from 19 authors. + +Excluding auto-generated files, documentation and release tools, there were +approximately 2,600 lines of changes to 150 .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.29.6: + +Aaron Crane, Abigail, Dagfinn Ilmari Mannsåker, David Mitchell, Dominic +Hargreaves, E. Choroba, Eugen Konkov, H.Merijn Brand, James E Keenan, Jerry +D. Hedden, Karen Etheridge, Karl Williamson, Leon Timmermans, Niko Tyni, +Petr Písař, Sisyphus, Steve Hay, Tomasz Konojacki, 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 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 run the L 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 C, +will be sent off to perlbug@perl.org to be analysed by the Perl porting team. + +If the bug you are reporting has security implications which make it +inappropriate to send to a publicly archived mailing list, 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 diff --git a/pod/perldelta.pod b/pod/perldelta.pod index dd3a4c5..65aad26 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -2,342 +2,408 @@ =head1 NAME -perldelta - what is new for perl v5.29.6 +[ 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.29.7 =head1 DESCRIPTION -This document describes differences between the 5.29.5 release and the 5.29.6 +This document describes differences between the 5.29.6 release and the 5.29.7 release. -If you are upgrading from an earlier release such as 5.29.4, first read -L, which describes differences between 5.29.4 and 5.29.5. +If you are upgrading from an earlier release such as 5.29.5, first read +L, which describes differences between 5.29.5 and 5.29.6. + +=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 section. + +[ List each enhancement as a =head2 entry ] =head1 Security -=head2 [CVE-2018-18312] Heap-buffer-overflow write in S_regatom (regcomp.c) +XXX Any security-related notices go here. In particular, any security +vulnerabilities closed should be noted here rather than in the +L section. -A crafted regular expression could cause heap-buffer-overflow write during -compilation, potentially allowing arbitrary code execution. (This was -actually fixed in 5.29.4, but not announced as a security fix at the time). -L<[perl #133423]|https://rt.perl.org/Ticket/Display.html?id=133423> +[ List each security issue as a =head2 entry ] -=head1 Performance Enhancements +=head1 Incompatible Changes -=over 4 +XXX For a release on a stable branch, this section aspires to be: -=item * + 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 below. -Optimization of C to C conversions. -L<[perl #133677]|https://rt.perl.org/Ticket/Display.html?id=133677>. +[ List each incompatible change as a =head2 entry ] -=item * +=head1 Deprecations -Speed up of the integer stringification algorithm by processing -two digits at a time instead of one. -L<[perl #133691]|https://rt.perl.org/Ticket/Display.html?id=133691>. +XXX Any deprecated features, syntax, modules etc. should be listed here. -=item * +=head2 Module removals -Improvements based on LGTM analysis and recommendation. -(L). -L<[perl #133686]|https://rt.perl.org/Ticket/Display.html?id=133686>. -L<[perl #133699]|https://rt.perl.org/Ticket/Display.html?id=133699>. +XXX Remove this section if not applicable. -=item * +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. -Code optimizations in F, F, F. +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 section. =back -=head1 Modules and Pragmata +[ List each other deprecation as a =head2 entry ] -=head2 Updated Modules and Pragmata +=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 an =item entry ] =over 4 =item * -L. has been upgraded from version 0.30 to 0.32. This was due -to a new configuration variable that has influence on binary compatibility: -C. +XXX -=item * +=back -L has been upgraded from version 3.39 to 3.40. -C parameters are no longer incorrectly included in the -automatically generated function prototype. -L<[perl #133654]|https://rt.perl.org/Ticket/Display.html?id=133654>. +=head1 Modules and Pragmata -=item * +XXX All changes to installed files in F, F, F and F +go here. If Module::CoreList is updated, generate an initial draft of the +following sections using F. A paragraph summary +for important changes should then be added by hand. In an ideal world, +dual-life modules would have a F file that could be cribbed. -L has been upgraded from version 1.34 to 1.35. -C<$File::Find::dont_use_nlink> now defaults to 1 on all -platforms. -L<[perl #133673]|https://rt.perl.org/Ticket/Display.html?id=133673>. +The list of new and updated modules is modified automatically as part of +preparing a Perl release, so the only reason to manually add entries here is if +you're summarising the important changes in the module update. (Also, if the +manually-added details don't match the automatically-generated ones, the +release manager will have to investigate the situation carefully.) -=item * +[ Within each section, list entries as an =item entry ] + +=head2 New Modules and Pragmata -L has been upgraded from version 5.20181120 to 5.20181218. +=over 4 =item * -L has been upgraded from version 1.85 to 1.86. +XXX Remove this section if not applicable. + +=back + +=head2 Updated Modules and Pragmata + +=over 4 =item * -L has been upgraded from version 3.13 to 3.14. +L has been upgraded from version A.xx to B.yy. -Storable no longer probes for recursion limits at build time. -L<[perl #133708]|https://rt.perl.org/Ticket/Display.html?id=133708> -and others. +If there was something important to note about this change, include that here. -Metasploit exploit code was included to test for CVE-2015-1992 -detection, this caused anti-virus detections on at least one AV suite. -The exploit code has been removed and replaced with a simple -functional test. -L<[perl #133706]|https://rt.perl.org/Ticket/Display.html?id=133706> +=back -=item * +=head2 Removed Modules and Pragmata -L has been upgraded from version 1.302140 to 1.302141. +=over 4 =item * -L has been upgraded from version 1.58 to 1.59. +XXX =back =head1 Documentation +XXX Changes to files in F go here. Consider grouping entries by +file and be sure to link to the appropriate page, e.g. L. + +=head2 New Documentation + +XXX Changes which create B files in F go here. + +=head3 L + +XXX Description of the purpose of the new file here + =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, send email to L. +XXX Changes which significantly change existing files in F go here. +However, any changes to F should go in the L +section. + Additionally, the following selected changes have been made: -=head3 L +=head3 L =over 4 =item * -Clarification of behaviour of C. +XXX Description of the change here =back -=head3 L +=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. + +XXX New or changed warnings emitted by the core's C code go here. Also +include any changes in L that reconcile it to the C code. + +=head2 New Diagnostics + +XXX Newly added diagnostic messages go under here, separated into New Errors +and New Warnings + +=head3 New Errors =over 4 =item * -Clarification of the syntax of /(?(cond)yes)/. +XXX L =back -=head3 L +=head3 New Warnings -=over +=over 4 =item * -We no longer have null (empty line) here doc terminators, so -L should not refer to them. +XXX L =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. - =head2 Changes to Existing Diagnostics +XXX Changes (i.e. rewording) of diagnostic messages go here + =over 4 =item * -Under C<< -Dr >> (or C<< use re 'Debug' >>) the compiled regex engine -program is displayed. It used two different spellings for I<< infinity >>, -C<< INFINITY >>, and C<< INFTY >>. It now uses the latter exclusively, -as that spelling has been around the longest. +XXX Describe change here =back =head1 Utility Changes -=head2 L +XXX Changes to installed programs such as F and F go here. +Most of these are built within the directory F. + +[ List utility changes as a =head2 entry for each utility and =item +entries for each change +Use L with program names to get proper documentation linking. ] + +=head2 L =over 4 =item * -The generated prototype (with C<< PROTOTYPES: ENABLE >>) would include -C<< OUTLIST >> parameters, but these aren't arguments to the perl function. -This has been rectified. -L<[perl #133654]|https://rt.perl.org/Ticket/Display.html?id=133654>. +XXX + +=back + +=head1 Configuration and Compilation + +XXX Changes to F, F, F, 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 section, instead. + +[ List changes as an =item entry ]. + +=over 4 + +=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 files in F go here as do any +large changes to the testing harness (e.g. when parallel testing was added). +Changes to existing files in F aren't worth summarizing, although the bugs +that they represent may be covered elsewhere. + +XXX If there were no significant test changes, say this: + +Tests were added and changed to reflect the other additions and changes +in this release. + +XXX If instead there were significant changes, say this: + Tests were added and changed to reflect the other additions and changes in this release. Furthermore, these significant changes were made: +[ List each test improvement as an =item entry ] + =over 4 =item * -Some tests in F<< t/io/eintr.t >> caused the process to hang on -pre-16 Darwin. These tests are skipped for those version of Darwin. +XXX =back =head1 Platform Support -=head2 Platform-Specific Notes +XXX Any changes to platform support should be listed in the sections below. -=over 4 +[ Within the sections, list each platform as an =item entry with specific +changes as paragraphs below it. ] -=item Cygwin +=head2 New Platforms -Cygwin doesn't make C<< cuserid >> visible. +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 +directories, or new subdirectories and F files at the top level of the +source tree. + +=over 4 -=item Win32 Mingw +=item XXX-some-platform -C99 math functions are now available. +XXX =back -=head1 Internal Changes +=head2 Discontinued Platforms -=over 4 +XXX List any platforms that this version of perl no longer compiles on. -=item * - -Two new regnodes have been introduced C<< EXACT_ONLY8 >>, and -C<< EXACTFU_ONLY8 >>. They're equivalent to C<< EXACT >> and C<< EXACTFU >>, -except that they contain a code point which requires UTF-8 to -represent/match. Hence, if the target string isn't UTF-8, we know -it can't possibly match, without needing to try. +=over 4 -=item * +=item XXX-some-platform -C<< print_bytes_for_locale() >> is now defined if C<< DEBUGGING >>, -Prior, it didn't get defined unless C<< LC_COLLATE >> was defined -on the platform. +XXX =back -=head1 Selected Bug Fixes +=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 section. =over 4 -=item * +=item XXX-some-platform -If an in-place edit is still in progress during global destruction and -the process exit code (as stored in C<$?>) is zero, perl will now -treat the in-place edit as successful, replacing the input file with -any output produced. +XXX -This allows code like: +=back - perl -i -ne 'print "Foo"; last' +=head1 Internal Changes -to replace the input file, while code like: +XXX Changes which affect the interface available to C code go here. Other +significant internal changes for future core maintainers should be noted as +well. - perl -i -ne 'print "Foo"; die' +[ List each change as an =item entry ] -will not. Partly resolves -L<[perl #133659]|https://rt.perl.org/Ticket/Display.html?id=133659>. +=over 4 =item * -A regression in 5.28 caused the following code to fail - - close(STDIN); open(CHILD, "|wc -l")' +XXX -because the child's stdin would be closed on exec. This has now been fixed. +=back -=item * +=head1 Selected Bug Fixes -Fixed an issue where compiling a regexp containing both compile-time -and run-time code blocks could lead to trying to compile something -which is invalid syntax. +XXX Important bug fixes in the core language are summarized here. Bug fixes in +files in F and F are best summarized in L. -=item * +[ List each fix as an =item entry ] -Fixed build failures with C<< -DNO_LOCALE_NUMERIC >> and -C<< -DNO_LOCALE_COLLATE >>. -L<[perl #133696]|https://rt.perl.org/Ticket/Display.html?id=133696>. +=over 4 =item * -Prevent the tests in F<< ext/B/t/strict.t >> from being skipped. -L<[perl #133713]|https://rt.perl.org/Ticket/Display.html?id=133713>. +XXX -=item * +=back -C<< /di >> nodes ending or beginning in I are now C<< EXACTF >>. We do not -want two C<< EXACTFU >> to be joined together during optimization, -and to form a C<< ss >>, C<< sS >>, C<< Ss >> or C<< SS >> sequence; -they are the only multi-character sequences which may match differently -under C<< /ui >> and C<< /di >>. +=head1 Known Problems -=back +XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any +tests that had to be Ced for the release would be noted here. Unfixed +platform specific bugs also go here. -=head1 Errata From Previous Releases +[ List each fix as an =item entry ] =over 4 =item * -The upper limit C<"n"> specifiable in a regular expression -quantifier of the form C<"{m,n}"> has been doubled to 65534. +XXX -The meaning of an unbounded upper quantifier C<"{m,}"> remains unchanged. -It matches 2**31 - 1 times on most platforms, and more on ones where a C -language short variable is more than 4 bytes long. +=back -The text above is what perl5294delta should have said. Instead it said -"The maximum number of times a pattern can match has been doubled to 65535" -That statement was wrong. Try to forget you ever saw it. +=head1 Errata From Previous Releases -=back +=over 4 -=head1 Acknowledgements +=item * -Perl 5.29.6 represents approximately 4 weeks of development since Perl -5.29.5 and contains approximately 5,000 lines of changes across 230 files -from 19 authors. +XXX Add anything here that we forgot to add, or were mistaken about, in +the perldelta of a previous release. -Excluding auto-generated files, documentation and release tools, there were -approximately 2,600 lines of changes to 150 .pm, .t, .c and .h files. +=back -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.29.6: +=head1 Obituary -Aaron Crane, Abigail, Dagfinn Ilmari Mannsåker, David Mitchell, Dominic -Hargreaves, E. Choroba, Eugen Konkov, H.Merijn Brand, James E Keenan, Jerry -D. Hedden, Karen Etheridge, Karl Williamson, Leon Timmermans, Niko Tyni, -Petr Písař, Sisyphus, Steve Hay, Tomasz Konojacki, Tony Cook. +XXX If any significant core contributor or member of the CPAN community has +died, add a short obituary here. -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. +=head1 Acknowledgements -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. +XXX Generate this with: -For a more complete list of all of Perl's historical contributors, please -see the F file in the Perl source distribution. + perl Porting/acknowledgements.pl v5.29.6..HEAD =head1 Reporting Bugs diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index 87423c9..4d7adbe 100644 --- a/vms/descrip_mms.template +++ b/vms/descrip_mms.template @@ -307,7 +307,7 @@ utils : $(utils1) $(utils2) $(utils3) $(utils4) $(utils5) extra.pods : miniperl @ @extra_pods.com -PERLDELTA_CURRENT = [.pod]perl5296delta.pod +PERLDELTA_CURRENT = [.pod]perl5297delta.pod $(PERLDELTA_CURRENT) : [.pod]perldelta.pod Copy/NoConfirm/Log $(MMS$SOURCE) $(PERLDELTA_CURRENT) diff --git a/win32/GNUmakefile b/win32/GNUmakefile index b89d86f..30ee571 100644 --- a/win32/GNUmakefile +++ b/win32/GNUmakefile @@ -1716,7 +1716,7 @@ utils: $(HAVEMINIPERL) ..\utils\Makefile copy ..\README.tw ..\pod\perltw.pod copy ..\README.vos ..\pod\perlvos.pod copy ..\README.win32 ..\pod\perlwin32.pod - copy ..\pod\perldelta.pod ..\pod\perl5296delta.pod + copy ..\pod\perldelta.pod ..\pod\perl5297delta.pod $(MINIPERL) -I..\lib $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. $(MINIPERL) -I..\lib ..\pod\perlmodlib.PL -q .. @@ -1814,7 +1814,7 @@ distclean: realclean -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS -cd $(PODDIR) && del /f *.html *.bat roffitall \ - perl5296delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl5297delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ perlapi.pod perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \ perldos.pod perlfreebsd.pod perlhaiku.pod perlhpux.pod \ perlhurd.pod perlintern.pod perlirix.pod perljp.pod perlko.pod \ diff --git a/win32/Makefile b/win32/Makefile index 47ae6d9..e9351e8 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1294,7 +1294,7 @@ utils: $(PERLEXE) ..\utils\Makefile copy ..\README.tw ..\pod\perltw.pod copy ..\README.vos ..\pod\perlvos.pod copy ..\README.win32 ..\pod\perlwin32.pod - copy ..\pod\perldelta.pod ..\pod\perl5296delta.pod + copy ..\pod\perldelta.pod ..\pod\perl5297delta.pod cd ..\win32 $(PERLEXE) $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. @@ -1393,7 +1393,7 @@ distclean: realclean -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS -cd $(PODDIR) && del /f *.html *.bat roffitall \ - perl5296delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl5297delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ perlapi.pod perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \ perldos.pod perlfreebsd.pod perlhaiku.pod perlhpux.pod \ perlhurd.pod perlintern.pod perlirix.pod perljp.pod perlko.pod \ diff --git a/win32/makefile.mk b/win32/makefile.mk index d813624..8e60deb 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -1677,7 +1677,7 @@ utils: $(HAVEMINIPERL) ..\utils\Makefile copy ..\README.tw ..\pod\perltw.pod copy ..\README.vos ..\pod\perlvos.pod copy ..\README.win32 ..\pod\perlwin32.pod - copy ..\pod\perldelta.pod ..\pod\perl5296delta.pod + copy ..\pod\perldelta.pod ..\pod\perl5297delta.pod $(MINIPERL) -I..\lib $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. $(MINIPERL) -I..\lib ..\pod\perlmodlib.PL -q .. @@ -1775,7 +1775,7 @@ distclean: realclean -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS -cd $(PODDIR) && del /f *.html *.bat roffitall \ - perl5296delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl5297delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ perlapi.pod perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \ perldos.pod perlfreebsd.pod perlhaiku.pod perlhpux.pod \ perlhurd.pod perlintern.pod perlirix.pod perljp.pod perlko.pod \ diff --git a/win32/pod.mak b/win32/pod.mak index 894bd76..2dcbc7a 100644 --- a/win32/pod.mak +++ b/win32/pod.mak @@ -63,6 +63,7 @@ POD = perl.pod \ perl5294delta.pod \ perl5295delta.pod \ perl5296delta.pod \ + perl5297delta.pod \ perl561delta.pod \ perl56delta.pod \ perl581delta.pod \ @@ -221,6 +222,7 @@ MAN = perl.man \ perl5294delta.man \ perl5295delta.man \ perl5296delta.man \ + perl5297delta.man \ perl561delta.man \ perl56delta.man \ perl581delta.man \ @@ -379,6 +381,7 @@ HTML = perl.html \ perl5294delta.html \ perl5295delta.html \ perl5296delta.html \ + perl5297delta.html \ perl561delta.html \ perl56delta.html \ perl581delta.html \ @@ -537,6 +540,7 @@ TEX = perl.tex \ perl5294delta.tex \ perl5295delta.tex \ perl5296delta.tex \ + perl5297delta.tex \ perl561delta.tex \ perl56delta.tex \ perl581delta.tex \ -- 1.8.3.1