Commit | Line | Data |
---|---|---|
3a5c9134 CBW |
1 | =encoding utf8 |
2 | ||
59773fc7 FC |
3 | =for comment |
4 | This has been completed up to a3179684. | |
5 | ||
3a5c9134 CBW |
6 | =head1 NAME |
7 | ||
8 | [ this is a template for a new perldelta file. Any text flagged as | |
9 | XXX needs to be processed before release. ] | |
10 | ||
11 | perldelta - what is new for perl v5.13.8 | |
12 | ||
13 | =head1 DESCRIPTION | |
14 | ||
15 | This document describes differences between the 5.13.8 release and | |
16 | the 5.13.7 release. | |
17 | ||
dbbe2d83 | 18 | If you are upgrading from an earlier release such as 5.13.6, first read |
3a5c9134 CBW |
19 | L<perl5137delta>, which describes differences between 5.13.6 and |
20 | 5.13.7. | |
21 | ||
22 | =head1 Notice | |
23 | ||
24 | XXX Any important notices here | |
25 | ||
26 | =head1 Core Enhancements | |
27 | ||
28 | XXX New core language features go here. Summarise user-visible core language | |
29 | enhancements. Particularly prominent performance optimisations could go | |
30 | here, but most should go in the L</Performance Enhancements> section. | |
31 | ||
32 | [ List each enhancement as a =head2 entry ] | |
33 | ||
b19934fb NC |
34 | =head2 C<-d:-foo> calls C<Devel::foo::unimport> |
35 | ||
36 | The syntax C<-dI<B<:>foo>> was extended in 5.6.1 to make C<-dI<:fooB<=bar>>> | |
37 | equivalent to C<-Mfoo=bar>, which expands internally to C<use foo 'bar';>. | |
38 | F<perl> now allows prefixing the module name with C<->, with the same | |
39 | semantics as C<-M>, I<i.e.> | |
40 | ||
41 | =over 4 | |
42 | ||
43 | =item C<-d:-foo> | |
44 | ||
45 | Equivalent to C<-M-foo>, expands to C<no foo;>, calls C<< foo->unimport() >> | |
46 | if the method exists. | |
47 | ||
48 | =item C<-d:-foo=bar> | |
49 | ||
50 | Equivalent to C<-M-foo=bar>, expands to C<no foo 'bar';>, calls | |
51 | C<< foo->unimport('bar') >> if the method exists. | |
52 | ||
53 | =back | |
54 | ||
55 | This is particularly useful to suppresses the default actions of a | |
56 | C<Devel::*> module's C<import> method whilst still loading it for debugging. | |
57 | ||
3a5c9134 CBW |
58 | =head1 Security |
59 | ||
60 | XXX Any security-related notices go here. In particular, any security | |
61 | vulnerabilities closed should be noted here rather than in the | |
62 | L</Selected Bug Fixes> section. | |
63 | ||
64 | [ List each security issue as a =head2 entry ] | |
65 | ||
66 | =head1 Incompatible Changes | |
67 | ||
68 | XXX For a release on a stable branch, this section aspires to be: | |
69 | ||
70 | There are no changes intentionally incompatible with 5.XXX.XXX. If any | |
71 | exist, they are bugs and reports are welcome. | |
72 | ||
73 | [ List each incompatible change as a =head2 entry ] | |
74 | ||
75 | =head1 Deprecations | |
76 | ||
77 | XXX Any deprecated features, syntax, modules etc. should be listed here. | |
78 | In particular, deprecated modules should be listed here even if they are | |
79 | listed as an updated module in the L</Modules and Pragmata> section. | |
80 | ||
81 | [ List each deprecation as a =head2 entry ] | |
82 | ||
59773fc7 FC |
83 | =head2 C<?PATTERN?> is deprecated |
84 | ||
85 | C<?PATTERN?> (without the initial m) has been deprecated and now produces | |
86 | a warning. | |
87 | ||
d59a8b3e NC |
88 | =head2 C<sv_compile_2op> is now deprecated |
89 | ||
90 | The C<sv_compile_2op> is now deprecated, and will be removed. Searches suggest | |
91 | that nothing on CPAN is using it, so this should have zero impact. | |
92 | ||
93 | It attempted to provide an API to compile code down to an optree, but failed | |
94 | to bind correctly to lexicals in the enclosing scope. It's not possible to | |
95 | fix this problem within the constraints of its parameters and return value. | |
96 | ||
3a5c9134 CBW |
97 | =head1 Performance Enhancements |
98 | ||
99 | XXX Changes which enhance performance without changing behaviour go here. There | |
100 | may well be none in a stable release. | |
101 | ||
102 | [ List each enhancement as a =item entry ] | |
103 | ||
104 | =over 4 | |
105 | ||
106 | =item * | |
107 | ||
108 | XXX | |
109 | ||
110 | =back | |
111 | ||
112 | =head1 Modules and Pragmata | |
113 | ||
114 | XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> | |
115 | go here. If Module::CoreList is updated, generate an initial draft of the | |
116 | following sections using F<Porting/corelist-perldelta.pl>, which prints stub | |
117 | entries to STDOUT. Results can be pasted in place of the '=head2' entries | |
118 | below. A paragraph summary for important changes should then be added by hand. | |
119 | In an ideal world, dual-life modules would have a F<Changes> file that could be | |
120 | cribbed. | |
121 | ||
122 | [ Within each section, list entries as a =item entry ] | |
123 | ||
124 | =head2 New Modules and Pragmata | |
125 | ||
126 | =over 4 | |
127 | ||
128 | =item * | |
129 | ||
130 | XXX | |
131 | ||
132 | =back | |
133 | ||
134 | =head2 Updated Modules and Pragmata | |
135 | ||
136 | =over 4 | |
137 | ||
138 | =item * | |
139 | ||
39b09a1b CBW |
140 | C<IPC::Cmd> has been upgraded from 0.64 to 0.66 |
141 | ||
142 | Resolves an issue with splitting Win32 command lines | |
143 | and documentation enhancements. | |
144 | ||
145 | =item * | |
146 | ||
37fa6334 | 147 | C<MIME::Base64> has been upgraded from 3.10 to 3.13 |
2456140e CBW |
148 | |
149 | Now provides encode_base64url and decode_base64url functions to process | |
150 | the base64 scheme for "URL applications". | |
151 | ||
152 | =item * | |
153 | ||
68adb2b0 CBW |
154 | C<Unicode::Collate> has been upgraded from 0.67 to 0.68 |
155 | ||
156 | =item * | |
157 | ||
59773fc7 | 158 | C<Unicode::UCD> has been upgraded from 0.29 to 0.30. |
3a5c9134 CBW |
159 | |
160 | =back | |
161 | ||
162 | =head2 Removed Modules and Pragmata | |
163 | ||
164 | =over 4 | |
165 | ||
166 | =item * | |
167 | ||
168 | XXX | |
169 | ||
170 | =back | |
171 | ||
172 | =head1 Documentation | |
173 | ||
174 | XXX Changes to files in F<pod/> go here. Consider grouping entries by | |
175 | file and be sure to link to the appropriate page, e.g. L<perlfunc>. | |
176 | ||
177 | =head2 New Documentation | |
178 | ||
179 | XXX Changes which create B<new> files in F<pod/> go here. | |
180 | ||
181 | =head3 L<XXX> | |
182 | ||
183 | XXX Description of the purpose of the new file here | |
184 | ||
185 | =head2 Changes to Existing Documentation | |
186 | ||
187 | XXX Changes which significantly change existing files in F<pod/> go here. | |
188 | However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> | |
189 | section. | |
190 | ||
191 | =head3 L<XXX> | |
192 | ||
193 | =over 4 | |
194 | ||
195 | =item * | |
196 | ||
197 | XXX Description of the change here | |
198 | ||
199 | =back | |
200 | ||
201 | =head1 Diagnostics | |
202 | ||
203 | The following additions or changes have been made to diagnostic output, | |
204 | including warnings and fatal error messages. For the complete list of | |
205 | diagnostic messages, see L<perldiag>. | |
206 | ||
207 | XXX New or changed warnings emitted by the core's C<C> code go here. Also | |
208 | include any changes in L<perldiag> that reconcile it to the C<C> code. | |
209 | ||
210 | [ Within each section, list entries as a =item entry ] | |
211 | ||
212 | =head2 New Diagnostics | |
213 | ||
214 | XXX Newly added diagnostic messages go here | |
215 | ||
216 | =over 4 | |
217 | ||
218 | =item * | |
219 | ||
220 | XXX | |
221 | ||
222 | =back | |
223 | ||
224 | =head2 Changes to Existing Diagnostics | |
225 | ||
226 | XXX Changes (i.e. rewording) of diagnostic messages go here | |
227 | ||
228 | =over 4 | |
229 | ||
230 | =item * | |
231 | ||
232 | XXX | |
233 | ||
234 | =back | |
235 | ||
236 | =head1 Utility Changes | |
237 | ||
238 | XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go | |
239 | here. Most of these are built within the directories F<utils> and F<x2p>. | |
240 | ||
241 | [ List utility changes as a =head3 entry for each utility and =item | |
242 | entries for each change | |
243 | Use L<XXX> with program names to get proper documentation linking. ] | |
244 | ||
245 | =head3 L<XXX> | |
246 | ||
247 | =over 4 | |
248 | ||
249 | =item * | |
250 | ||
251 | XXX | |
252 | ||
253 | =back | |
254 | ||
255 | =head1 Configuration and Compilation | |
256 | ||
257 | XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools | |
258 | go here. Any other changes to the Perl build process should be listed here. | |
259 | However, any platform-specific changes should be listed in the | |
260 | L</Platform Support> section, instead. | |
261 | ||
262 | [ List changes as a =item entry ]. | |
263 | ||
264 | =over 4 | |
265 | ||
266 | =item * | |
267 | ||
268 | XXX | |
269 | ||
270 | =back | |
271 | ||
272 | =head1 Testing | |
273 | ||
274 | XXX Any significant changes to the testing of a freshly built perl should be | |
275 | listed here. Changes which create B<new> files in F<t/> go here as do any | |
276 | large changes to the testing harness (e.g. when parallel testing was added). | |
277 | Changes to existing files in F<t/> aren't worth summarising, although the bugs | |
278 | that they represent may be covered elsewhere. | |
279 | ||
280 | [ List each test improvement as a =item entry ] | |
281 | ||
282 | =over 4 | |
283 | ||
284 | =item * | |
285 | ||
286 | XXX | |
287 | ||
288 | =back | |
289 | ||
290 | =head1 Platform Support | |
291 | ||
292 | XXX Any changes to platform support should be listed in the sections below. | |
293 | ||
294 | [ Within the sections, list each platform as a =item entry with specific | |
295 | changes as paragraphs below it. ] | |
296 | ||
297 | =head2 New Platforms | |
298 | ||
299 | XXX List any platforms that this version of perl compiles on, that previous | |
300 | versions did not. These will either be enabled by new files in the F<hints/> | |
301 | directories, or new subdirectories and F<README> files at the top level of the | |
302 | source tree. | |
303 | ||
304 | =over 4 | |
305 | ||
306 | =item XXX-some-platform | |
307 | ||
308 | XXX | |
309 | ||
310 | =back | |
311 | ||
312 | =head2 Discontinued Platforms | |
313 | ||
314 | XXX List any platforms that this version of perl no longer compiles on. | |
315 | ||
316 | =over 4 | |
317 | ||
318 | =item XXX-some-platform | |
319 | ||
320 | XXX | |
321 | ||
322 | =back | |
323 | ||
324 | =head2 Platform-Specific Notes | |
325 | ||
326 | XXX List any changes for specific platforms. This could include configuration | |
327 | and compilation changes or changes in portability/compatibility. However, | |
328 | changes within modules for platforms should generally be listed in the | |
329 | L</Modules and Pragmata> section. | |
330 | ||
331 | =over 4 | |
332 | ||
333 | =item XXX-some-platform | |
334 | ||
335 | XXX | |
336 | ||
337 | =back | |
338 | ||
339 | =head1 Internal Changes | |
340 | ||
341 | XXX Changes which affect the interface available to C<XS> code go here. | |
342 | Other significant internal changes for future core maintainers should | |
343 | be noted as well. | |
344 | ||
345 | [ List each test improvement as a =item entry ] | |
346 | ||
347 | =over 4 | |
348 | ||
349 | =item * | |
350 | ||
351 | XXX | |
352 | ||
353 | =back | |
354 | ||
355 | =head1 Selected Bug Fixes | |
356 | ||
357 | XXX Important bug fixes in the core language are summarised here. | |
358 | Bug fixes in files in F<ext/> and F<lib/> are best summarised in | |
359 | L</Modules and Pragmata>. | |
360 | ||
361 | [ List each fix as a =item entry ] | |
362 | ||
363 | =over 4 | |
364 | ||
365 | =item * | |
366 | ||
88e9444c NC |
367 | C<BEGIN {require 5.12.0}> now behaves as documented, rather than behaving |
368 | identically to C<use 5.12.0;>. Previously, C<require> in a C<BEGIN> block | |
369 | was erroneously executing the C<use feature ':5.12.0'> and | |
370 | C<use strict; use warnings;> behaviour, which only C<use> was documented to | |
371 | provide. | |
3a5c9134 CBW |
372 | |
373 | =back | |
374 | ||
375 | =head1 Known Problems | |
376 | ||
377 | XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any | |
378 | tests that had to be C<TODO>ed for the release would be noted here, unless | |
379 | they were specific to a particular platform (see below). | |
380 | ||
381 | This is a list of some significant unfixed bugs, which are regressions | |
382 | from either 5.XXX.XXX or 5.XXX.XXX. | |
383 | ||
384 | [ List each fix as a =item entry ] | |
385 | ||
386 | =over 4 | |
387 | ||
388 | =item * | |
389 | ||
2283d326 KW |
390 | A number of bugs with regular expression bracketed character classes |
391 | have been fixed, mostly having to do with matching characters in the | |
392 | non-ASCII Latin-1 range. | |
3a5c9134 CBW |
393 | |
394 | =back | |
395 | ||
396 | =head1 Obituary | |
397 | ||
398 | XXX If any significant core contributor has died, we've added a short obituary | |
399 | here. | |
400 | ||
401 | =head1 Acknowledgements | |
402 | ||
403 | XXX The list of people to thank goes here. | |
404 | ||
405 | =head1 Reporting Bugs | |
406 | ||
407 | If you find what you think is a bug, you might check the articles | |
408 | recently posted to the comp.lang.perl.misc newsgroup and the perl | |
409 | bug database at http://rt.perl.org/perlbug/ . There may also be | |
410 | information at http://www.perl.org/ , the Perl Home Page. | |
411 | ||
412 | If you believe you have an unreported bug, please run the L<perlbug> | |
413 | program included with your release. Be sure to trim your bug down | |
414 | to a tiny but sufficient test case. Your bug report, along with the | |
415 | output of C<perl -V>, will be sent off to perlbug@perl.org to be | |
416 | analysed by the Perl porting team. | |
417 | ||
418 | If the bug you are reporting has security implications, which make it | |
419 | inappropriate to send to a publicly archived mailing list, then please send | |
420 | it to perl5-security-report@perl.org. This points to a closed subscription | |
421 | unarchived mailing list, which includes all the core committers, who be able | |
422 | to help assess the impact of issues, figure out a resolution, and help | |
423 | co-ordinate the release of patches to mitigate or fix the problem across all | |
424 | platforms on which Perl is supported. Please only use this address for | |
425 | security issues in the Perl core, not for modules independently | |
426 | distributed on CPAN. | |
427 | ||
428 | =head1 SEE ALSO | |
429 | ||
430 | The F<Changes> file for an explanation of how to view exhaustive details | |
431 | on what changed. | |
432 | ||
433 | The F<INSTALL> file for how to build Perl. | |
434 | ||
435 | The F<README> file for general stuff. | |
436 | ||
437 | The F<Artistic> and F<Copying> files for copyright information. | |
438 | ||
439 | =cut |