This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update DB_File to CPAN version 1.821
[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
6d4f9cf2
KW
29With this release, Perl is adopting a model that any unsigned value can
30be encoded internally as utf8 without warnings -- not just the ones that
31are legal in Unicode.
32However, unless UTF8 warnings have been
33explicitly lexically turned off, outputting or performing a
34Unicode-defined operation (such as upper-casing) on such a code point
35will generate a warning. Attempting to input these using strict rules
36(such as with the C<:encoding('UTF-8')> layer) will continue to fail.
37Prior to this release the handling was very inconsistent, and incorrect
38in places. Also, the Unicode non-characters, some of which previously were
39erroneously considered illegal in places by Perl, contrary to the Unicode
40standard, are now always legal internally. But inputting or outputting
41them will work the same as for the non-legal Unicode code points, as the
42Unicode standard says they are illegal for "open interchange".
43
9f7a72d0 44[ List each enhancement as a =head2 entry ]
0d157ee2 45
9f7a72d0 46=head1 Security
0d157ee2 47
9f7a72d0
Z
48XXX Any security-related notices go here. In particular, any security
49vulnerabilities closed should be noted here rather than in the
50L</Selected Bug Fixes> section.
bd8e866d 51
9f7a72d0 52[ List each security issue as a =head2 entry ]
bd8e866d 53
3a5c9134
CBW
54=head1 Incompatible Changes
55
9f7a72d0 56XXX For a release on a stable branch, this section aspires to be:
3a5c9134 57
9f7a72d0
Z
58 There are no changes intentionally incompatible with 5.XXX.XXX. If any
59 exist, they are bugs and reports are welcome.
3a5c9134 60
9f7a72d0 61[ List each incompatible change as a =head2 entry ]
d66e82e8 62
3a5c9134
CBW
63=head1 Deprecations
64
9f7a72d0
Z
65XXX Any deprecated features, syntax, modules etc. should be listed here.
66In particular, deprecated modules should be listed here even if they are
67listed as an updated module in the L</Modules and Pragmata> section.
5609d5f9 68
9f7a72d0 69[ List each deprecation as a =head2 entry ]
5609d5f9 70
9f7a72d0 71=head1 Performance Enhancements
5609d5f9 72
9f7a72d0
Z
73XXX Changes which enhance performance without changing behaviour go here. There
74may well be none in a stable release.
5609d5f9 75
9f7a72d0 76[ List each enhancement as a =item entry ]
3a5c9134
CBW
77
78=over 4
79
80=item *
81
9f7a72d0 82XXX
e1165778 83
9f7a72d0 84=back
121e1895 85
9f7a72d0 86=head1 Modules and Pragmata
2638c0ff 87
9f7a72d0
Z
88XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
89go here. If Module::CoreList is updated, generate an initial draft of the
90following sections using F<Porting/corelist-perldelta.pl>, which prints stub
91entries to STDOUT. Results can be pasted in place of the '=head2' entries
92below. A paragraph summary for important changes should then be added by hand.
93In an ideal world, dual-life modules would have a F<Changes> file that could be
94cribbed.
2638c0ff 95
9f7a72d0 96[ Within each section, list entries as a =item entry ]
17096837 97
9f7a72d0 98=head2 New Modules and Pragmata
2638c0ff 99
9f7a72d0 100=over 4
17096837 101
e1165778
Z
102=item *
103
e8a07a12
DG
104L<CPAN::Meta::YAML> 0.002 has been added as a dual-life module. It supports a
105subset of YAML sufficient for reading and writing META.yml and MYMETA.yml files
106included with CPAN distributions or generated by the module installation
107toolchain. It should not be used for any other general YAML parsing or
108generation task.
17096837 109
935c8d19
DG
110=item *
111
6cf6332a 112L<Module::Metadata> 1.000003 has been added as a dual-life module. It gathers
e8b333e6
DG
113package and POD information from Perl module files. It is a standalone module
114based on Module::Build::ModuleInfo for use by other module installation
115toolchain components. Module::Build::ModuleInfo has been deprecated in
116favor of this module instead.
117
118=item *
119
935c8d19
DG
120L<Perl::OSType> 1.002 has been added as a dual-life module. It maps Perl
121operating system names (e.g. 'dragonfly' or 'MSWin32') to more generic types
122with standardized names (e.g. "Unix" or "Windows"). It has been refactored
123out of Module::Build and ExtUtils::CBuilder and consolidates such mappings into
124a single location for easier maintenance.
125
9f7a72d0 126=back
e1165778 127
9f7a72d0 128=head2 Updated Modules and Pragmata
f295f417 129
9f7a72d0 130=over 4
17096837 131
f295f417
FC
132=item *
133
6447e912
CBW
134C<Archive::Extract> has been upgraded from version 0.46 to 0.48
135
136=item *
137
89ae55b4
CBW
138C<Archive::Tar> has been upgraded from version 1.74 to 1.76
139
140=item *
141
2a1594f6
CBW
142C<CGI> has been upgraded from version 3.50 to 3.51
143
144=item *
145
f1aaabf8
CBW
146C<CPANPLUS> has been upgraded from version 0.9010 to 0.9011
147
148=item *
149
ae0f8eee
CBW
150C<CPANPLUS::Dist::Build> has been upgraded from version 0.50 to 0.52
151
152=item *
153
154C<DB_File> has been upgraded from version 1.820 to 1.821
deb99cce
CBW
155
156=item *
157
6d4f9cf2
KW
158C<Encode> has been upgraded from version 2.40 to 2.42.
159Now, all 66 Unicode non-characters are treated the same way U+FFFF has
160always been treated; if it was disallowed, all 66 are disallowed; if it
161warned, all 66 warn.
50afc8f8
CBW
162
163=item *
164
ac066c2a 165C<File::Fetch> has been upgraded from version 0.28 to 0.30
f37ee46a
CBW
166
167=item *
168
169C<IPC::Cmd> has been upgraded from version 0.66 to 0.68
170
ac066c2a
CBW
171=item *
172
b5ce1198
CBW
173C<Log::Message> has been upgraded from version 0.02 to 0.04
174
175=item *
176
ae0f8eee 177C<Module::Load::Conditional> has been upgraded from version 0.38 to 0.40
4fc94532
CBW
178
179=item *
180
ae0f8eee 181C<Object::Accessor> has been upgraded from version 0.36 to 0.38
0019012a
CBW
182
183=item *
184
ae0f8eee 185C<Params::Check> has been upgraded from version 0.26 to 0.28
8cb3aa53
CBW
186
187=item *
188
ae0f8eee 189C<Term::UI> has been upgraded from version 0.20 to 0.22
8e1e0801
CBW
190
191=item *
192
f5d41534
CBW
193C<threads> has been upgraded from version 1.81_03 to 1.82
194
195=item *
196
197C<threads::shared> has been upgraded from version 1.35 to 1.36
198
199=item *
200
23046b7e 201C<Time::Local> has been upgraded from version 1.1901_01 to 1.2000.
17096837 202
9f7a72d0 203=back
e1165778 204
9f7a72d0 205=head2 Removed Modules and Pragmata
b373eab8 206
9f7a72d0 207=over 4
b373eab8
FC
208
209=item *
210
9f7a72d0 211XXX
b6ae81ab 212
9f7a72d0 213=back
ca88a729 214
9f7a72d0 215=head1 Documentation
17096837 216
9f7a72d0
Z
217XXX Changes to files in F<pod/> go here. Consider grouping entries by
218file and be sure to link to the appropriate page, e.g. L<perlfunc>.
b6ae81ab 219
9f7a72d0 220=head2 New Documentation
e1165778 221
9f7a72d0 222XXX Changes which create B<new> files in F<pod/> go here.
17096837 223
9f7a72d0 224=head3 L<XXX>
e1165778 225
9f7a72d0 226XXX Description of the purpose of the new file here
e1165778 227
9f7a72d0 228=head2 Changes to Existing Documentation
17096837 229
9f7a72d0
Z
230XXX Changes which significantly change existing files in F<pod/> go here.
231However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
232section.
e1165778 233
9f7a72d0 234=head3 L<XXX>
d4238815 235
9f7a72d0 236=over 4
17096837 237
d4238815
FC
238=item *
239
9f7a72d0 240XXX Description of the change here
e1165778 241
9f7a72d0 242=back
17096837 243
9f7a72d0 244=head1 Diagnostics
17096837 245
9f7a72d0
Z
246The following additions or changes have been made to diagnostic output,
247including warnings and fatal error messages. For the complete list of
248diagnostic messages, see L<perldiag>.
e1165778 249
9f7a72d0
Z
250XXX New or changed warnings emitted by the core's C<C> code go here. Also
251include any changes in L<perldiag> that reconcile it to the C<C> code.
68adb2b0 252
9f7a72d0 253[ Within each section, list entries as a =item entry ]
17096837 254
9f7a72d0 255=head2 New Diagnostics
3a5c9134 256
9f7a72d0 257XXX Newly added diagnostic messages go here
17096837 258
9f7a72d0 259=over 4
17096837 260
c2e0289e
FC
261=item *
262
9f7a72d0 263XXX
17096837 264
9f7a72d0 265=back
e6f1cc4d 266
9f7a72d0 267=head2 Changes to Existing Diagnostics
e1165778 268
9f7a72d0 269XXX Changes (i.e. rewording) of diagnostic messages go here
17096837 270
9f7a72d0 271=over 4
17096837 272
e1165778
Z
273=item *
274
9f7a72d0 275XXX
17096837 276
3a5c9134
CBW
277=back
278
9f7a72d0 279=head1 Utility Changes
e1165778 280
9f7a72d0
Z
281XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go
282here. Most of these are built within the directories F<utils> and F<x2p>.
e1165778 283
9f7a72d0
Z
284[ List utility changes as a =head3 entry for each utility and =item
285entries for each change
286Use L<XXX> with program names to get proper documentation linking. ]
e1165778 287
9f7a72d0 288=head3 L<XXX>
e1165778 289
9f7a72d0 290=over 4
e1165778
Z
291
292=item *
293
9f7a72d0 294XXX
e1165778 295
9f7a72d0 296=back
e1165778 297
9f7a72d0 298=head1 Configuration and Compilation
e1165778 299
9f7a72d0
Z
300XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
301go here. Any other changes to the Perl build process should be listed here.
302However, any platform-specific changes should be listed in the
303L</Platform Support> section, instead.
e1165778 304
9f7a72d0 305[ List changes as a =item entry ].
e1165778 306
9f7a72d0 307=over 4
3a5c9134
CBW
308
309=item *
310
9f7a72d0 311XXX
3a5c9134
CBW
312
313=back
314
9f7a72d0 315=head1 Testing
3a5c9134 316
9f7a72d0
Z
317XXX Any significant changes to the testing of a freshly built perl should be
318listed here. Changes which create B<new> files in F<t/> go here as do any
319large changes to the testing harness (e.g. when parallel testing was added).
320Changes to existing files in F<t/> aren't worth summarising, although the bugs
321that they represent may be covered elsewhere.
3a5c9134 322
9f7a72d0 323[ List each test improvement as a =item entry ]
3a5c9134 324
3a5c9134
CBW
325=over 4
326
327=item *
328
9f7a72d0 329XXX
3a5c9134
CBW
330
331=back
332
9f7a72d0 333=head1 Platform Support
3a5c9134 334
9f7a72d0 335XXX Any changes to platform support should be listed in the sections below.
3a5c9134 336
9f7a72d0
Z
337[ Within the sections, list each platform as a =item entry with specific
338changes as paragraphs below it. ]
3a5c9134 339
9f7a72d0 340=head2 New Platforms
3a5c9134 341
9f7a72d0
Z
342XXX List any platforms that this version of perl compiles on, that previous
343versions did not. These will either be enabled by new files in the F<hints/>
344directories, or new subdirectories and F<README> files at the top level of the
345source tree.
3a5c9134 346
3a5c9134
CBW
347=over 4
348
9f7a72d0 349=item XXX-some-platform
3a5c9134 350
9f7a72d0 351XXX
51bed910 352
3a5c9134
CBW
353=back
354
9f7a72d0
Z
355=head2 Discontinued Platforms
356
357XXX List any platforms that this version of perl no longer compiles on.
3a5c9134 358
3a5c9134
CBW
359=over 4
360
9f7a72d0 361=item XXX-some-platform
3a5c9134 362
9f7a72d0 363XXX
3a5c9134
CBW
364
365=back
366
3a5c9134
CBW
367=head2 Platform-Specific Notes
368
9f7a72d0
Z
369XXX List any changes for specific platforms. This could include configuration
370and compilation changes or changes in portability/compatibility. However,
371changes within modules for platforms should generally be listed in the
372L</Modules and Pragmata> section.
3a5c9134 373
9f7a72d0 374=over 4
3a5c9134 375
9f7a72d0 376=item XXX-some-platform
fb3a2d89 377
9f7a72d0 378XXX
fb3a2d89 379
3a5c9134
CBW
380=back
381
382=head1 Internal Changes
383
9f7a72d0
Z
384XXX Changes which affect the interface available to C<XS> code go here.
385Other significant internal changes for future core maintainers should
386be noted as well.
3a5c9134 387
9f7a72d0 388[ List each test improvement as a =item entry ]
3a5c9134 389
9f7a72d0 390=over 4
3a5c9134 391
c61b6d0f
FC
392=item *
393
0a0e3cc5
NC
394The opcode bodies for C<chop> and C<chomp> and for C<schop> and C<schomp> have
395been merged. The implementation functions C<Perl_do_chop()> and
396C<Perl_do_chomp()>, never part of the public API, have been merged and moved to
397a static function in F<pp.c>. This shrinks the perl binary slightly, and should
398not affect any code outside the core (unless it is relying on the order of side
399effects when C<chomp> is passed a I<list> of values).
c61b6d0f 400
6d4f9cf2
KW
401=item *
402
403Some of the flags parameters to the uvuni_to_utf8_flags() and
404utf8n_to_uvuni() have changed. This is a result of Perl now allowing
405internal storage and manipulation of code points that are problematic
406in some situations. Hence, the default actions for these functions has
407been complemented to allow these code points. The new flags are
408documented in L<perlapi>. Code that requires the problematic code
409points to be rejected needs to change to use these flags. Some flag
410names are retained for backward source compatibility, though they do
411nothing, as they are now the default. However the flags
412C<UNICODE_ALLOW_FDD0>, C<UNICODE_ALLOW_FFFF>, C<UNICODE_ILLEGAL>, and
413C<UNICODE_IS_ILLEGAL> have been removed, as they stem from a
414fundamentally broken model of how the Unicode non-character code points
415should be handled, which is now described in
416L<perlunicode/Non-character code points>. See also L</Selected Bug Fixes>.
417
3a5c9134
CBW
418=back
419
420=head1 Selected Bug Fixes
421
9f7a72d0
Z
422XXX Important bug fixes in the core language are summarised here.
423Bug fixes in files in F<ext/> and F<lib/> are best summarised in
424L</Modules and Pragmata>.
b373eab8 425
9f7a72d0 426[ List each fix as a =item entry ]
b373eab8 427
9f7a72d0 428=over 4
4c9d53d5 429
0c7420e7
FC
430=item *
431
6d4f9cf2
KW
432The handling of Unicode non-characters has changed.
433Previously they were mostly considered illegal, except that only one of
434the 66 of them was known about in places. The Unicode standard
435considers them legal, but forbids the "open interchange" of them.
436This is part of the change to allow the internal use of any code point
437(see L</Core Enhancements>). Together, these changes resolve
438L<# 38722|https://rt.perl.org/rt3/Ticket/Display.html?id=38722>,
439L<# 51918|http://rt.perl.org/rt3/Ticket/Display.html?id=51918>,
440L<# 51936|http://rt.perl.org/rt3/Ticket/Display.html?id=51936>,
441L<# 63446|http://rt.perl.org/rt3/Ticket/Display.html?id=63446>
0c7420e7 442
9f7a72d0 443=back
460c4bfb 444
9f7a72d0 445=head1 Known Problems
460c4bfb 446
9f7a72d0
Z
447XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
448tests that had to be C<TODO>ed for the release would be noted here, unless
449they were specific to a particular platform (see below).
26de4ac8 450
9f7a72d0
Z
451This is a list of some significant unfixed bugs, which are regressions
452from either 5.XXX.XXX or 5.XXX.XXX.
26de4ac8 453
9f7a72d0 454[ List each fix as a =item entry ]
ab7fb400 455
9f7a72d0 456=over 4
ab7fb400 457
836d5805
Z
458=item *
459
9f7a72d0 460XXX
836d5805 461
3a5c9134
CBW
462=back
463
9f7a72d0 464=head1 Obituary
3a5c9134 465
9f7a72d0
Z
466XXX If any significant core contributor has died, we've added a short obituary
467here.
b0c3724f 468
9f7a72d0 469=head1 Acknowledgements
b0c3724f 470
9f7a72d0 471XXX The list of people to thank goes here.
3a5c9134
CBW
472
473=head1 Reporting Bugs
474
475If you find what you think is a bug, you might check the articles
476recently posted to the comp.lang.perl.misc newsgroup and the perl
477bug database at http://rt.perl.org/perlbug/ . There may also be
478information at http://www.perl.org/ , the Perl Home Page.
479
480If you believe you have an unreported bug, please run the L<perlbug>
481program included with your release. Be sure to trim your bug down
482to a tiny but sufficient test case. Your bug report, along with the
483output of C<perl -V>, will be sent off to perlbug@perl.org to be
484analysed by the Perl porting team.
485
486If the bug you are reporting has security implications, which make it
487inappropriate to send to a publicly archived mailing list, then please send
488it to perl5-security-report@perl.org. This points to a closed subscription
489unarchived mailing list, which includes all the core committers, who be able
490to help assess the impact of issues, figure out a resolution, and help
491co-ordinate the release of patches to mitigate or fix the problem across all
492platforms on which Perl is supported. Please only use this address for
493security issues in the Perl core, not for modules independently
494distributed on CPAN.
495
496=head1 SEE ALSO
497
498The F<Changes> file for an explanation of how to view exhaustive details
499on what changed.
500
501The F<INSTALL> file for how to build Perl.
502
503The F<README> file for general stuff.
504
505The F<Artistic> and F<Copying> files for copyright information.
506
507=cut