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