This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for Carp dot
[perl5.git] / pod / perldelta.pod
index f63abb5..67247ca 100644 (file)
@@ -1,8 +1,9 @@
 =encoding utf8
 
 =for comment
-This has been completed up to a75c6ed6bbe, except for:
+This has been completed up to 0aae26c14, except for:
 803e389        rurban  CYG17 utf8 paths
+d9298c1        rurban  mymalloc isn't thread safe
 
 =head1 NAME
 
@@ -95,6 +96,13 @@ With C<no overloading>, regular expression objects returned by C<qr//> are
 now stringified as "Regexp=REGEXP(0xbe600d)" instead of the regular
 expression itself [perl #108780].
 
+=head2 Two XS typemap Entries removed
+
+Two presumably unused XS typemap entries have been removed from the
+core typemap: T_DATAUNIT and T_CALLBACK. If you are, against all odds,
+a user of these, please see the instructions on how to regain them
+in L<perlxstypemap>.
+
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.
@@ -136,7 +144,8 @@ cribbed.
 
 =item *
 
-XXX
+The C<mmap> PerlIO layer is no longer implemented by perl itself, but has
+been moved out into the new L<PerlIO::mmap> module.
 
 =back
 
@@ -146,6 +155,13 @@ XXX
 
 =item *
 
+L<arybase> has been upgraded from version 0.03 to version 0.04.
+
+List slices no longer modify items on the stack belonging to outer lists
+[perl #109570].
+
+=item *
+
 L<B> has been upgraded from version 1.33 to version 1.34.
 
 C<B::COP> now has a C<stashflags> method, corresponding to a new internal
@@ -153,6 +169,13 @@ field added in 5.15.4 [perl #108860].
 
 =item *
 
+L<Carp> has been upgraded from version 1.24 to version 1.25.
+
+It now puts a dot after the file and line number, just like errors from
+C<die> [perl #106538].
+
+=item *
+
 L<Compress::Raw::Bzip2> has been upgraded from version 2.045 to version 2.048.
 
 =item *
@@ -176,6 +199,20 @@ relevant on Perl 5.004 and earlier.
 
 =item *
 
+L<ExtUtils::ParseXS> has been upgraded from version 3.12 to version 3.15.
+
+The new version comes with important tools for sharing typemaps between
+different CPAN distributions.
+
+=item *
+
+L<File::Copy> has been upgraded from version 2.21 to version 2.23.
+
+It no longer emits warnings when copying files with newlines in their names
+[perl #109104].
+
+=item *
+
 L<IPC::Cmd> has been upgraded from version 0.72 to version 0.76.
 
 =item *
@@ -190,6 +227,14 @@ L<Pod::Parser> has been upgraded from version 1.37 to version 1.51.
 
 =item *
 
+L<Term::ReadLine> has been upgraded from version 1.07 to version 1.08.
+
+Its C<tkRunning> method now supports L<AnyEvent> event loops, and not just
+L<Tk>.  A more general mechanism has been proposed, so this may be reverted
+before Perl 5.16 [perl #108470].
+
+=item *
+
 L<Time::HiRes>  has been upgraded from version 1.9724 to version 1.9725.
 
 C<Time::HiRes::stat()> no longer corrupts the Perl stack.
@@ -221,6 +266,12 @@ file and be sure to link to the appropriate page, e.g. L<perlfunc>.
 
 XXX Changes which create B<new> files in F<pod/> go here.
 
+=head3 L<perlxstypemap>
+
+The new manual describes the XS typemapping mechanism in unprecedented
+detail and combines new documentation with information extracted from
+L<perlxs> and the previously unofficial list of all core typemaps.
+
 =head3 L<XXX>
 
 XXX Description of the purpose of the new file here
@@ -346,6 +397,11 @@ that they represent may be covered elsewhere.
 
 XXX
 
+=item *
+
+The test suite for typemaps has been extended to cover a larger fraction of
+the core typemaps.
+
 =back
 
 =head1 Platform Support
@@ -462,6 +518,36 @@ C<-t> now works when stacked with other filetest operators [perl #77388].
 
 Stacked filetest operators now only call FETCH once on a tied argument.
 
+=item *
+
+C</.*/g> would sometimes refuse to match at the end of a string that ends
+with "\n".  This has been fixed [perl #109206].
+
+=item *
+
+Method calls whose arguments were all surrounded with C<my()> or C<our()>
+(as in C<<$object->method(my($a,$b)) >>) used to force lvalue context on
+the subroutine.  This would prevent lvalue methods from returning certain
+values.  Due to lvalue fixes earlier in the 5.15.x series, it would also
+prevent non-lvalue methods from being called [perl #109264].
+
+=for comment
+This bug I<did> affect earlier stable releases.  It is just the last
+sentence that does not apply to 5.14.
+
+=item *
+
+The C<SvPVutf8> C function no longer tries to modify its argument,
+resulting in errors [perl #108994].
+
+=item *
+
+C<SvPVutf8> now works properly with magical variables.
+
+=item *
+
+C<SvPVbyte> now works properly non-PVs.
+
 =back
 
 =head1 Known Problems