summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Maischein <corion@corion.net>2014-12-20 15:52:16 +0100
committerMax Maischein <corion@corion.net>2014-12-20 16:52:10 +0100
commit60dde9d3b9b1296d69723baf1dbe439cd63a1c20 (patch)
tree05f210f176a71b8df086d4736cb938aaf834684a
parente544daaa5a83562ae477105c5170d971332f4dd6 (diff)
downloadperl-60dde9d3b9b1296d69723baf1dbe439cd63a1c20.tar.gz
Update perldelta
-rw-r--r--pod/perldelta.pod360
1 files changed, 125 insertions, 235 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 92d81742ba..a4fcfafbef 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -2,9 +2,6 @@
=head1 NAME
-[ this is a template for a new perldelta file. Any text flagged as XXX needs
-to be processed before release. ]
-
perldelta - what is new for perl v5.21.7
=head1 DESCRIPTION
@@ -15,18 +12,8 @@ release.
If you are upgrading from an earlier release such as 5.21.5, first read
L<perl5216delta>, which describes differences between 5.21.5 and 5.21.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</Performance Enhancements> section.
-
-[ List each enhancement as a =head2 entry ]
-
=head2 faster array and hash lookups
Array and hash lookups (especially nested ones) that use only constants
@@ -45,24 +32,8 @@ indicate that the operation is not supported.
Currently, this uses either a C<dd_fd> member in the OS C<DIR>
structure, or a dirfd(3) function as specified by POSIX.1-2008.
-=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:
-
- There are no changes intentionally incompatible with 5.XXX.XXX
- If any exist, they are bugs, and we request that you submit a
- report. See L</Reporting Bugs> below.
-
-[ List each incompatible change as a =head2 entry ]
-
=head2 C<&> and C<\&> prototypes accepts only subs
The C<&> prototype character now accepts only anonymous subs (C<sub {...}>)
@@ -88,37 +59,6 @@ list if all indices fell outside the original list. [perl #114498]
=head1 Deprecations
-XXX Any deprecated features, syntax, modules etc. should be listed here.
-
-=head2 Module removals
-
-XXX Remove this section if inapplicable.
-
-The following modules will be removed from the core distribution in a
-future release, and will at that time need to be installed from CPAN.
-Distributions on CPAN which require these modules will need to list them as
-prerequisites.
-
-The core versions of these modules will now issue C<"deprecated">-category
-warnings to alert you to this fact. To silence these deprecation warnings,
-install the modules in question from CPAN.
-
-Note that these are (with rare exceptions) fine modules that you are encouraged
-to continue to use. Their disinclusion from core primarily hinges on their
-necessity to bootstrapping a fully functional, CPAN-capable Perl installation,
-not usually on concerns over their design.
-
-=over
-
-=item XXX
-
-XXX Note that deprecated modules should be listed here even if they are listed
-as an updated module in the L</Modules and Pragmata> section.
-
-=back
-
-[ List each other deprecation as a =head2 entry ]
-
=head2 Setting C<${^ENCODING}> to anything but C<undef>
This variable allows Perl scripts to be written in a non-ASCII,
@@ -129,11 +69,6 @@ with the L<encoding> pragma.
=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 *
@@ -153,27 +88,23 @@ run time.
=head1 Modules and Pragmata
-XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
-go here. If Module::CoreList is updated, generate an initial draft of the
-following sections using F<Porting/corelist-perldelta.pl>. A paragraph summary
-for important changes should then be added by hand. In an ideal world,
-dual-life modules would have a F<Changes> file that could be cribbed.
-
-[ Within each section, list entries as a =item entry ]
-
-=head2 New Modules and Pragmata
+=head2 Updated Modules and Pragmata
=over 4
=item *
-XXX
+The PathTools module collection has been upgraded from 3.52 to 3.53.
-=back
+Don't turn leading C<//> into C</> on Cygwin. [perl #122635]
-=head2 Updated Modules and Pragmata
+=item *
-=over 4
+L<Archive::Tar> has been upgraded from version 2.02 to 2.04.
+
+=item *
+
+L<arybase> has been upgraded from version 0.08 to 0.09.
=item *
@@ -192,6 +123,10 @@ Two new classes, B::PADNAME and B::PADNAMELIST, have been introduced.
=item *
+L<B::Concise> has been upgraded from version 0.995 to 0.996.
+
+=item *
+
L<B::Deparse> has been upgraded from version 1.30 to 1.31.
BEGIN blocks at the end of the enclosing scope are now deparsed in the
@@ -209,7 +144,7 @@ C<Anything =~ y///r> with C</r> no longer omits the left-hand operand.
The op trees that make up regexp code blocks are now deparsed for real.
Formerly, the original string that made up the regular expression was used.
-That caused problems with C<qr/(?{<<heredoc})/> and multiline code blocks,
+That caused problems with C<qr/(?{E<lt>E<lt>heredoc})/> and multiline code blocks,
which were deparsed incorrectly. [perl #123217] [perl #115256]
C<$;> at the end of a statement no longer loses its semicolon.
@@ -252,226 +187,197 @@ the array.)
C<system> and C<exec> followed by a block are now deparsed correctly.
Formerly there was an erroneous C<do> before the block.
-C<use constant QR => qr/.../flags> followed by C<"" =~ QR> is no longer
+C<< use constant QR =E<gt> qr/.../flags >> followed by C<"" =~ QR> is no longer
without the flags.
=item *
-L<ExtUtils::ParseXS> has been upgraded from version 3.26 to 3.27.
-
-Only declare C<file> unused if we actually define it.
-
-Improve generated C<RETVAL> code generation to avoid repeated
-references to C<ST(0)>. [perl #123278]
-
-Broaden and document the C</OBJ$/> to C</REF$/> typemap optimization
-for the C<DESTROY> method. [perl #123418]
+L<charnames> has been upgraded from version 1.41 to 1.43.
=item *
-L<Locale::Maketext> has been upgraded from version 1.25 to 1.26.
+L<Compress::Raw::Bzip2> has been upgraded from version 2.066 to 2.067.
=item *
-The PathTools module collection has been upgraded from 3.52 to 3.53.
-
-Don't turn leading C<//> into C</> on Cygwin. [perl #122635]
+L<Compress::Raw::Zlib> has been upgraded from version 2.066 to 2.067.
=item *
-L<PerlIO::scalar> has been upgraded from version 0.20 to 0.21.
-
-Reading from a position well past the end of the scalar now correctly
-returns end of file. [perl #123443]
+L<Data::Dumper> has been upgraded from version 2.154 to 2.155.
-Seeking to a negative position still fails, but no longer leaves the
-file position set to a negation location.
+=item *
-C<eof()> on a C<PerlIO::scalar> handle now properly returns true when
-the file position is past the 2GB mark on 32-bit systems.
+L<DB_File> has been upgraded from version 1.831 to 1.834.
=item *
-L<XSLoader> has been upgraded from version 0.19 to 0.20
+L<Devel::Peek> has been upgraded from version 1.19 to 1.20.
-Don't test twice for bootstrap file.
+=item *
-=back
+L<Devel::PPPort> has been upgraded from version 3.24 to 3.25.
-=head2 Removed Modules and Pragmata
+=item *
-=over 4
+L<DynaLoader> has been upgraded from version 1.28 to 1.29.
=item *
-XXX
+L<Encode> has been upgraded from version 2.64 to 2.67.
-=back
+=item *
-=head1 Documentation
+L<Errno> has been upgraded from version 1.21 to 1.22.
-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>.
+=item *
-=head2 New Documentation
+L<ExtUtils::CBuilder> has been upgraded from version 0.280220 to 0.280221.
-XXX Changes which create B<new> files in F<pod/> go here.
+=item *
-=head3 L<XXX>
+L<ExtUtils::MakeMaker> has been upgraded from version 7.02 to 7.04.
-XXX Description of the purpose of the new file here
+=item *
-=head2 Changes to Existing Documentation
+L<ExtUtils::ParseXS> has been upgraded from version 3.26 to 3.27.
-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.
+Only declare C<file> unused if we actually define it.
-=head3 L<XXX>
+Improve generated C<RETVAL> code generation to avoid repeated
+references to C<ST(0)>. [perl #123278]
-=over 4
+Broaden and document the C</OBJ$/> to C</REF$/> typemap optimization
+for the C<DESTROY> method. [perl #123418]
=item *
-XXX Description of the change here
-
-=back
-
-=head1 Diagnostics
+L<feature> has been upgraded from version 1.38 to 1.39.
-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>.
+=item *
-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.
+L<File::Spec> has been upgraded from version 3.51 to 3.54.
-=head2 New Diagnostics
+=item *
-XXX Newly added diagnostic messages go under here, separated into New Errors
-and New Warnings
+L<Filter::Util::Call> has been upgraded from version 1.49 to 1.51.
-=head3 New Errors
+=item *
-=over 4
+L<HTTP::Tiny> has been upgraded from version 0.051 to 0.053.
=item *
-XXX L<message|perldiag/"message">
-
-=back
+L<IO> has been upgraded from version 1.34 to 1.35.
-=head3 New Warnings
+=item *
-=over 4
+The IO::Compress module collection has been upgraded from version 2.066 to 2.067.
=item *
-XXX L<message|perldiag/"message">
+L<IO::Socket::IP> has been upgraded from version 0.32 to 0.34.
-=back
+=item *
-=head2 Changes to Existing Diagnostics
+L<Locale::Codes> has been upgraded from version 3.32 to 3.33.
-XXX Changes (i.e. rewording) of diagnostic messages go here
+=item *
-=over 4
+L<Locale::Maketext> has been upgraded from version 1.25 to 1.26.
=item *
-"Variable %s will not stay shared" has been changed to say "Subroutine"
-when it is actually a lexical sub that will not stay shared.
+L<Module::CoreList> has been upgraded from version 5.20141120 to 5.20141220.
-=back
+=item *
-=head1 Utility Changes
+L<mro> has been upgraded from version 1.16 to 1.17.
-XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here.
-Most of these are built within the directory F<utils>.
+=item *
-[ 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. ]
+L<NDBM_File> has been upgraded from version 1.13 to 1.14.
-=head2 L<XXX>
+=item *
-=over 4
+L<Opcode> has been upgraded from version 1.29 to 1.30.
=item *
-XXX
+L<PerlIO::scalar> has been upgraded from version 0.20 to 0.21.
-=back
+Reading from a position well past the end of the scalar now correctly
+returns end of file. [perl #123443]
-=head1 Configuration and Compilation
+Seeking to a negative position still fails, but no longer leaves the
+file position set to a negation location.
-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.
+C<eof()> on a C<PerlIO::scalar> handle now properly returns true when
+the file position is past the 2GB mark on 32-bit systems.
-[ List changes as a =item entry ].
+=item *
-=over 4
+L<Pod::Escapes> has been upgraded from version 1.06 to 1.07.
=item *
-XXX
+L<POSIX> has been upgraded from version 1.46 to 1.48.
-=back
+=item *
-=head1 Testing
+L<SDBM_File> has been upgraded from version 1.11 to 1.12.
-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.
+=item *
-[ List each test improvement as a =item entry ]
+L<Storable> has been upgraded from version 2.51 to 2.52.
-=over 4
+=item *
+
+L<strict> has been upgraded from version 1.08 to 1.09.
=item *
-XXX
+L<Sys::Hostname> has been upgraded from version 1.19 to 1.20.
-=back
+=item *
-=head1 Platform Support
+L<Test::Simple> has been upgraded from version 1.301001_075 to 1.301001_090.
-XXX Any changes to platform support should be listed in the sections below.
+=item *
-[ Within the sections, list each platform as a =item entry with specific
-changes as paragraphs below it. ]
+L<threads> has been upgraded from version 1.96 to 1.96_001.
-=head2 New Platforms
+=item *
-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.
+L<Unicode::Collate> has been upgraded from version 1.07 to 1.09.
-=over 4
+=item *
-=item XXX-some-platform
+L<XSLoader> has been upgraded from version 0.19 to 0.20
-XXX
+Don't test twice for bootstrap file.
=back
-=head2 Discontinued Platforms
+=head1 Diagnostics
-XXX List any platforms that this version of perl no longer compiles on.
+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 Changes to Existing Diagnostics
=over 4
-=item XXX-some-platform
+=item *
-XXX
+"Variable %s will not stay shared" has been changed to say "Subroutine"
+when it is actually a lexical sub that will not stay shared.
=back
+=head1 Platform Support
+
=head2 Platform-Specific Notes
=head3 Win32
@@ -486,12 +392,6 @@ Intel C builds are now always built with C99 mode on.
=head1 Internal Changes
-XXX Changes which affect the interface available to C<XS> code go here. Other
-significant internal changes for future core maintainers should be noted as
-well.
-
-[ List each change as a =item entry ]
-
=over 4
=item *
@@ -535,11 +435,6 @@ index is still done using C<aelemfast>.
=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 *
@@ -613,43 +508,38 @@ argument, instead of the context the current sub was called in.
=back
-=head1 Known Problems
-
-XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
-tests that had to be C<TODO>ed for the release would be noted here. Unfixed
-platform specific bugs also go here.
-
-[ List each fix as a =item entry ]
-
-=over 4
-
-=item *
-
-XXX
-
-=back
-
-=head1 Errata From Previous Releases
-
-=over 4
-
-=item *
+=head1 Acknowledgements
-XXX Add anything here that we forgot to add, or were mistaken about, in
-the perldelta of a previous release.
+Perl 5.21.7 represents approximately 4 weeks of development since Perl 5.21.6
+and contains approximately 97,000 lines of changes across 640 files from 30
+authors.
-=back
+Excluding auto-generated files, documentation and release tools, there were
+approximately 26,000 lines of changes to 400 .pm, .t, .c and .h files.
-=head1 Obituary
+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.21.7:
-XXX If any significant core contributor has died, we've added a short obituary
-here.
+Aaron Crane, Aristotle Pagaltzis, Chad Granum, Chris 'BinGOs' Williams, Craig
+A. Berry, Dagfinn Ilmari Mannsåker, Daniel Dragan, David Mitchell, Eric
+Herman, Father Chrysostomos, H.Merijn Brand, Hugo van der Sanden, James
+Raspass, Jarkko Hietaniemi, Jim Cromie, Karen Etheridge, Karl Williamson, kmx,
+Lukas Mai, Matthew Horsfall, Max Maischein, Petr Písař, Ricardo Signes,
+Shlomi Fish, Steffen M├╝ller, Steve Hay, Sullivan Beck, syber, Todd Rinaldo,
+Tony Cook.
-=head1 Acknowledgements
+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.
-XXX Generate this with:
+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.
- perl Porting/acknowledgements.pl v5.21.6..HEAD
+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