This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add new perldelta
[perl5.git] / pod / perldelta.pod
index c89f644..a65a455 100644 (file)
@@ -5,16 +5,13 @@
 [ 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.17.9
+perldelta - what is new for perl v5.19.1
 
 =head1 DESCRIPTION
 
-This document describes differences between the 5.17.8 release and the 5.17.9
+This document describes differences between the 5.19.0 release and the 5.19.1
 release.
 
-If you are upgrading from an earlier release such as 5.17.7, first read
-L<perl5178delta>, which describes differences between 5.17.7 and 5.17.8.
-
 =head1 Notice
 
 XXX Any important notices here
@@ -27,16 +24,6 @@ here, but most should go in the L</Performance Enhancements> section.
 
 [ List each enhancement as a =head2 entry ]
 
-=head2 Interpolations now Accepted in Regular Expression Set Operations
-
-Perl v5.17.8 introduced L<regular expression set operations|perlre/(?[ ])>.
-They have now been expanded to allow the interpolation of a
-previously-compiled set into a bigger set, like this:
-
- my $thai_or_lao = qr/\p{Thai} + \p{Lao}/;
- ...
- qr/(?[ \p{Digit} & $thai_or_lao ])/;
-
 =head1 Security
 
 XXX Any security-related notices go here.  In particular, any security
@@ -53,187 +40,41 @@ XXX For a release on a stable branch, this section aspires to be:
     If any exist, they are bugs, and we request that you submit a
     report.  See L</Reporting Bugs> below.
 
-=head2 C<$ENV{foo} = undef> no longer deletes value from environ
-
-5.17.3 Introduced a change where assiging C<undef> to an C<%ENV> key was equivalent
-to C<delete $ENV{foo}>.
-
-This release reverts that change.
-
 [ List each incompatible change as a =head2 entry ]
 
 =head1 Deprecations
 
-XXX Any deprecated features, syntax, modules etc. should be listed here.  In
-particular, deprecated modules should be listed here even if they are listed as
-an updated module in the L</Modules and Pragmata> section.
-
-[ List each deprecation as a =head2 entry ]
-
-=head2 Deprecated Modules
-
-The following modules will be removed from the core distribution in a
-future release, and should be installed from CPAN instead. Distributions
-on CPAN which require these should add them to their prerequisites. The
-core versions of these modules C<warnings> will issue a deprecation warning.
-
-You can silence these deprecation warnings by installing the modules
-in question from CPAN.
-
-=over
-
-=item L<Archive::Extract>
-
-=item L<B::Lint>
-
-=item L<B::Lint::Debug>
-
-=item L<CPANPLUS>
-
-=item L<CPANPLUS::Backend>
-
-=item L<CPANPLUS::Backend::RV>
-
-=item L<CPANPLUS::Config>
-
-=item L<CPANPLUS::Config::HomeEnv>
-
-=item L<CPANPLUS::Configure>
-
-=item C<CPANPLUS::Configure::Setup>
-
-=item L<CPANPLUS::Dist>
-
-=item L<CPANPLUS::Dist::Autobundle>
-
-=item L<CPANPLUS::Dist::Base>
-
-=item L<CPANPLUS::Dist::Build>
-
-=item L<CPANPLUS::Dist::Build::Constants>
-
-=item L<CPANPLUS::Dist::MM>
-
-=item L<CPANPLUS::Dist::Sample>
-
-=item L<CPANPLUS::Error>
-
-=item L<CPANPLUS::Internals>
-
-=item C<CPANPLUS::Internals::Constants>
-
-=item C<CPANPLUS::Internals::Constants::Report>
-
-=item L<CPANPLUS::Internals::Extract>
-
-=item L<CPANPLUS::Internals::Fetch>
-
-=item L<CPANPLUS::Internals::Report>
-
-=item L<CPANPLUS::Internals::Search>
-
-=item L<CPANPLUS::Internals::Source>
-
-=item L<CPANPLUS::Internals::Source::Memory>
-
-=item L<CPANPLUS::Internals::Source::SQLite>
-
-=item C<CPANPLUS::Internals::Source::SQLite::Tie>
-
-=item L<CPANPLUS::Internals::Utils>
-
-=item C<CPANPLUS::Internals::Utils::Autoflush>
-
-=item L<CPANPLUS::Module>
-
-=item L<CPANPLUS::Module::Author>
-
-=item L<CPANPLUS::Module::Author::Fake>
-
-=item L<CPANPLUS::Module::Checksums>
-
-=item L<CPANPLUS::Module::Fake>
-
-=item C<CPANPLUS::Module::Signature>
-
-=item L<CPANPLUS::Selfupdate>
-
-=item L<CPANPLUS::Shell>
-
-=item L<CPANPLUS::Shell::Classic>
-
-=item L<CPANPLUS::Shell::Default>
-
-=item L<CPANPLUS::Shell::Default::Plugins::CustomSource>
+XXX Any deprecated features, syntax, modules etc. should be listed here.
 
-=item L<CPANPLUS::Shell::Default::Plugins::Remote>
+=head2 Module removals
 
-=item L<CPANPLUS::Shell::Default::Plugins::Source>
+XXX Remove this section if inapplicable.
 
-=item L<Devel::InnerPackage>
+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.
 
-=item L<Log::Message>
+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.
 
-=item L<Log::Message::Config>
+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.
 
-=item L<Log::Message::Handlers>
-
-=item L<Log::Message::Item>
-
-=item L<Log::Message::Simple>
-
-=item L<Module::Pluggable>
-
-=item L<Module::Pluggable::Object>
-
-=item L<Object::Accessor>
-
-=item L<Term::UI>
-
-=item L<Term::UI::History>
-
-=back
-
-=head3 Deprecated Utilities
-
-The following utilities will be removed from the core distribution in a
-future release as their associated modules have been deprecated. They
-will remain available with the applicable CPAN distribution.
+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.
 
 =over
 
-=item L<cpanp>
-
-Included with L<CPANPLUS>.
-
-=item C<cpanp-run-perl>
-
-Included with L<CPANPLUS>.
-
-=item L<cpan2dist>
-
-Included with L<CPANPLUS>.
-
-=item L<pod2latex>
+=item *
 
-The L<Pod::LaTeX> module was deprecated with 5.17.8.
+...
 
 =back
 
-=head2 Five additional characters should be escaped in patterns with C</x>
-
-When a regular expression pattern is compiled with C</x>, Perl treats 6
-characters as white space to ignore, such as SPACE and TAB.  However,
-Unicode recommends 11 characters be treated thusly.  In preparation to
-conforming with this in a future Perl version, in the meantime, use of
-any of the missing characters will raise a deprecation warning, unless
-turned off.  The five characters are:
-U+0085 NEXT LINE,
-U+200E LEFT-TO-RIGHT MARK,
-U+200F RIGHT-TO-LEFT MARK,
-U+2028 LINE SEPARATOR,
-and
-U+2029 PARAGRAPH SEPARATOR.
+[ List each other deprecation as a =head2 entry ]
 
 =head1 Performance Enhancements
 
@@ -268,9 +109,7 @@ cribbed.
 
 =item *
 
-L<Config::Perl::V> version 0.16 has been added as a dual-lifed module.
-It provides structured data retrieval of C<perl -V> output including
-information only known to the C<perl> binary and not available via L<Config>.
+XXX
 
 =back
 
@@ -280,33 +119,7 @@ information only known to the C<perl> binary and not available via L<Config>.
 
 =item *
 
-L<Benchmark> has been upgraded from version 1.13 to 1.14.
-
-The "too few iterations" message is now a warning on STDERR
-instead of being output on STDOUT.
-
-=item *
-
-L<Data::Dumper> has been upgraded from version 2.141 to 2.142.
-
-Additional tests were added in order to improve statement, branch, condition
-and subroutine coverage.  On the basis of the coverage analysis, some of the
-internals of Dumper.pm were refactored.  Almost all methods are now
-documented.
-
-=item *
-
-L<File::Temp> has been upgraded from version 0.22 to 0.22_90
-
-Fixes various bugs involving directory removal.  Defers unlinking tempfiles if
-the initial unlink fails, which fixes problems on NFS.
-
-=item *
-
-L<PerlIO::scalar> has been upgraded from version 0.15 to 0.16.
-
-The buffer scalar supplied may now only contain code pounts 0xFF or
-lower. [perl #109828]
+L<XXX> has been upgraded from version A.xx to B.yy.
 
 =back
 
@@ -339,13 +152,13 @@ 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<perlsec>
+=head3 L<XXX>
 
 =over 4
 
 =item *
 
-A syntax error was fixed in one of illustrative examples.
+XXX Description of the change here
 
 =back
 
@@ -379,7 +192,7 @@ XXX L<message|perldiag/"message">
 
 =item *
 
-Strings with code points over 0xFF may not be mapped into in-memory file handles
+XXX L<message|perldiag/"message">
 
 =back
 
@@ -391,10 +204,7 @@ XXX Changes (i.e. rewording) of diagnostic messages go here
 
 =item *
 
-The warnings for \b{ and \B{ were added in the 5.17 series; they are a
-deprecation warning which should be turned off by that category.  One
-should not have to turn off regular regexp warnings as well to get rid
-of these.
+XXX Describe change here
 
 =back
 
@@ -407,14 +217,13 @@ Most of these are built within the directories F<utils> and F<x2p>.
 entries for each change
 Use L<XXX> with program names to get proper documentation linking. ]
 
-=head3 L<corelist>
+=head3 L<XXX>
 
 =over 4
 
 =item *
 
-Added C<--feature> switch which lists the first version bundle of each
-named feature given.
+XXX
 
 =back
 
@@ -431,29 +240,7 @@ L</Platform Support> section, instead.
 
 =item *
 
-Added C<useversionedarchname> option to Configure
-
-When set, it includes 'api_versionstring' in 'archname'. E.g.
-x86_64-linux-5.13.6-thread-multi.  It is unset by default.
-
-This feature was requested by Tim Bunce, who observed that
-INSTALL_BASE creates a library structure that does not
-differentiate by perl version.  Instead, it places architecture
-specific files in "$install_base/lib/perl5/$archname".  This makes
-it difficult to use a common INSTALL_BASE library path with
-multiple versions of perl.
-
-By setting -Duseversionedarchname, the $archname will be
-distinct for architecture *and* API version, allowing mixed use of
-INSTALL_BASE.
-
-=item *
-
-Configure will honour the external C<MAILDOMAIN> environment variable, if set.
-
-=item *
-
-Both C<META.yml> and C<META.json> files are now included in the distribution.
+XXX
 
 =back
 
@@ -471,11 +258,7 @@ that they represent may be covered elsewhere.
 
 =item *
 
-Enable perl core tests to pass when locale support is not available.
-
-use L<locale> - this will now die if $Config{d_setlocale} is not true.
-All tests that use L<locale> will skip if $Config{d_setlocale} is not true.
-This enables us to pass tests on Android which uses ICU instead of locales.
+XXX
 
 =back
 
@@ -522,12 +305,9 @@ L</Modules and Pragmata> section.
 
 =over 4
 
-=item VMS
+=item XXX-some-platform
 
-The character set for Extended Filename Syntax (EFS) is now enabled by default on
-VMS.  Among other things, this provides better handling of dots in directory names,
-multiple dots in filenames,and spaces in filenames.  To obtain the old behavior,
-set the logical name C<DECC$EFS_CHARSET> to C<DISABLE>.
+XXX
 
 =back
 
@@ -543,12 +323,6 @@ well.
 
 =item *
 
-Synonyms for the misleadingly named C<av_len()> has been created:
-C<av_top_index()> and C<av_tindex>.  All three of these return the
-number of the highest index in the array, not the number of elements it
-contains.  (The name C<av_top> which was introduced in Perl v.5.17.8 has
-been removed.)
-
 XXX
 
 =back
@@ -564,12 +338,7 @@ files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
 
 =item *
 
--DPERL_GLOBAL_STRUCT builds now free the global struct B<after>
-they've finished using it.
-
-=item *
-
-A trailing '/' on a path in @INC will no longer have an additional '/' appended.
+XXX
 
 =back
 
@@ -598,7 +367,7 @@ here.
 
 XXX Generate this with:
 
-  perl Porting/acknowledgements.pl v5.17.8..HEAD
+  perl Porting/acknowledgements.pl v5.19.1..HEAD
 
 =head1 Reporting Bugs