X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/42fe78406bbf57b4d5ea6e4991bbe18d2ffddc50..e7bc593485cfd538614dec2ab351c68f94c75c39:/pod/perldelta.pod diff --git a/pod/perldelta.pod b/pod/perldelta.pod index bda2408..9f66925 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -2,296 +2,400 @@ =head1 NAME -perldelta - what is new for perl v5.23.0 +[ 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.22.0 release and the 5.23.0 +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.1, first read +L, which describes differences between 5.23.1 and 5.23.2. + +=head1 Notice + +XXX Any important notices here + =head1 Core Enhancements -=head2 Unicode 8.0 is now supported +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. -For details on what is in this release, see -L. +[ List each enhancement as a =head2 entry ] -=head2 Postfix dereferencing is no longer experimental +=head2 C now works in UTF-8 locales -Using the C and C features no longer emits a warning. -Existing code that disables that warning category will continue to work. The -C<5.24> feature bundle now includes those features. +L +now will successfully compile when S> is in effect. The compiled +pattern will use standard Unicode rules. If the runtime locale is not a +UTF-8 one, a warning is raised and standard Unicode rules are used +anyway. No tainting is done since the outcome does not actually depend +on the locale. + +=head1 Security + +XXX Any security-related notices go here. In particular, any security +vulnerabilities closed should be noted here rather than in the +L section. + +[ List each security issue as a =head2 entry ] =head1 Incompatible Changes -=head2 The C character class has been removed. +XXX For a release on a stable branch, this section aspires to be: -This regular expression character class was deprecated in v5.20.0 and has -produced a deprecation warning since v5.22.0. It is now a compile-time -error. If you need to examine the individual bytes that make up a -UTF8-encoded character, then use C on the string (or a -copy) first. + 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. -=head2 C no longer chdirs home +[ List each incompatible change as a =head2 entry ] -Using C or C to chdir home has been deprecated since -perl v5.8, and will now fail. Use C instead. +=head1 Deprecations -=head1 Modules and Pragmata +XXX Any deprecated features, syntax, modules etc. should be listed here. -=head2 Updated Modules and Pragmata +=head2 Module removals + +XXX Remove this section if inapplicable. + +The following modules will be removed from the core distribution in a +future release, and will at that time need to be installed from CPAN. +Distributions on CPAN which require these modules will need to list them as +prerequisites. + +The core versions of these modules will now issue C<"deprecated">-category +warnings to alert you to this fact. To silence these deprecation warnings, +install the modules in question from CPAN. + +Note that these are (with rare exceptions) fine modules that you are encouraged +to continue to use. Their disinclusion from core primarily hinges on their +necessity to bootstrapping a fully functional, CPAN-capable Perl installation, +not usually on concerns over their design. + +=over + +=item XXX + +XXX Note that deprecated modules should be listed here even if they are listed +as an updated module in the L section. + +=back + +[ List each other deprecation as a =head2 entry ] + +=head1 Performance Enhancements + +XXX Changes which enhance performance without changing behaviour go here. +There may well be none in a stable release. + +[ List each enhancement as a =item entry ] =over 4 =item * -The libnet distribution has been upgraded from version 3.05 to 3.06. +XXX -=item * +=back -The Scalar-List-Utils distribution has been upgraded from version 1.41 to 1.42. +=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 2.26 to 2.27. +[ Within each section, list entries as a =item entry ] -=item * +=head2 New Modules and Pragmata -L has been upgraded from version 2.150001 to 2.150005. +=over 4 =item * -L has been upgraded from version 2.132 to 2.133. +XXX -=item * +=back + +=head2 Updated Modules and Pragmata -L has been upgraded from version 0.012 to 0.016. +=over 4 =item * -L has been upgraded from version 2.72 to 2.75. +L has been upgraded from version A.xx to B.yy. -=item * +=back -L has been upgraded from version 2.14 to 2.15. +=head2 Removed Modules and Pragmata + +=over 4 =item * -L has been upgraded from version 0.280221 to 0.280223. +XXX -=item * +=back -L has been upgraded from version 1.40 to 1.41. +=head1 Documentation -=item * +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. -L has been upgraded from version 2.45 to 2.46. +=head2 New Documentation -=item * +XXX Changes which create B files in F go here. -L has been upgraded from version 0.054 to 0.056. +=head3 L -=item * +XXX Description of the purpose of the new file here -L has been upgraded from version 1.41 to 1.42_01. +=head2 Changes to Existing Documentation -=item * +XXX Changes which significantly change existing files in F go here. +However, any changes to F should go in the L +section. -L has been upgraded from version 3.34 to 3.35. +=head3 L + +=over 4 =item * -L has been upgraded from version 1.9997 to 1.999701. +XXX Description of the change here -Correct the behaviour of bdiv() and bmod() in list context. [perl #124300] +=back -Correct C<< Math::BigInt->new() >> for non-integer input. [perl #124325] +=head1 Diagnostics -Speed up Math::BigFloat -> blog(). [perl #124382] +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. -Fix bug in Math::BigFloat's bceil() and bint() methods. [perl #124412] +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. -=item * +=head2 New Diagnostics -L has been upgraded from version 0.2608 to 0.260801. +XXX Newly added diagnostic messages go under here, separated into New Errors +and New Warnings -Correct the behaviour of bdiv() and bmod() in list context. [perl #124303] +=head3 New Errors + +=over 4 =item * -L has been upgraded from version 5.20150520 to 5.20150620. +XXX L -=item * +=back + +=head3 New Warnings -L has been upgraded from version 1.000026 to 1.000027. +=over 4 =item * -L has been upgraded from version 0.232 to 0.234. +XXX L -=item * +=back + +=head2 Changes to Existing Diagnostics -L has been upgraded from version 1.4414 to 1.4417. +XXX Changes (i.e. rewording) of diagnostic messages go here + +=over 4 =item * -L has been upgraded from version 1.49 to 1.49_01. +XXX Describe change here -User actions are no longer evaluated after the script under the -debugger finishes. [perl #71678] +=back -=item * +=head1 Utility Changes -L has been upgraded from version 3.29 to 3.30. +XXX Changes to installed programs such as F and F go here. +Most of these are built within the directory F. -=item * +[ 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. ] -L has been upgraded from version 1.64 to 1.67. +=head2 L + +=over 4 =item * -L has been upgraded from version 1.53 to 1.54. +XXX -The NaN payload API has been implemented (getpayload, setpayload, -setpayloadsig, issignaling). +=back -=item * +=head1 Configuration and Compilation -L has been upgraded from version 1.41 to 1.42_01. +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. -=item * +[ List changes as a =item entry ]. -L has been upgraded from version 2.018 to 2.020. +=over 4 =item * -L has been upgraded from version 2.01 to 2.02. +XXX -=item * +=back -L has been upgraded from version 1.29 to 1.30. +=head1 Testing -=item * +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. -L has been upgraded from version 1.12 to 1.13. +[ List each test improvement as a =item entry ] -Don't import from L in its documentation, it no longer -exports anything. [perl #125410] +=over 4 + +=item * + +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 a =item entry with specific +changes as paragraphs below it. ] -=item VMS +=head2 New Platforms -=over +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 -The minimum supported version of VMS is now v7.3-2, released in 2003. As a -side effect of this change, VAX is no longer supported as the terminal -release of OpenVMS VAX was v7.3 in 2001. +=item XXX-some-platform + +XXX =back -=item Win32 +=head2 Discontinued Platforms -=over +XXX List any platforms that this version of perl no longer compiles on. -=item * +=over 4 -Visual C++ 2013 builds will now execute on XP and higher. Previously they would -only execute on Vista and higher. +=item XXX-some-platform -=item * +XXX -You can now build perl with GNU Make and GCC. [perl #123440] +=back -=item * +=head2 Platform-Specific Notes -C now works for files over 4GB in size. -[perl #125347] +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. -=back +=over 4 + +=item XXX-some-platform + +XXX =back -=head1 Selected Bug Fixes +=head1 Internal Changes + +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. + +[ List each change as a =item entry ] =over 4 =item * -Duplicating a closed file handle for write no longer creates a -filename of the form F. [perl #125115] +XXX -=item * +=back -Warning fatality is now ignored when rewinding the stack. This -prevents infinite recursion when the now fatal error also causes -rewinding of the stack. [perl #123398] +=head1 Selected Bug Fixes -=item * +XXX Important bug fixes in the core language are summarized here. Bug fixes in +files in F and F are best summarized in L. -In perl v5.22.0, the logic changed when parsing a numeric parameter to the -C -option, such that the successfully parsed number was not saved as the option -value if it parsed to the end of the argument. [perl #125381] +[ List each fix as a =item entry ] + +=over 4 =item * -The PadlistNAMES macro is an lvalue again. +C no longer segfaults, giving a syntax error message instead. +[perl #125805] -=item * +=back + +=head1 Known Problems + +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. + +[ List each fix as a =item entry ] -Zero -DPERL_TRACE_OPS memory for sub-threads. +=over 4 + +=item * -perl_clone_using() was missing Zero init of PL_op_exec_cnt[]. This -caused sub-threads in threaded -DPERL_TRACE_OPS builds to spew exceedingly -large op-counts at destruct. These counts would print %x as "ABABABAB", -clearly a mem-poison value. +XXX =back -=head1 Acknowledgements +=head1 Errata From Previous Releases -Perl 5.23.0 represents approximately 3 weeks of development since Perl 5.22.0 -and contains approximately 86,000 lines of changes across 480 files from 29 -authors. +=over 4 -Excluding auto-generated files, documentation and release tools, there were -approximately 55,000 lines of changes to 270 .pm, .t, .c and .h files. +=item * -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.0: +XXX Add anything here that we forgot to add, or were mistaken about, in +the perldelta of a previous release. -Chase Whitener, Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari -Mannsåker, Daniel Dragan, David Golden, David Mitchell, Hugo van der Sanden, -Jan Dubois, Jarkko Hietaniemi, Jerry D. Hedden, Jim Cromie, Karen Etheridge, -Karl Williamson, kmx, Lukas Mai, Martijn Lievaart, Matthew Horsfall, Niko Tyni, -Peter John Acklam, Rafael Garcia-Suarez, Reini Urban, Ricardo Signes, Shlomi -Fish, Steve Hay, Thomas Sibley, Tony Cook, Unicode Consortium, Zefram. +=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 Obituary + +XXX If any significant core contributor has died, we've added 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 file in the Perl source distribution. + perl Porting/acknowledgements.pl v5.23.2..HEAD =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 -https://rt.perl.org/ . There may also be information at -http://www.perl.org/ , the Perl Home Page. +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