This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add Perl::OSType as a dual-life core module
[perl5.git] / pod / perldelta.pod
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.9
9
10 =head1 DESCRIPTION
11
12 This document describes differences between the 5.13.8 release and
13 the 5.13.9 release.
14
15 If you are upgrading from an earlier release such as 5.13.7, first read
16 L<perl5138delta>, which describes differences between 5.13.7 and
17 5.13.8.
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
31 =head1 Security
32
33 XXX Any security-related notices go here.  In particular, any security
34 vulnerabilities closed should be noted here rather than in the
35 L</Selected Bug Fixes> section.
36
37 [ List each security issue as a =head2 entry ]
38
39 =head1 Incompatible Changes
40
41 XXX For a release on a stable branch, this section aspires to be:
42
43     There are no changes intentionally incompatible with 5.XXX.XXX. If any
44     exist, they are bugs and reports are welcome.
45
46 [ List each incompatible change as a =head2 entry ]
47
48 =head1 Deprecations
49
50 XXX Any deprecated features, syntax, modules etc. should be listed here.
51 In particular, deprecated modules should be listed here even if they are
52 listed as an updated module in the L</Modules and Pragmata> section.
53
54 [ List each deprecation as a =head2 entry ]
55
56 =head1 Performance Enhancements
57
58 XXX Changes which enhance performance without changing behaviour go here. There
59 may well be none in a stable release.
60
61 [ List each enhancement as a =item entry ]
62
63 =over 4
64
65 =item *
66
67 XXX
68
69 =back
70
71 =head1 Modules and Pragmata
72
73 XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
74 go here.  If Module::CoreList is updated, generate an initial draft of the
75 following sections using F<Porting/corelist-perldelta.pl>, which prints stub
76 entries to STDOUT.  Results can be pasted in place of the '=head2' entries
77 below.  A paragraph summary for important changes should then be added by hand.
78 In an ideal world, dual-life modules would have a F<Changes> file that could be
79 cribbed.
80
81 [ Within each section, list entries as a =item entry ]
82
83 =head2 New Modules and Pragmata
84
85 =over 4
86
87 =item *
88
89 L<CPAN::Meta::YAML> 0.002 has been added as a dual-life module.  It supports a
90 subset of YAML sufficient for reading and writing META.yml and MYMETA.yml files
91 included with CPAN distributions or generated by the module installation
92 toolchain. It should not be used for any other general YAML parsing or
93 generation task.
94
95 =item *
96
97 L<Perl::OSType> 1.002 has been added as a dual-life module.  It maps Perl
98 operating system names (e.g. 'dragonfly' or 'MSWin32') to more generic types
99 with standardized names (e.g.  "Unix" or "Windows").  It has been refactored
100 out of Module::Build and ExtUtils::CBuilder and consolidates such mappings into
101 a single location for easier maintenance.
102
103 =back
104
105 =head2 Updated Modules and Pragmata
106
107 =over 4
108
109 =item *
110
111 C<CGI> has been upgraded from version 3.50 to 3.51
112
113 =item *
114
115 C<Encode> has been upgraded from version 2.40 to 2.42
116
117 =item *
118
119 C<threads> has been upgraded from version 1.81_03 to 1.82
120
121 =item *
122
123 C<threads::shared> has been upgraded from version 1.35 to 1.36
124
125 =item *
126
127 C<Time::Local> has been upgraded from version 1.1901_01 to 1.2000.
128
129 =back
130
131 =head2 Removed Modules and Pragmata
132
133 =over 4
134
135 =item *
136
137 XXX
138
139 =back
140
141 =head1 Documentation
142
143 XXX Changes to files in F<pod/> go here.  Consider grouping entries by
144 file and be sure to link to the appropriate page, e.g. L<perlfunc>.
145
146 =head2 New Documentation
147
148 XXX Changes which create B<new> files in F<pod/> go here.
149
150 =head3 L<XXX>
151
152 XXX Description of the purpose of the new file here
153
154 =head2 Changes to Existing Documentation
155
156 XXX Changes which significantly change existing files in F<pod/> go here.
157 However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
158 section.
159
160 =head3 L<XXX>
161
162 =over 4
163
164 =item *
165
166 XXX Description of the change here
167
168 =back
169
170 =head1 Diagnostics
171
172 The following additions or changes have been made to diagnostic output,
173 including warnings and fatal error messages.  For the complete list of
174 diagnostic messages, see L<perldiag>.
175
176 XXX New or changed warnings emitted by the core's C<C> code go here. Also
177 include any changes in L<perldiag> that reconcile it to the C<C> code.
178
179 [ Within each section, list entries as a =item entry ]
180
181 =head2 New Diagnostics
182
183 XXX Newly added diagnostic messages go here
184
185 =over 4
186
187 =item *
188
189 XXX
190
191 =back
192
193 =head2 Changes to Existing Diagnostics
194
195 XXX Changes (i.e. rewording) of diagnostic messages go here
196
197 =over 4
198
199 =item *
200
201 XXX
202
203 =back
204
205 =head1 Utility Changes
206
207 XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go
208 here. Most of these are built within the directories F<utils> and F<x2p>.
209
210 [ List utility changes as a =head3 entry for each utility and =item
211 entries for each change
212 Use L<XXX> with program names to get proper documentation linking. ]
213
214 =head3 L<XXX>
215
216 =over 4
217
218 =item *
219
220 XXX
221
222 =back
223
224 =head1 Configuration and Compilation
225
226 XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
227 go here.  Any other changes to the Perl build process should be listed here.
228 However, any platform-specific changes should be listed in the
229 L</Platform Support> section, instead.
230
231 [ List changes as a =item entry ].
232
233 =over 4
234
235 =item *
236
237 XXX
238
239 =back
240
241 =head1 Testing
242
243 XXX Any significant changes to the testing of a freshly built perl should be
244 listed here.  Changes which create B<new> files in F<t/> go here as do any
245 large changes to the testing harness (e.g. when parallel testing was added).
246 Changes to existing files in F<t/> aren't worth summarising, although the bugs
247 that they represent may be covered elsewhere.
248
249 [ List each test improvement as a =item entry ]
250
251 =over 4
252
253 =item *
254
255 XXX
256
257 =back
258
259 =head1 Platform Support
260
261 XXX Any changes to platform support should be listed in the sections below.
262
263 [ Within the sections, list each platform as a =item entry with specific
264 changes as paragraphs below it. ]
265
266 =head2 New Platforms
267
268 XXX List any platforms that this version of perl compiles on, that previous
269 versions did not. These will either be enabled by new files in the F<hints/>
270 directories, or new subdirectories and F<README> files at the top level of the
271 source tree.
272
273 =over 4
274
275 =item XXX-some-platform
276
277 XXX
278
279 =back
280
281 =head2 Discontinued Platforms
282
283 XXX List any platforms that this version of perl no longer compiles on.
284
285 =over 4
286
287 =item XXX-some-platform
288
289 XXX
290
291 =back
292
293 =head2 Platform-Specific Notes
294
295 XXX List any changes for specific platforms. This could include configuration
296 and compilation changes or changes in portability/compatibility.  However,
297 changes within modules for platforms should generally be listed in the
298 L</Modules and Pragmata> section.
299
300 =over 4
301
302 =item XXX-some-platform
303
304 XXX
305
306 =back
307
308 =head1 Internal Changes
309
310 XXX Changes which affect the interface available to C<XS> code go here.
311 Other significant internal changes for future core maintainers should
312 be noted as well.
313
314 [ List each test improvement as a =item entry ]
315
316 =over 4
317
318 =item *
319
320 The opcode bodies for C<chop> and C<chomp> and for C<schop> and C<schomp> have
321 been merged. The implementation functions C<Perl_do_chop()> and
322 C<Perl_do_chomp()>, never part of the public API, have been merged and moved to
323 a static function in F<pp.c>. This shrinks the perl binary slightly, and should
324 not affect any code outside the core (unless it is relying on the order of side
325 effects when C<chomp> is passed a I<list> of values).
326
327 =back
328
329 =head1 Selected Bug Fixes
330
331 XXX Important bug fixes in the core language are summarised here.
332 Bug fixes in files in F<ext/> and F<lib/> are best summarised in
333 L</Modules and Pragmata>.
334
335 [ List each fix as a =item entry ]
336
337 =over 4
338
339 =item *
340
341 XXX
342
343 =back
344
345 =head1 Known Problems
346
347 XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
348 tests that had to be C<TODO>ed for the release would be noted here, unless
349 they were specific to a particular platform (see below).
350
351 This is a list of some significant unfixed bugs, which are regressions
352 from either 5.XXX.XXX or 5.XXX.XXX.
353
354 [ List each fix as a =item entry ]
355
356 =over 4
357
358 =item *
359
360 XXX
361
362 =back
363
364 =head1 Obituary
365
366 XXX If any significant core contributor has died, we've added a short obituary
367 here.
368
369 =head1 Acknowledgements
370
371 XXX The list of people to thank goes here.
372
373 =head1 Reporting Bugs
374
375 If you find what you think is a bug, you might check the articles
376 recently posted to the comp.lang.perl.misc newsgroup and the perl
377 bug database at http://rt.perl.org/perlbug/ .  There may also be
378 information at http://www.perl.org/ , the Perl Home Page.
379
380 If you believe you have an unreported bug, please run the L<perlbug>
381 program included with your release.  Be sure to trim your bug down
382 to a tiny but sufficient test case.  Your bug report, along with the
383 output of C<perl -V>, will be sent off to perlbug@perl.org to be
384 analysed by the Perl porting team.
385
386 If the bug you are reporting has security implications, which make it
387 inappropriate to send to a publicly archived mailing list, then please send
388 it to perl5-security-report@perl.org. This points to a closed subscription
389 unarchived mailing list, which includes all the core committers, who be able
390 to help assess the impact of issues, figure out a resolution, and help
391 co-ordinate the release of patches to mitigate or fix the problem across all
392 platforms on which Perl is supported. Please only use this address for
393 security issues in the Perl core, not for modules independently
394 distributed on CPAN.
395
396 =head1 SEE ALSO
397
398 The F<Changes> file for an explanation of how to view exhaustive details
399 on what changed.
400
401 The F<INSTALL> file for how to build Perl.
402
403 The F<README> file for general stuff.
404
405 The F<Artistic> and F<Copying> files for copyright information.
406
407 =cut