Commit | Line | Data |
---|---|---|
e90f0e29 DG |
1 | =encoding utf8 |
2 | ||
09d86ea5 | 3 | =for rafl |
dbce4399 | 4 | changelogged up to commit d6fa5a34 |
09d86ea5 | 5 | * PERL_STATIC_INLINE might want to be mentioned |
09d86ea5 | 6 | |
e90f0e29 DG |
7 | =head1 NAME |
8 | ||
9 | [ this is a template for a new perldelta file. Any text flagged as | |
10 | XXX needs to be processed before release. ] | |
11 | ||
12 | perldelta - what is new for perl v5.13.4 | |
13 | ||
14 | =head1 DESCRIPTION | |
15 | ||
16 | This document describes differences between the 5.13.4 release and | |
17 | the 5.13.3 release. | |
18 | ||
19 | If you are upgrading from an earlier release such as 5.13.2, first read | |
20 | L<perl5133delta>, which describes differences between 5.13.2 and | |
21 | 5.13.3. | |
22 | ||
23 | =head1 Notice | |
24 | ||
25 | XXX Any important notices here | |
26 | ||
27 | =head1 Core Enhancements | |
28 | ||
29 | XXX New core language features go here. Summarise user-visible core language | |
30 | enhancements. Particularly prominent performance optimisations could go | |
31 | here, but most should go in the L</Performance Enhancements> section. | |
32 | ||
33 | [ List each enhancement as a =head2 entry ] | |
34 | ||
fd773641 RGS |
35 | =head2 C<\N{I<name>}> and C<charnames> enhancements |
36 | ||
37 | C<\N{}>, C<charnames::vianame>, C<charnames::viacode> now know about every | |
38 | character in Unicode. Previously, they didn't know about the Hangul syllables | |
39 | nor a number of CJK (Chinese/Japanese/Korean) characters. | |
40 | ||
e90f0e29 DG |
41 | =head1 Security |
42 | ||
43 | XXX Any security-related notices go here. In particular, any security | |
44 | vulnerabilities closed should be noted here rather than in the | |
45 | L</Selected Bug Fixes> section. | |
46 | ||
47 | [ List each security issue as a =head2 entry ] | |
48 | ||
49 | =head1 Incompatible Changes | |
50 | ||
dbce4399 | 51 | =head2 Declare API incompatibility between blead releases |
e90f0e29 | 52 | |
dbce4399 FR |
53 | Only stable releases (5.10.x, 5.12.x, 5.14.x, ...) guarantee binary |
54 | compatibility with each other, while blead releases (5.13.x, 5.15.x, ...) often | |
55 | break this compatibility. However, prior to perl 5.13.4, all blead releases had | |
56 | the same C<PERL_API_REVISION>, C<PERL_API_VERSION>, and C<PERL_API_SUBVERSION>, | |
57 | effectively declaring them as binary compatible, which they weren't. From now | |
58 | on, blead releases will have a C<PERL_API_SUBVERSION> equal to their | |
59 | C<PERL_SUBVERSION>, explicitly marking them as incompatible with each other. | |
e90f0e29 | 60 | |
dbce4399 FR |
61 | Maintainance releases of stable perl versions will continue to make no |
62 | intentionally incompatible API changes. | |
63 | ||
64 | =head2 Check API compatibility when loading XS modules | |
65 | ||
66 | When perl's API changes in incompatible ways (which usually happens between | |
67 | every major release), XS modules compiled for previous versions of perl will not | |
68 | work anymore. They will need to be recompiled against the new perl. | |
69 | ||
70 | In order to ensure that modules are recompiled, and to prevent users from | |
71 | accidentally loading modules compiled for old perls into newer ones, the | |
72 | C<XS_APIVERSION_BOOTCHECK> macro has been added. That macro, which is called | |
73 | when loading every newly compiled extension, compares the API version of the | |
74 | running perl with the version a module has been compiled for and raises an | |
75 | exception if they don't match. | |
e90f0e29 DG |
76 | |
77 | =head1 Deprecations | |
78 | ||
79 | XXX Any deprecated features, syntax, modules etc. should be listed here. | |
80 | In particular, deprecated modules should be listed here even if they are | |
81 | listed as an updated module in the L</Modules and Pragmata> section. | |
82 | ||
83 | [ List each deprecation as a =head2 entry ] | |
84 | ||
85 | =head1 Performance Enhancements | |
86 | ||
87 | XXX Changes which enhance performance without changing behaviour go here. There | |
88 | may well be none in a stable release. | |
89 | ||
90 | [ List each enhancement as a =item * entry ] | |
91 | ||
92 | =over 4 | |
93 | ||
94 | =item * | |
95 | ||
96 | XXX | |
97 | ||
98 | =back | |
99 | ||
100 | =head1 Modules and Pragmata | |
101 | ||
102 | XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> | |
103 | go here. If Module::CoreList is updated, generate an initial draft of the | |
104 | following sections using F<Porting/corelist-perldelta.pl>, which prints stub | |
105 | entries to STDOUT. Results can be pasted in place of the '=head2' entries | |
106 | below. A paragraph summary for important changes should then be added by hand. | |
107 | In an ideal world, dual-life modules would have a F<Changes> file that could be | |
108 | cribbed. | |
109 | ||
110 | [ Within each section, list entries as a =item NAME entry ] | |
111 | ||
112 | =head2 New Modules and Pragmata | |
113 | ||
114 | =over 4 | |
115 | ||
116 | =item * | |
117 | ||
118 | XXX | |
119 | ||
120 | =back | |
121 | ||
122 | =head2 Updated Modules and Pragmata | |
123 | ||
124 | =over 4 | |
125 | ||
5aa76647 FR |
126 | =item C<Archive::Tar> |
127 | ||
128 | Upgraded from version 1.64 to 1.66. | |
129 | ||
130 | Among other things, the new version adds a new option to C<ptar> to allow safe | |
131 | creation of tarballs without world-writable files on Windows, allowing those | |
132 | archives to be uploaded to CPAN. | |
133 | ||
a767f83c FR |
134 | =item C<B::Lint> |
135 | ||
136 | Upgraded from version 1.11 to 1.12. | |
137 | ||
09d86ea5 | 138 | =item C<Carp> |
e90f0e29 | 139 | |
09d86ea5 FR |
140 | Upgraded from version 1.16 to 1.18. |
141 | ||
142 | L<Carp> now detects incomplete L<caller()|perlfunc/"caller EXPR"> overrides and | |
143 | avoids using bogus C<@DB::args>. This fixes certain cases of C<Bizarre copy of | |
144 | ARRAY> caused by modules overriding C<caller()> incorrectly. | |
145 | ||
97613388 FR |
146 | =item C<Compress::Raw::Bzip2> |
147 | ||
148 | Upgraded from version 2.027 to 2.030. | |
149 | ||
150 | =item C<Compress::Raw::Zlib> | |
151 | ||
152 | Upgraded from version 2.027 to 2.030. | |
153 | ||
09d86ea5 FR |
154 | =item C<File::Spec> |
155 | ||
156 | Upgraded from version 3.31 to 3.31_01. | |
157 | ||
158 | Various issues in L<File::Spec::VMS> have been fixed. | |
e90f0e29 | 159 | |
97613388 FR |
160 | =item C<IO::Compress> |
161 | ||
162 | Upgraded from version 2.027 to 2.030. | |
163 | ||
e90f0e29 DG |
164 | =back |
165 | ||
166 | =head2 Removed Modules and Pragmata | |
167 | ||
168 | =over 4 | |
169 | ||
170 | =item * | |
171 | ||
172 | XXX | |
173 | ||
174 | =back | |
175 | ||
176 | =head1 Documentation | |
177 | ||
178 | XXX Changes to files in F<pod/> go here. Consider grouping entries by | |
179 | file and be sure to link to the appropriate page, e.g. L<perlfunc>. | |
180 | ||
181 | =head2 New Documentation | |
182 | ||
183 | XXX Changes which create B<new> files in F<pod/> go here. | |
184 | ||
185 | =head3 L<XXX> | |
186 | ||
187 | XXX Description of the purpose of the new file here | |
188 | ||
189 | =head2 Changes to Existing Documentation | |
190 | ||
191 | XXX Changes which significantly change existing files in F<pod/> go here. | |
192 | However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> | |
193 | section. | |
194 | ||
dbce4399 FR |
195 | =head3 L<perldiag> |
196 | ||
197 | =over 4 | |
198 | ||
199 | =item * | |
200 | ||
201 | The following existing diagnostics are now documented: | |
202 | ||
203 | =over 4 | |
204 | ||
205 | =item * | |
206 | ||
207 | L<Ambiguous use of %c resolved as operator %c|perldiag/"Ambiguous use of %c resolved as operator %c"> | |
208 | ||
209 | =item * | |
210 | ||
211 | L<Ambiguous use of %c{%s} resolved to %c%s|perldiag/"Ambiguous use of %c{%s} resolved to %c%s"> | |
212 | ||
213 | =item * | |
214 | ||
215 | L<Ambiguous use of %c{%s%s} resolved to %c%s%s|perldiag/"Ambiguous use of %c{%s%s} resolved to %c%s%s"> | |
216 | ||
217 | =item * | |
218 | ||
219 | L<Ambiguous use of -%s resolved as -&%s()|perldiag/"Ambiguous use of -%s resolved as -&%s()"> | |
220 | ||
221 | =back | |
222 | ||
223 | =back | |
224 | ||
09d86ea5 | 225 | =head3 L<perlport> |
e90f0e29 DG |
226 | |
227 | =over 4 | |
228 | ||
229 | =item * | |
230 | ||
09d86ea5 FR |
231 | Documented a L<limitation|perlport/alarm> of L<alarm()|perlfunc/"alarm SECONDS"> |
232 | on Win32. | |
e90f0e29 DG |
233 | |
234 | =back | |
235 | ||
236 | =head1 Diagnostics | |
237 | ||
238 | The following additions or changes have been made to diagnostic output, | |
239 | including warnings and fatal error messages. For the complete list of | |
240 | diagnostic messages, see L<perldiag>. | |
241 | ||
242 | XXX New or changed warnings emitted by the core's C<C> code go here. Also | |
243 | include any changes in L<perldiag> that reconcile it to the C<C> code. | |
244 | ||
245 | [ Within each section, list entries as a =item entry ] | |
246 | ||
247 | =head2 New Diagnostics | |
248 | ||
249 | XXX Newly added diagnostic messages go here | |
250 | ||
251 | =over 4 | |
252 | ||
253 | =item * | |
254 | ||
255 | XXX | |
256 | ||
257 | =back | |
258 | ||
259 | =head2 Changes to Existing Diagnostics | |
260 | ||
261 | XXX Changes (i.e. rewording) of diagnostic messages go here | |
262 | ||
263 | =over 4 | |
264 | ||
265 | =item * | |
266 | ||
267 | XXX | |
268 | ||
269 | =back | |
270 | ||
271 | =head1 Utility Changes | |
272 | ||
273 | XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go | |
274 | here. Most of these are built within the directories F<utils> and F<x2p>. | |
275 | ||
276 | [ List utility changes as a =head3 entry for each utility and =item | |
277 | entries for each change | |
278 | Use L<XXX> with program names to get proper documentation linking. ] | |
279 | ||
280 | =head3 L<XXX> | |
281 | ||
282 | =over 4 | |
283 | ||
284 | =item * | |
285 | ||
286 | XXX | |
287 | ||
288 | =back | |
289 | ||
290 | =head1 Configuration and Compilation | |
291 | ||
292 | XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools | |
293 | go here. Any other changes to the Perl build process should be listed here. | |
294 | However, any platform-specific changes should be listed in the | |
295 | L</Platform Support> section, instead. | |
296 | ||
297 | [ List changes as a =item entry ]. | |
298 | ||
299 | =over 4 | |
300 | ||
301 | =item * | |
302 | ||
09d86ea5 | 303 | Improve compatibility with C<C++> compilers. |
e90f0e29 DG |
304 | |
305 | =back | |
306 | ||
307 | =head1 Testing | |
308 | ||
309 | XXX Any significant changes to the testing of a freshly built perl should be | |
310 | listed here. Changes which create B<new> files in F<t/> go here as do any | |
311 | large changes to the testing harness (e.g. when parallel testing was added). | |
312 | Changes to existing files in F<t/> aren't worth summarising, although the bugs | |
313 | that they represent may be covered elsewhere. | |
314 | ||
315 | [ List each test improvement as a =item entry ] | |
316 | ||
317 | =over 4 | |
318 | ||
319 | =item * | |
320 | ||
5aa76647 | 321 | F<t/op/print.t> has been added to test implicit printing of C<$_>. |
e90f0e29 | 322 | |
dbce4399 FR |
323 | =item * |
324 | ||
325 | F<t/io/errnosig.t> has been added to test for restoration of of C<$!> when | |
326 | leaving signal handlers. | |
327 | ||
e90f0e29 DG |
328 | =back |
329 | ||
330 | =head1 Platform Support | |
331 | ||
332 | XXX Any changes to platform support should be listed in the sections below. | |
333 | ||
334 | [ Within the sections, list each platform as a =item entry with specific | |
335 | changes as paragraphs below it. ] | |
336 | ||
337 | =head2 New Platforms | |
338 | ||
339 | XXX List any platforms that this version of perl compiles on, that previous | |
340 | versions did not. These will either be enabled by new files in the F<hints/> | |
341 | directories, or new subdirectories and F<README> files at the top level of the | |
342 | source tree. | |
343 | ||
344 | =over 4 | |
345 | ||
346 | =item XXX-some-platform | |
347 | ||
348 | XXX | |
349 | ||
350 | =back | |
351 | ||
352 | =head2 Discontinued Platforms | |
353 | ||
354 | XXX List any platforms that this version of perl no longer compiles on. | |
355 | ||
356 | =over 4 | |
357 | ||
358 | =item XXX-some-platform | |
359 | ||
360 | XXX | |
361 | ||
362 | =back | |
363 | ||
364 | =head2 Platform-Specific Notes | |
365 | ||
366 | XXX List any changes for specific platforms. This could include configuration | |
367 | and compilation changes or changes in portability/compatibility. However, | |
368 | changes within modules for platforms should generally be listed in the | |
369 | L</Modules and Pragmata> section. | |
370 | ||
371 | =over 4 | |
372 | ||
09d86ea5 | 373 | =item Win32 |
e90f0e29 | 374 | |
09d86ea5 FR |
375 | =over 4 |
376 | ||
377 | =item * | |
378 | ||
379 | Fixed a possible hang in F<t/op/readline.t>. | |
380 | ||
381 | =item * | |
382 | ||
383 | Fixed Makefile for SDK2003SP1 compilers. | |
384 | ||
385 | =back | |
e90f0e29 DG |
386 | |
387 | =back | |
388 | ||
389 | =head1 Internal Changes | |
390 | ||
391 | XXX Changes which affect the interface available to C<XS> code go here. | |
392 | Other significant internal changes for future core maintainers should | |
393 | be noted as well. | |
394 | ||
395 | [ List each test improvement as a =item entry ] | |
396 | ||
397 | =over 4 | |
398 | ||
09d86ea5 | 399 | =item Removed C<PERL_POLLUTE> |
e90f0e29 | 400 | |
09d86ea5 FR |
401 | The option to define C<PERL_POLLUTE> to expose older 5.005 symbols for backwards |
402 | compatibility has been removed. It's use was always discouraged, and MakeMaker | |
403 | contains a more specific escape hatch: | |
404 | ||
405 | perl Makefile.PL POLLUTE=1 | |
406 | ||
407 | This can be used for modules that have not been upgraded to 5.6 naming | |
408 | conventions (and really should be completely obsolete by now). | |
409 | ||
844fcee5 FR |
410 | =item Make extending the peephole optimizer easier |
411 | ||
412 | As of version 5.8, extension authors were allowed to replace perl's peephole | |
413 | optimizer function. However, this was B<very> hard to do, as there was no way to | |
414 | add new optimizations without having to copy large parts of perl's original | |
415 | optimizer. This problem is now solved by a rework of the optimizer extension | |
416 | API. See L<perlguts/"Compile pass 3: peephole optimization"> for details. | |
417 | ||
e90f0e29 DG |
418 | =back |
419 | ||
420 | =head1 Selected Bug Fixes | |
421 | ||
422 | XXX Important bug fixes in the core language are summarised here. | |
423 | Bug fixes in files in F<ext/> and F<lib/> are best summarised in | |
424 | L</Modules and Pragmata>. | |
425 | ||
426 | [ List each fix as a =item entry ] | |
427 | ||
428 | =over 4 | |
429 | ||
430 | =item * | |
431 | ||
09d86ea5 FR |
432 | Fixed possible memory leak when using L<caller()|perlfunc/"caller EXPR"> to set |
433 | C<@DB::args>. | |
434 | ||
435 | =item * | |
436 | ||
437 | Several memory leaks when loading XS modules were fixed. | |
e90f0e29 | 438 | |
5aa76647 FR |
439 | =item * |
440 | ||
441 | A panic in the regular expression optimizer has been fixed (RT#75762). | |
442 | ||
443 | =item * | |
444 | ||
445 | Assignments to lvalue subroutines now honor copy-on-write behavior again, which | |
446 | has been broken since version 5.10.0 (RT#75656). | |
447 | ||
dbce4399 FR |
448 | =item * |
449 | ||
450 | Assignments to glob copies now behave just like assignments to regular globs | |
451 | (RT#1804). | |
452 | ||
453 | =item * | |
454 | ||
455 | Within signal handlers, C<$!> is now implicitly localized. | |
456 | ||
e90f0e29 DG |
457 | =back |
458 | ||
459 | =head1 Known Problems | |
460 | ||
461 | XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any | |
462 | tests that had to be C<TODO>ed for the release would be noted here, unless | |
463 | they were specific to a particular platform (see below). | |
464 | ||
465 | This is a list of some significant unfixed bugs, which are regressions | |
466 | from either 5.XXX.XXX or 5.XXX.XXX. | |
467 | ||
468 | [ List each fix as a =item entry ] | |
469 | ||
470 | =over 4 | |
471 | ||
472 | =item * | |
473 | ||
474 | XXX | |
475 | ||
476 | =back | |
477 | ||
478 | =head1 Obituary | |
479 | ||
480 | XXX If any significant core contributor has died, we've added a short obituary | |
481 | here. | |
482 | ||
483 | =head1 Acknowledgements | |
484 | ||
485 | XXX The list of people to thank goes here. | |
486 | ||
487 | =head1 Reporting Bugs | |
488 | ||
489 | If you find what you think is a bug, you might check the articles | |
490 | recently posted to the comp.lang.perl.misc newsgroup and the perl | |
491 | bug database at http://rt.perl.org/perlbug/ . There may also be | |
492 | information at http://www.perl.org/ , the Perl Home Page. | |
493 | ||
494 | If you believe you have an unreported bug, please run the B<perlbug> | |
495 | program included with your release. Be sure to trim your bug down | |
496 | to a tiny but sufficient test case. Your bug report, along with the | |
497 | output of C<perl -V>, will be sent off to perlbug@perl.org to be | |
498 | analysed by the Perl porting team. | |
499 | ||
500 | If the bug you are reporting has security implications, which make it | |
501 | inappropriate to send to a publicly archived mailing list, then please send | |
502 | it to perl5-security-report@perl.org. This points to a closed subscription | |
503 | unarchived mailing list, which includes all the core committers, who be able | |
504 | to help assess the impact of issues, figure out a resolution, and help | |
505 | co-ordinate the release of patches to mitigate or fix the problem across all | |
506 | platforms on which Perl is supported. Please only use this address for | |
507 | security issues in the Perl core, not for modules independently | |
508 | distributed on CPAN. | |
509 | ||
510 | =head1 SEE ALSO | |
511 | ||
512 | The F<Changes> file for an explanation of how to view exhaustive details | |
513 | on what changed. | |
514 | ||
515 | The F<INSTALL> file for how to build Perl. | |
516 | ||
517 | The F<README> file for general stuff. | |
518 | ||
519 | The F<Artistic> and F<Copying> files for copyright information. | |
520 | ||
521 | =cut |