Commit | Line | Data |
---|---|---|
44691e6f AB |
1 | =encoding utf8 |
2 | ||
3 | =head1 NAME | |
4 | ||
6bd220c2 A |
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.25.10 | |
eabfc7bc | 9 | |
2cfe9b50 | 10 | =head1 DESCRIPTION |
eabfc7bc | 11 | |
6bd220c2 | 12 | This document describes differences between the 5.25.9 release and the 5.25.10 |
4b8803f0 | 13 | release. |
f3ed8cbf | 14 | |
6bd220c2 A |
15 | If you are upgrading from an earlier release such as 5.25.8, first read |
16 | L<perl5259delta>, which describes differences between 5.25.8 and 5.25.9. | |
f4b40f11 | 17 | |
6bd220c2 | 18 | =head1 Notice |
ec34c8a4 | 19 | |
6bd220c2 | 20 | XXX Any important notices here |
ec34c8a4 | 21 | |
6bd220c2 | 22 | =head1 Core Enhancements |
f4b40f11 | 23 | |
6bd220c2 A |
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. | |
ec34c8a4 | 27 | |
6bd220c2 | 28 | [ List each enhancement as a =head2 entry ] |
ec34c8a4 | 29 | |
6bd220c2 | 30 | =head1 Security |
ec34c8a4 | 31 | |
6bd220c2 A |
32 | XXX Any security-related notices go here. In particular, any security |
33 | vulnerabilities closed should be noted here rather than in the | |
34 | L</Selected Bug Fixes> section. | |
ec34c8a4 | 35 | |
6bd220c2 | 36 | [ List each security issue as a =head2 entry ] |
f4b40f11 | 37 | |
6bd220c2 | 38 | =head1 Incompatible Changes |
ec34c8a4 | 39 | |
6bd220c2 | 40 | XXX For a release on a stable branch, this section aspires to be: |
ec34c8a4 | 41 | |
6bd220c2 A |
42 | There are no changes intentionally incompatible with 5.XXX.XXX |
43 | If any exist, they are bugs, and we request that you submit a | |
44 | report. See L</Reporting Bugs> below. | |
f4b40f11 | 45 | |
6bd220c2 | 46 | [ List each incompatible change as a =head2 entry ] |
ec34c8a4 | 47 | |
6bd220c2 | 48 | =head1 Deprecations |
5e50eae4 | 49 | |
6bd220c2 | 50 | XXX Any deprecated features, syntax, modules etc. should be listed here. |
f4b40f11 | 51 | |
6bd220c2 | 52 | =head2 Module removals |
f4b40f11 | 53 | |
6bd220c2 | 54 | XXX Remove this section if inapplicable. |
f4b40f11 | 55 | |
6bd220c2 A |
56 | The following modules will be removed from the core distribution in a |
57 | future release, and will at that time need to be installed from CPAN. | |
58 | Distributions on CPAN which require these modules will need to list them as | |
59 | prerequisites. | |
f4b40f11 | 60 | |
6bd220c2 A |
61 | The core versions of these modules will now issue C<"deprecated">-category |
62 | warnings to alert you to this fact. To silence these deprecation warnings, | |
63 | install the modules in question from CPAN. | |
5e50eae4 | 64 | |
6bd220c2 A |
65 | Note that these are (with rare exceptions) fine modules that you are encouraged |
66 | to continue to use. Their disinclusion from core primarily hinges on their | |
67 | necessity to bootstrapping a fully functional, CPAN-capable Perl installation, | |
68 | not usually on concerns over their design. | |
ec34c8a4 | 69 | |
6bd220c2 | 70 | =over |
f4b40f11 | 71 | |
6bd220c2 | 72 | =item XXX |
ec34c8a4 | 73 | |
6bd220c2 A |
74 | XXX Note that deprecated modules should be listed here even if they are listed |
75 | as an updated module in the L</Modules and Pragmata> section. | |
ec34c8a4 | 76 | |
6bd220c2 | 77 | =back |
f4b40f11 | 78 | |
6bd220c2 | 79 | [ List each other deprecation as a =head2 entry ] |
ec34c8a4 | 80 | |
6bd220c2 | 81 | =head1 Performance Enhancements |
d4151a23 | 82 | |
6bd220c2 A |
83 | XXX Changes which enhance performance without changing behaviour go here. |
84 | There may well be none in a stable release. | |
ec34c8a4 | 85 | |
6bd220c2 | 86 | [ List each enhancement as a =item entry ] |
ec34c8a4 | 87 | |
6bd220c2 | 88 | =over 4 |
f4b40f11 A |
89 | |
90 | =item * | |
91 | ||
6bd220c2 | 92 | XXX |
ec34c8a4 | 93 | |
6bd220c2 | 94 | =back |
ec34c8a4 | 95 | |
6bd220c2 | 96 | =head1 Modules and Pragmata |
f4b40f11 | 97 | |
6bd220c2 A |
98 | XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> |
99 | go here. If Module::CoreList is updated, generate an initial draft of the | |
100 | following sections using F<Porting/corelist-perldelta.pl>. A paragraph summary | |
101 | for important changes should then be added by hand. In an ideal world, | |
102 | dual-life modules would have a F<Changes> file that could be cribbed. | |
f4b40f11 | 103 | |
6bd220c2 | 104 | [ Within each section, list entries as a =item entry ] |
f4b40f11 | 105 | |
6bd220c2 | 106 | =head2 New Modules and Pragmata |
f4b40f11 | 107 | |
6bd220c2 | 108 | =over 4 |
f4b40f11 A |
109 | |
110 | =item * | |
111 | ||
6bd220c2 | 112 | XXX |
f4b40f11 | 113 | |
6bd220c2 | 114 | =back |
ec34c8a4 | 115 | |
6bd220c2 | 116 | =head2 Updated Modules and Pragmata |
f4b40f11 | 117 | |
6bd220c2 | 118 | =over 4 |
ec34c8a4 JK |
119 | |
120 | =item * | |
121 | ||
6bd220c2 | 122 | L<XXX> has been upgraded from version A.xx to B.yy. |
ec34c8a4 | 123 | |
6bd220c2 | 124 | =back |
ec34c8a4 | 125 | |
6bd220c2 | 126 | =head2 Removed Modules and Pragmata |
ec34c8a4 | 127 | |
6bd220c2 | 128 | =over 4 |
f4b40f11 | 129 | |
ec34c8a4 JK |
130 | =item * |
131 | ||
6bd220c2 | 132 | XXX |
ec34c8a4 | 133 | |
6bd220c2 | 134 | =back |
f4b40f11 | 135 | |
6bd220c2 | 136 | =head1 Documentation |
ec34c8a4 | 137 | |
6bd220c2 A |
138 | XXX Changes to files in F<pod/> go here. Consider grouping entries by |
139 | file and be sure to link to the appropriate page, e.g. L<perlfunc>. | |
f4b40f11 | 140 | |
6bd220c2 | 141 | =head2 New Documentation |
5e50eae4 | 142 | |
6bd220c2 | 143 | XXX Changes which create B<new> files in F<pod/> go here. |
5e50eae4 | 144 | |
6bd220c2 | 145 | =head3 L<XXX> |
f4b40f11 | 146 | |
6bd220c2 | 147 | XXX Description of the purpose of the new file here |
58e76350 | 148 | |
6bd220c2 | 149 | =head2 Changes to Existing Documentation |
58e76350 | 150 | |
6bd220c2 A |
151 | XXX Changes which significantly change existing files in F<pod/> go here. |
152 | However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> | |
153 | section. | |
ec34c8a4 | 154 | |
6bd220c2 | 155 | =head3 L<XXX> |
f4b40f11 | 156 | |
6bd220c2 | 157 | =over 4 |
ec34c8a4 | 158 | |
e770df11 JK |
159 | =item * |
160 | ||
6bd220c2 | 161 | XXX Description of the change here |
8bbdbfcb | 162 | |
3ce6a296 | 163 | =back |
8bbdbfcb | 164 | |
3ce6a296 | 165 | =head1 Diagnostics |
8bbdbfcb | 166 | |
3ce6a296 S |
167 | The following additions or changes have been made to diagnostic output, |
168 | including warnings and fatal error messages. For the complete list of | |
169 | diagnostic messages, see L<perldiag>. | |
170 | ||
6bd220c2 A |
171 | XXX New or changed warnings emitted by the core's C<C> code go here. Also |
172 | include any changes in L<perldiag> that reconcile it to the C<C> code. | |
173 | ||
3ce6a296 S |
174 | =head2 New Diagnostics |
175 | ||
6bd220c2 A |
176 | XXX Newly added diagnostic messages go under here, separated into New Errors |
177 | and New Warnings | |
178 | ||
179 | =head3 New Errors | |
3ce6a296 S |
180 | |
181 | =over 4 | |
8bbdbfcb CG |
182 | |
183 | =item * | |
184 | ||
6bd220c2 | 185 | XXX L<message|perldiag/"message"> |
3ce6a296 S |
186 | |
187 | =back | |
188 | ||
6bd220c2 | 189 | =head3 New Warnings |
3ce6a296 S |
190 | |
191 | =over 4 | |
bd5630ab | 192 | |
107db227 | 193 | =item * |
2c4879e2 | 194 | |
6bd220c2 | 195 | XXX L<message|perldiag/"message"> |
7ca0bfc4 | 196 | |
6bd220c2 | 197 | =back |
7ca0bfc4 | 198 | |
6bd220c2 | 199 | =head2 Changes to Existing Diagnostics |
7ca0bfc4 | 200 | |
6bd220c2 | 201 | XXX Changes (i.e. rewording) of diagnostic messages go here |
7ca0bfc4 | 202 | |
6bd220c2 | 203 | =over 4 |
7ca0bfc4 A |
204 | |
205 | =item * | |
206 | ||
7cb258c1 A |
207 | Use of unassigned code point or non-standalone grapheme for a delimiter will be a fatal error starting in Perl 5.30 |
208 | ||
209 | This was changed to drop a leading C<v> in C<v5.30>, so it uses the same | |
210 | style as other deprecation messages. | |
7ca0bfc4 | 211 | |
6bd220c2 | 212 | =back |
7ca0bfc4 | 213 | |
6bd220c2 | 214 | =head1 Utility Changes |
7ca0bfc4 | 215 | |
6bd220c2 A |
216 | XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here. |
217 | Most of these are built within the directory F<utils>. | |
7ca0bfc4 | 218 | |
6bd220c2 A |
219 | [ List utility changes as a =head2 entry for each utility and =item |
220 | entries for each change | |
221 | Use L<XXX> with program names to get proper documentation linking. ] | |
7ca0bfc4 | 222 | |
6bd220c2 | 223 | =head2 L<XXX> |
7ca0bfc4 | 224 | |
6bd220c2 | 225 | =over 4 |
7ca0bfc4 A |
226 | |
227 | =item * | |
228 | ||
6bd220c2 | 229 | XXX |
7ca0bfc4 | 230 | |
6bd220c2 | 231 | =back |
7ca0bfc4 | 232 | |
6bd220c2 | 233 | =head1 Configuration and Compilation |
7ca0bfc4 | 234 | |
6bd220c2 A |
235 | XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools |
236 | go here. Any other changes to the Perl build process should be listed here. | |
237 | However, any platform-specific changes should be listed in the | |
238 | L</Platform Support> section, instead. | |
7ca0bfc4 | 239 | |
6bd220c2 | 240 | [ List changes as a =item entry ]. |
7ca0bfc4 | 241 | |
6bd220c2 | 242 | =over 4 |
7ca0bfc4 A |
243 | |
244 | =item * | |
245 | ||
6bd220c2 | 246 | XXX |
7ca0bfc4 | 247 | |
6bd220c2 | 248 | =back |
7ca0bfc4 | 249 | |
6bd220c2 | 250 | =head1 Testing |
7ca0bfc4 | 251 | |
6bd220c2 A |
252 | XXX Any significant changes to the testing of a freshly built perl should be |
253 | listed here. Changes which create B<new> files in F<t/> go here as do any | |
254 | large changes to the testing harness (e.g. when parallel testing was added). | |
255 | Changes to existing files in F<t/> aren't worth summarizing, although the bugs | |
256 | that they represent may be covered elsewhere. | |
7ca0bfc4 | 257 | |
6bd220c2 | 258 | [ List each test improvement as a =item entry ] |
7ca0bfc4 | 259 | |
6bd220c2 | 260 | =over 4 |
7ca0bfc4 A |
261 | |
262 | =item * | |
263 | ||
6bd220c2 | 264 | XXX |
3ce6a296 S |
265 | |
266 | =back | |
267 | ||
6bd220c2 | 268 | =head1 Platform Support |
3ce6a296 | 269 | |
6bd220c2 | 270 | XXX Any changes to platform support should be listed in the sections below. |
5e50eae4 | 271 | |
6bd220c2 A |
272 | [ Within the sections, list each platform as a =item entry with specific |
273 | changes as paragraphs below it. ] | |
3ce6a296 | 274 | |
6bd220c2 | 275 | =head2 New Platforms |
5e50eae4 | 276 | |
6bd220c2 A |
277 | XXX List any platforms that this version of perl compiles on, that previous |
278 | versions did not. These will either be enabled by new files in the F<hints/> | |
279 | directories, or new subdirectories and F<README> files at the top level of the | |
280 | source tree. | |
3ce6a296 S |
281 | |
282 | =over 4 | |
a09f502b | 283 | |
6bd220c2 | 284 | =item XXX-some-platform |
8bbdbfcb | 285 | |
6bd220c2 | 286 | XXX |
3ce6a296 S |
287 | |
288 | =back | |
289 | ||
6bd220c2 | 290 | =head2 Discontinued Platforms |
3ce6a296 | 291 | |
6bd220c2 | 292 | XXX List any platforms that this version of perl no longer compiles on. |
3ce6a296 S |
293 | |
294 | =over 4 | |
8bbdbfcb | 295 | |
6bd220c2 | 296 | =item XXX-some-platform |
1e671560 | 297 | |
6bd220c2 | 298 | XXX |
1e671560 TC |
299 | |
300 | =back | |
301 | ||
6bd220c2 | 302 | =head2 Platform-Specific Notes |
3ce6a296 | 303 | |
6bd220c2 A |
304 | XXX List any changes for specific platforms. This could include configuration |
305 | and compilation changes or changes in portability/compatibility. However, | |
306 | changes within modules for platforms should generally be listed in the | |
307 | L</Modules and Pragmata> section. | |
8f7edc68 | 308 | |
6bd220c2 | 309 | =over 4 |
8f7edc68 | 310 | |
6bd220c2 | 311 | =item XXX-some-platform |
8f7edc68 | 312 | |
6bd220c2 | 313 | XXX |
8f7edc68 | 314 | |
3ce6a296 S |
315 | =back |
316 | ||
3ce6a296 S |
317 | =head1 Internal Changes |
318 | ||
6bd220c2 A |
319 | XXX Changes which affect the interface available to C<XS> code go here. Other |
320 | significant internal changes for future core maintainers should be noted as | |
321 | well. | |
d1f8d421 | 322 | |
6bd220c2 | 323 | [ List each change as a =item entry ] |
d1f8d421 | 324 | |
6bd220c2 | 325 | =over 4 |
94953955 | 326 | |
d60baaa7 KW |
327 | =item * |
328 | ||
64afbd29 DM |
329 | The C<op_class()> API function has been added. This is like the existing |
330 | C<OP_CLASS()> macro, but can more accurately determine what struct an op | |
331 | has been allocated as. For example C<OP_CLASS()> might return | |
332 | C<OA_BASEOP_OR_UNOP> indicating that ops of this type are usually | |
333 | allocated as an C<OP> or C<UNOP>; while <op_class()> will return | |
334 | C<OPclass_BASEOP> or C<OPclass_UNOP> as appropriate. | |
335 | ||
336 | =item * | |
337 | ||
338 | The output format of the C<op_dump()> function (as used by C<perl -Dx>) | |
339 | has changed: it now displays an "ASCII-art" tree structure, and shows more | |
340 | low-level details about each op, such as its address and class. | |
d60baaa7 | 341 | |
3ce6a296 S |
342 | =back |
343 | ||
344 | =head1 Selected Bug Fixes | |
345 | ||
6bd220c2 A |
346 | XXX Important bug fixes in the core language are summarized here. Bug fixes in |
347 | files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>. | |
3ce6a296 | 348 | |
6bd220c2 | 349 | [ List each fix as a =item entry ] |
3ce6a296 | 350 | |
6bd220c2 | 351 | =over 4 |
8bbdbfcb | 352 | |
3ce6a296 S |
353 | =item * |
354 | ||
bab23532 TC |
355 | Attempting to use the deprecated variable C<$#> as the object in an |
356 | indirect object method call could cause a heap use after free or | |
357 | buffer overflow. [perl #129274] | |
5e50eae4 | 358 | |
1935dcd6 TC |
359 | =item * |
360 | ||
361 | When checking for an indirect object method call in some rare cases | |
362 | the parser could reallocate the line buffer but then continue to use | |
363 | pointers to the old buffer. [perl #129190] | |
364 | ||
faab9793 TC |
365 | =item * |
366 | ||
367 | Supplying a glob as the format argument to L<perlfunc/formline> would | |
368 | cause an assertion failure. [perl #130722] | |
369 | ||
d264c823 TC |
370 | =item * |
371 | ||
372 | Code like C< $value1 =~ qr/.../ ~~ $value2 > would have the match | |
373 | converted into a qr// operator, leaving extra elements on the stack to | |
374 | confuse any surrounding expression. [perl #130705] | |
375 | ||
b3dc9cf3 DM |
376 | =item * |
377 | ||
378 | Since 5.24.0 in some obscure cases, a regex which included code blocks | |
379 | from multiple sources (e.g. via embedded via qr// objects) could end up | |
380 | with the wrong current pad and crash or give weird results. [perl #129881] | |
381 | ||
382 | =item * | |
383 | ||
384 | Occasionally C<local()>s in a code block within a patterns weren't being | |
385 | undone when the pattern matching backtracked over the code block. | |
386 | [perl #126697] | |
387 | ||
6bd220c2 | 388 | =back |
5e50eae4 | 389 | |
6bd220c2 | 390 | =head1 Known Problems |
262514fd | 391 | |
6bd220c2 A |
392 | XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any |
393 | tests that had to be C<TODO>ed for the release would be noted here. Unfixed | |
394 | platform specific bugs also go here. | |
5e50eae4 | 395 | |
6bd220c2 | 396 | [ List each fix as a =item entry ] |
5e50eae4 | 397 | |
6bd220c2 | 398 | =over 4 |
5e50eae4 A |
399 | |
400 | =item * | |
401 | ||
6bd220c2 | 402 | XXX |
5e50eae4 | 403 | |
6bd220c2 | 404 | =back |
d34728b9 | 405 | |
6bd220c2 | 406 | =head1 Errata From Previous Releases |
d34728b9 | 407 | |
6bd220c2 | 408 | =over 4 |
d34728b9 A |
409 | |
410 | =item * | |
411 | ||
6bd220c2 A |
412 | XXX Add anything here that we forgot to add, or were mistaken about, in |
413 | the perldelta of a previous release. | |
d34728b9 | 414 | |
5e50eae4 | 415 | =back |
a6a32e96 | 416 | |
6bd220c2 | 417 | =head1 Obituary |
262514fd | 418 | |
6bd220c2 A |
419 | XXX If any significant core contributor has died, we've added a short obituary |
420 | here. | |
2e0dcc12 | 421 | |
6bd220c2 | 422 | =head1 Acknowledgements |
2e0dcc12 | 423 | |
6bd220c2 | 424 | XXX Generate this with: |
2e0dcc12 | 425 | |
6bd220c2 | 426 | perl Porting/acknowledgements.pl v5.25.5..HEAD |
f5b73711 | 427 | |
44691e6f AB |
428 | =head1 Reporting Bugs |
429 | ||
c0ea3294 SH |
430 | If you find what you think is a bug, you might check the perl bug database |
431 | at L<https://rt.perl.org/> . There may also be information at | |
4b8803f0 | 432 | L<http://www.perl.org/> , the Perl Home Page. |
44691e6f | 433 | |
e08634c5 SH |
434 | If you believe you have an unreported bug, please run the L<perlbug> program |
435 | included with your release. Be sure to trim your bug down to a tiny but | |
436 | sufficient test case. Your bug report, along with the output of C<perl -V>, | |
437 | will be sent off to perlbug@perl.org to be analysed by the Perl porting team. | |
44691e6f | 438 | |
87c118b9 DM |
439 | If the bug you are reporting has security implications which make it |
440 | inappropriate to send to a publicly archived mailing list, then see | |
c0ea3294 SH |
441 | L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> |
442 | for details of how to report the issue. | |
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 |