This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the 5.31.4 epigraph
[perl5.git] / pod / perldelta.pod
CommitLineData
44691e6f
AB
1=encoding utf8
2
3=head1 NAME
4
fcbec156 5perldelta - what is new for perl v5.31.4
d407e309 6
862f380b 7=head1 DESCRIPTION
261e14b0 8
fcbec156 9This document describes differences between the 5.31.3 release and the 5.31.4
862f380b 10release.
261e14b0 11
fcbec156
TH
12If you are upgrading from an earlier release such as 5.31.2, first read
13L<perl5313delta>, which describes differences between 5.31.2 and 5.31.3.
14
15=head1 Notice
16
2af54907 17I<None>
fcbec156
TH
18
19=head1 Core Enhancements
20
f0556e94 21=head2 Now can dump compiled patterns before optimization
fd41b2d1
KW
22
23This is primarily useful for tracking down bugs in the regular
24expression compiler. This dump happens on C<-DDEBUGGING> perls, if you
25specify C<-Drv> on the command line; or on any perl if the pattern is
26compiled within the scope of S<C<use re qw(Debug DUMP_PRE_OPTIMIZE)>> or
27S<C<use re qw(Debug COMPILE EXTRA)>>. (All but the 2nd case display
28other information as well.)
29
9064626f
SH
30=head1 Incompatible Changes
31
2af54907 32 There are no changes intentionally incompatible with 5.31.3
fcbec156
TH
33 If any exist, they are bugs, and we request that you submit a
34 report. See L</Reporting Bugs> below.
e6132dc0 35
fcbec156 36=head1 Deprecations
e6132dc0 37
fcbec156 38=head2 Module removals
befef368 39
2af54907 40I<None>
befef368 41
2af54907 42=head1 Performance Enhancements
fcbec156 43
2af54907 44I<None>
fcbec156 45
2af54907 46=head1 Modules and Pragmata
fcbec156 47
2af54907 48=head2 New Modules and Pragmata
fcbec156 49
2af54907 50I<None>
fcbec156 51
2af54907 52=head2 Updated Modules and Pragmata
9064626f
SH
53
54=over 4
a0348300 55
9c600b76 56=item *
a0348300 57
2af54907 58L<ExtUtils::MakeMaker> has been upgraded from version 7.36 to 7.38.
be2eb09e 59
2af54907 60=item *
fcbec156 61
2af54907 62L<I18N::Langinfo> has been upgraded from version 0.18 to 0.19.
be2eb09e 63
2af54907 64=item *
be2eb09e 65
2af54907 66L<Module::CoreList> has been upgraded from version 5.20190820 to 5.20190920.
be2eb09e 67
2af54907 68=item *
03b7d279 69
2af54907 70L<Module::Metadata> has been upgraded from version 1.000036 to 1.000037.
03b7d279
TC
71
72=item *
73
2af54907 74L<re> has been upgraded from version 0.37 to 0.38.
03b7d279 75
2af54907 76=item *
03b7d279 77
2af54907 78L<Scalar::Util> has been upgraded from version 1.50 to 1.52.
36bb8f68
JK
79
80=item *
81
c8d86fdc
JK
82L<Test::Simple> has been upgraded from version 1.302166 to 1.302168.
83
84=item *
85
2af54907 86L<Time::HiRes> has been upgraded from version 1.9762 to 1.9763.
be2eb09e
TH
87
88=item *
89
2af54907 90L<XS::APItest> has been upgraded from version 1.02 to 1.03.
fcbec156
TH
91
92=back
93
2af54907 94=head2 Removed Modules and Pragmata
fcbec156 95
2af54907 96I<None>
fcbec156
TH
97
98=head2 Changes to Existing Documentation
99
100We have attempted to update the documentation to reflect the changes
101listed in this document. If you find any we have missed, send email
102to L<perlbug@perl.org|mailto:perlbug@perl.org>.
103
fcbec156
TH
104Additionally, the following selected changes have been made:
105
6e385be5 106=head3 L<perlapi>, L<perlintern>
fcbec156
TH
107
108=over 4
be2eb09e
TH
109
110=item *
111
6e385be5
KW
112Documentation has been added for a dozen or two functions that were
113lacking it before.
fcbec156
TH
114
115=back
116
117=head1 Diagnostics
118
119The following additions or changes have been made to diagnostic output,
120including warnings and fatal error messages. For the complete list of
121diagnostic messages, see L<perldiag>.
122
fcbec156
TH
123=head2 New Diagnostics
124
2af54907 125I<None>
fcbec156
TH
126
127=head1 Configuration and Compilation
128
fcbec156 129=over 4
f0f66070
TC
130
131=item *
132
06bfb2b1
JK
133Improvements in F<Configure> to detection in C++ and clang++. Work ongoing by
134Andy Dougherty. [perl #134171]
135
fcbec156
TH
136=back
137
138=head1 Testing
139
fcbec156
TH
140Tests were added and changed to reflect the other additions and changes
141in this release.
142
dad02c36 143=head1 Platform Support
8424e368 144
fcbec156
TH
145=head2 Platform-Specific Notes
146
fcbec156 147=over 4
061637ca 148
0076a047 149=item Win32
fcbec156 150
0076a047
TC
151The locale tests could crash on Win32 due to a Windows bug, and
152separately due to the CRT throwing an exception if the locale name
153wasn't validly encoded in the current code page.
154
155For the second we now decode the locale name ourselves, and always
156decode it as UTF-8. [perl #133981]
fcbec156
TH
157
158=back
159
160=head1 Internal Changes
161
fcbec156 162=over 4
061637ca 163
285db695
DM
164=item *
165
20ef288c 166XXX
285db695 167
9064626f 168=back
ed0cf058 169
9064626f 170=head1 Selected Bug Fixes
ed0cf058 171
9064626f 172=over 4
973ae088 173
f7faf2ad
SH
174=item *
175
9cb69123
TC
176Perl no longer treats strings starting with "0x" or "0b" as hex or
177binary numbers respectively when converting a string to a number.
178This reverts a change in behaviour inadvertently introduced in perl
1795.30.0 intended to improve precision when converting a string to a
180floating point number. [perl #134230]
f7faf2ad 181
8714ff4f
TC
182=item *
183
184Matching a non-C<SVf_UTF8> string against a regular expression
185containing unicode literals could leak a SV on each match attempt.
186[perl #134390]
187
7118f704
TC
188=item *
189
190Overloads for octal and binary floating point literals were always
191passed a string with a C<0x> prefix instead of the appropriate C<0> or
192C<0b> prefix. [perl #125557]
193
fcbec156
TH
194=back
195
196=head1 Known Problems
197
2af54907 198I<None>
a3c77565 199
2af54907 200=head1 Acknowledgements
fcbec156 201
2af54907
MM
202Perl 5.31.4 represents approximately 4 weeks of development since Perl
2035.31.3 and contains approximately 6,700 lines of changes across 260 files
204from 18 authors.
bd833cba 205
2af54907
MM
206Excluding auto-generated files, documentation and release tools, there were
207approximately 3,900 lines of changes to 180 .pm, .t, .c and .h files.
bd833cba 208
2af54907
MM
209Perl continues to flourish into its fourth decade thanks to a vibrant
210community of users and developers. The following people are known to have
211contributed the improvements that became Perl 5.31.4:
bd833cba 212
2af54907
MM
213Chad Granum, Chris 'BinGOs' Williams, Craig A. Berry, Dan Book, David
214Mitchell, Florian Weimer, Hauke D, H.Merijn Brand, James E Keenan, Kang-min
215Liu, Karl Williamson, Max Maischein, Pali, Sisyphus, Tomasz Konojacki, Tom
216Hukins, Tony Cook, VanL.
bd833cba 217
2af54907
MM
218The list above is almost certainly incomplete as it is automatically
219generated from version control history. In particular, it does not include
220the names of the (very much appreciated) contributors who reported issues to
221the Perl bug tracker.
bd833cba 222
2af54907
MM
223Many of the changes included in this version originated in the CPAN modules
224included in Perl's core. We're grateful to the entire CPAN community for
225helping Perl to flourish.
bd833cba 226
2af54907
MM
227For a more complete list of all of Perl's historical contributors, please
228see the F<AUTHORS> file in the Perl source distribution.
8424e368 229
44691e6f
AB
230=head1 Reporting Bugs
231
9064626f
SH
232If you find what you think is a bug, you might check the perl bug database
233at L<https://rt.perl.org/>. There may also be information at
15f62f05 234L<http://www.perl.org/>, the Perl Home Page.
44691e6f 235
e08634c5
SH
236If you believe you have an unreported bug, please run the L<perlbug> program
237included with your release. Be sure to trim your bug down to a tiny but
238sufficient test case. Your bug report, along with the output of C<perl -V>,
0e18d1c4 239will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
44691e6f 240
87c118b9
DM
241If the bug you are reporting has security implications which make it
242inappropriate to send to a publicly archived mailing list, then see
9064626f
SH
243L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION>
244for details of how to report the issue.
44691e6f 245
390ae6f9
S
246=head1 Give Thanks
247
9064626f
SH
248If you wish to thank the Perl 5 Porters for the work we had done in Perl 5,
249you can do so by running the C<perlthanks> program:
390ae6f9
S
250
251 perlthanks
252
253This will send an email to the Perl 5 Porters list with your show of thanks.
254
44691e6f
AB
255=head1 SEE ALSO
256
e08634c5
SH
257The F<Changes> file for an explanation of how to view exhaustive details on
258what changed.
44691e6f
AB
259
260The F<INSTALL> file for how to build Perl.
261
262The F<README> file for general stuff.
263
264The F<Artistic> and F<Copying> files for copyright information.
265
266=cut