5 [ this is a template for a new perldelta file. Any text flagged as
6 XXX needs to be processed before release. ]
8 perldelta - what is new for perl v5.13.10
12 This document describes differences between the 5.XXX.XXX release and
13 the 5.XXX.XXX release.
15 If you are upgrading from an earlier release such as 5.YYY.YYY, first read
16 L<perl5YYYdelta>, which describes differences between 5.ZZZ.ZZZ and
21 XXX Any important notices here
23 =head1 Core Enhancements
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.
29 [ List each enhancement as a =head2 entry ]
31 =head2 Add C<\p{Titlecase}> as a synonym for C<\p{Title}>
33 This synyom is added for symmetry with the Unicode property names
34 C<\p{Uppercase}> and C<\p{Lowercase}>.
39 XXX Any security-related notices go here. In particular, any security
40 vulnerabilities closed should be noted here rather than in the
41 L</Selected Bug Fixes> section.
43 [ List each security issue as a =head2 entry ]
45 =head1 Incompatible Changes
47 XXX For a release on a stable branch, this section aspires to be:
49 There are no changes intentionally incompatible with 5.XXX.XXX. If any
50 exist, they are bugs and reports are welcome.
52 [ List each incompatible change as a =head2 entry ]
54 =head2 Most C<\p{}> properties are now immune from case-insensitive matching
56 For most Unicode properties, it doesn't make sense to have them match
57 differently under C</i> case-insensitive matching than not. And doing
58 so leads to unexpected results and potential security holes. For
61 m/\p{ASCII_Hex_Digit}+/i
63 could previously match non-ASCII characters because of the Unicode
64 matching rules. There were a number of bugs in this feature until an
65 earlier release in the 5.13 series. Now this release reverts, and
66 removes the feature completely except for the few properties where
67 people have come to expect it, namely the ones where casing is an
68 integral part of their functionality, such as C<m/\p{Uppercase}/i> and
69 C<m/\p{Lowercase}/i>, both of which match the exact same code points,
70 namely those matched by C<m/\p{Cased}/i>. Details are in
71 L<perlrecharclass/Unicode Properties>.
73 User-defined property handlers that need to match differently under
74 C</i> must change to read the new boolean parameter passed it which is
75 non-zero if case-insensitive matching is in effect; 0 if not. See
76 L<perluniprops/User-Defined Character Properties>.
80 XXX Any deprecated features, syntax, modules etc. should be listed here.
81 In particular, deprecated modules should be listed here even if they are
82 listed as an updated module in the L</Modules and Pragmata> section.
84 [ List each deprecation as a =head2 entry ]
86 =head1 Performance Enhancements
88 XXX Changes which enhance performance without changing behaviour go here. There
89 may well be none in a stable release.
91 [ List each enhancement as a =item entry ]
101 =head1 Modules and Pragmata
103 XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
104 go here. If Module::CoreList is updated, generate an initial draft of the
105 following sections using F<Porting/corelist-perldelta.pl>, which prints stub
106 entries to STDOUT. Results can be pasted in place of the '=head2' entries
107 below. A paragraph summary for important changes should then be added by hand.
108 In an ideal world, dual-life modules would have a F<Changes> file that could be
111 [ Within each section, list entries as a =item entry ]
113 =head2 New Modules and Pragmata
123 =head2 Updated Modules and Pragmata
129 C<CGI> has been upgraded from version 3.51 to 3.52
133 C<IPC::Cmd> has been upgraded from version 0.68 to 0.70
137 C<HTTP::Tiny> has been upgraded from version 0.009 to 0.010
141 C<Module::Build> has been upgraded from version 0.3607 to 0.3622.
143 A notable change is the deprecation of several modules.
144 Module::Build::Version has been deprecated and Module::Build now relies
145 directly upon L<version>. Module::Build::ModuleInfo has been deprecated in
146 favor of a standalone copy of it called L<Module::Metadata>.
147 Module::Build::YAML has been deprecated in favor of L<CPAN::Meta::YAML>.
151 C<Module::Metadata> has been upgraded from version 1.000003 to 1.000004.
155 C<Parse::CPAN::Meta> has been upgraded from version 1.40 to 1.4401.
157 The latest Parse::CPAN::Meta can now read YAML or JSON files using
158 L<CPAN::Meta::YAML> and L<JSON::PP>, which are now part of the Perl core.
162 C<Term::UI> has been upgraded from version 0.24 to 0.26
166 C<Unicode::Collate> has been upgraded from version 0.68 to 0.72
168 This also sees the switch from using the pure-perl version of this
169 module to the XS version.`
177 =head2 Removed Modules and Pragmata
189 XXX Changes to files in F<pod/> go here. Consider grouping entries by
190 file and be sure to link to the appropriate page, e.g. L<perlfunc>.
192 =head2 New Documentation
194 XXX Changes which create B<new> files in F<pod/> go here.
198 XXX Description of the purpose of the new file here
200 =head2 Changes to Existing Documentation
202 XXX Changes which significantly change existing files in F<pod/> go here.
203 However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
206 =head3 L<perlhack> and perlrepository
212 The L<perlhack> and perlrepository documents have been heavily edited and
213 split up into several new documents.
215 The L<perlhack> document is now much shorter, and focuses on the Perl 5
216 development process and submitting patches to Perl. The technical content has
217 been moved to several new documents, L<perlsource>, L<perlinterp>,
218 L<perlhacktut>, and L<perlhacktips>. This technical content has only been
221 The perlrepository document has been renamed to L<perlgit>. This new document
222 is just a how-to on using git with the Perl source code. Any other content
223 that used to be in perlrepository has been moved to perlhack.
229 The following additions or changes have been made to diagnostic output,
230 including warnings and fatal error messages. For the complete list of
231 diagnostic messages, see L<perldiag>.
233 XXX New or changed warnings emitted by the core's C<C> code go here. Also
234 include any changes in L<perldiag> that reconcile it to the C<C> code.
236 [ Within each section, list entries as a =item entry ]
238 =head2 New Diagnostics
240 XXX Newly added diagnostic messages go here
250 =head2 Changes to Existing Diagnostics
252 XXX Changes (i.e. rewording) of diagnostic messages go here
262 =head1 Utility Changes
264 XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go
265 here. Most of these are built within the directories F<utils> and F<x2p>.
267 [ List utility changes as a =head3 entry for each utility and =item
268 entries for each change
269 Use L<XXX> with program names to get proper documentation linking. ]
281 =head1 Configuration and Compilation
283 XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
284 go here. Any other changes to the Perl build process should be listed here.
285 However, any platform-specific changes should be listed in the
286 L</Platform Support> section, instead.
288 [ List changes as a =item entry ].
300 XXX Any significant changes to the testing of a freshly built perl should be
301 listed here. Changes which create B<new> files in F<t/> go here as do any
302 large changes to the testing harness (e.g. when parallel testing was added).
303 Changes to existing files in F<t/> aren't worth summarising, although the bugs
304 that they represent may be covered elsewhere.
306 [ List each test improvement as a =item entry ]
316 =head1 Platform Support
318 XXX Any changes to platform support should be listed in the sections below.
320 [ Within the sections, list each platform as a =item entry with specific
321 changes as paragraphs below it. ]
325 XXX List any platforms that this version of perl compiles on, that previous
326 versions did not. These will either be enabled by new files in the F<hints/>
327 directories, or new subdirectories and F<README> files at the top level of the
332 =item XXX-some-platform
338 =head2 Discontinued Platforms
340 XXX List any platforms that this version of perl no longer compiles on.
344 =item XXX-some-platform
350 =head2 Platform-Specific Notes
352 XXX List any changes for specific platforms. This could include configuration
353 and compilation changes or changes in portability/compatibility. However,
354 changes within modules for platforms should generally be listed in the
355 L</Modules and Pragmata> section.
365 The C<test-prep> build target now depends on F<pod/perltoc.pod> to allow the
366 F<t/porting/buildtoc.t> test to run successfully.
372 =head1 Internal Changes
374 XXX Changes which affect the interface available to C<XS> code go here.
375 Other significant internal changes for future core maintainers should
378 [ List each test improvement as a =item entry ]
388 =head1 Selected Bug Fixes
390 XXX Important bug fixes in the core language are summarised here.
391 Bug fixes in files in F<ext/> and F<lib/> are best summarised in
392 L</Modules and Pragmata>.
394 [ List each fix as a =item entry ]
400 A Unicode C<\p{}> property match in a regular rexpression pattern will
401 now force Unicode rules for the rest of the regular expression
405 =head1 Known Problems
407 XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
408 tests that had to be C<TODO>ed for the release would be noted here, unless
409 they were specific to a particular platform (see below).
411 This is a list of some significant unfixed bugs, which are regressions
412 from either 5.XXX.XXX or 5.XXX.XXX.
414 [ List each fix as a =item entry ]
426 XXX If any significant core contributor has died, we've added a short obituary
429 =head1 Acknowledgements
431 XXX The list of people to thank goes here.
433 =head1 Reporting Bugs
435 If you find what you think is a bug, you might check the articles
436 recently posted to the comp.lang.perl.misc newsgroup and the perl
437 bug database at http://rt.perl.org/perlbug/ . There may also be
438 information at http://www.perl.org/ , the Perl Home Page.
440 If you believe you have an unreported bug, please run the L<perlbug>
441 program included with your release. Be sure to trim your bug down
442 to a tiny but sufficient test case. Your bug report, along with the
443 output of C<perl -V>, will be sent off to perlbug@perl.org to be
444 analysed by the Perl porting team.
446 If the bug you are reporting has security implications, which make it
447 inappropriate to send to a publicly archived mailing list, then please send
448 it to perl5-security-report@perl.org. This points to a closed subscription
449 unarchived mailing list, which includes all the core committers, who be able
450 to help assess the impact of issues, figure out a resolution, and help
451 co-ordinate the release of patches to mitigate or fix the problem across all
452 platforms on which Perl is supported. Please only use this address for
453 security issues in the Perl core, not for modules independently
458 The F<Changes> file for an explanation of how to view exhaustive details
461 The F<INSTALL> file for how to build Perl.
463 The F<README> file for general stuff.
465 The F<Artistic> and F<Copying> files for copyright information.