This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for -Dtargetsh
[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 XXX needs
6 to be processed before release. ]
7
8 perldelta - what is new for perl v5.19.9
9
10 =head1 DESCRIPTION
11
12 This document describes differences between the 5.19.8 release and the 5.19.9
13 release.
14
15 If you are upgrading from an earlier release such as 5.19.7, first read
16 L<perl5198delta>, which describes differences between 5.19.7 and 5.19.8.
17
18 =head1 Notice
19
20 XXX Any important notices here
21
22 =head1 Core Enhancements
23
24 XXX New core language features go here.  Summarize user-visible core language
25 enhancements.  Particularly prominent performance optimisations could go
26 here, but most should go in the L</Performance Enhancements> section.
27
28 [ List each enhancement as a =head2 entry ]
29
30 =head1 Security
31
32 XXX Any security-related notices go here.  In particular, any security
33 vulnerabilities closed should be noted here rather than in the
34 L</Selected Bug Fixes> section.
35
36 [ List each security issue as a =head2 entry ]
37
38 =head1 Incompatible Changes
39
40 XXX For a release on a stable branch, this section aspires to be:
41
42     There are no changes intentionally incompatible with 5.XXX.XXX
43     If any exist, they are bugs, and we request that you submit a
44     report.  See L</Reporting Bugs> below.
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
52 =head2 Module removals
53
54 XXX Remove this section if inapplicable.
55
56 The following modules will be removed from the core distribution in a
57 future release, and will at that time need to be installed from CPAN.
58 Distributions on CPAN which require these modules will need to list them as
59 prerequisites.
60
61 The core versions of these modules will now issue C<"deprecated">-category
62 warnings to alert you to this fact.  To silence these deprecation warnings,
63 install the modules in question from CPAN.
64
65 Note that these are (with rare exceptions) fine modules that you are encouraged
66 to continue to use.  Their disinclusion from core primarily hinges on their
67 necessity to bootstrapping a fully functional, CPAN-capable Perl installation,
68 not usually on concerns over their design.
69
70 =over
71
72 =item XXX
73
74 XXX Note that deprecated modules should be listed here even if they are listed
75 as an updated module in the L</Modules and Pragmata> section.
76
77 =back
78
79 [ List each other deprecation as a =head2 entry ]
80
81 =head1 Performance Enhancements
82
83 XXX Changes which enhance performance without changing behaviour go here.
84 There may well be none in a stable release.
85
86 [ List each enhancement as a =item entry ]
87
88 =over 4
89
90 =item *
91
92 XXX
93
94 =back
95
96 =head1 Modules and Pragmata
97
98 XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
99 go here.  If Module::CoreList is updated, generate an initial draft of the
100 following sections using F<Porting/corelist-perldelta.pl>.  A paragraph summary
101 for important changes should then be added by hand.  In an ideal world,
102 dual-life modules would have a F<Changes> file that could be cribbed.
103
104 [ Within each section, list entries as a =item entry ]
105
106 =head2 New Modules and Pragmata
107
108 =over 4
109
110 =item *
111
112 XXX
113
114 =back
115
116 =head2 Updated Modules and Pragmata
117
118 =over 4
119
120 =item *
121
122 L<warnings> has been upgraded from version 1.21 to 1.22.
123
124 C<< use warnings "FATAL"; >> now implies C<< "all" >>, and similarly
125 for C<< use warnings "NONFATAL" >>.  [perl #120977]
126
127 =back
128
129 =head2 Removed Modules and Pragmata
130
131 =over 4
132
133 =item *
134
135 XXX
136
137 =back
138
139 =head1 Documentation
140
141 XXX Changes to files in F<pod/> go here.  Consider grouping entries by
142 file and be sure to link to the appropriate page, e.g. L<perlfunc>.
143
144 =head2 New Documentation
145
146 XXX Changes which create B<new> files in F<pod/> go here.
147
148 =head3 L<XXX>
149
150 XXX Description of the purpose of the new file here
151
152 =head2 Changes to Existing Documentation
153
154 XXX Changes which significantly change existing files in F<pod/> go here.
155 However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
156 section.
157
158 =head3 L<XXX>
159
160 =over 4
161
162 =item *
163
164 XXX Description of the change here
165
166 =back
167
168 =head1 Diagnostics
169
170 The following additions or changes have been made to diagnostic output,
171 including warnings and fatal error messages.  For the complete list of
172 diagnostic messages, see L<perldiag>.
173
174 XXX New or changed warnings emitted by the core's C<C> code go here.  Also
175 include any changes in L<perldiag> that reconcile it to the C<C> code.
176
177 =head2 New Diagnostics
178
179 XXX Newly added diagnostic messages go under here, separated into New Errors
180 and New Warnings
181
182 =head3 New Errors
183
184 =over 4
185
186 =item *
187
188 XXX L<message|perldiag/"message">
189
190 =back
191
192 =head3 New Warnings
193
194 =over 4
195
196 =item *
197
198 XXX L<message|perldiag/"message">
199
200 =back
201
202 =head2 Changes to Existing Diagnostics
203
204 XXX Changes (i.e. rewording) of diagnostic messages go here
205
206 =over 4
207
208 =item *
209
210 XXX Describe change here
211
212 =back
213
214 =head1 Utility Changes
215
216 XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here.
217 Most of these are built within the directories F<utils> and F<x2p>.
218
219 [ List utility changes as a =head3 entry for each utility and =item
220 entries for each change
221 Use L<XXX> with program names to get proper documentation linking. ]
222
223 =head3 L<XXX>
224
225 =over 4
226
227 =item *
228
229 XXX
230
231 =back
232
233 =head1 Configuration and Compilation
234
235 XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
236 go here.  Any other changes to the Perl build process should be listed here.
237 However, any platform-specific changes should be listed in the
238 L</Platform Support> section, instead.
239
240 [ List changes as a =item entry ].
241
242 =over 4
243
244 =item *
245
246 The cross-compilation model has been renovated.
247 There's several new options, and some backwards-incompatible changes:
248
249 We now build binaries for miniperl and generate_uudmap to be used on the host, rather than running
250 every miniperl call on the target; this means that, short of 'make test',
251 we no longer need access to the target system once Configure is done.
252 You can provide already-built binaries through the C<hostperl> and
253 C<hostgenerate> options to Configure.
254
255 Additionally, if targeting an EBCDIC platform from an ASCII host,
256 or viceversa, you'll need to run Configure with C<-Uhostgenerate>, to
257 indicate that generate_uudmap should be run on the target.
258
259 Finally, there's also a way of having Configure end early, right after
260 building the host binaries, by cross-compiling without specifying a
261 C<targethost>.
262
263 The incompatible changes include no longer using xconfig.h, xlib, or
264 Cross.pm, so canned config files and Makefiles will have to be updated.
265
266 =item *
267
268 Related to the above, there is now a way of specifying the location of sh
269 (or equivalent) on the target system: C<targetsh>.
270
271 For example, Android has its sh in /system/bin/sh, so if cross-compiling
272 from a more normal Unixy system with sh in /bin/sh, "targetsh" would end
273 up as /system/bin/sh, and "sh" as /bin/sh.
274
275 =back
276
277 =head1 Testing
278
279 XXX Any significant changes to the testing of a freshly built perl should be
280 listed here.  Changes which create B<new> files in F<t/> go here as do any
281 large changes to the testing harness (e.g. when parallel testing was added).
282 Changes to existing files in F<t/> aren't worth summarizing, although the bugs
283 that they represent may be covered elsewhere.
284
285 [ List each test improvement as a =item entry ]
286
287 =over 4
288
289 =item *
290
291 XXX
292
293 =back
294
295 =head1 Platform Support
296
297 XXX Any changes to platform support should be listed in the sections below.
298
299 [ Within the sections, list each platform as a =item entry with specific
300 changes as paragraphs below it. ]
301
302 =head2 New Platforms
303
304 XXX List any platforms that this version of perl compiles on, that previous
305 versions did not.  These will either be enabled by new files in the F<hints/>
306 directories, or new subdirectories and F<README> files at the top level of the
307 source tree.
308
309 =over 4
310
311 =item XXX-some-platform
312
313 XXX
314
315 =back
316
317 =head2 Discontinued Platforms
318
319 XXX List any platforms that this version of perl no longer compiles on.
320
321 =over 4
322
323 =item XXX-some-platform
324
325 XXX
326
327 =back
328
329 =head2 Platform-Specific Notes
330
331 XXX List any changes for specific platforms.  This could include configuration
332 and compilation changes or changes in portability/compatibility.  However,
333 changes within modules for platforms should generally be listed in the
334 L</Modules and Pragmata> section.
335
336 =over 4
337
338 =item XXX-some-platform
339
340 XXX
341
342 =back
343
344 =head1 Internal Changes
345
346 XXX Changes which affect the interface available to C<XS> code go here.  Other
347 significant internal changes for future core maintainers should be noted as
348 well.
349
350 [ List each change as a =item entry ]
351
352 =over 4
353
354 =item *
355
356 XXX
357
358 =back
359
360 =head1 Selected Bug Fixes
361
362 XXX Important bug fixes in the core language are summarized here.  Bug fixes in
363 files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
364
365 [ List each fix as a =item entry ]
366
367 =over 4
368
369 =item *
370
371 XXX
372
373 =back
374
375 =head1 Known Problems
376
377 XXX Descriptions of platform agnostic bugs we know we can't fix go here.  Any
378 tests that had to be C<TODO>ed for the release would be noted here.  Unfixed
379 platform specific bugs also go here.
380
381 [ List each fix as a =item entry ]
382
383 =over 4
384
385 =item *
386
387 XXX
388
389 =back
390
391 =head1 Obituary
392
393 XXX If any significant core contributor has died, we've added a short obituary
394 here.
395
396 =head1 Acknowledgements
397
398 XXX Generate this with:
399
400   perl Porting/acknowledgements.pl v5.19.9..HEAD
401
402 =head1 Reporting Bugs
403
404 If you find what you think is a bug, you might check the articles recently
405 posted to the comp.lang.perl.misc newsgroup and the perl bug database at
406 https://rt.perl.org/ .  There may also be information at
407 http://www.perl.org/ , the Perl Home Page.
408
409 If you believe you have an unreported bug, please run the L<perlbug> program
410 included with your release.  Be sure to trim your bug down to a tiny but
411 sufficient test case.  Your bug report, along with the output of C<perl -V>,
412 will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
413
414 If the bug you are reporting has security implications, which make it
415 inappropriate to send to a publicly archived mailing list, then please send it
416 to perl5-security-report@perl.org.  This points to a closed subscription
417 unarchived mailing list, which includes all the core committers, who will be
418 able to help assess the impact of issues, figure out a resolution, and help
419 co-ordinate the release of patches to mitigate or fix the problem across all
420 platforms on which Perl is supported.  Please only use this address for
421 security issues in the Perl core, not for modules independently distributed on
422 CPAN.
423
424 =head1 SEE ALSO
425
426 The F<Changes> file for an explanation of how to view exhaustive details on
427 what changed.
428
429 The F<INSTALL> file for how to build Perl.
430
431 The F<README> file for general stuff.
432
433 The F<Artistic> and F<Copying> files for copyright information.
434
435 =cut