diff options
-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/perl5232delta.pod | 375 | ||||
-rw-r--r-- | pod/perldelta.pod | 377 | ||||
-rw-r--r-- | vms/descrip_mms.template | 2 | ||||
-rw-r--r-- | win32/Makefile | 4 | ||||
-rw-r--r-- | win32/makefile.mk | 4 | ||||
-rw-r--r-- | win32/pod.mak | 4 |
10 files changed, 600 insertions, 178 deletions
@@ -4587,6 +4587,7 @@ pod/perl5202delta.pod Perl changes in version 5.20.2 pod/perl5220delta.pod Perl changes in version 5.22.0 pod/perl5230delta.pod Perl changes in version 5.23.0 pod/perl5231delta.pod Perl changes in version 5.23.1 +pod/perl5232delta.pod Perl changes in version 5.23.2 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 bc5837ee84..c37250e834 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -492,7 +492,7 @@ mini_obj = $(minindt_obj) $(MINIDTRACE_O) ndt_obj = $(obj0) $(obj1) $(obj2) $(obj3) $(ARCHOBJS) obj = $(ndt_obj) $(DTRACE_O) -perltoc_pod_prereqs = extra.pods pod/perl5232delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod +perltoc_pod_prereqs = extra.pods pod/perl5233delta.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 @@ -1020,9 +1020,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/perl5232delta.pod: pod/perldelta.pod - $(RMS) pod/perl5232delta.pod - $(LNS) perldelta.pod pod/perl5232delta.pod +pod/perl5233delta.pod: pod/perldelta.pod + $(RMS) pod/perl5233delta.pod + $(LNS) perldelta.pod pod/perl5233delta.pod extra.pods: $(MINIPERL_EXE) -@test ! -f extra.pods || rm -f `cat extra.pods` diff --git a/pod/.gitignore b/pod/.gitignore index 5c5000514d..e6d5475e76 100644 --- a/pod/.gitignore +++ b/pod/.gitignore @@ -53,7 +53,7 @@ /roffitall # generated -/perl5232delta.pod +/perl5233delta.pod /perlapi.pod /perlintern.pod *.html diff --git a/pod/perl.pod b/pod/perl.pod index 54283149d4..a4e8053058 100644 --- a/pod/perl.pod +++ b/pod/perl.pod @@ -180,6 +180,7 @@ aux c2ph h2ph h2xs perlbug pl2pm pod2html pod2man splain xsubpp perlhist Perl history records perldelta Perl changes since previous version + perl5232delta Perl changes in version 5.23.2 perl5231delta Perl changes in version 5.23.1 perl5230delta Perl changes in version 5.23.0 perl5220delta Perl changes in version 5.22.0 diff --git a/pod/perl5232delta.pod b/pod/perl5232delta.pod new file mode 100644 index 0000000000..220cd516a1 --- /dev/null +++ b/pod/perl5232delta.pod @@ -0,0 +1,375 @@ +=encoding utf8 + +=head1 NAME + +perl5232delta - what is new for perl v5.23.2 + +=head1 DESCRIPTION + +This document describes differences between the 5.23.1 release and the 5.23.2 +release. + +If you are upgrading from an earlier release such as 5.23.0, first read +L<perl5231delta>, which describes differences between 5.23.0 and 5.23.1. + +=head1 Incompatible Changes + +=head2 Nested declarations are now disallowed + +A C<my>, C<our>, or C<state> declaration is no longer allowed inside +of another C<my>, C<our>, or C<state> declaration. + +For example, these are now fatal: + + my ($x, my($y)); + our (my $x); + +L<[perl #125587]|https://rt.perl.org/Ticket/Display.html?id=125587> + +L<[perl #121058]|https://rt.perl.org/Ticket/Display.html?id=121058> + +=head1 Deprecations + +=head2 sysread(), syswrite(), recv() and send() are deprecated on +:utf8 handles + +The sysread(), recv(), syswrite() and send() operators +are deprecated on handles that have the C<:utf8> layer, either +explicitly, or implicitly, eg., with the C<:encoding(UTF-16LE)> layer. + +Both sysread() and recv() currently use only the C<:utf8> flag for the +stream, ignoring the actual layers. Since sysread() and recv() do no +UTF-8 validation they can end up creating invalidly encoded scalars. + +Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise +ignoring any layers. If the flag is set, both write the value UTF-8 +encoded, even if the layer is some different encoding, such as the +example above. + +Ideally, all of these operators would completely ignore the C<:utf8> +state, working only with bytes, but this would result in silently +breaking existing code. To avoid this a future version of perl will +throw an exception when any of sysread(), recv(), syswrite() or send() +are called on handle with the C<:utf8> layer. + +=head1 Performance Enhancements + +=over 4 + +=item * + +Creating Perl debugger data structures (see L<perldebguts/"Debugger Internals">) +for XSUBs and const subs has been removed. This removed one glob/scalar combo +for each unique C<.c> file that XSUBs and const subs came from. On startup +(C<perl -e"0">) about half a dozen glob/scalar debugger combos were created. +Loading XS modules created more glob/scalar combos. These things were created +regardless if the perl debugger was being used or not, unlike for pure perl +subs, and ignores that the perl debugger can not debug C code. + +=item * + +Single arguments in list assign are now slightly faster: + + ($x) = (...); + (...) = ($x); + +=back + +=head1 Modules and Pragmata + +=head2 Updated Modules and Pragmata + +=over 4 + +=item * + +The PathTools module collection has been upgraded from version 3.55 to +3.56. + +Minor optimizations. +L<[perl #125712]|https://rt.perl.org/Ticket/Display.html?id=125712> + +=item * + +L<Attribute::Handlers> has been upgraded from version 0.97 to 0.99. + +=item * + +L<CPAN::Meta::YAML> has been upgraded from version 0.016 to 0.017. + +=item * + +L<Encode> has been upgraded from version 2.75 to 2.76. + +=item * + +L<ExtUtils::ParseXS> has been upgraded from version 3.28 to 3.29. + +=item * + +L<ExtUtils::Typemaps> has been upgraded from version 3.28 to 3.29. + +=item * + +L<File::Find> has been upgraded from version 1.29 to 1.30. + +=item * + +L<File::Spec> has been upgraded from version 3.56 to 3.57. + +=item * + +L<Filter::Util::Call> has been upgraded from version 1.54 to 1.55. + +=item * + +L<Hash::Util> has been upgraded from version 0.18 to 0.19. + +C<unlock_hashref_recurse> and C<unlock_hash_recurse> didn't +actually unlock parts of the data structures... + +...now they do. + +=item * + +L<Module::CoreList> has been upgraded from version 5.20150720 to 5.20150820. + +=item * + +L<perlfaq> has been upgraded from version 5.021009 to 5.021010. + +=item * + +L<POSIX> has been upgraded from version 1.55 to 1.56. + +=item * + +L<Term::Cap> has been upgraded from version 1.15 to 1.17. + +=item * + +L<Unicode::UCD> has been upgraded from version 0.61 to 0.62. + +=back + +=head1 Documentation + +=head2 Changes to Existing Documentation + +=head3 L<perlpolicy> + +=over 4 + +=item * + +This note has been added to perlpolicy: + + While civility is required, kindness is encouraged; if you have any doubt + about whether you are being civil, simply ask yourself, "Am I being kind?" + and aspire to that. + +=back + +=head3 L<perlvar> + +=over 4 + +=item * + +Use of C<$OLD_PERL_VERSION> is now discouraged. + +=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>. + +=head2 New Diagnostics + +=head3 New Errors + +=over 4 + +=item * + +L<Can't redeclare "%s" in "%s"|perldiag/"Can't redeclare "%s" in "%s""> + +(F) A "my", "our" or "state" declaration was found within another declaration, +such as C<my ($x, my($y), $z)> or C<our (my $x)>. + +=back + +=head3 New Warnings + +=over 4 + +=item * + +L<%s() is deprecated on :utf8 handles|perldiag/"%s() is deprecated on :utf8 handles"> + +(W deprecated) The sysread(), recv(), syswrite() and send() operators +are deprecated on handles that have the C<:utf8> layer, either +explicitly, or implicitly, eg., with the C<:encoding(UTF-16LE)> layer. + +Both sysread() and recv() currently use only the C<:utf8> flag for the +stream, ignoring the actual layers. Since sysread() and recv() do no +UTF-8 validation they can end up creating invalidly encoded scalars. + +Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise +ignoring any layers. If the flag is set, both write the value UTF-8 +encoded, even if the layer is some different encoding, such as the +example above. + +Ideally, all of these operators would completely ignore the C<:utf8> +state, working only with bytes, but this would result in silently +breaking existing code. To avoid this a future version of perl will +throw an exception when any of sysread(), recv(), syswrite() or send() +are called on handle with the C<:utf8> layer. + +=back + +=head2 Changes to Existing Diagnostics + +=over 4 + +=item * + +The diagnostic C<< Hexadecimal float: internal error >> has been changed to +C<< Hexadecimal float: internal error (%s) >> to include more information. + +=back + +=head1 Configuration and Compilation + +=over 4 + +=item * + +F<Configure> should handle spaces in paths a little better. + +=back + +=head1 Testing + +=over 4 + +=item * + +A new test (F<t/op/aassign.t>) has been added to test the list assignment operator +C<OP_AASSIGN>. + +=back + +=head1 Internal Changes + +=over 4 + +=item * + +C<PL_sawalias> and C<GPf_ALIASED_SV> have been removed. + +=item * + +C<GvASSIGN_GENERATION> and C<GvASSIGN_GENERATION_set> have been removed. + +=back + +=head1 Selected Bug Fixes + +=over 4 + +=item * + +Perl can again be compiled with any Unicode version. This used to +(mostly) work, but was lost in v5.18 through v5.20. The property +C<Name_Alias> did not exist prior to Unicode 5.0. L<Unicode::UCD> +incorrectly said it did. This has been fixed. + +=item * + +Very large code-points (beyond Unicode) in regular expressions no +longer cause a buffer overflow in some cases when converted to UTF-8. +L<[perl #125826]|https://rt.perl.org/Ticket/Display.html?id=125826> + +=item * + +The integer overflow check for the range operator (...) in list +context now correctly handles the case where the size of the range is +larger than the address space. This could happen on 32-bits with +-Duse64bitint. +L<[perl #125781]|https://rt.perl.org/Ticket/Display.html?id=125781> + +=item * + +A crash with C<< %::=(); J->${\"::"} >> has been fixed. +L<[perl #125541]|https://rt.perl.org/Ticket/Display.html?id=125541> + +=back + +=head1 Acknowledgements + +Perl 5.23.2 represents approximately 4 weeks of development since Perl 5.23.1 +and contains approximately 22,000 lines of changes across 240 files from 23 +authors. + +Excluding auto-generated files, documentation and release tools, there were +approximately 17,000 lines of changes to 140 .pm, .t, .c and .h files. + +Perl continues to flourish into its third decade thanks to a vibrant community +of users and developers. The following people are known to have contributed the +improvements that became Perl 5.23.2: + +Aaron Priven, Aristotle Pagaltzis, Chris 'BinGOs' Williams, Craig A. Berry, +Dagfinn Ilmari Mannsåker, Daniel Dragan, David Mitchell, Ed J, Father +Chrysostomos, H.Merijn Brand, Ivan Pozdeev, James E Keenan, Jarkko Hietaniemi, +Karen Etheridge, Karl Williamson, Ludovic E. R. Tolhurst-Cleaver, Lukas Mai, +Matthew Horsfall, Reini Urban, Ricardo Signes, Sisyphus, Steve Hay, 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<AUTHORS> file in the Perl source distribution. + +=head1 Reporting Bugs + +If you find what you think is a bug, you might check the articles recently +posted to the comp.lang.perl.misc newsgroup and the perl bug database at +L<https://rt.perl.org/> . There may also be information at +L<http://www.perl.org/> , the Perl Home Page. + +If you believe you have an unreported bug, please run the L<perlbug> 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<perl -V>, +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 please send it +to perl5-security-report@perl.org. This points to a closed subscription +unarchived mailing list, which includes all the core committers, who will be +able to help assess the impact of issues, figure out a resolution, and help +co-ordinate the release of patches to mitigate or fix the problem across all +platforms on which Perl is supported. Please only use this address for +security issues in the Perl core, not for modules independently distributed on +CPAN. + +=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 bb1cb24aa8..fe6c8e2e5b 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -2,342 +2,383 @@ =head1 NAME -perldelta - what is new for perl v5.23.2 +[ 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.23.3 =head1 DESCRIPTION -This document describes differences between the 5.23.1 release and the 5.23.2 +This document describes differences between the 5.23.2 release and the 5.23.3 release. -If you are upgrading from an earlier release such as 5.23.0, first read -L<perl5231delta>, which describes differences between 5.23.0 and 5.23.1. +If you are upgrading from an earlier release such as 5.23.1, first read +L<perl5232delta>, which describes differences between 5.23.1 and 5.23.2. -=head1 Incompatible Changes +=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 -=head2 Nested declarations are now disallowed +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. -A C<my>, C<our>, or C<state> declaration is no longer allowed inside -of another C<my>, C<our>, or C<state> declaration. +[ List each security issue as a =head2 entry ] -For example, these are now fatal: +=head1 Incompatible Changes - my ($x, my($y)); - our (my $x); +XXX For a release on a stable branch, this section aspires to be: -L<[perl #125587]|https://rt.perl.org/Ticket/Display.html?id=125587> + 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. -L<[perl #121058]|https://rt.perl.org/Ticket/Display.html?id=121058> +[ List each incompatible change as a =head2 entry ] =head1 Deprecations -=head2 sysread(), syswrite(), recv() and send() are deprecated on -:utf8 handles +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 sysread(), recv(), syswrite() and send() operators -are deprecated on handles that have the C<:utf8> layer, either -explicitly, or implicitly, eg., with the C<:encoding(UTF-16LE)> layer. +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. -Both sysread() and recv() currently use only the C<:utf8> flag for the -stream, ignoring the actual layers. Since sysread() and recv() do no -UTF-8 validation they can end up creating invalidly encoded scalars. +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. -Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise -ignoring any layers. If the flag is set, both write the value UTF-8 -encoded, even if the layer is some different encoding, such as the -example above. +=over -Ideally, all of these operators would completely ignore the C<:utf8> -state, working only with bytes, but this would result in silently -breaking existing code. To avoid this a future version of perl will -throw an exception when any of sysread(), recv(), syswrite() or send() -are called on handle with the C<:utf8> layer. +=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 -=over 4 +XXX Changes which enhance performance without changing behaviour go here. +There may well be none in a stable release. -=item * +[ List each enhancement as a =item entry ] -Creating Perl debugger data structures (see L<perldebguts/"Debugger Internals">) -for XSUBs and const subs has been removed. This removed one glob/scalar combo -for each unique C<.c> file that XSUBs and const subs came from. On startup -(C<perl -e"0">) about half a dozen glob/scalar debugger combos were created. -Loading XS modules created more glob/scalar combos. These things were created -regardless if the perl debugger was being used or not, unlike for pure perl -subs, and ignores that the perl debugger can not debug C code. +=over 4 =item * -Single arguments in list assign are now slightly faster: - - ($x) = (...); - (...) = ($x); +XXX =back =head1 Modules and Pragmata -=head2 Updated 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 =over 4 =item * -The PathTools module collection has been upgraded from version 3.55 to -3.56. +XXX -Minor optimizations. -L<[perl #125712]|https://rt.perl.org/Ticket/Display.html?id=125712> +=back -=item * +=head2 Updated Modules and Pragmata -L<Attribute::Handlers> has been upgraded from version 0.97 to 0.99. +=over 4 =item * -L<CPAN::Meta::YAML> has been upgraded from version 0.016 to 0.017. +L<XXX> has been upgraded from version A.xx to B.yy. -=item * +=back + +=head2 Removed Modules and Pragmata -L<Encode> has been upgraded from version 2.75 to 2.76. +=over 4 =item * -L<ExtUtils::ParseXS> has been upgraded from version 3.28 to 3.29. +XXX -=item * +=back -L<ExtUtils::Typemaps> has been upgraded from version 3.28 to 3.29. +=head1 Documentation -=item * +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>. -L<File::Find> has been upgraded from version 1.29 to 1.30. +=head2 New Documentation -=item * +XXX Changes which create B<new> files in F<pod/> go here. -L<File::Spec> has been upgraded from version 3.56 to 3.57. +=head3 L<XXX> -=item * +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> -L<Filter::Util::Call> has been upgraded from version 1.54 to 1.55. +=over 4 =item * -L<Hash::Util> has been upgraded from version 0.18 to 0.19. +XXX Description of the change here -C<unlock_hashref_recurse> and C<unlock_hash_recurse> didn't -actually unlock parts of the data structures... +=back -...now they do. +=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<Module::CoreList> has been upgraded from version 5.20150720 to 5.20150820. +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<perlfaq> has been upgraded from version 5.021009 to 5.021010. +XXX Newly added diagnostic messages go under here, separated into New Errors +and New Warnings -=item * +=head3 New Errors -L<POSIX> has been upgraded from version 1.55 to 1.56. +=over 4 =item * -L<Term::Cap> has been upgraded from version 1.15 to 1.17. +XXX L<message|perldiag/"message"> + +=back + +=head3 New Warnings + +=over 4 =item * -L<Unicode::UCD> has been upgraded from version 0.61 to 0.62. +XXX L<message|perldiag/"message"> =back -=head1 Documentation - -=head2 Changes to Existing Documentation +=head2 Changes to Existing Diagnostics -=head3 L<perlpolicy> +XXX Changes (i.e. rewording) of diagnostic messages go here =over 4 =item * -This note has been added to perlpolicy: - - While civility is required, kindness is encouraged; if you have any doubt - about whether you are being civil, simply ask yourself, "Am I being kind?" - and aspire to that. +XXX Describe change here =back -=head3 L<perlvar> +=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 =item * -Use of C<$OLD_PERL_VERSION> is now discouraged. +XXX =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>. +=head1 Configuration and Compilation -=head2 New Diagnostics +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. -=head3 New Errors +[ List changes as a =item entry ]. =over 4 =item * -L<Can't redeclare "%s" in "%s"|perldiag/"Can't redeclare "%s" in "%s""> - -(F) A "my", "our" or "state" declaration was found within another declaration, -such as C<my ($x, my($y), $z)> or C<our (my $x)>. +XXX =back -=head3 New Warnings +=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 * -L<%s() is deprecated on :utf8 handles|perldiag/"%s() is deprecated on :utf8 handles"> +XXX -(W deprecated) The sysread(), recv(), syswrite() and send() operators -are deprecated on handles that have the C<:utf8> layer, either -explicitly, or implicitly, eg., with the C<:encoding(UTF-16LE)> layer. +=back -Both sysread() and recv() currently use only the C<:utf8> flag for the -stream, ignoring the actual layers. Since sysread() and recv() do no -UTF-8 validation they can end up creating invalidly encoded scalars. +=head1 Platform Support -Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise -ignoring any layers. If the flag is set, both write the value UTF-8 -encoded, even if the layer is some different encoding, such as the -example above. +XXX Any changes to platform support should be listed in the sections below. -Ideally, all of these operators would completely ignore the C<:utf8> -state, working only with bytes, but this would result in silently -breaking existing code. To avoid this a future version of perl will -throw an exception when any of sysread(), recv(), syswrite() or send() -are called on handle with the C<:utf8> layer. +[ Within the sections, list each platform as a =item entry with specific +changes as paragraphs below it. ] -=back +=head2 New Platforms -=head2 Changes to Existing Diagnostics +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 * +=item XXX-some-platform -The diagnostic C<< Hexadecimal float: internal error >> has been changed to -C<< Hexadecimal float: internal error (%s) >> to include more information. +XXX =back -=head1 Configuration and Compilation +=head2 Discontinued Platforms + +XXX List any platforms that this version of perl no longer compiles on. =over 4 -=item * +=item XXX-some-platform -F<Configure> should handle spaces in paths a little better. +XXX =back -=head1 Testing +=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 * +=item XXX-some-platform -A new test (F<t/op/aassign.t>) has been added to test the list assignment operator -C<OP_AASSIGN>. +XXX =back =head1 Internal Changes -=over 4 +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. -=item * +[ List each change as a =item entry ] -C<PL_sawalias> and C<GPf_ALIASED_SV> have been removed. +=over 4 =item * -C<GvASSIGN_GENERATION> and C<GvASSIGN_GENERATION_set> have been removed. +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 =item * -Perl can again be compiled with any Unicode version. This used to -(mostly) work, but was lost in v5.18 through v5.20. The property -C<Name_Alias> did not exist prior to Unicode 5.0. L<Unicode::UCD> -incorrectly said it did. This has been fixed. +XXX -=item * +=back -Very large code-points (beyond Unicode) in regular expressions no -longer cause a buffer overflow in some cases when converted to UTF-8. -L<[perl #125826]|https://rt.perl.org/Ticket/Display.html?id=125826> +=head1 Known Problems -=item * +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. -The integer overflow check for the range operator (...) in list -context now correctly handles the case where the size of the range is -larger than the address space. This could happen on 32-bits with --Duse64bitint. -L<[perl #125781]|https://rt.perl.org/Ticket/Display.html?id=125781> +[ List each fix as a =item entry ] + +=over 4 =item * -A crash with C<< %::=(); J->${\"::"} >> has been fixed. -L<[perl #125541]|https://rt.perl.org/Ticket/Display.html?id=125541> +XXX =back -=head1 Acknowledgements +=head1 Errata From Previous Releases -Perl 5.23.2 represents approximately 4 weeks of development since Perl 5.23.1 -and contains approximately 22,000 lines of changes across 240 files from 23 -authors. +=over 4 + +=item * -Excluding auto-generated files, documentation and release tools, there were -approximately 17,000 lines of changes to 140 .pm, .t, .c and .h files. +XXX Add anything here that we forgot to add, or were mistaken about, in +the perldelta of a previous release. -Perl continues to flourish into its third decade thanks to a vibrant community -of users and developers. The following people are known to have contributed the -improvements that became Perl 5.23.2: +=back + +=head1 Obituary -Aaron Priven, Aristotle Pagaltzis, Chris 'BinGOs' Williams, Craig A. Berry, -Dagfinn Ilmari Mannsåker, Daniel Dragan, David Mitchell, Ed J, Father -Chrysostomos, H.Merijn Brand, Ivan Pozdeev, James E Keenan, Jarkko Hietaniemi, -Karen Etheridge, Karl Williamson, Ludovic E. R. Tolhurst-Cleaver, Lukas Mai, -Matthew Horsfall, Reini Urban, Ricardo Signes, Sisyphus, Steve Hay, Tony Cook. +XXX If any significant core contributor has died, we've added 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<AUTHORS> file in the Perl source distribution. + perl Porting/acknowledgements.pl v5.23.2..HEAD =head1 Reporting Bugs diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index f47f4a52a0..701e424794 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]perl5232delta.pod +PERLDELTA_CURRENT = [.pod]perl5233delta.pod $(PERLDELTA_CURRENT) : [.pod]perldelta.pod Copy/NoConfirm/Log $(MMS$SOURCE) $(PERLDELTA_CURRENT) diff --git a/win32/Makefile b/win32/Makefile index a2fb2aa0aa..74372c39ab 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1195,7 +1195,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\perl5232delta.pod + copy ..\pod\perldelta.pod ..\pod\perl5233delta.pod cd ..\win32 $(PERLEXE) $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. @@ -1291,7 +1291,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 \ - perl5232delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl5233delta.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 c74b5bb0ff..384430362b 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -1479,7 +1479,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\perl5232delta.pod + copy ..\pod\perldelta.pod ..\pod\perl5233delta.pod $(PERLEXE) $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. $(MINIPERL) -I..\lib ..\pod\perlmodlib.PL -q .. @@ -1574,7 +1574,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 \ - perl5232delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl5233delta.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 44344b37bf..8f996a752f 100644 --- a/win32/pod.mak +++ b/win32/pod.mak @@ -43,6 +43,7 @@ POD = perl.pod \ perl5230delta.pod \ perl5231delta.pod \ perl5232delta.pod \ + perl5233delta.pod \ perl561delta.pod \ perl56delta.pod \ perl581delta.pod \ @@ -180,6 +181,7 @@ MAN = perl.man \ perl5230delta.man \ perl5231delta.man \ perl5232delta.man \ + perl5233delta.man \ perl561delta.man \ perl56delta.man \ perl581delta.man \ @@ -317,6 +319,7 @@ HTML = perl.html \ perl5230delta.html \ perl5231delta.html \ perl5232delta.html \ + perl5233delta.html \ perl561delta.html \ perl56delta.html \ perl581delta.html \ @@ -454,6 +457,7 @@ TEX = perl.tex \ perl5230delta.tex \ perl5231delta.tex \ perl5232delta.tex \ + perl5233delta.tex \ perl561delta.tex \ perl56delta.tex \ perl581delta.tex \ |