This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for previous commit
[perl5.git] / pod / perldelta.pod
index 1dfd281..f4492d4 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,105 +124,121 @@ 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<bigint>, L<bignum>, L<bigrat> have been upgraded to version 0.39.
+L<B::Deparse> has been upgraded from version 1.33 to 1.34.
 
-Document in CAVEATS that using strings as numbers won't always invoke
-the big number overloading, and how to invoke it.  [perl #123064]
+Deparse C<$#_> as that instead of as C<$#{_}>.  [perl #123947]
 
 =item *
 
-L<Devel::Peek> has been upgraded from version 1.21 to 1.22.
+L<CPAN> has been upgraded from version 2.05 to 2.10.
+
+=over 4
 
 =item *
 
-L<Encode> has been upgraded from version 2.67 to 2.68.
+Add support for C<Cwd::getdcwd()> and introduce workaround for a misbehaviour
+seen on Strawberry Perl 5.20.1.
 
-Building in C++ mode on Windows now works.
+=item *
+
+Fix C<chdir()> after building dependencies bug.
 
 =item *
 
-L<Errno> has been upgraded from version 1.22 to 1.23.
+Introduce experimental support for plugins/hooks.
+
+=item *
 
-Add C<-P> to the preprocessor command-line on GCC 5.  GCC added extra
-line directives, breaking parsing of error code definitions.  [perl
-#123784]
+Integrate the App::Cpan sources.
 
 =item *
 
-L<Opcode> has been upgraded from version 1.31 to 1.32.
+Do not check recursion on optional dependencies.
 
 =item *
 
-L<PerlIO::scalar> has been upgraded from version 0.21 to 0.22.
+Sanity check META.yml to contain a hash.
+L<[cpan #95271]|https://rt.cpan.org/Ticket/Display.html?id=95271>
 
-Attempting to write at file positions impossible for the platform now
-fail early rather than wrapping at 4GB.
+=back
 
 =item *
 
-L<Win32> has been upgraded from version 0.49 to 0.51.
+L<CPAN::Meta> has been upgraded from version 2.143240 to 2.150001.
+
+=item *
 
-GetOSName() now supports Windows 8.1, and building in C++ mode now works.
+L<Data::Dumper> has been upgraded from version 2.157 to 2.158.
 
 =item *
 
-L<Win32API::File> has been upgraded from version 0.1201 to 0.1202
+L<DynaLoader> has been upgraded from version 1.31 to 1.32.
 
-Building in C++ mode now works.
+=item *
+
+L<Encode> has been upgraded from version 2.70 to 2.72.
 
 =item *
 
-L<POSIX> has been upgraded from version 1.49 to 1.50.
+L<encoding> has been upgraded from version 2.13 to 2.14.
 
 =item *
 
-L<Benchmark> has been upgraded from version 1.19 to 1.20.
+L<Getopt::Long> has been upgraded from version 2.43 to 2.45.
 
 =item *
 
-L<Unicode::UCD> has been upgraded from version 0.60 to 0.61.
+L<locale> has been upgraded from version 1.05 to 1.06.
 
-=over 4
+=item *
+
+L<Locale::Codes> has been upgraded from version 3.33 to 3.34.
 
 =item *
 
-A new function L<property_values()|Unicode::UCD/prop_values()>
-has been added to return a given property's possible values.
+L<Module::CoreList> has been reverted from version 5.20150220 to 5.20150320.
 
 =item *
 
-A new function L<charprop()|Unicode::UCD/charprop()>
-has been added to return the value of a given property for a given code
-point.
+L<Pod::Functions> has been upgraded from version 1.08 to 1.09.
 
 =item *
 
-A new function L<charprop()|Unicode::UCD/charprops_all()>
-has been added to return the values of all Unicode properties for a
-given code point.
+L<POSIX> has been upgraded from version 1.51 to 1.52.
 
 =item *
 
-A bug has been fixed so that L<propaliases()|Unicode::UCD/prop_aliases()>
-returns the correct short and long names for the Perl extensions where
-it was incorrect.
+L<re> has been upgraded from version 0.31 to 0.32.
 
 =item *
 
-A bug has been fixed so that
-L<prop_value_aliases()|Unicode::UCD/prop_value_aliases()>
-returns C<undef> instead of a wrong result for properties that are Perl
-extensions.
+L<Test::Simple> has been reverted from version 1.301001_098 to 1.001014.
 
 =item *
 
-This module now works on EBCDIC platforms.
+L<Text::Balanced> has been upgraded from version 2.02 to 2.03.
 
-=back
+No changes to installed files other than the version bump.
+
+=item *
+
+L<Text::ParseWords> has been upgraded from version 3.29 to 3.30.
+
+=item *
+
+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
 
@@ -250,23 +271,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 *
+
+Documentation has been added regarding the special floating point values C<Inf>
+and C<NaN>.
+
+=back
+
+=head3 L<perlexperiment>
 
 =over 4
 
 =item *
 
-XXX Description of the change here
+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<perlfaq>
+=head3 L<perlpolicy>
 
 =over 4
 
 =item *
 
-L<perlfaq> has been synchronized with version 5.021009 from CPAN.
+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
 
@@ -290,7 +328,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
 
@@ -331,9 +374,7 @@ Use L<XXX> with program names to get proper documentation linking. ]
 
 =item *
 
-F<h2ph> now handles hexadecimal constants in the compiler's predefined
-macro definitions, as visible in C<$Config{cppsymbols}>.  [perl
-#123784]
+XXX
 
 =back
 
@@ -368,7 +409,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
 
@@ -415,12 +456,9 @@ L</Modules and Pragmata> section.
 
 =over 4
 
-=item Windows
-
-Perl can now be built in C++ mode on Windows by setting the makefile macro
-C<USE_CPLUSPLUS> to the value "define".
+=item XXX-some-platform
 
-List form pipe open no longer falls back to the shell.
+XXX
 
 =back
 
@@ -451,28 +489,9 @@ 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]
-
-=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.
-
-=item *
-
-Fix a couple of other size calculation overflows.  [perl #123554]
-
-=item *
-
-A bug introduced in 5.21.6, C<dump LABEL> acted the same as C<goto
-LABEL>.  This has been fixed.  [perl #123836]
+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]
 
 =back
 
@@ -512,7 +531,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