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