This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update perldelta for 5.31.4
[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
32717ad4
DM
166Added the C<<PL_curstackinfo->si_cxsubix>> field. This records the stack
167index of the most recently pushed sub/format/eval context. It is set and
168restored automatically by C<cx_pushsub()>, C<cx_popsub()> etc., but would
169need to be manually managed if you do any unusual manipulation of the
170context stack.
285db695 171
9064626f 172=back
ed0cf058 173
9064626f 174=head1 Selected Bug Fixes
ed0cf058 175
9064626f 176=over 4
973ae088 177
f7faf2ad
SH
178=item *
179
9cb69123
TC
180Perl no longer treats strings starting with "0x" or "0b" as hex or
181binary numbers respectively when converting a string to a number.
182This reverts a change in behaviour inadvertently introduced in perl
1835.30.0 intended to improve precision when converting a string to a
184floating point number. [perl #134230]
f7faf2ad 185
8714ff4f
TC
186=item *
187
188Matching a non-C<SVf_UTF8> string against a regular expression
189containing unicode literals could leak a SV on each match attempt.
190[perl #134390]
191
7118f704
TC
192=item *
193
194Overloads for octal and binary floating point literals were always
195passed a string with a C<0x> prefix instead of the appropriate C<0> or
196C<0b> prefix. [perl #125557]
197
fcbec156
TH
198=back
199
200=head1 Known Problems
201
2af54907 202I<None>
a3c77565 203
2af54907 204=head1 Acknowledgements
fcbec156 205
2af54907
MM
206Perl 5.31.4 represents approximately 4 weeks of development since Perl
2075.31.3 and contains approximately 6,700 lines of changes across 260 files
208from 18 authors.
bd833cba 209
2af54907
MM
210Excluding auto-generated files, documentation and release tools, there were
211approximately 3,900 lines of changes to 180 .pm, .t, .c and .h files.
bd833cba 212
2af54907
MM
213Perl continues to flourish into its fourth decade thanks to a vibrant
214community of users and developers. The following people are known to have
215contributed the improvements that became Perl 5.31.4:
bd833cba 216
2af54907
MM
217Chad Granum, Chris 'BinGOs' Williams, Craig A. Berry, Dan Book, David
218Mitchell, Florian Weimer, Hauke D, H.Merijn Brand, James E Keenan, Kang-min
219Liu, Karl Williamson, Max Maischein, Pali, Sisyphus, Tomasz Konojacki, Tom
220Hukins, Tony Cook, VanL.
bd833cba 221
2af54907
MM
222The list above is almost certainly incomplete as it is automatically
223generated from version control history. In particular, it does not include
224the names of the (very much appreciated) contributors who reported issues to
225the Perl bug tracker.
bd833cba 226
2af54907
MM
227Many of the changes included in this version originated in the CPAN modules
228included in Perl's core. We're grateful to the entire CPAN community for
229helping Perl to flourish.
bd833cba 230
2af54907
MM
231For a more complete list of all of Perl's historical contributors, please
232see the F<AUTHORS> file in the Perl source distribution.
8424e368 233
44691e6f
AB
234=head1 Reporting Bugs
235
9064626f
SH
236If you find what you think is a bug, you might check the perl bug database
237at L<https://rt.perl.org/>. There may also be information at
15f62f05 238L<http://www.perl.org/>, the Perl Home Page.
44691e6f 239
e08634c5
SH
240If you believe you have an unreported bug, please run the L<perlbug> program
241included with your release. Be sure to trim your bug down to a tiny but
242sufficient test case. Your bug report, along with the output of C<perl -V>,
0e18d1c4 243will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
44691e6f 244
87c118b9
DM
245If the bug you are reporting has security implications which make it
246inappropriate to send to a publicly archived mailing list, then see
9064626f
SH
247L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION>
248for details of how to report the issue.
44691e6f 249
390ae6f9
S
250=head1 Give Thanks
251
9064626f
SH
252If you wish to thank the Perl 5 Porters for the work we had done in Perl 5,
253you can do so by running the C<perlthanks> program:
390ae6f9
S
254
255 perlthanks
256
257This will send an email to the Perl 5 Porters list with your show of thanks.
258
44691e6f
AB
259=head1 SEE ALSO
260
e08634c5
SH
261The F<Changes> file for an explanation of how to view exhaustive details on
262what changed.
44691e6f
AB
263
264The F<INSTALL> file for how to build Perl.
265
266The F<README> file for general stuff.
267
268The F<Artistic> and F<Copying> files for copyright information.
269
270=cut