diff options
author | Sawyer X <xsawyerx@cpan.org> | 2022-03-20 17:46:29 +0100 |
---|---|---|
committer | Sawyer X <xsawyerx@cpan.org> | 2022-03-20 17:46:29 +0100 |
commit | 78684fb7b2a4ad6430274a76ec343847dbe4b313 (patch) | |
tree | 9c7bb574fea1fabbbaf0452fc3e8b72634f7c333 | |
parent | 6a3f3131c9aa96fd67a3da04a7c58d0e2f9e55c7 (diff) | |
download | perl-78684fb7b2a4ad6430274a76ec343847dbe4b313.tar.gz |
New perldelta for 5.35.11
-rw-r--r-- | MANIFEST | 1 | ||||
-rwxr-xr-x | Makefile.SH | 8 | ||||
-rw-r--r-- | pod/.gitignore | 2 | ||||
-rw-r--r-- | pod/perl.pod | 1 | ||||
-rw-r--r-- | pod/perl53510delta.pod | 315 | ||||
-rw-r--r-- | pod/perldelta.pod | 426 | ||||
-rw-r--r-- | vms/descrip_mms.template | 2 | ||||
-rw-r--r-- | win32/GNUmakefile | 4 | ||||
-rw-r--r-- | win32/Makefile | 4 | ||||
-rw-r--r-- | win32/pod.mak | 4 |
10 files changed, 608 insertions, 159 deletions
@@ -5287,6 +5287,7 @@ pod/perl5321delta.pod Perl changes in version 5.32.1 pod/perl5340delta.pod Perl changes in version 5.34.0 pod/perl5341delta.pod Perl changes in version 5.34.1 pod/perl5350delta.pod Perl changes in version 5.35.0 +pod/perl53510delta.pod Perl changes in version 5.35.10 pod/perl5351delta.pod Perl changes in version 5.35.1 pod/perl5352delta.pod Perl changes in version 5.35.2 pod/perl5353delta.pod Perl changes in version 5.35.3 diff --git a/Makefile.SH b/Makefile.SH index 0bc65f8896..074ae00fdd 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -613,7 +613,7 @@ esac $spitshell >>$Makefile <<'!NO!SUBS!' -perltoc_pod_prereqs = extra.pods pod/perl53510delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod +perltoc_pod_prereqs = extra.pods pod/perl53511delta.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 @@ -1129,9 +1129,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/perl53510delta.pod: pod/perldelta.pod - $(RMS) pod/perl53510delta.pod - $(LNS) perldelta.pod pod/perl53510delta.pod +pod/perl53511delta.pod: pod/perldelta.pod + $(RMS) pod/perl53511delta.pod + $(LNS) perldelta.pod pod/perl53511delta.pod extra.pods: $(MINIPERL_EXE) -@test ! -f extra.pods || rm -f `cat extra.pods` diff --git a/pod/.gitignore b/pod/.gitignore index c2ceba51b9..e47d3a5994 100644 --- a/pod/.gitignore +++ b/pod/.gitignore @@ -48,7 +48,7 @@ /roffitall # generated -/perl53510delta.pod +/perl53511delta.pod /perlapi.pod /perlintern.pod /perlmodlib.pod diff --git a/pod/perl.pod b/pod/perl.pod index 742d5560dd..bd4d1ced66 100644 --- a/pod/perl.pod +++ b/pod/perl.pod @@ -179,6 +179,7 @@ aux h2ph h2xs perlbug pl2pm pod2html pod2man splain xsubpp perlhist Perl history records perldelta Perl changes since previous version + perl53510delta Perl changes in version 5.35.10 perl5359delta Perl changes in version 5.35.9 perl5358delta Perl changes in version 5.35.8 perl5357delta Perl changes in version 5.35.7 diff --git a/pod/perl53510delta.pod b/pod/perl53510delta.pod new file mode 100644 index 0000000000..bd1f0e2b9d --- /dev/null +++ b/pod/perl53510delta.pod @@ -0,0 +1,315 @@ +=encoding utf8 + +=head1 NAME + +perl53510delta - what is new for perl v5.35.10 + +=head1 DESCRIPTION + +This document describes differences between the 5.35.9 release and the 5.35.10 +release. + +If you are upgrading from an earlier release such as 5.35.8, first read +L<perl5359delta>, which describes differences between 5.35.8 and 5.35.9. + +=head1 Core Enhancements + +=head2 New function C<builtin::trim> + +This function treats its argument as a string, returning the result of +removing all white space at its beginning and ending. See +L<builtin/trim> + +=head2 Variable length lookbehind is mostly no longer considered experimental. + +Prior to this release any form of variable length lookbehind was +considered experimental. With this release the experimental status has +been reduced to cover only lookbehind that contains capturing parenthesis. +This is because it is not clear if + + "aaz"=~/(?=z)(?<=(a|aa))/ + +should match and leave $1 equaling "a" or "aa". Currently it will match +the longest possible alternative, "aa". We are confident that the overall +construct will now match only when it should, we are not confident that we +will keep the current "longest match" behavior. + +=head2 Added 'builtin::indexed' + +A new function has been added to the C<builtin> package, called C<indexed>. +It returns a list twice as big as its argument list, where each item is +preceded by its index within that list. This is primarily useful for using +the new C<foreach> syntax with multiple iterator variables to iterate over +an array or list, while also tracking the index of each item: + + use builtin 'indexed'; + + foreach my ($index, $val) (indexed @array) { + ... + } + +=head2 Added experimental feature 'extra_paired_delimiters' + +Perl traditionally has allowed just four pairs of string/pattern +delimiters: S<C<( )>> S<C<{ }>> S<C<[ ]>> and S<C<< < > >>>, all in the +ASCII range. Unicode has hundreds more possibilities, and using this +feature enables many of them. When enabled, you can say S<C<qr« »>> for +example, or S<C<use utf8; <q𝄃string𝄂>>. See +L<feature/The 'extra_paired_delimiters' feature> for +details. + +=head1 Performance Enhancements + +=over 4 + +=item * + +Large hashes no longer allocate their keys from the shared string table. + +The same internal datatype (C<PVHV>) is used for all of + +=over 4 + +=item * + +Symbol tables + +=item * + +Objects (by default) + +=item * + +Associative arrays + +=back + +The shared string table was originally added to improve performance for blessed +hashes used as objects, because every object instance has the same keys, so it +is an optimisation to share memory between them. It also makes sense for symbol +tables, where derived classes will have the same keys (typically method names), +and the OP trees built for method calls can also share memory. The shared +string table behaves roughly like a cache for hash keys. + +But for hashes actually used as associative arrays - mapping keys to values - +typically the keys are not re-used in other hashes. For example, "seen" hashes +are keyed by object IDs (or addresses), and logically these keys won't repeat +in other hashes. + +Storing these "used just once" keys in the shared string table increases CPU +and RAM use for no gain. For such keys the shared string table behaves as a +cache with a 0% hit rate. Storing all the keys there increases the total size +of the shared string table, as well as increasing the number of times it is +resized as it grows. B<Worse> - in any environment that has "copy on write" +memory for child process (such as a pre-forking server), the memory pages used +for the shared string table rapidly need to be copied as the child process +manipulates hashes. Hence if most of the shared string table is such keys that +are used only in one place, there is no benefit from re-use within the perl +interpreter, but a high cost due to more pages for the OS to copy. + +The perl interpreter now disables shared hash keys for "large" hashes (that are +neither objects nor symbol tables). "Large" is a heuristic - currently the +heuristic is that sharing is disabled when adding a key to a hash triggers +allocation of more storage, and the hash has more than 42 keys. + +This B<might> cause slightly increased memory usage for programs that create +(unblessed) data structures that contain multiple large hashes that share the +same keys. But generally our testing suggests that for the specific cases +described it is a win, and other code is unaffected. + +=back + +=head1 Modules and Pragmata + +=head2 Updated Modules and Pragmata + +=over 4 + +=item * + +L<Attribute::Handlers> has been upgraded from version 1.01 to 1.02. + +=item * + +L<B::Deparse> has been upgraded from version 1.62 to 1.63. + +=item * + +L<DB_File> has been upgraded from version 1.856 to 1.857. + +=item * + +L<Devel::PPPort> has been upgraded from version 3.64 to 3.68. + +=item * + +L<experimental> has been upgraded from version 0.027 to 0.028. + +=item * + +L<ExtUtils::ParseXS> has been upgraded from version 3.44 to 3.45. + +=item * + +L<ExtUtils::Typemaps> has been upgraded from version 3.44 to 3.45. + +=item * + +L<feature> has been upgraded from version 1.70 to 1.71. + +=item * + +L<File::Spec> has been upgraded from version 3.83 to 3.84. + +=item * + +L<GDBM_File> has been upgraded from version 1.22 to 1.23. + +=item * + +L<Module::CoreList> has been upgraded from version 5.20220220 to 5.20220320. + +=item * + +L<Opcode> has been upgraded from version 1.56 to 1.57. + +=item * + +L<Scalar::Util> has been upgraded from version 1.61 to 1.62. + +=item * + +L<Test::Simple> has been upgraded from version 1.302188 to 1.302190. + +=item * + +L<warnings> has been upgraded from version 1.57 to 1.58. + +=item * + +L<XS::APItest> has been upgraded from version 1.21 to 1.22. + +=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<https://github.com/Perl/perl5/issues>. + +=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>. + +=head2 New Diagnostics + +=head3 New Errors + +=over 4 + +=item * + +L<Wide character in $0|perldiag/"Wide character in %s"> + +Attempts to put wide characters into the program name (C<$0>) now +provoke this warning. + +=back + +=head2 Changes to Existing Diagnostics + +=over 4 + +=item * New 'scalar' category for "Useless use of sort in scalar context" + +When C<sort> is used in scalar context, it provokes a warning that this is not +useful. This warning used to be in the C<void> category. A new category for +warnings about scalar context has now been added, called C<scalar>. + +=back + +=head1 Internal Changes + +=over 4 + +=item * + +C<sv_dump> (and L<Devel::Peek>’s C<Dump> function) now escapes high-bit +octets in the PV as hex rather than octal. Since most folks understand hex +more readily than octal, this should make these dumps a bit more legible. +This does B<not> affect any other diagnostic interfaces like C<pv_display>. + +=back + +=head1 Acknowledgements + +Perl 5.35.10 represents approximately 4 weeks of development since Perl +5.35.9 and contains approximately 15,000 lines of changes across 300 files +from 26 authors. + +Excluding auto-generated files, documentation and release tools, there were +approximately 6,900 lines of changes to 190 .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.35.10: + +Bernd, Brad Barden, Chad Granum, cuishuang, Curtis Poe, Dagfinn Ilmari +Mannsåker, Daniel Laügt, Felipe Gasper, Graham Knop, Hugo van der Sanden, +James E Keenan, Karl Williamson, Leon Timmermans, Matthew Horsfall, Michiel +Beijen, Nicholas Clark, Nicolas R, Paul Evans, Renee Baecker, Ricardo +Signes, Richard Leach, Sawyer X, Sisyphus, Steve Hay, TAKAI Kousuke, Yves +Orton. + +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<AUTHORS> 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<https://github.com/Perl/perl5/issues>. There may also be information at +L<http://www.perl.org/>, the Perl Home Page. + +If you believe you have an unreported bug, please open an issue at +L<https://github.com/Perl/perl5/issues>. 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<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> +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<perlthanks> program: + + perlthanks + +This will send an email to the Perl 5 Porters list with your show of thanks. + +=head1 SEE ALSO + +The F<Changes> file for an explanation of how to view exhaustive details on +what changed. + +The F<INSTALL> file for how to build Perl. + +The F<README> file for general stuff. + +The F<Artistic> and F<Copying> files for copyright information. + +=cut diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 10182f1a64..e76912aa47 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -2,280 +2,408 @@ =head1 NAME -perldelta - what is new for perl v5.35.10 +[ 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.35.11 =head1 DESCRIPTION -This document describes differences between the 5.35.9 release and the 5.35.10 +This document describes differences between the 5.35.10 release and the 5.35.11 release. -If you are upgrading from an earlier release such as 5.35.8, first read -L<perl5359delta>, which describes differences between 5.35.8 and 5.35.9. +If you are upgrading from an earlier release such as 5.35.9, first read +L<perl53510delta>, which describes differences between 5.35.9 and 5.35.10. + +=head1 Notice + +XXX Any important notices here =head1 Core Enhancements -=head2 New function C<builtin::trim> +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 +vulnerabilities closed should be noted here rather than in the +L</Selected Bug Fixes> section. + +[ List each security issue as a =head2 entry ] + +=head1 Incompatible Changes + +XXX For a release on a stable branch, this section aspires to be: -This function treats its argument as a string, returning the result of -removing all white space at its beginning and ending. See -L<builtin/trim> + 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. -=head2 Variable length lookbehind is mostly no longer considered experimental. +[ List each incompatible change as a =head2 entry ] -Prior to this release any form of variable length lookbehind was -considered experimental. With this release the experimental status has -been reduced to cover only lookbehind that contains capturing parenthesis. -This is because it is not clear if +=head1 Deprecations - "aaz"=~/(?=z)(?<=(a|aa))/ +XXX Any deprecated features, syntax, modules etc. should be listed here. -should match and leave $1 equaling "a" or "aa". Currently it will match -the longest possible alternative, "aa". We are confident that the overall -construct will now match only when it should, we are not confident that we -will keep the current "longest match" behavior. +=head2 Module removals -=head2 Added 'builtin::indexed' +XXX Remove this section if not applicable. -A new function has been added to the C<builtin> package, called C<indexed>. -It returns a list twice as big as its argument list, where each item is -preceded by its index within that list. This is primarily useful for using -the new C<foreach> syntax with multiple iterator variables to iterate over -an array or list, while also tracking the index of each 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. - use builtin 'indexed'; +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. - foreach my ($index, $val) (indexed @array) { - ... - } +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 Added experimental feature 'extra_paired_delimiters' +=over -Perl traditionally has allowed just four pairs of string/pattern -delimiters: S<C<( )>> S<C<{ }>> S<C<[ ]>> and S<C<< < > >>>, all in the -ASCII range. Unicode has hundreds more possibilities, and using this -feature enables many of them. When enabled, you can say S<C<qr« »>> for -example, or S<C<use utf8; <q𝄃string𝄂>>. See -L<feature/The 'extra_paired_delimiters' feature> for -details. +=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 an =item entry ] + =over 4 =item * -Large hashes no longer allocate their keys from the shared string table. +XXX + +=back + +=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. + +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.) -The same internal datatype (C<PVHV>) is used for all of +[ Within each section, list entries as an =item entry ] + +=head2 New Modules and Pragmata =over 4 =item * -Symbol tables +XXX Remove this section if not applicable. -=item * +=back + +=head2 Updated Modules and Pragmata -Objects (by default) +=over 4 =item * -Associative arrays +L<XXX> has been upgraded from version A.xx to B.yy. + +If there was something important to note about this change, include that here. =back -The shared string table was originally added to improve performance for blessed -hashes used as objects, because every object instance has the same keys, so it -is an optimisation to share memory between them. It also makes sense for symbol -tables, where derived classes will have the same keys (typically method names), -and the OP trees built for method calls can also share memory. The shared -string table behaves roughly like a cache for hash keys. - -But for hashes actually used as associative arrays - mapping keys to values - -typically the keys are not re-used in other hashes. For example, "seen" hashes -are keyed by object IDs (or addresses), and logically these keys won't repeat -in other hashes. - -Storing these "used just once" keys in the shared string table increases CPU -and RAM use for no gain. For such keys the shared string table behaves as a -cache with a 0% hit rate. Storing all the keys there increases the total size -of the shared string table, as well as increasing the number of times it is -resized as it grows. B<Worse> - in any environment that has "copy on write" -memory for child process (such as a pre-forking server), the memory pages used -for the shared string table rapidly need to be copied as the child process -manipulates hashes. Hence if most of the shared string table is such keys that -are used only in one place, there is no benefit from re-use within the perl -interpreter, but a high cost due to more pages for the OS to copy. - -The perl interpreter now disables shared hash keys for "large" hashes (that are -neither objects nor symbol tables). "Large" is a heuristic - currently the -heuristic is that sharing is disabled when adding a key to a hash triggers -allocation of more storage, and the hash has more than 42 keys. - -This B<might> cause slightly increased memory usage for programs that create -(unblessed) data structures that contain multiple large hashes that share the -same keys. But generally our testing suggests that for the specific cases -described it is a win, and other code is unaffected. +=head2 Removed Modules and Pragmata + +=over 4 + +=item * + +XXX =back -=head1 Modules and Pragmata +=head1 Documentation -=head2 Updated Modules and Pragmata +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 + +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<https://github.com/Perl/perl5/issues>. + +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. + +Additionally, the following selected changes have been made: + +=head3 L<XXX> =over 4 =item * -L<Attribute::Handlers> has been upgraded from version 1.01 to 1.02. +XXX Description of the change here -=item * +=back -L<B::Deparse> has been upgraded from version 1.62 to 1.63. +=head1 Diagnostics -=item * +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>. -L<DB_File> has been upgraded from version 1.856 to 1.857. +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 -L<Devel::PPPort> has been upgraded from version 3.64 to 3.68. +XXX Newly added diagnostic messages go under here, separated into New Errors +and New Warnings -=item * +=head3 New Errors -L<experimental> has been upgraded from version 0.027 to 0.028. +=over 4 =item * -L<ExtUtils::ParseXS> has been upgraded from version 3.44 to 3.45. +XXX L<message|perldiag/"message"> -=item * +=back -L<ExtUtils::Typemaps> has been upgraded from version 3.44 to 3.45. +=head3 New Warnings + +=over 4 =item * -L<feature> has been upgraded from version 1.70 to 1.71. +XXX L<message|perldiag/"message"> -=item * +=back -L<File::Spec> has been upgraded from version 3.83 to 3.84. +=head2 Changes to Existing Diagnostics -=item * +XXX Changes (i.e. rewording) of diagnostic messages go here -L<GDBM_File> has been upgraded from version 1.22 to 1.23. +=over 4 =item * -L<Module::CoreList> has been upgraded from version 5.20220220 to 5.20220320. +XXX Describe change here -=item * +=back -L<Opcode> has been upgraded from version 1.56 to 1.57. +=head1 Utility Changes -=item * +XXX Changes to installed programs such as F<perldoc> and F<xsubpp> go here. +Most of these are built within the directory F<utils>. -L<Scalar::Util> has been upgraded from version 1.61 to 1.62. +[ 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. ] -=item * +=head2 L<XXX> -L<Test::Simple> has been upgraded from version 1.302188 to 1.302190. +=over 4 =item * -L<warnings> has been upgraded from version 1.57 to 1.58. +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 an =item entry ]. + +=over 4 =item * -L<XS::APItest> has been upgraded from version 1.21 to 1.22. +XXX =back -=head1 Documentation +=head1 Testing -=head2 Changes to Existing Documentation +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. -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<https://github.com/Perl/perl5/issues>. +XXX If there were no significant test changes, say this: -=head1 Diagnostics +Tests were added and changed to reflect the other additions and changes +in this release. -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 If instead there were significant changes, say this: -=head2 New Diagnostics +Tests were added and changed to reflect the other additions and +changes in this release. Furthermore, these significant changes were +made: -=head3 New Errors +[ List each test improvement as an =item entry ] =over 4 =item * -L<Wide character in $0|perldiag/"Wide character in %s"> +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 an =item entry with specific +changes as paragraphs below it. ] -Attempts to put wide characters into the program name (C<$0>) now -provoke this warning. +=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 Changes to Existing Diagnostics +=head2 Discontinued Platforms + +XXX List any platforms that this version of perl no longer compiles on. =over 4 -=item * New 'scalar' category for "Useless use of sort in scalar context" +=item XXX-some-platform -When C<sort> is used in scalar context, it provokes a warning that this is not -useful. This warning used to be in the C<void> category. A new category for -warnings about scalar context has now been added, called C<scalar>. +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 an =item entry ] + =over 4 =item * -C<sv_dump> (and L<Devel::Peek>’s C<Dump> function) now escapes high-bit -octets in the PV as hex rather than octal. Since most folks understand hex -more readily than octal, this should make these dumps a bit more legible. -This does B<not> affect any other diagnostic interfaces like C<pv_display>. +XXX =back -=head1 Acknowledgements +=head1 Selected Bug Fixes -Perl 5.35.10 represents approximately 4 weeks of development since Perl -5.35.9 and contains approximately 15,000 lines of changes across 300 files -from 26 authors. +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>. -Excluding auto-generated files, documentation and release tools, there were -approximately 6,900 lines of changes to 190 .pm, .t, .c and .h files. +[ List each fix as an =item entry ] -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.35.10: +=over 4 + +=item * -Bernd, Brad Barden, Chad Granum, cuishuang, Curtis Poe, Dagfinn Ilmari -Mannsåker, Daniel Laügt, Felipe Gasper, Graham Knop, Hugo van der Sanden, -James E Keenan, Karl Williamson, Leon Timmermans, Matthew Horsfall, Michiel -Beijen, Nicholas Clark, Nicolas R, Paul Evans, Renee Baecker, Ricardo -Signes, Richard Leach, Sawyer X, Sisyphus, Steve Hay, TAKAI Kousuke, Yves -Orton. +XXX + +=back -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 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 an =item entry ] + +=over 4 + +=item * + +XXX + +=back + +=head1 Errata From Previous Releases + +=over 4 + +=item * + +XXX Add anything here that we forgot to add, or were mistaken about, in +the perldelta of a previous release. + +=back + +=head1 Obituary + +XXX If any significant core contributor or member of the CPAN community has +died, add a short obituary here. + +=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<AUTHORS> file in the Perl source distribution. + perl Porting/acknowledgements.pl v5.35.10..HEAD =head1 Reporting Bugs diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index 91d8fa5623..2f9d981432 100644 --- a/vms/descrip_mms.template +++ b/vms/descrip_mms.template @@ -313,7 +313,7 @@ utils : $(utils1) $(utils2) $(utils3) $(utils4) $(utils5) extra.pods : miniperl @ @extra_pods.com -PERLDELTA_CURRENT = [.pod]perl53510delta.pod +PERLDELTA_CURRENT = [.pod]perl53511delta.pod $(PERLDELTA_CURRENT) : [.pod]perldelta.pod Copy/NoConfirm/Log $(MMS$SOURCE) $(PERLDELTA_CURRENT) diff --git a/win32/GNUmakefile b/win32/GNUmakefile index bb57d02e01..993e505eb8 100644 --- a/win32/GNUmakefile +++ b/win32/GNUmakefile @@ -1625,7 +1625,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\perl53510delta.pod + copy ..\pod\perldelta.pod ..\pod\perl53511delta.pod $(MINIPERL) -I..\lib $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. $(MINIPERL) -I..\lib ..\pod\perlmodlib.PL -q .. @@ -1724,7 +1724,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 \ - perl53510delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl53511delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ perlapi.pod perlbs2000.pod perlcn.pod perlcygwin.pod \ perlfreebsd.pod perlhaiku.pod perlhpux.pod perlhurd.pod \ perlintern.pod perlirix.pod perljp.pod perlko.pod perllinux.pod \ diff --git a/win32/Makefile b/win32/Makefile index a1f63344d2..370bd3eb26 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1152,7 +1152,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\perl53510delta.pod + copy ..\pod\perldelta.pod ..\pod\perl53511delta.pod cd ..\win32 $(PERLEXE) $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. @@ -1252,7 +1252,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 \ - perl53510delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl53511delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ perlapi.pod perlbs2000.pod perlcn.pod perlcygwin.pod \ perlfreebsd.pod perlhaiku.pod perlhpux.pod perlhurd.pod \ perlintern.pod perlirix.pod perljp.pod perlko.pod perllinux.pod \ diff --git a/win32/pod.mak b/win32/pod.mak index 2f15233591..28a554c22f 100644 --- a/win32/pod.mak +++ b/win32/pod.mak @@ -68,6 +68,7 @@ POD = perl.pod \ perl5341delta.pod \ perl5350delta.pod \ perl53510delta.pod \ + perl53511delta.pod \ perl5351delta.pod \ perl5352delta.pod \ perl5353delta.pod \ @@ -243,6 +244,7 @@ MAN = perl.man \ perl5341delta.man \ perl5350delta.man \ perl53510delta.man \ + perl53511delta.man \ perl5351delta.man \ perl5352delta.man \ perl5353delta.man \ @@ -418,6 +420,7 @@ HTML = perl.html \ perl5341delta.html \ perl5350delta.html \ perl53510delta.html \ + perl53511delta.html \ perl5351delta.html \ perl5352delta.html \ perl5353delta.html \ @@ -593,6 +596,7 @@ TEX = perl.tex \ perl5341delta.tex \ perl5350delta.tex \ perl53510delta.tex \ + perl53511delta.tex \ perl5351delta.tex \ perl5352delta.tex \ perl5353delta.tex \ |