This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
update perldiag with new warnings
[perl5.git] / pod / perldelta.pod
CommitLineData
44691e6f
AB
1=encoding utf8
2
3=head1 NAME
4
337fb649 5perldelta - what is new for perl v5.17.11
e128ab2c 6
4eabcf70 7=head1 DESCRIPTION
6db9054f 8
337fb649 9This document describes differences between the 5.17.10 release and the 5.17.11
e08634c5 10release.
6db9054f 11
337fb649
MM
12If you are upgrading from an earlier release such as 5.17.9, first read
13L<perl51710delta>, which describes differences between 5.17.9 and 5.17.10.
3f01b192 14
337fb649 15=head1 Incompatible Changes
3f01b192 16
07197c45 17Although no major incompatibilities have been introduced, the "switch" family
be07ea8f 18of features have been marked experimental and will now emit warnings. These
07197c45 19are: the C<~~> operator, C<given>, and C<when>.
82d98f72 20
337fb649 21=head1 Modules and Pragmata
82d98f72 22
337fb649 23=head2 Updated Modules and Pragmata
14731ad1 24
337fb649 25=over 4
14731ad1 26
82d98f72 27=item *
14731ad1 28
829397b9
TC
29Fixed the merge of ExtUtils-MakeMaker 6.65_01 to remove an excluded
30file. This was causing a test failure on Win32 [perl #117477]
31
32=item *
33
71e6aba6
RS
34B::Deparse has been upgraded from version 1.19 to 1.20, adding stub deparsing
35for lexical subroutines.
36
37=item *
38
39bigint has been upgraded from version 0.33 to 0.34.
40
41=item *
42
07197c45 43CPAN has been upgraded from its trial 2.00 release to its final 2.00 release.
2426c394 44
71e6aba6
RS
45=item *
46
47Exporter has been upgraded from version 5.67 to 5.68.
48
49=item *
50
51ExtUtils::CBuilder has been upgraded from version 0.280209 to 0.280210.
52
53=item *
54
1993add8
RS
55ExtUtils::MakeMaker has been upgraded from version 6.65_01 to 6.66.
56
57=item *
58
71e6aba6
RS
59IO has been upgraded from version 1.27 to 1.28.
60
61=item *
62
63overload has been upgraded from version 1.21 to 1.22.
64
65=item *
66
67Storable has been upgraded from version 2.40 to 2.41.
68
69=item *
70
71warnings has been upgraded from version 1.17 to 1.18.
72
337fb649 73=back
2426c394 74
337fb649 75=head2 Changes to Existing Documentation
2426c394 76
07197c45 77=head3 Asian-language documentation
2426c394 78
07197c45
RS
79The Asian-language documentation, previously stored in a few different
80encodings, have been transcoded to UTF-8.
2426c394 81
337fb649 82=head1 Diagnostics
2426c394 83
337fb649
MM
84The following additions or changes have been made to diagnostic output,
85including warnings and fatal error messages. For the complete list of
86diagnostic messages, see L<perldiag>.
2426c394 87
337fb649 88=head3 New Warnings
2426c394 89
337fb649 90=over 4
982110e0 91
82d98f72 92=item *
2426c394 93
33392251
BF
94L<Smartmatch is experimental|perldiag/"Smartmatch is experimental">
95
96=item *
97
98L<given is experimental|perldiag/"given is experimental">
99
100=item *
101
102L<when is experimental|perldiag/"when is experimental">
2426c394 103
337fb649 104=back
2426c394 105
337fb649 106=head1 Platform Support
19718730 107
337fb649 108=head2 Platform-Specific Notes
82d98f72 109
5a6a30f4 110=over 4
b7c7d786 111
07197c45 112=item VMS
82d98f72 113
07197c45
RS
114As of 5.18.0, Perl on VMS can (at last) be built in and installed from a
115directory having dots in the name, so it is no longer necessary to rename the
116top-level source directory before building.
d2d1e842 117
07197c45
RS
118The pertinent instructions have been removed from README.vms, so we also no
119longer need to update the version number that was embedded in those
120instructions.
f355e93d 121
5a6a30f4 122=back
f355e93d 123
337fb649 124=head1 Selected Bug Fixes
19718730 125
19718730 126=over 4
e14ac59b 127
07197c45 128=item Make vms.c's Perl_flex_fstat preserve errno on success
9f351b45 129
07197c45 130=item split's first argument is more consistently interpreted
9f351b45 131
07197c45
RS
132After some changes earlier in 5.17, C<split>'s behavior has been simplified: if
133the PATTERN argument evaluates to a literal string containing one space, it is
134treated the way that a I<literal> string containing one space once was.
9f351b45 135
07197c45 136=item Handle overloading properly in compile-time regex
7cf3104f 137
07197c45
RS
138C<(?{…})> and C<qr> constant overloading did not play nicely together, and when
139C<qr> constant overloading was in effect, C<qr> constructs inside a C<(?{…})>
140construct were incorrectly interpreted. [perl #116823]
12719193 141
6253ee75 142=back
216cf7fc 143
19718730 144=head1 Acknowledgements
f5b73711 145
a75569c0
RS
146Perl 5.17.11 represents approximately 4 weeks of development since Perl 5.17.10
147and contains approximately 3,800 lines of changes across 130 files from 17
148authors.
149
150Perl continues to flourish into its third decade thanks to a vibrant community
151of users and developers. The following people are known to have contributed the
152improvements that became Perl 5.17.11:
153
154Aaron Crane, Andy Dougherty, Brian Fraser, Chris 'BinGOs' Williams, Craig A.
155Berry, David Mitchell, François Perrad, James E Keenan, Jan Dubois, Karl
156Williamson, Leon Timmermans, Max Maischein, Moritz Lenz, Nicholas Clark,
157Ricardo Signes, Tony Cook, Yves Orton.
158
159The list above is almost certainly incomplete as it is automatically generated
160from version control history. In particular, it does not include the names of
161the (very much appreciated) contributors who reported issues to the Perl bug
162tracker.
163
164Many of the changes included in this version originated in the CPAN modules
165included in Perl's core. We're grateful to the entire CPAN community for
166helping Perl to flourish.
167
168For a more complete list of all of Perl's historical contributors, please see
169the F<AUTHORS> file in the Perl source distribution.
f5b73711 170
44691e6f
AB
171=head1 Reporting Bugs
172
e08634c5
SH
173If you find what you think is a bug, you might check the articles recently
174posted to the comp.lang.perl.misc newsgroup and the perl bug database at
175http://rt.perl.org/perlbug/ . There may also be information at
176http://www.perl.org/ , the Perl Home Page.
44691e6f 177
e08634c5
SH
178If you believe you have an unreported bug, please run the L<perlbug> program
179included with your release. Be sure to trim your bug down to a tiny but
180sufficient test case. Your bug report, along with the output of C<perl -V>,
181will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
44691e6f
AB
182
183If the bug you are reporting has security implications, which make it
e08634c5
SH
184inappropriate to send to a publicly archived mailing list, then please send it
185to perl5-security-report@perl.org. This points to a closed subscription
186unarchived mailing list, which includes all the core committers, who will be
187able to help assess the impact of issues, figure out a resolution, and help
f9001595 188co-ordinate the release of patches to mitigate or fix the problem across all
e08634c5
SH
189platforms on which Perl is supported. Please only use this address for
190security issues in the Perl core, not for modules independently distributed on
191CPAN.
44691e6f
AB
192
193=head1 SEE ALSO
194
e08634c5
SH
195The F<Changes> file for an explanation of how to view exhaustive details on
196what changed.
44691e6f
AB
197
198The F<INSTALL> file for how to build Perl.
199
200The F<README> file for general stuff.
201
202The F<Artistic> and F<Copying> files for copyright information.
203
204=cut