Commit | Line | Data |
---|---|---|
44691e6f AB |
1 | =encoding utf8 |
2 | ||
3 | =head1 NAME | |
4 | ||
12dcbffb AP |
5 | [ this is a template for a new perldelta file. Any text flagged as XXX needs |
6 | to be processed before release. ] | |
7 | ||
8 | perldelta - what is new for perl v5.19.3 | |
e128ab2c | 9 | |
4eabcf70 | 10 | =head1 DESCRIPTION |
6db9054f | 11 | |
12dcbffb | 12 | This document describes differences between the 5.19.2 release and the 5.19.3 |
e08634c5 | 13 | release. |
6db9054f | 14 | |
12dcbffb AP |
15 | If you are upgrading from an earlier release such as 5.19.1, first read |
16 | L<perl5192delta>, which describes differences between 5.19.1 and 5.19.2. | |
42bff0d9 | 17 | |
12dcbffb | 18 | =head1 Notice |
42bff0d9 | 19 | |
12dcbffb | 20 | XXX Any important notices here |
42bff0d9 | 21 | |
12dcbffb | 22 | =head1 Core Enhancements |
c0ca71c9 | 23 | |
12dcbffb AP |
24 | XXX New core language features go here. Summarize user-visible core language |
25 | enhancements. Particularly prominent performance optimisations could go | |
26 | here, but most should go in the L</Performance Enhancements> section. | |
c0ca71c9 | 27 | |
12dcbffb | 28 | [ List each enhancement as a =head2 entry ] |
c0ca71c9 | 29 | |
5bb43e77 TC |
30 | =head2 B<-F> now implies B<-a> and B<-a> implies B<-n> |
31 | ||
32 | Previously B<-F> without B<-a> was a no-op, and B<-a> without B<-n> or | |
33 | B<-p> was a no-op, with this change, if you supply B<-F> then both | |
34 | B<-a> and B<-n> are implied and if you supply B<-a> then B<-n> is implied. | |
35 | ||
36 | You can still use B<-p> for its extra behaviour. [perl #116190] | |
37 | ||
12dcbffb | 38 | =head1 Security |
c0ca71c9 | 39 | |
12dcbffb AP |
40 | XXX Any security-related notices go here. In particular, any security |
41 | vulnerabilities closed should be noted here rather than in the | |
42 | L</Selected Bug Fixes> section. | |
c0ca71c9 | 43 | |
12dcbffb | 44 | [ List each security issue as a =head2 entry ] |
c0ca71c9 | 45 | |
12dcbffb | 46 | =head1 Incompatible Changes |
c0ca71c9 | 47 | |
12dcbffb | 48 | XXX For a release on a stable branch, this section aspires to be: |
c0ca71c9 | 49 | |
12dcbffb AP |
50 | There are no changes intentionally incompatible with 5.XXX.XXX |
51 | If any exist, they are bugs, and we request that you submit a | |
52 | report. See L</Reporting Bugs> below. | |
c0ca71c9 | 53 | |
12dcbffb | 54 | [ List each incompatible change as a =head2 entry ] |
c0ca71c9 | 55 | |
12dcbffb | 56 | =head1 Deprecations |
c0ca71c9 | 57 | |
12dcbffb | 58 | XXX Any deprecated features, syntax, modules etc. should be listed here. |
c0ca71c9 | 59 | |
12dcbffb | 60 | =head2 Module removals |
c0ca71c9 | 61 | |
12dcbffb | 62 | XXX Remove this section if inapplicable. |
c0ca71c9 | 63 | |
12dcbffb AP |
64 | The following modules will be removed from the core distribution in a |
65 | future release, and will at that time need to be installed from CPAN. | |
66 | Distributions on CPAN which require these modules will need to list them as | |
67 | prerequisites. | |
c0ca71c9 | 68 | |
12dcbffb AP |
69 | The core versions of these modules will now issue C<"deprecated">-category |
70 | warnings to alert you to this fact. To silence these deprecation warnings, | |
71 | install the modules in question from CPAN. | |
c0ca71c9 | 72 | |
12dcbffb AP |
73 | Note that these are (with rare exceptions) fine modules that you are encouraged |
74 | to continue to use. Their disinclusion from core primarily hinges on their | |
75 | necessity to bootstrapping a fully functional, CPAN-capable Perl installation, | |
76 | not usually on concerns over their design. | |
c0ca71c9 | 77 | |
12dcbffb | 78 | =over |
c0ca71c9 | 79 | |
12dcbffb AP |
80 | XXX Note that deprecated modules should be listed here even if they are listed |
81 | as an updated module in the L</Modules and Pragmata> section. | |
c0ca71c9 | 82 | |
12dcbffb | 83 | =back |
c0ca71c9 | 84 | |
12dcbffb | 85 | [ List each other deprecation as a =head2 entry ] |
c0ca71c9 | 86 | |
12dcbffb | 87 | =head1 Performance Enhancements |
c0ca71c9 | 88 | |
12dcbffb AP |
89 | XXX Changes which enhance performance without changing behaviour go here. |
90 | There may well be none in a stable release. | |
c0ca71c9 | 91 | |
12dcbffb | 92 | [ List each enhancement as a =item entry ] |
c0ca71c9 | 93 | |
12dcbffb | 94 | =over 4 |
c0ca71c9 AP |
95 | |
96 | =item * | |
97 | ||
12dcbffb | 98 | XXX |
c0ca71c9 | 99 | |
12dcbffb | 100 | =back |
70ba8092 | 101 | |
12dcbffb | 102 | =head1 Modules and Pragmata |
42bff0d9 | 103 | |
12dcbffb AP |
104 | XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> |
105 | go here. If Module::CoreList is updated, generate an initial draft of the | |
106 | following sections using F<Porting/corelist-perldelta.pl>, which prints stub | |
107 | entries to STDOUT. Results can be pasted in place of the '=head2' entries | |
108 | below. A paragraph summary for important changes should then be added by hand. | |
109 | In an ideal world, dual-life modules would have a F<Changes> file that could be | |
110 | cribbed. | |
6e4979f3 | 111 | |
12dcbffb | 112 | [ Within each section, list entries as a =item entry ] |
6e4979f3 | 113 | |
12dcbffb | 114 | =head2 New Modules and Pragmata |
6e4979f3 | 115 | |
12dcbffb | 116 | =over 4 |
42bff0d9 | 117 | |
c0ca71c9 | 118 | =item * |
42bff0d9 | 119 | |
12dcbffb | 120 | XXX |
42bff0d9 | 121 | |
12dcbffb | 122 | =back |
42bff0d9 | 123 | |
12dcbffb | 124 | =head2 Updated Modules and Pragmata |
42bff0d9 | 125 | |
12dcbffb | 126 | =over 4 |
42bff0d9 | 127 | |
c0ca71c9 | 128 | =item * |
42bff0d9 | 129 | |
323602af TC |
130 | L<B> has been upgraded from version 1.44 to 1.45. |
131 | ||
132 | Calling the C<GV> method on C<B::CV> objects created from a lexical | |
133 | sub would return nonsense, possibly crashing perl. C<GV> now returns | |
134 | C<undef> for lexical subs. [perl #118525] | |
135 | ||
136 | Added the C<NAME_HEK> method to return the name of a lexical sub. | |
137 | ||
138 | =item * | |
139 | ||
cffd634c TC |
140 | L<Data::Dumper> has been upgraded from version 2.147 to 2.148. |
141 | ||
142 | The compatbility of the XS implementation with the pure perl version | |
143 | under C<Useqq> has been improved. [perl #118933] | |
42bff0d9 | 144 | |
2cf99697 TC |
145 | =item * |
146 | ||
147 | L<Storable> has been upgraded from version 2.45 to 2.46. | |
148 | ||
149 | Avoid creating temporary objects for STORABLE_attach when they aren't | |
150 | required. [perl #118907] | |
151 | ||
64932d37 TC |
152 | =item * |
153 | ||
154 | L<bignum> has been upgraded from version 0.35 to 0.36. | |
155 | ||
156 | L<bigrat> wasn't correctly updating an internal variable when C<use>d | |
157 | with a C<lib> option. | |
158 | ||
6f7e3040 TC |
159 | =item * |
160 | ||
161 | L<Exporter> has been upgraded from version 5.68 to 5.69. | |
162 | ||
163 | L<Exporter> would ignore custom C<$SIG{__WARN__}> handlers in | |
164 | C<Exporter::Heavy>. [perl #39739] | |
165 | ||
c0ca71c9 | 166 | =back |
42bff0d9 | 167 | |
12dcbffb | 168 | =head2 Removed Modules and Pragmata |
dbd04185 | 169 | |
38663f11 | 170 | =over 4 |
583aa5c2 | 171 | |
1fdd5e53 KW |
172 | =item * |
173 | ||
12dcbffb | 174 | XXX |
42bff0d9 | 175 | |
38663f11 | 176 | =back |
42bff0d9 | 177 | |
12dcbffb | 178 | =head1 Documentation |
989e4501 | 179 | |
12dcbffb AP |
180 | XXX Changes to files in F<pod/> go here. Consider grouping entries by |
181 | file and be sure to link to the appropriate page, e.g. L<perlfunc>. | |
989e4501 | 182 | |
12dcbffb | 183 | =head2 New Documentation |
989e4501 | 184 | |
12dcbffb | 185 | XXX Changes which create B<new> files in F<pod/> go here. |
42bff0d9 | 186 | |
12dcbffb | 187 | =head3 L<XXX> |
42bff0d9 | 188 | |
12dcbffb | 189 | XXX Description of the purpose of the new file here |
42bff0d9 | 190 | |
12dcbffb | 191 | =head2 Changes to Existing Documentation |
42bff0d9 | 192 | |
12dcbffb AP |
193 | XXX Changes which significantly change existing files in F<pod/> go here. |
194 | However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> | |
195 | section. | |
42bff0d9 | 196 | |
3031ec7a | 197 | =head3 L<perlopentut> |
42bff0d9 | 198 | |
38663f11 | 199 | =over 4 |
42bff0d9 DG |
200 | |
201 | =item * | |
202 | ||
3031ec7a RS |
203 | The C<open> tutorial has been completely rewriten by Tom Christiansen, and now |
204 | focuses on covering only the basics, rather than providing a comprehensive | |
205 | reference to all things openable. This rewrite came as the result of a | |
206 | vigorous discussion on perl5-porters kicked off by a set of improvements | |
207 | written by Alexander Hartmaier to the existing C<perlopentut>. A "more than | |
208 | you ever wanted to know about C<open>" document may follow in subsequent | |
209 | versions of perl. | |
1fdd5e53 | 210 | |
583aa5c2 RS |
211 | =back |
212 | ||
c0ca71c9 AP |
213 | =head1 Diagnostics |
214 | ||
215 | The following additions or changes have been made to diagnostic output, | |
216 | including warnings and fatal error messages. For the complete list of | |
217 | diagnostic messages, see L<perldiag>. | |
218 | ||
12dcbffb AP |
219 | XXX New or changed warnings emitted by the core's C<C> code go here. Also |
220 | include any changes in L<perldiag> that reconcile it to the C<C> code. | |
221 | ||
c0ca71c9 AP |
222 | =head2 New Diagnostics |
223 | ||
12dcbffb AP |
224 | XXX Newly added diagnostic messages go under here, separated into New Errors |
225 | and New Warnings | |
226 | ||
227 | =head3 New Errors | |
583aa5c2 | 228 | |
38663f11 | 229 | =over 4 |
583aa5c2 | 230 | |
b8a02ff1 | 231 | =item * |
583aa5c2 | 232 | |
12dcbffb | 233 | XXX L<message|perldiag/"message"> |
583aa5c2 | 234 | |
b8a02ff1 | 235 | =back |
583aa5c2 | 236 | |
12dcbffb | 237 | =head3 New Warnings |
96d496e4 | 238 | |
38663f11 | 239 | =over 4 |
b8a02ff1 DG |
240 | |
241 | =item * | |
242 | ||
12dcbffb | 243 | XXX L<message|perldiag/"message"> |
96d496e4 | 244 | |
12dcbffb | 245 | =back |
1310e590 | 246 | |
12dcbffb | 247 | =head2 Changes to Existing Diagnostics |
e727f86a | 248 | |
12dcbffb | 249 | XXX Changes (i.e. rewording) of diagnostic messages go here |
e727f86a | 250 | |
12dcbffb | 251 | =over 4 |
e727f86a | 252 | |
81ca6d44 FC |
253 | =item * |
254 | ||
12dcbffb | 255 | XXX Describe change here |
81ca6d44 | 256 | |
96d496e4 RS |
257 | =back |
258 | ||
12dcbffb | 259 | =head1 Utility Changes |
583aa5c2 | 260 | |
12dcbffb AP |
261 | XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here. |
262 | Most of these are built within the directories F<utils> and F<x2p>. | |
71e6aba6 | 263 | |
12dcbffb AP |
264 | [ List utility changes as a =head3 entry for each utility and =item |
265 | entries for each change | |
266 | Use L<XXX> with program names to get proper documentation linking. ] | |
d5f315e8 | 267 | |
12dcbffb | 268 | =head3 L<XXX> |
e38fc308 NC |
269 | |
270 | =over 4 | |
271 | ||
272 | =item * | |
273 | ||
12dcbffb | 274 | XXX |
e38fc308 NC |
275 | |
276 | =back | |
277 | ||
12dcbffb | 278 | =head1 Configuration and Compilation |
2426c394 | 279 | |
12dcbffb AP |
280 | XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools |
281 | go here. Any other changes to the Perl build process should be listed here. | |
282 | However, any platform-specific changes should be listed in the | |
283 | L</Platform Support> section, instead. | |
4724da03 | 284 | |
12dcbffb | 285 | [ List changes as a =item entry ]. |
583aa5c2 | 286 | |
38663f11 | 287 | =over 4 |
a34da6c4 | 288 | |
12dcbffb | 289 | =item * |
a34da6c4 | 290 | |
12dcbffb | 291 | XXX |
a34da6c4 | 292 | |
583aa5c2 RS |
293 | =back |
294 | ||
12dcbffb | 295 | =head1 Testing |
583aa5c2 | 296 | |
12dcbffb AP |
297 | XXX Any significant changes to the testing of a freshly built perl should be |
298 | listed here. Changes which create B<new> files in F<t/> go here as do any | |
299 | large changes to the testing harness (e.g. when parallel testing was added). | |
300 | Changes to existing files in F<t/> aren't worth summarizing, although the bugs | |
301 | that they represent may be covered elsewhere. | |
1de7c8e6 | 302 | |
12dcbffb | 303 | [ List each test improvement as a =item entry ] |
9c800862 | 304 | |
12dcbffb | 305 | =over 4 |
aaf54772 | 306 | |
b7bbd8b6 FC |
307 | =item * |
308 | ||
12dcbffb | 309 | XXX |
b7bbd8b6 | 310 | |
583aa5c2 RS |
311 | =back |
312 | ||
12dcbffb | 313 | =head1 Platform Support |
d7bfa554 | 314 | |
12dcbffb | 315 | XXX Any changes to platform support should be listed in the sections below. |
81d3ed5a | 316 | |
12dcbffb AP |
317 | [ Within the sections, list each platform as a =item entry with specific |
318 | changes as paragraphs below it. ] | |
81d3ed5a | 319 | |
12dcbffb | 320 | =head2 New Platforms |
0b023496 | 321 | |
12dcbffb AP |
322 | XXX List any platforms that this version of perl compiles on, that previous |
323 | versions did not. These will either be enabled by new files in the F<hints/> | |
324 | directories, or new subdirectories and F<README> files at the top level of the | |
325 | source tree. | |
0b023496 | 326 | |
12dcbffb | 327 | =over 4 |
e11f653d | 328 | |
12dcbffb | 329 | =item XXX-some-platform |
5e0164b2 | 330 | |
12dcbffb | 331 | XXX |
5e0164b2 | 332 | |
12dcbffb | 333 | =back |
e11f653d | 334 | |
12dcbffb | 335 | =head2 Discontinued Platforms |
8be8cdec | 336 | |
12dcbffb | 337 | XXX List any platforms that this version of perl no longer compiles on. |
8be8cdec | 338 | |
12dcbffb | 339 | =over 4 |
07a522a5 | 340 | |
12dcbffb | 341 | =item XXX-some-platform |
07a522a5 | 342 | |
12dcbffb | 343 | XXX |
71b4007c | 344 | |
12dcbffb | 345 | =back |
71b4007c | 346 | |
12dcbffb | 347 | =head2 Platform-Specific Notes |
f6b1d2f5 | 348 | |
12dcbffb AP |
349 | XXX List any changes for specific platforms. This could include configuration |
350 | and compilation changes or changes in portability/compatibility. However, | |
351 | changes within modules for platforms should generally be listed in the | |
352 | L</Modules and Pragmata> section. | |
f6b1d2f5 | 353 | |
12dcbffb | 354 | =over 4 |
7e4f209b | 355 | |
12dcbffb | 356 | =item XXX-some-platform |
7e4f209b | 357 | |
12dcbffb | 358 | XXX |
558673e6 | 359 | |
12dcbffb | 360 | =back |
558673e6 | 361 | |
12dcbffb | 362 | =head1 Internal Changes |
47a7c93d | 363 | |
12dcbffb AP |
364 | XXX Changes which affect the interface available to C<XS> code go here. Other |
365 | significant internal changes for future core maintainers should be noted as | |
366 | well. | |
47a7c93d | 367 | |
12dcbffb | 368 | [ List each change as a =item entry ] |
b5a80c26 | 369 | |
12dcbffb | 370 | =over 4 |
b5a80c26 | 371 | |
7f1d4316 FC |
372 | =item * |
373 | ||
12dcbffb | 374 | XXX |
7f1d4316 | 375 | |
12dcbffb | 376 | =back |
02bef66e | 377 | |
12dcbffb | 378 | =head1 Selected Bug Fixes |
d30fb844 | 379 | |
12dcbffb AP |
380 | XXX Important bug fixes in the core language are summarized here. Bug fixes in |
381 | files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>. | |
d30fb844 | 382 | |
12dcbffb | 383 | [ List each fix as a =item entry ] |
21c01741 | 384 | |
12dcbffb | 385 | =over 4 |
21c01741 | 386 | |
467582e8 FC |
387 | =item * |
388 | ||
5c24ac0b FC |
389 | Autovivifying a subroutine stub via C<\&$glob> started causing crashes in |
390 | Perl 5.18.0 if the $glob was merely a copy of a real glob, i.e., a scalar | |
391 | that had had a glob assigned to it. This has been fixed [perl #119051]. | |
467582e8 | 392 | |
38663f11 | 393 | =back |
d7bfa554 | 394 | |
38663f11 | 395 | =head1 Known Problems |
6810f0ad | 396 | |
12dcbffb AP |
397 | XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any |
398 | tests that had to be C<TODO>ed for the release would be noted here. Unfixed | |
399 | platform specific bugs also go here. | |
400 | ||
401 | [ List each fix as a =item entry ] | |
402 | ||
38663f11 | 403 | =over 4 |
14fd9356 FC |
404 | |
405 | =item * | |
406 | ||
12dcbffb | 407 | XXX |
0e417e4d | 408 | |
38663f11 | 409 | =back |
583aa5c2 | 410 | |
12dcbffb AP |
411 | =head1 Obituary |
412 | ||
413 | XXX If any significant core contributor has died, we've added a short obituary | |
414 | here. | |
415 | ||
583aa5c2 | 416 | =head1 Acknowledgements |
a75569c0 | 417 | |
12dcbffb AP |
418 | XXX Generate this with: |
419 | ||
420 | perl Porting/acknowledgements.pl v5.19.2..HEAD | |
f5b73711 | 421 | |
44691e6f AB |
422 | =head1 Reporting Bugs |
423 | ||
e08634c5 SH |
424 | If you find what you think is a bug, you might check the articles recently |
425 | posted to the comp.lang.perl.misc newsgroup and the perl bug database at | |
426 | http://rt.perl.org/perlbug/ . There may also be information at | |
427 | http://www.perl.org/ , the Perl Home Page. | |
44691e6f | 428 | |
e08634c5 SH |
429 | If you believe you have an unreported bug, please run the L<perlbug> program |
430 | included with your release. Be sure to trim your bug down to a tiny but | |
431 | sufficient test case. Your bug report, along with the output of C<perl -V>, | |
432 | will be sent off to perlbug@perl.org to be analysed by the Perl porting team. | |
44691e6f AB |
433 | |
434 | If the bug you are reporting has security implications, which make it | |
e08634c5 SH |
435 | inappropriate to send to a publicly archived mailing list, then please send it |
436 | to perl5-security-report@perl.org. This points to a closed subscription | |
437 | unarchived mailing list, which includes all the core committers, who will be | |
438 | able to help assess the impact of issues, figure out a resolution, and help | |
f9001595 | 439 | co-ordinate the release of patches to mitigate or fix the problem across all |
e08634c5 SH |
440 | platforms on which Perl is supported. Please only use this address for |
441 | security issues in the Perl core, not for modules independently distributed on | |
442 | CPAN. | |
44691e6f AB |
443 | |
444 | =head1 SEE ALSO | |
445 | ||
e08634c5 SH |
446 | The F<Changes> file for an explanation of how to view exhaustive details on |
447 | what changed. | |
44691e6f AB |
448 | |
449 | The F<INSTALL> file for how to build Perl. | |
450 | ||
451 | The F<README> file for general stuff. | |
452 | ||
453 | The F<Artistic> and F<Copying> files for copyright information. | |
454 | ||
455 | =cut |