This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update to ExtUtils::CBuilder 0.280226
[perl5.git] / pod / perldelta.pod
index 3dd94cc..b298485 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.27.1
+perldelta - what is new for perl v5.27.2
 
 =head1 DESCRIPTION
 
-This document describes differences between the 5.27.0 release and the 5.27.1
+This document describes differences between the 5.27.1 release and the 5.27.2
 release.
 
-If you are upgrading from an earlier release such as 5.26.0, first read
-L<perl5270delta>, which describes differences between 5.26.0 and 5.27.0.
+If you are upgrading from an earlier release such as 5.27.0, first read
+L<perl5271delta>, which describes differences between 5.27.0 and 5.27.1.
 
 =head1 Notice
 
@@ -27,11 +27,10 @@ here, but most should go in the L</Performance Enhancements> section.
 
 [ List each enhancement as a =head2 entry ]
 
-=head2 L<C<delete>|perlfunc/delete EXPR> on key/value slices
+=head2 Unicode 10.0 is supported
 
-L<C<delete>|perlfunc/delete EXPR> can now be used on key/value slices,
-returning the keys along with the deleted values.
-L<[perl #131328]|https://rt.perl.org/Ticket/Display.html?id=131328>
+A list of changes is at
+L<http://www.unicode.org/versions/Unicode10.0.0>.
 
 =head1 Security
 
@@ -51,70 +50,10 @@ XXX For a release on a stable branch, this section aspires to be:
 
 [ List each incompatible change as a =head2 entry ]
 
-=head2 Comma-less variable lists in formats are no longer allowed
-
-Omitting the commas between variables passed to formats is no longer
-allowed.  This has been deprecated since Perl 5.000.
-
-=head2 The C<:locked> and C<:unique> attributes have been removed
-
-These have been no-ops and deprecated since Perl 5.12 and 5.10,
-respectively.
-
-=head2 C<\N{}> with nothing between the braces is now illegal.
-
-This has been deprecated since Perl 5.24.
-
-=head2 Opening the same symbol as both a file and directory handle is no longer allowed
-
-Using open() and opendir() to associate both a filehandle and a dirhandle
-to the same symbol (glob or scalar) has been deprecated since Perl 5.10.
-
-=head2 Use of bare C<< << >> to mean C<< <<"" >> is no longer allowed
-
-Use of a bare terminator has been deprecated since Perl 5.000.
-
-=head2 Setting $/ to a reference to a non-positive integer no longer allowed
-
-This used to work like setting it to C<undef>, but has been deprecated
-since Perl 5.20.
-
-=head2 Unicode code points with values exceeding C<IV_MAX> are now fatal.
-
-This was deprecated since Perl 5.24.
-
-=head2 C<B::OP::terse> no longer exists.
-
-Use C<B::Concise::b_terse> instead.
-
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.
 
-=head2 Use of L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> on strings with code
-points above 0xFF is deprecated.
-
-Use of these is nonsensical, as C<vec> is a bit-oriented operation,
-which operates on the underlying UTF-8 representation these strings must
-be in, and will likely give unexpected results.
-
-=head2 Some uses of unescaped C<"{"> are no longer fatal
-
-Perl 5.26.0 fatalized some uses of an unescaped left brace, but an
-exception was made at the last minute, specifically crafted to be a
-minimal change to allow GNU Autoconf to work.  This code is heavily
-depended upon, and continues to use the deprecated usage.  Its use of an
-unescaped left brace is one where we have no intention of repurposing
-C<"{"> to be something other than itself.
-
-That exception is now generalized to include various other such cases
-where the C<"{"> will not be repurposed.  This is to get real experience
-with this more complicated change now, in case we need to issue a dot
-release if we find other things like Autoconf that are important to work
-around.
-
-Note that these uses continue to raise a deprecation message.
-
 =head2 Module removals
 
 XXX Remove this section if inapplicable.
@@ -214,10 +153,16 @@ XXX Description of the purpose of the new file here
 
 =head2 Changes to Existing Documentation
 
+We have attempted to update the documentation to reflect the changes
+listed in this document.  If you find any we have missed, send email
+to L<perlbug@perl.org|mailto:perlbug@perl.org>.
+
 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.
 
+Additionally, the following selected changes have been made:
+
 =head3 L<XXX>
 
 =over 4
@@ -318,6 +263,17 @@ 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.
 
+XXX If there were no significant test changes, say this:
+
+Tests were added and changed to reflect the other additions and changes
+in this release.
+
+XXX If instead there were significant changes, say this:
+
+Tests were added and changed to reflect the other additions and
+changes in this release.  Furthermore, these significant changes were
+made:
+
 [ List each test improvement as a =item entry ]
 
 =over 4
@@ -389,12 +345,7 @@ well.
 
 =item *
 
-The C<PL_statbuf> interpreter variable has been removed.
-
-=item *
-
-The deprecated function C<to_utf8_case()>, accessible from XS code, has
-been removed.
+XXX
 
 =back
 
@@ -409,7 +360,16 @@ files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
 
 =item *
 
-XXX
+List assignment (C<aassign>) could in some rare cases allocate an
+entry on the mortal stack and leave the entry uninitialized. [perl
+#131570]
+
+=item *
+
+Attempting to apply an attribute to an C<our> variable where a
+function of that name already exists could result in a NULL pointer
+being supplied where an SV was expected, crashing perl.  [perl
+#131597]
 
 =back