This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta remove (most) boilerplate
[perl5.git] / pod / perldelta.pod
CommitLineData
44691e6f
AB
1=encoding utf8
2
3=head1 NAME
4
13900f93
A
5[ this is a template for a new perldelta file. Any text flagged as XXX needs
6to be processed before release. ]
7
8perldelta - what is new for perl v5.21.3
c68523cb 9
238894db 10=head1 DESCRIPTION
c68523cb 11
13900f93 12This document describes differences between the 5.21.2 release and the 5.21.3
238894db 13release.
c68523cb 14
13900f93
A
15If you are upgrading from an earlier release such as 5.21.1, first read
16L<perl5212delta>, which describes differences between 5.21.1 and 5.21.2.
17
18=head1 Notice
19
20XXX Any important notices here
7065301c 21
7065301c
RS
22=head1 Core Enhancements
23
d1f01a63 24=head2 C<defined(@array = LIST)> is no longer fatal
7e957246 25
d1f01a63
PM
26In 5.21.1, C<defined(@array)> was made fatal. This has been relaxed
27to not die if the argument is assigning to an array.
7e957246 28
0346c3a9 29=head1 Security
7e957246 30
6ab3666b 31=head2 The L<Safe> module could allow outside packages to be replaced
13900f93 32
6ab3666b
PM
33Critical bugfix: outside packages could be replaced. L<Safe> has
34been patched to 2.38 to address this.
8bdb3f93 35
13900f93 36=head1 Incompatible Changes
8bdb3f93 37
1178d2cf
DIM
38=head2 S<C<use UNIVERSAL '...'>> is now a fatal error
39
40Importing functions from C<UNIVERSAL> has been deprecated since v5.12, and
41is now a fatal error. S<C<"use UNIVERSAL">> without any arguments is still
42allowed.
43
0346c3a9 44=head1 Deprecations
5320b60d 45
13900f93 46XXX Any deprecated features, syntax, modules etc. should be listed here.
36304e49 47
13900f93
A
48[ List each other deprecation as a =head2 entry ]
49
50=head1 Performance Enhancements
51
52XXX Changes which enhance performance without changing behaviour go here.
53There may well be none in a stable release.
54
55[ List each enhancement as a =item entry ]
56
57=over 4
7065301c 58
6bb82be0
MH
59=item *
60
13900f93 61XXX
6bb82be0 62
7065301c
RS
63=back
64
7ef8b31d 65=head1 Modules and Pragmata
f6f3144e 66
13900f93 67=head2 Updated Modules and Pragmata
7065301c 68
13900f93 69=over 4
7065301c 70
aac7f82f
A
71=item *
72
830fa6b6 73L<B::Debug> has been upgraded from version 1.19 to 1.21
b3e82ed1
PM
74
75=item *
76
ca58223b
PM
77L<Config::Perl::V> has been upgraded from version 0.20 to 0.22.
78
79=item *
80
23b03637
PM
81L<CPAN::Meta> has been upgraded from version 2.141520 to 2.142060.
82
83=item *
84
85e8fb10
PM
85L<CPAN::Meta::Requirements> has been upgraded from version 2.125 to 2.126.
86
87=item *
88
7d19f6a1
PM
89L<ExtUtils::Manifest> has been upgraded from version 1.64 to 1.65.
90
91The MANIFEST is now opened with C<:raw>, to prevent C<CRLF>s leaking in.
92
93=item *
94
55e8b286
PM
95L<HTTP::Tiny> has been upgraded from version 0.043 to 0.047.
96
97=item *
98
796f59e8 99L<perl5db.pl> has been upgraded from version 1.45 to 1.46.
f7df1a8c
TC
100
101Fixed the scope level handling of the debugger's C<y> command.
aac7f82f 102
0bb39c26
TC
103=item *
104
105L<POSIX> has been upgraded from version 1.41 to 1.42.
106
107Replaced the thread-unsafe code used to prevent duplicate warning
108messages for using the isxxx() functions. [perl #122476]
109
9c97a342
PM
110=item *
111
6ab3666b
PM
112L<Safe> has been upgraded from version 2.37 to 2.38.
113
114Critical bugfix: outside packages could be replaced.
115
116=item *
117
9c97a342
PM
118L<Socket> has been upgraded from version 2.014 to 2.015.
119
120Test suite updates, particularly useful for Solaris and cygwin, and
121a slight change to the pattern used for IPv4 address matching.
122
13900f93 123=back
aac7f82f 124
13900f93 125=head1 Documentation
aac7f82f 126
13900f93
A
127XXX Changes to files in F<pod/> go here. Consider grouping entries by
128file and be sure to link to the appropriate page, e.g. L<perlfunc>.
aac7f82f 129
13900f93 130=head2 Changes to Existing Documentation
6d9b7c7c 131
13900f93
A
132XXX Changes which significantly change existing files in F<pod/> go here.
133However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
134section.
6d9b7c7c 135
13900f93 136=head3 L<XXX>
7f55cec0 137
13900f93 138=over 4
7f55cec0
SH
139
140=item *
141
13900f93 142XXX Description of the change here
aac7f82f 143
13900f93 144=back
aac7f82f 145
13900f93 146=head1 Diagnostics
091fed7c 147
13900f93
A
148The following additions or changes have been made to diagnostic output,
149including warnings and fatal error messages. For the complete list of
150diagnostic messages, see L<perldiag>.
902c1f75 151
13900f93
A
152XXX New or changed warnings emitted by the core's C<C> code go here. Also
153include any changes in L<perldiag> that reconcile it to the C<C> code.
2901561d 154
13900f93 155=head2 New Diagnostics
2901561d 156
13900f93
A
157XXX Newly added diagnostic messages go under here, separated into New Errors
158and New Warnings
159
160=head3 New Errors
4594cf53 161
13900f93 162=over 4
96dcbc37
DD
163
164=item *
165
13900f93 166XXX L<message|perldiag/"message">
7065301c 167
13900f93 168=back
58f25ac1 169
13900f93
A
170=head3 New Warnings
171
172=over 4
58f25ac1
MH
173
174=item *
175
a5873648
PM
176L<Hexadecimal float: exponent overflow|perldiag/"Hexadecimal float: exponent overflow">
177
178(W overflow) The hexadecimal floating point has larger exponent
179than the floating point supports.
180
181=item *
182
183L<Hexadecimal float: exponent underflow|perldiag/"Hexadecimal float: exponent underflow">
184
185(W overflow) The hexadecimal floating point has smaller exponent
186than the floating point supports.
187
188=item *
189
190L<Hexadecimal float: internal error|perldiag/"Hexadecimal float: internal error">
191
192(F) Something went horribly bad in hexadecimal float handling.
193
194=item *
195
196L<Hexadecimal float: mantissa overflow|perldiag/"Hexadecimal float: mantissa overflow">
197
198(W overflow) The hexadecimal floating point literal had more bits in
199the mantissa (the part between the 0x and the exponent, also known as
200the fraction or the significand) than the floating point supports.
201
202=item *
203
204L<Hexadecimal float: precision loss|perldiag/"Hexadecimal float: precision loss">
205
206(W overflow) The hexadecimal floating point had internally more
207digits than could be output. This can be caused by unsupported
208long double formats, or by 64-bit integers not being available
209(needed to retrieve the digits under some configurations).
210
211=item *
212
213L<Hexadecimal float: unsupported long double format|perldiag/"Hexadecimal float: unsupported long double format">
214
215(F) You have configured Perl to use long doubles but
216the internals of the long double format are unknown,
217therefore the hexadecimal float output is impossible.
5bafdaa4 218
58f25ac1
MH
219=back
220
13900f93 221=head2 Changes to Existing Diagnostics
12042f24 222
13900f93 223XXX Changes (i.e. rewording) of diagnostic messages go here
b10906fb
MH
224
225=over 4
226
227=item *
228
13900f93 229XXX Describe change here
b10906fb
MH
230
231=back
232
13900f93
A
233=head1 Configuration and Compilation
234
235XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
236go here. Any other changes to the Perl build process should be listed here.
237However, any platform-specific changes should be listed in the
238L</Platform Support> section, instead.
239
240[ List changes as a =item entry ].
7065301c
RS
241
242=over 4
24a38d90
RS
243
244=item *
245
a5873648 246Internal handling of floating point values has been improved.
7065301c
RS
247
248=back
249
13900f93 250=head1 Testing
6d9b7c7c 251
13900f93
A
252XXX Any significant changes to the testing of a freshly built perl should be
253listed here. Changes which create B<new> files in F<t/> go here as do any
254large changes to the testing harness (e.g. when parallel testing was added).
255Changes to existing files in F<t/> aren't worth summarizing, although the bugs
256that they represent may be covered elsewhere.
6d9b7c7c 257
13900f93 258[ List each test improvement as a =item entry ]
7065301c
RS
259
260=over 4
24a38d90
RS
261
262=item *
263
13900f93 264XXX
48867f3d 265
13900f93 266=back
28462159 267
13900f93 268=head1 Platform Support
097675bf 269
13900f93 270XXX Any changes to platform support should be listed in the sections below.
b3211734 271
13900f93
A
272[ Within the sections, list each platform as a =item entry with specific
273changes as paragraphs below it. ]
b3211734 274
7065301c
RS
275=head2 Platform-Specific Notes
276
13900f93
A
277XXX List any changes for specific platforms. This could include configuration
278and compilation changes or changes in portability/compatibility. However,
279changes within modules for platforms should generally be listed in the
280L</Modules and Pragmata> section.
281
0346c3a9 282=over 4
7d0ccdba 283
13900f93 284=item XXX-some-platform
7d0ccdba 285
13900f93 286XXX
7d0ccdba 287
7065301c
RS
288=back
289
290=head1 Internal Changes
291
13900f93
A
292XXX Changes which affect the interface available to C<XS> code go here. Other
293significant internal changes for future core maintainers should be noted as
294well.
c9fcb674 295
13900f93 296[ List each change as a =item entry ]
ddeaf645 297
13900f93 298=over 4
c9fcb674 299
a835cd47
KW
300=item *
301
d8bcb4d6
KW
302Added L<perlapi/sync_locale>.
303Changing the program's locale should be avoided by XS code. Nevertheless,
304certain non-Perl libraries called from XS, such as C<Gtk> do so. When this
305happens, Perl needs to be told that the locale has changed. Use this function
306to do so, before returning to Perl.
c1284011 307
6d9b7c7c 308=back
c1284011 309
6d9b7c7c 310=head1 Selected Bug Fixes
375f5f06 311
13900f93
A
312XXX Important bug fixes in the core language are summarized here. Bug fixes in
313files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
314
315[ List each fix as a =item entry ]
316
0346c3a9 317=over 4
375f5f06 318
2884baee
MH
319=item *
320
0dd816ae
TC
321Failing to compile C<use Foo> in an eval could leave a spurious
322C<BEGIN> subroutine definition, which would produce a "Subroutine
323BEGIN redefined" warning on the next use of C<use>, or other C<BEGIN>
324block. [perl #122107]
2884baee 325
b756670b
FC
326=item *
327
328C<method { BLOCK } ARGS> syntax now correctly parses the arguments if they
329begin with an opening brace. [perl #46947]
330
13900f93
A
331=back
332
333=head1 Known Problems
334
335XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
336tests that had to be C<TODO>ed for the release would be noted here. Unfixed
337platform specific bugs also go here.
5af51eb4 338
13900f93
A
339[ List each fix as a =item entry ]
340
341=over 4
5af51eb4 342
412f55bb
KW
343=item *
344
13900f93 345XXX
412f55bb 346
7065301c
RS
347=back
348
13900f93 349=head1 Errata From Previous Releases
24a38d90 350
13900f93
A
351=over 4
352
353=item *
e831f11a 354
13900f93
A
355XXX Add anything here that we forgot to add, or were mistaken about, in
356the perldelta of a previous release.
e831f11a 357
13900f93
A
358=back
359
13900f93 360=head1 Acknowledgements
e831f11a 361
13900f93 362XXX Generate this with:
e831f11a 363
13900f93 364 perl Porting/acknowledgements.pl v5.21.2..HEAD
f5b73711 365
44691e6f
AB
366=head1 Reporting Bugs
367
e08634c5
SH
368If you find what you think is a bug, you might check the articles recently
369posted to the comp.lang.perl.misc newsgroup and the perl bug database at
238894db 370https://rt.perl.org/ . There may also be information at
7ef8b31d 371http://www.perl.org/ , the Perl Home Page.
44691e6f 372
e08634c5
SH
373If you believe you have an unreported bug, please run the L<perlbug> program
374included with your release. Be sure to trim your bug down to a tiny but
375sufficient test case. Your bug report, along with the output of C<perl -V>,
376will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
44691e6f
AB
377
378If the bug you are reporting has security implications, which make it
e08634c5
SH
379inappropriate to send to a publicly archived mailing list, then please send it
380to perl5-security-report@perl.org. This points to a closed subscription
381unarchived mailing list, which includes all the core committers, who will be
382able to help assess the impact of issues, figure out a resolution, and help
f9001595 383co-ordinate the release of patches to mitigate or fix the problem across all
e08634c5
SH
384platforms on which Perl is supported. Please only use this address for
385security issues in the Perl core, not for modules independently distributed on
386CPAN.
44691e6f
AB
387
388=head1 SEE ALSO
389
e08634c5
SH
390The F<Changes> file for an explanation of how to view exhaustive details on
391what changed.
44691e6f
AB
392
393The F<INSTALL> file for how to build Perl.
394
395The F<README> file for general stuff.
396
397The F<Artistic> and F<Copying> files for copyright information.
398
399=cut