This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for 4cedf205aa6e
[perl5.git] / pod / perldelta.pod
index 15a216a..e8267c4 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.1
+perldelta - what is new for perl v5.21.3
 
 =head1 DESCRIPTION
 
-This document describes differences between the 5.21.0 release and the 5.21.1
+This document describes differences between the 5.21.2 release and the 5.21.3
 release.
 
-If you are upgrading from an earlier release such as 5.20.0, first read
-L<perl5210delta>, which describes differences between 5.20.0 and 5.21.0.
+If you are upgrading from an earlier release such as 5.21.1, first read
+L<perl5212delta>, which describes differences between 5.21.1 and 5.21.2.
 
 =head1 Notice
 
@@ -45,6 +45,12 @@ XXX For a release on a stable branch, this section aspires to be:
 
 [ List each incompatible change as a =head2 entry ]
 
+=head2 S<C<use UNIVERSAL '...'>> is now a fatal error
+
+Importing functions from C<UNIVERSAL> has been deprecated since v5.12, and
+is now a fatal error.  S<C<"use UNIVERSAL">> without any arguments is still
+allowed.
+
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.
@@ -119,60 +125,29 @@ XXX
 
 =item *
 
-L<Carp> has been upgraded from version 1.3301 to 1.34.
-
-Carp::Heavy now ignores version mismatches with Carp if Carp is newer
-than 1.12, since Carp::Heavy's guts were merged into Carp at that
-point.
-L<[perl #121574]|https://rt.perl.org/Ticket/Display.html?id=121574>
-
-=item *
-
-L<Digest::SHA> has been upgraded from version 5.88 to 5.91.
-
-Numerous enhancements, bug fixes and performance improvements have been made.
-See the F<Changes> file in the CPAN distribution for full details.
-
-=item *
-
-L<Math::BigInt> has been upgraded from version 1.9993 to 1.9994.
+L<ExtUtils::Manifest> has been upgraded from version 1.64 to 1.65.
 
-Synchronize POD changes from the CPAN release.
-
-C<< Math::BigFloat->blog(x) >> would sometimes return blog(2*x) when
-the accuracy was greater than 70 digits.
-
-The result of C<< Math::BigFloat->bdiv() >> in list context now
-satisfies C<< x = quotient * divisor + remainder >>.
+The MANIFEST is now opened with C<:raw>, to prevent C<CRLF>s leaking in.
 
 =item *
 
-L<Math::BigRat> has been upgraded from version 0.2606 to 0.2607.
+L<perl5db.pl> has been upgraded from version 1.45 to 1.46.
 
-Synchronize POD changes from the CPAN release.
+Fixed the scope level handling of the debugger's C<y> command.
 
 =item *
 
-L<perl5db.pl> has been upgraded from version 1.44 to 1.45.
-
-fork() in the debugger under C<tmux> will now create a new window for
-the forked process. L<[perl
-#121333]|https://rt.perl.org/Ticket/Display.html?id=121333>
-
-The debugger now saves the current working directory on startup and
-restores it when you restart your program with C<R> or <rerun>. L<[perl
-#121509]|https://rt.perl.org/Ticket/Display.html?id=121509>
-
-L<Unicode::Collate> has been upgraded from version 1.04 to 1.07.
+L<POSIX> has been upgraded from version 1.41 to 1.42.
 
-Version 0.67's improved discontiguous contractions is invalidated by default
-and is supported as a parameter 'long_contraction'.
+Replaced the thread-unsafe code used to prevent duplicate warning
+messages for using the isxxx() functions.  [perl #122476]
 
 =item *
 
-L<Unicode::Normalize> has been upgraded from version 1.17 to 1.18.
+L<Socket> has been upgraded from version 2.014 to 2.015.
 
-The XSUB implementation has been removed in favour of pure Perl.
+Test suite updates, particularly useful for Solaris and cygwin, and
+a slight change to the pattern used for IPv4 address matching.
 
 =back
 
@@ -257,17 +232,14 @@ XXX Changes (i.e. rewording) of diagnostic messages go here
 
 =item *
 
-L<Unsuccessful %s on filename containing newline|perldiag/"Unsuccessful %s on filename containing newline">
-
-This warning is now only produced when the newline is at the end of
-the filename.
+XXX Describe change here
 
 =back
 
 =head1 Utility Changes
 
 XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here.
-Most of these are built within the directories F<utils> and F<x2p>.
+Most of these are built within the directory F<utils>.
 
 [ List utility changes as a =head2 entry for each utility and =item
 entries for each change
@@ -379,7 +351,11 @@ well.
 
 =item *
 
-XXX
+Added L<perlapi/sync_locale>.
+Changing the program's locale should be avoided by XS code.  Nevertheless,
+certain non-Perl libraries called from XS, such as C<Gtk> do so.  When this
+happens, Perl needs to be told that the locale has changed.  Use this function
+to do so, before returning to Perl.
 
 =back
 
@@ -394,9 +370,15 @@ files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
 
 =item *
 
-index() and rindex() no longer crash when used on strings over 2GB in
-size.
-L<[perl #121562]|https://rt.perl.org/Ticket/Display.html?id=121562>.
+Failing to compile C<use Foo> in an eval could leave a spurious
+C<BEGIN> subroutine definition, which would produce a "Subroutine
+BEGIN redefined" warning on the next use of C<use>, or other C<BEGIN>
+block.  [perl #122107]
+
+=item *
+
+C<method { BLOCK } ARGS> syntax now correctly parses the arguments if they
+begin with an opening brace.  [perl #46947]
 
 =back
 
@@ -436,7 +418,7 @@ here.
 
 XXX Generate this with:
 
-  perl Porting/acknowledgements.pl v5.21.1..HEAD
+  perl Porting/acknowledgements.pl v5.21.2..HEAD
 
 =head1 Reporting Bugs