xref: /openbsd/gnu/usr.bin/perl/pod/perldelta.pod (revision 3d61058a)
1=encoding utf8
2
3=head1 NAME
4
5perldelta - what is new for perl v5.40.1
6
7=head1 DESCRIPTION
8
9This document describes differences between the 5.40.0 release and the 5.40.1
10release.
11
12If you are upgrading from an earlier release such as 5.39.0, first read
13L<perl5400delta>, which describes differences between 5.39.0 and 5.40.0.
14
15=head1 Incompatible Changes
16
17There are no changes intentionally incompatible with 5.40.0.  If any exist,
18they are bugs, and we request that you submit a report.  See L</Reporting Bugs>
19below.
20
21=head1 Modules and Pragmata
22
23=head2 Updated Modules and Pragmata
24
25=over 4
26
27=item *
28
29L<File::Spec> has been upgraded from version 3.90 to 3.91.
30
31=item *
32
33L<Module::CoreList> has been upgraded from version 5.20240609 to 5.20250118_40.
34
35=item *
36
37L<warnings> has been upgraded from version 1.69 to 1.70.
38
39=back
40
41=head1 Documentation
42
43=head2 Changes to Existing Documentation
44
45We have attempted to update the documentation to reflect the changes listed in
46this document.  If you find any we have missed, open an issue at
47L<https://github.com/Perl/perl5/issues>.
48
49=head1 Configuration and Compilation
50
51=over 4
52
53=item *
54
55Fixed compilation on platforms (e.g. "Gentoo Prefix") with only a C locale.
56[L<GH #22569|https://github.com/Perl/perl5/issues/22569>]
57Bug first reported downstream at
58L<bugs.gentoo.org/939014|https://bugs.gentoo.org/939014>.
59
60=item *
61
62Fixed compilation error on some systems due to a typo in a printf() format.
63[L<GH #22793|https://github.com/Perl/perl5/issues/22793>]
64
65=back
66
67=head1 Testing
68
69Tests were added and changed to reflect the other additions and changes in this
70release.
71
72=head1 Selected Bug Fixes
73
74=over 4
75
76=item *
77
78Starting in Perl 5.39.8, L<POSIX/C<strftime>> would crash or produce odd errors
79(such as C<Out of memory in perl:util:safesysmalloc>) when given a format
80string that wasn't actually a string, but a number, C<undef>, or an object
81(even one with overloaded string conversion).
82
83Now C<strftime> stringifies its first argument, as before.
84[L<GH #22498|https://github.com/Perl/perl5/issues/22498>]
85
86=item *
87
88Builds with C<-msse> and quadmath on 32-bit x86 systems would crash with a
89misaligned access early in the build.
90[L<GH #22577|https://github.com/Perl/perl5/issues/22577>]
91
92=item *
93
94Using C<goto> to tail call, or using the call_sv() and related APIs to call,
95any of trim(), refaddr(), reftype(), ceil(), floor() or stringify() in the
96C<builtin::> package would crash or assert due to a C<TARG> handling bug.
97[L<GH #22542|https://github.com/Perl/perl5/issues/22542>]
98
99=item *
100
101Fixed an issue where C<utf8n_to_uvchr()> failed to correctly identify certain
102invalid UTF-8 sequences as invalid.  Specifically, sequences that start with
103continuation bytes or unassigned bytes could cause unexpected behaviour or a
104panic.  This fix ensures that such invalid sequences are now properly detected
105and handled.  This correction also resolves related issues in modules that
106handle UTF-8 processing, such as L<Encode>.
107
108=item *
109
110Fixed a double free error or possible memory leak when failing to compile
111certain regexps.  [L<GH #21661|https://github.com/Perl/perl5/issues/21661>]
112
113=back
114
115=head1 Acknowledgements
116
117Perl 5.40.1 represents approximately 7 months of development since Perl 5.40.0
118and contains approximately 5,600 lines of changes across 54 files from 15
119authors.
120
121Excluding auto-generated files, documentation and release tools, there were
122approximately 1,800 lines of changes to 19 .pm, .t, .c and .h files.
123
124Perl continues to flourish into its fourth decade thanks to a vibrant community
125of users and developers.  The following people are known to have contributed
126the improvements that became Perl 5.40.1:
127
128Andrei Horodniceanu, Chris 'BinGOs' Williams, E. Choroba, Graham Knop, James E
129Keenan, Karen Etheridge, Karl Williamson, Lukas Mai, Masahiro Honma, Max
130Maischein, Philippe Bruhat (BooK), Richard Leach, Steve Hay, Thibault
131Duponchelle, Tony Cook.
132
133The list above is almost certainly incomplete as it is automatically generated
134from version control history.  In particular, it does not include the names of
135the (very much appreciated) contributors who reported issues to the Perl bug
136tracker.
137
138Many of the changes included in this version originated in the CPAN modules
139included in Perl's core.  We're grateful to the entire CPAN community for
140helping Perl to flourish.
141
142For a more complete list of all of Perl's historical contributors, please see
143the F<AUTHORS> file in the Perl source distribution.
144
145=head1 Reporting Bugs
146
147If you find what you think is a bug, you might check the perl bug database at
148L<https://github.com/Perl/perl5/issues>.  There may also be information at
149L<https://www.perl.org/>, the Perl Home Page.
150
151If you believe you have an unreported bug, please open an issue at
152L<https://github.com/Perl/perl5/issues>.  Be sure to trim your bug down to a
153tiny but sufficient test case.
154
155If the bug you are reporting has security implications which make it
156inappropriate to send to a public issue tracker, then see
157L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> for details of how to
158report the issue.
159
160=head1 Give Thanks
161
162If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you
163can do so by running the C<perlthanks> program:
164
165    perlthanks
166
167This will send an email to the Perl 5 Porters list with your show of thanks.
168
169=head1 SEE ALSO
170
171The F<Changes> file for an explanation of how to view exhaustive details on
172what changed.
173
174The F<INSTALL> file for how to build Perl.
175
176The F<README> file for general stuff.
177
178The F<Artistic> and F<Copying> files for copyright information.
179
180=cut
181