This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for #123963 / 9d58dbc453
[perl5.git] / pod / perldelta.pod
index a869647..e13874d 100644 (file)
@@ -5,15 +5,15 @@
 [ 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.9
+perldelta - what is new for perl v5.21.10
 
 =head1 DESCRIPTION
 
-This document describes differences between the 5.21.8 release and the 5.21.9
+This document describes differences between the 5.21.9 release and the 5.21.10
 release.
 
-If you are upgrading from an earlier release such as 5.21.7, first read
-L<perl5218delta>, which describes differences between 5.21.7 and 5.21.8.
+If you are upgrading from an earlier release such as 5.21.8, first read
+L<perl5219delta>, which describes differences between 5.21.8 and 5.21.9.
 
 =head1 Notice
 
@@ -89,7 +89,12 @@ There may well be none in a stable release.
 
 =item *
 
-XXX
+The functions
+C<utf8::native_to_unicode()> and
+C<utf8::unicode_to_native()> (see L<utf8>)
+are now optimized out on ASCII platforms.
+There is now not even a minimal performance hit in writing code portable
+between ASCII and EBCDIC platforms.
 
 =back
 
@@ -119,55 +124,135 @@ XXX
 
 =item *
 
-L<B> has been upgraded from version 1.55 to 1.56.
+L<B> has been upgraded from version 1.56 to 1.57.
+
+=item *
+
+L<B::Deparse> has been upgraded from version 1.33 to 1.34.
+
+Deparse C<$#_> as that instead of as C<$#{_}>.  [perl #123947]
+
+=item *
+
+L<Carp> has been upgraded from version 1.35 to 1.36.
+
+=item *
+
+L<CPAN> has been upgraded from version 2.05 to 2.10.
+
+=over 4
+
+=item *
+
+Add support for C<Cwd::getdcwd()> and introduce workaround for a misbehaviour
+seen on Strawberry Perl 5.20.1.
+
+=item *
+
+Fix C<chdir()> after building dependencies bug.
+
+=item *
+
+Introduce experimental support for plugins/hooks.
+
+=item *
+
+Integrate the App::Cpan sources.
+
+=item *
+
+Do not check recursion on optional dependencies.
+
+=item *
+
+Sanity check META.yml to contain a hash.
+L<[cpan #95271]|https://rt.cpan.org/Ticket/Display.html?id=95271>
+
+=back
+
+=item *
+
+L<CPAN::Meta> has been upgraded from version 2.143240 to 2.150001.
+
+=item *
+
+L<Data::Dumper> has been upgraded from version 2.157 to 2.158.
+
+=item *
+
+L<Devel::PPPort> has been upgraded from version 3.28 to 3.31.
+
+=item *
+
+L<DynaLoader> has been upgraded from version 1.31 to 1.32.
 
 =item *
 
-L<bigint>, L<bignum>, L<bigrat> have been upgraded to version 0.39.
+L<Encode> has been upgraded from version 2.70 to 2.72.
 
-Document in CAVEATS that using strings as numbers won't always invoke
-the big number overloading, and how to invoke it.  [perl #123064]
+=item *
+
+L<encoding> has been upgraded from version 2.13 to 2.14.
+
+=item *
+
+L<Getopt::Long> has been upgraded from version 2.43 to 2.45.
 
 =item *
 
-L<Devel::Peek> has been upgraded from version 1.21 to 1.22.
+L<locale> has been upgraded from version 1.05 to 1.06.
 
 =item *
 
-L<Encode> has been upgraded from version 2.67 to 2.68.
+L<Locale::Codes> has been upgraded from version 3.33 to 3.34.
+
+=item *
 
-Building in C++ mode on Windows now works.
+L<Module::CoreList> has been reverted from version 5.20150220 to 5.20150320.
 
 =item *
 
-L<Opcode> has been upgraded from version 1.31 to 1.32.
+L<parent> has been upgraded from version 0.228 to 0.232.
+
+No changes to installed files other than the version bump.
 
 =item *
 
-L<PerlIO::scalar> has been upgraded from version 0.21 to 0.22.
+L<Pod::Functions> has been upgraded from version 1.08 to 1.09.
+
+=item *
 
-Attempting to write at file positions impossible for the platform now
-fail early rather than wrapping at 4GB.
+L<POSIX> has been upgraded from version 1.51 to 1.52.
 
 =item *
 
-L<Win32> has been upgraded from version 0.49 to 0.51.
+L<re> has been upgraded from version 0.31 to 0.32.
+
+=item *
 
-GetOSName() now supports Windows 8.1, and building in C++ mode now works.
+L<Test::Simple> has been reverted from version 1.301001_098 to 1.001014.
 
 =item *
 
-L<Win32API::File> has been upgraded from version 0.1201 to 0.1202
+L<Text::Balanced> has been upgraded from version 2.02 to 2.03.
 
-Building in C++ mode now works.
+No changes to installed files other than the version bump.
 
 =item *
 
-L<POSIX> has been upgraded from version 1.49 to 1.50.
+L<Text::ParseWords> has been upgraded from version 3.29 to 3.30.
 
 =item *
 
-L<Benchmark> has been upgraded from version 1.19 to 1.20.
+L<threads> has been upgraded from version 1.96_001 to 2.01.
+
+=item *
+
+L<utf8> has been upgraded from version 1.14 to 1.15.
+
+=item *
+
+L<XS::APItest> has been upgraded from version 0.70 to 0.71.
 
 =back
 
@@ -200,23 +285,40 @@ 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>
+=head3 L<perldata>
 
 =over 4
 
 =item *
 
-XXX Description of the change here
+Documentation has been added regarding the special floating point values C<Inf>
+and C<NaN>.
 
 =back
 
-=head3 L<perlfaq>
+=head3 L<perlexperiment>
 
 =over 4
 
 =item *
 
-L<perlfaq> has been synchronized with version 5.021009 from CPAN.
+Removed note about C<\s> matching C<VT> now that it is no longer experimental.
+
+=item *
+
+Added note that C<use re 'strict'> has been introduced experimentally.
+
+=back
+
+=head3 L<perlpolicy>
+
+=over 4
+
+=item *
+
+The documentation of what to expect to see in future maintenance releases has
+been updated.  Essentially the same types of changes will be included as before
+but with fewer changes that don't affect the installation or execution of perl.
 
 =back
 
@@ -240,7 +342,12 @@ and New Warnings
 
 =item *
 
-XXX L<message|perldiag/"message">
+L<Invalid quantifier in {,} in regex; marked by <-- HERE in mE<sol>%sE<sol>|perldiag/"Invalid quantifier in {,} in regex; marked by <-- HERE in m/%s/">
+
+(F) The pattern looks like a {min,max} quantifier, but the min or max could not
+be parsed as a valid number - either it has leading zeroes, or it represents
+too big a number to cope with.  The S<<-- HERE> shows where in the regular
+expression the problem was discovered.  See L<perlre>.
 
 =back
 
@@ -316,7 +423,7 @@ that they represent may be covered elsewhere.
 
 =item *
 
-XXX
+Tests for performance issues have been added in the file F<t/perf/taint.t>.
 
 =back
 
@@ -363,10 +470,9 @@ L</Modules and Pragmata> section.
 
 =over 4
 
-=item Windows
+=item XXX-some-platform
 
-Perl can now be built in C++ mode on Windows by setting the makefile macro
-C<USE_CPLUSPLUS> to the value "define".
+XXX
 
 =back
 
@@ -382,7 +488,9 @@ well.
 
 =item *
 
-XXX
+Macros have been created to allow XS code to better manipulate the POSIX
+locale category C<LC_NUMERIC>.
+See L<perlapi/Locale-related functions and macros>.
 
 =back
 
@@ -397,19 +505,30 @@ files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
 
 =item *
 
-The original visible value of C<$/> is now preserved when it is set to
-an invalid value.  Previously if you set C<$/> to a reference to an
-array, for example, perl would produce a runtime error and not set
-C<PL_rs>, but perl code that checked C<$/> would see the array
-reference.  [perl #123218]
+Repeated global pattern matches in scalar context on large tainted
+strings were exponentially slow depending on the current match
+position in the string. [perl #123202]
+
+=item *
+
+Various crashes due to the parser getting confused by syntax errors have
+been fixed.  [perl #123801] [perl #123802] [perl #123955]
+
+=item *
+
+C<split> in the scope of lexical $_ has been fixed not to fail assertions.
+[perl #123763]
+
+=item *
+
+C<my $x : attr> syntax inside various list operators no longer fails
+assertions.  [perl #123817]
 
 =item *
 
-In a regular expression pattern, a POSIX class, like C<[:ascii:]>, must
-be inside a bracketed character class, like C</qr[[:ascii:]]>.  A
-warning is issued when something looking like a POSIX class is not
-inside a bracketed class.  That warning wasn't getting generated when
-the POSIX class was negated: C<[:^ascii:]>.  This is now fixed.
+An @ sign in quotes followed by a non-ASCII digit (which is not a valid
+identifier) would cause the parser to crash, instead of simply trying the @
+as literal.  This has been fixed.  [perl #123963]
 
 =back
 
@@ -449,7 +568,7 @@ here.
 
 XXX Generate this with:
 
-  perl Porting/acknowledgements.pl v5.21.8..HEAD
+  perl Porting/acknowledgements.pl v5.21.9..HEAD
 
 =head1 Reporting Bugs