Commit | Line | Data |
---|---|---|
3a5c9134 CBW |
1 | =encoding utf8 |
2 | ||
3 | =head1 NAME | |
4 | ||
d17f3dbc JV |
5 | [ this is a template for a new perldelta file. Any text flagged as |
6 | XXX needs to be processed before release. ] | |
15e6cdd9 | 7 | |
d17f3dbc | 8 | perldelta - what is new for perl v5.13.10 |
0d157ee2 | 9 | |
d17f3dbc | 10 | =head1 DESCRIPTION |
b16cfc56 | 11 | |
d17f3dbc JV |
12 | This document describes differences between the 5.XXX.XXX release and |
13 | the 5.XXX.XXX release. | |
3a5c9134 | 14 | |
d17f3dbc JV |
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 | |
17 | 5.YYY.YYY. | |
d4560299 | 18 | |
d17f3dbc | 19 | =head1 Notice |
d4560299 | 20 | |
d17f3dbc | 21 | XXX Any important notices here |
d4560299 | 22 | |
d17f3dbc | 23 | =head1 Core Enhancements |
d4560299 | 24 | |
d17f3dbc JV |
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. | |
2638c0ff | 28 | |
d17f3dbc | 29 | [ List each enhancement as a =head2 entry ] |
2638c0ff | 30 | |
9e9ca9d7 KW |
31 | =head2 Add C<\p{Titlecase}> as a synonym for C<\p{Title}> |
32 | ||
33 | This synyom is added for symmetry with the Unicode property names | |
34 | C<\p{Uppercase}> and C<\p{Lowercase}>. | |
35 | ||
2f7f8cb1 KW |
36 | =head2 New regular expression modifier option C</aa> |
37 | ||
38 | Doubling the C</a> regular expression modifier increases its effect, | |
39 | so that in case-insensitive matching, no ASCII character will match a | |
40 | non-ASCII character. For example, normally, | |
41 | ||
42 | 'k' =~ /\N{KELVIN SIGN}/ | |
43 | ||
44 | will match; it won't under C</aa>. Note that like C</a>, C</aa> | |
45 | in 5.14 will not actually be able to be used as a suffix at the end of a | |
46 | regular expression. | |
9e9ca9d7 | 47 | |
d17f3dbc | 48 | =head1 Security |
17096837 | 49 | |
d17f3dbc JV |
50 | XXX Any security-related notices go here. In particular, any security |
51 | vulnerabilities closed should be noted here rather than in the | |
52 | L</Selected Bug Fixes> section. | |
e1165778 | 53 | |
d17f3dbc | 54 | [ List each security issue as a =head2 entry ] |
17096837 | 55 | |
d17f3dbc | 56 | =head1 Incompatible Changes |
935c8d19 | 57 | |
d17f3dbc | 58 | XXX For a release on a stable branch, this section aspires to be: |
a3ab329f | 59 | |
d17f3dbc JV |
60 | There are no changes intentionally incompatible with 5.XXX.XXX. If any |
61 | exist, they are bugs and reports are welcome. | |
a3ab329f | 62 | |
d17f3dbc | 63 | [ List each incompatible change as a =head2 entry ] |
6def3600 | 64 | |
56ca34ca KW |
65 | =head2 Most C<\p{}> properties are now immune from case-insensitive matching |
66 | ||
67 | For most Unicode properties, it doesn't make sense to have them match | |
68 | differently under C</i> case-insensitive matching than not. And doing | |
69 | so leads to unexpected results and potential security holes. For | |
70 | example | |
71 | ||
72 | m/\p{ASCII_Hex_Digit}+/i | |
73 | ||
74 | could previously match non-ASCII characters because of the Unicode | |
75 | matching rules. There were a number of bugs in this feature until an | |
76 | earlier release in the 5.13 series. Now this release reverts, and | |
77 | removes the feature completely except for the few properties where | |
78 | people have come to expect it, namely the ones where casing is an | |
79 | integral part of their functionality, such as C<m/\p{Uppercase}/i> and | |
80 | C<m/\p{Lowercase}/i>, both of which match the exact same code points, | |
81 | namely those matched by C<m/\p{Cased}/i>. Details are in | |
82 | L<perlrecharclass/Unicode Properties>. | |
83 | ||
84 | User-defined property handlers that need to match differently under | |
85 | C</i> must change to read the new boolean parameter passed it which is | |
86 | non-zero if case-insensitive matching is in effect; 0 if not. See | |
87 | L<perluniprops/User-Defined Character Properties>. | |
88 | ||
5e6b2389 AB |
89 | =head2 [perl #82996] Use the user's from address as return-path in perlbug |
90 | ||
91 | Many systems these days don't have a valid Internet domain name and | |
92 | perlbug@perl.org does not accept email with a return-path that does | |
93 | not resolve. Therefore pass the user's address to sendmail so it's | |
94 | less likely to get stuck in a mail queue somewhere. (019cfd2) | |
95 | ||
96 | =head2 regex: \p{} in pattern implies Unicode semantics | |
97 | ||
98 | Now, a Unicode property match specified in the pattern will indicate | |
99 | that the pattern is meant for matching according to Unicode rules | |
100 | (e40e74f) | |
101 | ||
102 | =head2 add GvCV_set() and GvGP_set() macros and change GvGP() | |
103 | ||
104 | This allows a future commit to eliminate some backref magic between GV | |
105 | and CVs, which will require complete control over assignment to the | |
106 | gp_cv slot. | |
107 | ||
108 | If you've been using GvGP() in lvalue context this change will break | |
109 | your code, you should use GvGP_set() instead. (c43ae56) | |
110 | ||
111 | =head2 _swash_inversion_hash is no longer exported as part of the API | |
112 | ||
113 | This function shouldn't be called from XS code. (4c2e113) | |
114 | ||
d17f3dbc | 115 | =head1 Deprecations |
6def3600 | 116 | |
d17f3dbc JV |
117 | XXX Any deprecated features, syntax, modules etc. should be listed here. |
118 | In particular, deprecated modules should be listed here even if they are | |
119 | listed as an updated module in the L</Modules and Pragmata> section. | |
e8b333e6 | 120 | |
d17f3dbc | 121 | [ List each deprecation as a =head2 entry ] |
e8b333e6 | 122 | |
d17f3dbc | 123 | =head1 Performance Enhancements |
935c8d19 | 124 | |
d17f3dbc JV |
125 | XXX Changes which enhance performance without changing behaviour go here. There |
126 | may well be none in a stable release. | |
e1165778 | 127 | |
d17f3dbc | 128 | [ List each enhancement as a =item entry ] |
f295f417 | 129 | |
9f7a72d0 | 130 | =over 4 |
17096837 | 131 | |
f295f417 FC |
132 | =item * |
133 | ||
d17f3dbc | 134 | XXX |
9c88a88b | 135 | |
d17f3dbc | 136 | =back |
9c88a88b | 137 | |
d17f3dbc | 138 | =head1 Modules and Pragmata |
b16cfc56 | 139 | |
d17f3dbc JV |
140 | XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> |
141 | go here. If Module::CoreList is updated, generate an initial draft of the | |
142 | following sections using F<Porting/corelist-perldelta.pl>, which prints stub | |
143 | entries to STDOUT. Results can be pasted in place of the '=head2' entries | |
144 | below. A paragraph summary for important changes should then be added by hand. | |
145 | In an ideal world, dual-life modules would have a F<Changes> file that could be | |
146 | cribbed. | |
b16cfc56 | 147 | |
d17f3dbc | 148 | [ Within each section, list entries as a =item entry ] |
8e1e0801 | 149 | |
d17f3dbc | 150 | =head2 New Modules and Pragmata |
8e1e0801 | 151 | |
d17f3dbc | 152 | =over 4 |
4df1dffa FC |
153 | |
154 | =item * | |
155 | ||
39ac3336 DG |
156 | C<Version::Requirements> version 0.101020 has been added as a dual-life |
157 | module. It provides a standard library to model and manipulates module | |
158 | prerequisites and version constraints as defined in the L<CPAN::Meta::Spec>. | |
4df1dffa | 159 | |
d17f3dbc | 160 | =back |
f5d41534 | 161 | |
d17f3dbc | 162 | =head2 Updated Modules and Pragmata |
f5d41534 | 163 | |
d17f3dbc | 164 | =over 4 |
f5d41534 CBW |
165 | |
166 | =item * | |
167 | ||
f4c5852c CBW |
168 | C<CGI> has been upgraded from version 3.51 to 3.52 |
169 | ||
170 | =item * | |
171 | ||
bada4ede | 172 | C<CPANPLUS> has been upgraded from version 0.9011 to 0.9101 |
28aafdbe CBW |
173 | |
174 | Includes support for META.json and MYMETA.json and a change to | |
175 | using Digest::SHA for CPAN checksums. | |
176 | ||
177 | =item * | |
178 | ||
f7f926be CBW |
179 | C<IPC::Cmd> has been upgraded from version 0.68 to 0.70 |
180 | ||
181 | =item * | |
182 | ||
44de791a DG |
183 | C<HTTP::Tiny> has been upgraded from version 0.009 to 0.010 |
184 | ||
185 | =item * | |
186 | ||
7cf8bfc0 DG |
187 | C<Module::Build> has been upgraded from version 0.3607 to 0.3622. |
188 | ||
189 | A notable change is the deprecation of several modules. | |
190 | Module::Build::Version has been deprecated and Module::Build now relies | |
191 | directly upon L<version>. Module::Build::ModuleInfo has been deprecated in | |
192 | favor of a standalone copy of it called L<Module::Metadata>. | |
193 | Module::Build::YAML has been deprecated in favor of L<CPAN::Meta::YAML>. | |
194 | ||
195 | =item * | |
196 | ||
f541799a | 197 | C<Module::Load::Conditional> has been upgraded from version 0.40 to 0.44 |
a4031803 CBW |
198 | |
199 | =item * | |
200 | ||
2a856793 DG |
201 | C<Module::Metadata> has been upgraded from version 1.000003 to 1.000004. |
202 | ||
203 | =item * | |
204 | ||
34d5bd5d DG |
205 | C<Parse::CPAN::Meta> has been upgraded from version 1.40 to 1.4401. |
206 | ||
207 | The latest Parse::CPAN::Meta can now read YAML or JSON files using | |
208 | L<CPAN::Meta::YAML> and L<JSON::PP>, which are now part of the Perl core. | |
209 | ||
210 | =item * | |
211 | ||
f31eab29 CBW |
212 | C<Term::UI> has been upgraded from version 0.24 to 0.26 |
213 | ||
214 | =item * | |
215 | ||
f58b9ef1 CBW |
216 | C<Unicode::Collate> has been upgraded from version 0.68 to 0.72 |
217 | ||
218 | This also sees the switch from using the pure-perl version of this | |
219 | module to the XS version.` | |
220 | ||
221 | =item * | |
222 | ||
d9672076 | 223 | Added new function C<Unicode::UCD::num()>. This function will return the |
7319f91d KW |
224 | numeric value of the string passed it; C<undef> if the string in its |
225 | entirety has no safe numeric value. | |
226 | ||
227 | To be safe, a string must be a single character which has a numeric | |
228 | value, or consist entirely of characters that match \d, coming from the | |
229 | same Unicode block of digits. Thus, a mix of Bengali and Western | |
230 | digits would be considered unsafe, as well as a mix of half- and | |
231 | full-width digits, but strings consisting entirely of Devanagari digits | |
232 | or of "Mathematical Bold" digits would would be safe. | |
233 | ||
234 | =item * | |
235 | ||
5e6b2389 AB |
236 | C<CPAN> has been upgraded from version1.94_63 to 1.94_64. |
237 | ||
238 | =item * | |
239 | ||
d17f3dbc | 240 | XXX |
17096837 | 241 | |
d17f3dbc | 242 | =back |
788ba0f4 | 243 | |
d17f3dbc | 244 | =head2 Removed Modules and Pragmata |
98d645a7 | 245 | |
d17f3dbc | 246 | =over 4 |
98d645a7 | 247 | |
7abec982 FC |
248 | =item * |
249 | ||
d17f3dbc | 250 | XXX |
7abec982 | 251 | |
9f7a72d0 | 252 | =back |
e1165778 | 253 | |
9f7a72d0 | 254 | =head1 Documentation |
17096837 | 255 | |
d17f3dbc JV |
256 | XXX Changes to files in F<pod/> go here. Consider grouping entries by |
257 | file and be sure to link to the appropriate page, e.g. L<perlfunc>. | |
b16cfc56 | 258 | |
d17f3dbc | 259 | =head2 New Documentation |
b16cfc56 | 260 | |
d17f3dbc | 261 | XXX Changes which create B<new> files in F<pod/> go here. |
b16cfc56 | 262 | |
d17f3dbc | 263 | =head3 L<XXX> |
b16cfc56 | 264 | |
d17f3dbc | 265 | XXX Description of the purpose of the new file here |
b16cfc56 | 266 | |
d17f3dbc | 267 | =head2 Changes to Existing Documentation |
b16cfc56 | 268 | |
d17f3dbc JV |
269 | XXX Changes which significantly change existing files in F<pod/> go here. |
270 | However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> | |
271 | section. | |
b16cfc56 | 272 | |
04c692a8 | 273 | =head3 L<perlhack> and perlrepository |
d4238815 | 274 | |
9f7a72d0 | 275 | =over 4 |
17096837 | 276 | |
d4238815 FC |
277 | =item * |
278 | ||
04c692a8 DR |
279 | The L<perlhack> and perlrepository documents have been heavily edited and |
280 | split up into several new documents. | |
281 | ||
282 | The L<perlhack> document is now much shorter, and focuses on the Perl 5 | |
283 | development process and submitting patches to Perl. The technical content has | |
284 | been moved to several new documents, L<perlsource>, L<perlinterp>, | |
285 | L<perlhacktut>, and L<perlhacktips>. This technical content has only been | |
286 | lightly edited. | |
287 | ||
288 | The perlrepository document has been renamed to L<perlgit>. This new document | |
289 | is just a how-to on using git with the Perl source code. Any other content | |
290 | that used to be in perlrepository has been moved to perlhack. | |
e1165778 | 291 | |
9f7a72d0 | 292 | =back |
17096837 | 293 | |
5e6b2389 AB |
294 | =head3 L<perlfunc> |
295 | ||
296 | =over 4 | |
297 | ||
298 | =item * | |
299 | ||
300 | The documentation for the C<map> function now contains more examples, | |
301 | see B<perldoc -f map> (f947627) | |
302 | ||
303 | =back | |
304 | ||
305 | =head3 L<perlfaq4> | |
306 | ||
307 | =over 4 | |
308 | ||
309 | =item * | |
310 | ||
311 | Examples in L<perlfaq4> have been updated to show the use of | |
312 | L<Time::Piece>. (9243591) | |
313 | ||
314 | =back | |
315 | ||
316 | =head3 Miscellaneous | |
317 | ||
318 | =over 4 | |
319 | ||
320 | =item * | |
321 | ||
322 | Many POD related RT bugs and other issues which are too numerous to | |
323 | enumerate have been solved by Michael Stevens. | |
324 | ||
325 | =back | |
326 | ||
9f7a72d0 | 327 | =head1 Diagnostics |
17096837 | 328 | |
9f7a72d0 Z |
329 | The following additions or changes have been made to diagnostic output, |
330 | including warnings and fatal error messages. For the complete list of | |
331 | diagnostic messages, see L<perldiag>. | |
e1165778 | 332 | |
d17f3dbc JV |
333 | XXX New or changed warnings emitted by the core's C<C> code go here. Also |
334 | include any changes in L<perldiag> that reconcile it to the C<C> code. | |
335 | ||
336 | [ Within each section, list entries as a =item entry ] | |
337 | ||
9f7a72d0 | 338 | =head2 New Diagnostics |
3a5c9134 | 339 | |
d17f3dbc JV |
340 | XXX Newly added diagnostic messages go here |
341 | ||
9f7a72d0 | 342 | =over 4 |
17096837 | 343 | |
5024bc2d KW |
344 | =item "\b{" is deprecated; use "\b\{" instead |
345 | ||
346 | =item "\B{" is deprecated; use "\B\{" instead | |
347 | ||
348 | Use of an unescaped "{" immediately following a C<\b> or C<\B> is now | |
349 | deprecated so as to reserve its use for Perl itself in a future release. | |
c2e0289e | 350 | |
5e6b2389 AB |
351 | =item regcomp: Add warning if \p is used under locale. (fb2e24c) |
352 | ||
353 | C<\p> implies Unicode matching rules, which are likely going to be | |
354 | different than the locale's. | |
17096837 | 355 | |
9f7a72d0 | 356 | =back |
e6f1cc4d | 357 | |
9f7a72d0 | 358 | =head2 Changes to Existing Diagnostics |
e1165778 | 359 | |
d17f3dbc JV |
360 | XXX Changes (i.e. rewording) of diagnostic messages go here |
361 | ||
9f7a72d0 | 362 | =over 4 |
17096837 | 363 | |
e1165778 Z |
364 | =item * |
365 | ||
5e6b2389 AB |
366 | The warning message about regex unrecognized escapes passed through is |
367 | changed to include any literal '{' following the 2-char escape. e.g., | |
368 | "\q{" will include the { in the message as part of the escape | |
369 | (216bfc0). | |
370 | ||
371 | =item * C<binmode $fh, ':scalar'> no longer warns (8250589) | |
372 | ||
373 | Perl will now no longer produce this warning: | |
374 | ||
375 | $ perl -we 'open my $f, ">", \my $x; binmode $f, "scalar"' | |
376 | Use of uninitialized value in binmode at -e line 1. | |
377 | ||
378 | =item * | |
379 | ||
d17f3dbc | 380 | XXX |
17096837 | 381 | |
3a5c9134 CBW |
382 | =back |
383 | ||
9f7a72d0 | 384 | =head1 Utility Changes |
e1165778 | 385 | |
d17f3dbc JV |
386 | XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go |
387 | here. Most of these are built within the directories F<utils> and F<x2p>. | |
e1165778 | 388 | |
d17f3dbc JV |
389 | [ List utility changes as a =head3 entry for each utility and =item |
390 | entries for each change | |
391 | Use L<XXX> with program names to get proper documentation linking. ] | |
e1165778 | 392 | |
d17f3dbc | 393 | =head3 L<XXX> |
b16cfc56 JV |
394 | |
395 | =over 4 | |
396 | ||
397 | =item * | |
398 | ||
d17f3dbc | 399 | XXX |
b16cfc56 JV |
400 | |
401 | =back | |
402 | ||
d17f3dbc | 403 | =head1 Configuration and Compilation |
3a5c9134 | 404 | |
d17f3dbc JV |
405 | XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools |
406 | go here. Any other changes to the Perl build process should be listed here. | |
407 | However, any platform-specific changes should be listed in the | |
408 | L</Platform Support> section, instead. | |
b16cfc56 | 409 | |
d17f3dbc | 410 | [ List changes as a =item entry ]. |
b16cfc56 | 411 | |
d17f3dbc | 412 | =over 4 |
3a5c9134 | 413 | |
5e6b2389 AB |
414 | =item * make reg_eval_scope.t TODOs consistently fail (daaf7ac) |
415 | ||
416 | Some of the TODO tests in reg_eval_scope.t spuriously passed under | |
417 | non-threaded builds. Make the tests harder so they always fail. | |
418 | ||
419 | Since one of the key bugs in (?{..}) is the trashing of the parent pad, | |
420 | add some extra lexical vars to the parent scope and check they're still | |
421 | there at the end. | |
422 | ||
423 | =item * | |
424 | ||
425 | Stop EU::CBuilder's tests from failing in parallel (cbf59d5) | |
426 | ||
427 | It used to use the same paths for temporary files in all tests. This | |
428 | blew up randomly when the tests were run in parallel. | |
429 | ||
b16cfc56 JV |
430 | =item * |
431 | ||
d17f3dbc | 432 | XXX |
b16cfc56 | 433 | |
d17f3dbc | 434 | =back |
b16cfc56 | 435 | |
d17f3dbc | 436 | =head1 Testing |
b16cfc56 | 437 | |
d17f3dbc JV |
438 | XXX Any significant changes to the testing of a freshly built perl should be |
439 | listed here. Changes which create B<new> files in F<t/> go here as do any | |
440 | large changes to the testing harness (e.g. when parallel testing was added). | |
441 | Changes to existing files in F<t/> aren't worth summarising, although the bugs | |
442 | that they represent may be covered elsewhere. | |
b16cfc56 | 443 | |
d17f3dbc | 444 | [ List each test improvement as a =item entry ] |
b16cfc56 | 445 | |
d17f3dbc | 446 | =over 4 |
b16cfc56 JV |
447 | |
448 | =item * | |
449 | ||
110c4fb7 TC |
450 | F<porting/FindExt.t> now skips all tests on a static (-Uusedl) build |
451 | of perl. | |
452 | ||
453 | =item * | |
454 | ||
455 | F<porting/FindExt.t> now passes on non-Win32 platforms when some | |
456 | extensions are built statically. | |
b16cfc56 | 457 | |
3a5c9134 CBW |
458 | =back |
459 | ||
9f7a72d0 | 460 | =head1 Platform Support |
3a5c9134 | 461 | |
d17f3dbc | 462 | XXX Any changes to platform support should be listed in the sections below. |
b16cfc56 | 463 | |
d17f3dbc JV |
464 | [ Within the sections, list each platform as a =item entry with specific |
465 | changes as paragraphs below it. ] | |
b16cfc56 | 466 | |
d17f3dbc | 467 | =head2 New Platforms |
3a5c9134 | 468 | |
d17f3dbc JV |
469 | XXX List any platforms that this version of perl compiles on, that previous |
470 | versions did not. These will either be enabled by new files in the F<hints/> | |
471 | directories, or new subdirectories and F<README> files at the top level of the | |
472 | source tree. | |
3a5c9134 | 473 | |
9f7a72d0 | 474 | =over 4 |
3a5c9134 | 475 | |
d17f3dbc | 476 | =item XXX-some-platform |
b16cfc56 | 477 | |
d17f3dbc | 478 | XXX |
b16cfc56 | 479 | |
d17f3dbc | 480 | =back |
b16cfc56 | 481 | |
d17f3dbc | 482 | =head2 Discontinued Platforms |
b16cfc56 | 483 | |
d17f3dbc | 484 | XXX List any platforms that this version of perl no longer compiles on. |
b16cfc56 | 485 | |
d17f3dbc | 486 | =over 4 |
b16cfc56 | 487 | |
d17f3dbc | 488 | =item XXX-some-platform |
b16cfc56 | 489 | |
d17f3dbc | 490 | XXX |
b16cfc56 JV |
491 | |
492 | =back | |
493 | ||
d17f3dbc | 494 | =head2 Platform-Specific Notes |
b16cfc56 | 495 | |
d17f3dbc JV |
496 | XXX List any changes for specific platforms. This could include configuration |
497 | and compilation changes or changes in portability/compatibility. However, | |
498 | changes within modules for platforms should generally be listed in the | |
499 | L</Modules and Pragmata> section. | |
3a5c9134 | 500 | |
9f7a72d0 | 501 | =over 4 |
3a5c9134 | 502 | |
347ee86f | 503 | =item Windows |
c61b6d0f | 504 | |
347ee86f TC |
505 | =over 4 |
506 | ||
507 | =item * | |
508 | ||
509 | The C<test-prep> build target now depends on F<pod/perltoc.pod> to allow the | |
510 | F<t/porting/buildtoc.t> test to run successfully. | |
511 | ||
512 | =back | |
6d4f9cf2 | 513 | |
5e6b2389 AB |
514 | =item MirBSD |
515 | ||
516 | =over 4 | |
517 | ||
518 | =item * | |
519 | ||
520 | [perl #82988] Skip hanging taint.t test on MirBSD 10 (1fb83d0) | |
521 | ||
522 | Skip a hanging test under MirBSD that was already being skipped under | |
523 | OpenBSD. | |
524 | ||
525 | =item * | |
526 | ||
527 | Previously if you build perl with a shared libperl.so on MirBSD (the | |
528 | default config), it will work up to the installation; however, once | |
529 | installed, it will be unable to find libperl. Treat path handling | |
530 | like in the other BSD dialects. | |
531 | ||
532 | =back | |
533 | ||
d17f3dbc | 534 | =back |
a62b1201 | 535 | |
d17f3dbc | 536 | =head1 Internal Changes |
a62b1201 | 537 | |
d17f3dbc JV |
538 | XXX Changes which affect the interface available to C<XS> code go here. |
539 | Other significant internal changes for future core maintainers should | |
540 | be noted as well. | |
b030240b | 541 | |
d17f3dbc | 542 | [ List each test improvement as a =item entry ] |
b030240b | 543 | |
d17f3dbc | 544 | =over 4 |
b16cfc56 | 545 | |
5e6b2389 AB |
546 | =item * Fix harmless invalid read in Perl_re_compile() (f6d9469) |
547 | ||
548 | [perl #2460] described a case where electric fence reported an invalid | |
549 | read. This could be reproduced under valgrind with blead and -e'/x/', | |
550 | but only on a non-debugging build. | |
551 | ||
552 | This was because it was checking for certain pairs of nodes (e.g. BOL + END) | |
553 | and wasn't allowing for EXACT nodes, which have the string at the next | |
554 | node position when using a naive NEXTOPER(first). In the non-debugging | |
555 | build, the nodes aren't initialised to zero, and a 1-char EXACT node isn't | |
556 | long enough to spill into the type field of the "next node". | |
557 | ||
558 | Fix this by only using NEXTOPER(first) when we know the first node is | |
559 | kosher. | |
560 | ||
561 | =item * Break out the generated function Perl_keywords() into F<keywords.c>, a new file. (26ea9e1) | |
562 | ||
563 | As it and Perl_yylex() both need FEATURE_IS_ENABLED, feature_is_enabled() is | |
564 | no longer static, and the two macro definitions move from toke.c to perl.h | |
565 | ||
566 | Previously, one had to cut and paste the output of perl_keywords.pl into the | |
567 | middle of toke.c, and it was not clear that it was generated code. | |
568 | ||
569 | =item * | |
570 | ||
571 | A lot of tests have been ported from Test to Test::More, e.g. in | |
572 | 3842ad6. | |
573 | ||
4dc93f40 JV |
574 | =item * |
575 | ||
d17f3dbc | 576 | XXX |
b16cfc56 | 577 | |
3a5c9134 CBW |
578 | =back |
579 | ||
580 | =head1 Selected Bug Fixes | |
581 | ||
d17f3dbc JV |
582 | XXX Important bug fixes in the core language are summarised here. |
583 | Bug fixes in files in F<ext/> and F<lib/> are best summarised in | |
584 | L</Modules and Pragmata>. | |
0c7420e7 | 585 | |
d17f3dbc | 586 | [ List each fix as a =item entry ] |
0c7420e7 | 587 | |
d17f3dbc | 588 | =over 4 |
f3fe4ed7 | 589 | |
712ef7ca FC |
590 | =item * |
591 | ||
5e6b2389 | 592 | A Unicode C<\p{}> property match in a regular expression pattern will |
e40e74fe | 593 | now force Unicode rules for the rest of the regular expression |
712ef7ca | 594 | |
5e6b2389 AB |
595 | =item * |
596 | ||
597 | [perl #38456] binmode FH, ":crlf" only modifies top crlf layer (7826b36) | |
598 | ||
599 | When pushed on top of the stack, crlf will no longer enable crlf layers | |
600 | lower in the stack. This will prevent unexpected results. | |
601 | ||
602 | =item * | |
603 | ||
604 | Fix 'raw' layer for RT #80764 (ecfd064) | |
605 | ||
606 | Made a ':raw' open do what it advertises to do (first open the file, | |
607 | then binmode it), instead of leaving off the top layer. | |
608 | ||
609 | =item * | |
610 | ||
611 | Use PerlIOBase_open for pop, utf8 and bytes layers (c0888ac) | |
612 | ||
613 | Three of Perl's builtin PerlIO layers (C<:pop>, C<:utf8> and | |
614 | C<:bytes>) didn't allow stacking when opening a file. For example | |
615 | this: | |
616 | ||
617 | open FH, '>:pop:perlio', 'some.file' or die $!; | |
618 | ||
619 | Would throw an error: "Invalid argument". This has been fixed in this | |
620 | release. | |
621 | ||
622 | =item * | |
623 | ||
624 | An issue present since 5.13.1, where s/A/B/ with A utf8 and B | |
625 | non-utf8, could cause corruption or segfaults has been | |
626 | fixed. (c95ca9b) | |
627 | ||
628 | =item * | |
629 | ||
630 | String evals will no longer fail after 2 billion scopes have been | |
631 | compiled (d1bfb64, 2df5bdd, 0d311cd and 6012dc8) | |
632 | ||
d17f3dbc | 633 | =back |
ecede56a | 634 | |
d17f3dbc | 635 | =head1 Known Problems |
ecede56a | 636 | |
d17f3dbc JV |
637 | XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any |
638 | tests that had to be C<TODO>ed for the release would be noted here, unless | |
639 | they were specific to a particular platform (see below). | |
ecede56a | 640 | |
d17f3dbc JV |
641 | This is a list of some significant unfixed bugs, which are regressions |
642 | from either 5.XXX.XXX or 5.XXX.XXX. | |
d4560299 | 643 | |
d17f3dbc | 644 | [ List each fix as a =item entry ] |
d4560299 | 645 | |
d17f3dbc | 646 | =over 4 |
d4560299 | 647 | |
7db1267d KW |
648 | =item * |
649 | ||
d17f3dbc | 650 | XXX |
7db1267d | 651 | |
9f7a72d0 | 652 | =back |
460c4bfb | 653 | |
d17f3dbc | 654 | =head1 Obituary |
836d5805 | 655 | |
d17f3dbc JV |
656 | XXX If any significant core contributor has died, we've added a short obituary |
657 | here. | |
3a5c9134 | 658 | |
9f7a72d0 | 659 | =head1 Acknowledgements |
b0c3724f | 660 | |
d17f3dbc | 661 | XXX The list of people to thank goes here. |
3a5c9134 CBW |
662 | |
663 | =head1 Reporting Bugs | |
664 | ||
665 | If you find what you think is a bug, you might check the articles | |
666 | recently posted to the comp.lang.perl.misc newsgroup and the perl | |
667 | bug database at http://rt.perl.org/perlbug/ . There may also be | |
668 | information at http://www.perl.org/ , the Perl Home Page. | |
669 | ||
670 | If you believe you have an unreported bug, please run the L<perlbug> | |
671 | program included with your release. Be sure to trim your bug down | |
672 | to a tiny but sufficient test case. Your bug report, along with the | |
673 | output of C<perl -V>, will be sent off to perlbug@perl.org to be | |
674 | analysed by the Perl porting team. | |
675 | ||
676 | If the bug you are reporting has security implications, which make it | |
677 | inappropriate to send to a publicly archived mailing list, then please send | |
678 | it to perl5-security-report@perl.org. This points to a closed subscription | |
679 | unarchived mailing list, which includes all the core committers, who be able | |
680 | to help assess the impact of issues, figure out a resolution, and help | |
681 | co-ordinate the release of patches to mitigate or fix the problem across all | |
682 | platforms on which Perl is supported. Please only use this address for | |
683 | security issues in the Perl core, not for modules independently | |
684 | distributed on CPAN. | |
685 | ||
686 | =head1 SEE ALSO | |
687 | ||
688 | The F<Changes> file for an explanation of how to view exhaustive details | |
689 | on what changed. | |
690 | ||
691 | The F<INSTALL> file for how to build Perl. | |
692 | ||
693 | The F<README> file for general stuff. | |
694 | ||
695 | The F<Artistic> and F<Copying> files for copyright information. | |
696 | ||
697 | =cut |