This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for fd879d933c2a2ee22ac6e2462acc016aa033854d
[perl5.git] / pod / perldelta.pod
index 36178a1..b701598 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.29.4
+perldelta - what is new for perl v5.29.9
 
 =head1 DESCRIPTION
 
-This document describes differences between the 5.29.3 release and the 5.29.4
+This document describes differences between the 5.29.8 release and the 5.29.9
 release.
 
-If you are upgrading from an earlier release such as 5.29.2, first read
-L<perl5293delta>, which describes differences between 5.29.2 and 5.29.3.
+If you are upgrading from an earlier release such as 5.29.7, first read
+L<perl5298delta>, which describes differences between 5.29.7 and 5.29.8.
 
 =head1 Notice
 
@@ -27,6 +27,24 @@ here, but most should go in the L</Performance Enhancements> section.
 
 [ List each enhancement as a =head2 entry ]
 
+=head2 Unicode 12.0 is supported
+
+For details, see L<https://www.unicode.org/versions/Unicode12.0.0/>.
+
+Because of a change in Unicode release cycles, Perl jumps from Unicode
+10.0 in Perl 5.28 to Unicode 12.0 in Perl 5.30.
+
+=head2 It is now possible to compile perl to always use thread-safe
+locale operations.
+
+Previously, these calls were only used when the perl was compiled to be
+multi-threaded.  To always enable them, add
+
+ -Accflags='-DUSE_THREAD_SAFE_LOCALE'
+
+to your F<Configure> flags.
+
+
 =head1 Security
 
 XXX Any security-related notices go here.  In particular, any security
@@ -45,6 +63,12 @@ XXX For a release on a stable branch, this section aspires to be:
 
 [ List each incompatible change as a =head2 entry ]
 
+=head2 C<pack()> no longer can return malformed UTF-8
+
+It croaks if it would otherwise return a UTF-8 string that contains
+malformed UTF-8.  This protects agains potential security threats.  This
+is considered a bug fix as well ([perl #131642]).
+
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.
@@ -125,10 +149,25 @@ XXX Remove this section if not applicable.
 
 =item *
 
-L<vars> has been upgraded from version 1.04 to 1.05.
+L<perl5db.pl> has been upgraded from version 1.54 to 1.55.
 
-C<vars.pm> no longer disables non-vars strict when checking if strict
-vars is enabled.  [perl #130674]
+Debugging threaded code no longer deadlocks in C<DB::sub> nor
+C<DB::lsub>.
+
+=item *
+
+L<PerlIO::encoding> has been upgraded from version 0.26 to 0.27.
+
+Warnings enabled by setting the C<WARN_ON_ERR> flag in
+C<$PerlIO::encoding::fallback> are now only produced if warnings are
+enabled with C<use warnings "utf8";> or setting C<$^W>.
+
+=item *
+
+L<threads::shared> has been upgraded from version 1.59 to 1.60.
+
+Added support for extra tracing of locking, this requires a
+C<-DDEBUGGING> and extra compilation flags.
 
 =back
 
@@ -349,7 +388,8 @@ well.
 
 =item *
 
-XXX
+Added C<newSVsv_nomg()> to copy a SV without processing get magic on
+the source.  [perl #132964]
 
 =back
 
@@ -364,8 +404,9 @@ files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
 
 =item *
 
-C<pack "u", "invalid uuencoding"> now properly NUL terminates the
-zero-length SV produced.  [perl #132655]
+C<pack()> no longer can return malformed UTF-8.  It croaks if it would
+otherwise return a UTF-8 string that contains malformed UTF-8.  This
+protects agains potential security threats.  [perl #131642]
 
 =back
 
@@ -405,13 +446,13 @@ died, add a short obituary here.
 
 XXX Generate this with:
 
-  perl Porting/acknowledgements.pl v5.29.3..HEAD
+  perl Porting/acknowledgements.pl v5.29.8..HEAD
 
 =head1 Reporting Bugs
 
 If you find what you think is a bug, you might check the perl bug database
-at L<https://rt.perl.org/> .  There may also be information at
-L<http://www.perl.org/> , the Perl Home Page.
+at L<https://rt.perl.org/>.  There may also be information at
+L<http://www.perl.org/>, the Perl Home Page.
 
 If you believe you have an unreported bug, please run the L<perlbug> program
 included with your release.  Be sure to trim your bug down to a tiny but