xref: /openbsd/gnu/usr.bin/perl/pod/perl5321delta.pod (revision 256a93a4)
1*256a93a4Safresh1=encoding utf8
2*256a93a4Safresh1
3*256a93a4Safresh1=head1 NAME
4*256a93a4Safresh1
5*256a93a4Safresh1perl5321delta - what is new for perl v5.32.1
6*256a93a4Safresh1
7*256a93a4Safresh1=head1 DESCRIPTION
8*256a93a4Safresh1
9*256a93a4Safresh1This document describes differences between the 5.32.0 release and the 5.32.1
10*256a93a4Safresh1release.
11*256a93a4Safresh1
12*256a93a4Safresh1If you are upgrading from an earlier release such as 5.30.0, first read
13*256a93a4Safresh1L<perl5320delta>, which describes differences between 5.30.0 and 5.32.0.
14*256a93a4Safresh1
15*256a93a4Safresh1=head1 Incompatible Changes
16*256a93a4Safresh1
17*256a93a4Safresh1There are no changes intentionally incompatible with Perl 5.32.0.  If any
18*256a93a4Safresh1exist, they are bugs, and we request that you submit a report.  See
19*256a93a4Safresh1L</Reporting Bugs> below.
20*256a93a4Safresh1
21*256a93a4Safresh1=head1 Modules and Pragmata
22*256a93a4Safresh1
23*256a93a4Safresh1=head2 Updated Modules and Pragmata
24*256a93a4Safresh1
25*256a93a4Safresh1=over 4
26*256a93a4Safresh1
27*256a93a4Safresh1=item *
28*256a93a4Safresh1
29*256a93a4Safresh1L<Data::Dumper> has been upgraded from version 2.174 to 2.174_01.
30*256a93a4Safresh1
31*256a93a4Safresh1A number of memory leaks have been fixed.
32*256a93a4Safresh1
33*256a93a4Safresh1=item *
34*256a93a4Safresh1
35*256a93a4Safresh1L<DynaLoader> has been upgraded from version 1.47 to 1.47_01.
36*256a93a4Safresh1
37*256a93a4Safresh1=item *
38*256a93a4Safresh1
39*256a93a4Safresh1L<Module::CoreList> has been upgraded from version 5.20200620 to 5.20210123.
40*256a93a4Safresh1
41*256a93a4Safresh1=item *
42*256a93a4Safresh1
43*256a93a4Safresh1L<Opcode> has been upgraded from version 1.47 to 1.48.
44*256a93a4Safresh1
45*256a93a4Safresh1A warning has been added about evaluating untrusted code with the perl
46*256a93a4Safresh1interpreter.
47*256a93a4Safresh1
48*256a93a4Safresh1=item *
49*256a93a4Safresh1
50*256a93a4Safresh1L<Safe> has been upgraded from version 2.41 to 2.41_01.
51*256a93a4Safresh1
52*256a93a4Safresh1A warning has been added about evaluating untrusted code with the perl
53*256a93a4Safresh1interpreter.
54*256a93a4Safresh1
55*256a93a4Safresh1=back
56*256a93a4Safresh1
57*256a93a4Safresh1=head1 Documentation
58*256a93a4Safresh1
59*256a93a4Safresh1=head2 New Documentation
60*256a93a4Safresh1
61*256a93a4Safresh1=head3 L<perlgov>
62*256a93a4Safresh1
63*256a93a4Safresh1Documentation of the newly formed rules of governance for Perl.
64*256a93a4Safresh1
65*256a93a4Safresh1=head3 L<perlsecpolicy>
66*256a93a4Safresh1
67*256a93a4Safresh1Documentation of how the Perl security team operates and how the team evaluates
68*256a93a4Safresh1new security reports.
69*256a93a4Safresh1
70*256a93a4Safresh1=head2 Changes to Existing Documentation
71*256a93a4Safresh1
72*256a93a4Safresh1We have attempted to update the documentation to reflect the changes listed in
73*256a93a4Safresh1this document.  If you find any we have missed, open an issue at
74*256a93a4Safresh1L<https://github.com/Perl/perl5/issues>.
75*256a93a4Safresh1
76*256a93a4Safresh1Additionally, the following selected changes have been made:
77*256a93a4Safresh1
78*256a93a4Safresh1=head3 L<perlop>
79*256a93a4Safresh1
80*256a93a4Safresh1=over 4
81*256a93a4Safresh1
82*256a93a4Safresh1=item *
83*256a93a4Safresh1
84*256a93a4Safresh1Document range op behaviour change.
85*256a93a4Safresh1
86*256a93a4Safresh1=back
87*256a93a4Safresh1
88*256a93a4Safresh1=head1 Diagnostics
89*256a93a4Safresh1
90*256a93a4Safresh1The following additions or changes have been made to diagnostic output,
91*256a93a4Safresh1including warnings and fatal error messages.  For the complete list of
92*256a93a4Safresh1diagnostic messages, see L<perldiag>.
93*256a93a4Safresh1
94*256a93a4Safresh1=head2 Changes to Existing Diagnostics
95*256a93a4Safresh1
96*256a93a4Safresh1=over 4
97*256a93a4Safresh1
98*256a93a4Safresh1=item *
99*256a93a4Safresh1
100*256a93a4Safresh1L<\K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in mE<sol>%sE<sol>|perldiag/"\K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/">
101*256a93a4Safresh1
102*256a93a4Safresh1This error was incorrectly produced in some cases involving nested lookarounds.
103*256a93a4Safresh1This has been fixed.
104*256a93a4Safresh1
105*256a93a4Safresh1[L<GH #18123|https://github.com/Perl/perl5/issues/18123>]
106*256a93a4Safresh1
107*256a93a4Safresh1=back
108*256a93a4Safresh1
109*256a93a4Safresh1=head1 Configuration and Compilation
110*256a93a4Safresh1
111*256a93a4Safresh1=over 4
112*256a93a4Safresh1
113*256a93a4Safresh1=item *
114*256a93a4Safresh1
115*256a93a4Safresh1Newer 64-bit versions of the Intel C/C++ compiler are now recognized and have
116*256a93a4Safresh1the correct flags set.
117*256a93a4Safresh1
118*256a93a4Safresh1=item *
119*256a93a4Safresh1
120*256a93a4Safresh1We now trap SIGBUS when F<Configure> checks for C<va_copy>.
121*256a93a4Safresh1
122*256a93a4Safresh1On several systems the attempt to determine if we need C<va_copy> or similar
123*256a93a4Safresh1results in a SIGBUS instead of the expected SIGSEGV, which previously caused a
124*256a93a4Safresh1core dump.
125*256a93a4Safresh1
126*256a93a4Safresh1[L<GH #18148|https://github.com/Perl/perl5/issues/18148>]
127*256a93a4Safresh1
128*256a93a4Safresh1=back
129*256a93a4Safresh1
130*256a93a4Safresh1=head1 Testing
131*256a93a4Safresh1
132*256a93a4Safresh1Tests were added and changed to reflect the other additions and changes in this
133*256a93a4Safresh1release.
134*256a93a4Safresh1
135*256a93a4Safresh1=head1 Platform Support
136*256a93a4Safresh1
137*256a93a4Safresh1=head2 Platform-Specific Notes
138*256a93a4Safresh1
139*256a93a4Safresh1=over 4
140*256a93a4Safresh1
141*256a93a4Safresh1=item MacOS (Darwin)
142*256a93a4Safresh1
143*256a93a4Safresh1The hints file for darwin has been updated to handle future macOS versions
144*256a93a4Safresh1beyond 10.  Perl can now be built on macOS Big Sur.
145*256a93a4Safresh1
146*256a93a4Safresh1[L<GH #17946|https://github.com/Perl/perl5/issues/17946>,
147*256a93a4Safresh1L<GH #18406|https://github.com/Perl/perl5/issues/18406>]
148*256a93a4Safresh1
149*256a93a4Safresh1=item Minix
150*256a93a4Safresh1
151*256a93a4Safresh1Build errors on Minix have been fixed.
152*256a93a4Safresh1
153*256a93a4Safresh1[L<GH #17908|https://github.com/Perl/perl5/issues/17908>]
154*256a93a4Safresh1
155*256a93a4Safresh1=back
156*256a93a4Safresh1
157*256a93a4Safresh1=head1 Selected Bug Fixes
158*256a93a4Safresh1
159*256a93a4Safresh1=over 4
160*256a93a4Safresh1
161*256a93a4Safresh1=item *
162*256a93a4Safresh1
163*256a93a4Safresh1Some list assignments involving C<undef> on the left-hand side were
164*256a93a4Safresh1over-optimized and produced incorrect results.
165*256a93a4Safresh1
166*256a93a4Safresh1[L<GH #16685|https://github.com/Perl/perl5/issues/16685>,
167*256a93a4Safresh1L<GH #17816|https://github.com/Perl/perl5/issues/17816>]
168*256a93a4Safresh1
169*256a93a4Safresh1=item *
170*256a93a4Safresh1
171*256a93a4Safresh1Fixed a bug in which some regexps with recursive subpatterns matched
172*256a93a4Safresh1incorrectly.
173*256a93a4Safresh1
174*256a93a4Safresh1[L<GH #18096|https://github.com/Perl/perl5/issues/18096>]
175*256a93a4Safresh1
176*256a93a4Safresh1=item *
177*256a93a4Safresh1
178*256a93a4Safresh1Fixed a deadlock that hung the build when Perl is compiled for debugging memory
179*256a93a4Safresh1problems and has PERL_MEM_LOG enabled.
180*256a93a4Safresh1
181*256a93a4Safresh1[L<GH #18341|https://github.com/Perl/perl5/issues/18341>]
182*256a93a4Safresh1
183*256a93a4Safresh1=item *
184*256a93a4Safresh1
185*256a93a4Safresh1Fixed a crash in the use of chained comparison operators when run under "no
186*256a93a4Safresh1warnings 'uninitialized'".
187*256a93a4Safresh1
188*256a93a4Safresh1[L<GH #17917|https://github.com/Perl/perl5/issues/17917>,
189*256a93a4Safresh1L<GH #18380|https://github.com/Perl/perl5/issues/18380>]
190*256a93a4Safresh1
191*256a93a4Safresh1=item *
192*256a93a4Safresh1
193*256a93a4Safresh1Exceptions thrown from destructors during global destruction are no longer
194*256a93a4Safresh1swallowed.
195*256a93a4Safresh1
196*256a93a4Safresh1[L<GH #18063|https://github.com/Perl/perl5/issues/18063>]
197*256a93a4Safresh1
198*256a93a4Safresh1=back
199*256a93a4Safresh1
200*256a93a4Safresh1=head1 Acknowledgements
201*256a93a4Safresh1
202*256a93a4Safresh1Perl 5.32.1 represents approximately 7 months of development since Perl 5.32.0
203*256a93a4Safresh1and contains approximately 7,000 lines of changes across 80 files from 23
204*256a93a4Safresh1authors.
205*256a93a4Safresh1
206*256a93a4Safresh1Excluding auto-generated files, documentation and release tools, there were
207*256a93a4Safresh1approximately 1,300 lines of changes to 23 .pm, .t, .c and .h files.
208*256a93a4Safresh1
209*256a93a4Safresh1Perl continues to flourish into its fourth decade thanks to a vibrant community
210*256a93a4Safresh1of users and developers.  The following people are known to have contributed
211*256a93a4Safresh1the improvements that became Perl 5.32.1:
212*256a93a4Safresh1
213*256a93a4Safresh1Adam Hartley, Andy Dougherty, Dagfinn Ilmari Mannsåker, Dan Book, David
214*256a93a4Safresh1Mitchell, Graham Knop, Graham Ollis, Hauke D, H.Merijn Brand, Hugo van der
215*256a93a4Safresh1Sanden, John Lightsey, Karen Etheridge, Karl Williamson, Leon Timmermans, Max
216*256a93a4Safresh1Maischein, Nicolas R., Ricardo Signes, Richard Leach, Sawyer X, Sevan Janiyan,
217*256a93a4Safresh1Steve Hay, Tom Hukins, Tony Cook.
218*256a93a4Safresh1
219*256a93a4Safresh1The list above is almost certainly incomplete as it is automatically generated
220*256a93a4Safresh1from version control history.  In particular, it does not include the names of
221*256a93a4Safresh1the (very much appreciated) contributors who reported issues to the Perl bug
222*256a93a4Safresh1tracker.
223*256a93a4Safresh1
224*256a93a4Safresh1Many of the changes included in this version originated in the CPAN modules
225*256a93a4Safresh1included in Perl's core.  We're grateful to the entire CPAN community for
226*256a93a4Safresh1helping Perl to flourish.
227*256a93a4Safresh1
228*256a93a4Safresh1For a more complete list of all of Perl's historical contributors, please see
229*256a93a4Safresh1the F<AUTHORS> file in the Perl source distribution.
230*256a93a4Safresh1
231*256a93a4Safresh1=head1 Reporting Bugs
232*256a93a4Safresh1
233*256a93a4Safresh1If you find what you think is a bug, you might check the perl bug database at
234*256a93a4Safresh1L<https://github.com/Perl/perl5/issues>.  There may also be information at
235*256a93a4Safresh1L<http://www.perl.org/>, the Perl Home Page.
236*256a93a4Safresh1
237*256a93a4Safresh1If you believe you have an unreported bug, please open an issue at
238*256a93a4Safresh1L<https://github.com/Perl/perl5/issues>.  Be sure to trim your bug down to a
239*256a93a4Safresh1tiny but sufficient test case.
240*256a93a4Safresh1
241*256a93a4Safresh1If the bug you are reporting has security implications which make it
242*256a93a4Safresh1inappropriate to send to a public issue tracker, then see
243*256a93a4Safresh1L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> for details of how to
244*256a93a4Safresh1report the issue.
245*256a93a4Safresh1
246*256a93a4Safresh1=head1 Give Thanks
247*256a93a4Safresh1
248*256a93a4Safresh1If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you
249*256a93a4Safresh1can do so by running the C<perlthanks> program:
250*256a93a4Safresh1
251*256a93a4Safresh1    perlthanks
252*256a93a4Safresh1
253*256a93a4Safresh1This will send an email to the Perl 5 Porters list with your show of thanks.
254*256a93a4Safresh1
255*256a93a4Safresh1=head1 SEE ALSO
256*256a93a4Safresh1
257*256a93a4Safresh1The F<Changes> file for an explanation of how to view exhaustive details on
258*256a93a4Safresh1what changed.
259*256a93a4Safresh1
260*256a93a4Safresh1The F<INSTALL> file for how to build Perl.
261*256a93a4Safresh1
262*256a93a4Safresh1The F<README> file for general stuff.
263*256a93a4Safresh1
264*256a93a4Safresh1The F<Artistic> and F<Copying> files for copyright information.
265*256a93a4Safresh1
266*256a93a4Safresh1=cut
267