Debian Codegraph @

upstream/debian-unstable/man1/perl5401delta.1

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\" ========================================================================
56 .\"
57 .IX Title "PERL5401DELTA 1"
58 .TH PERL5401DELTA 1 2025-11-16 "perl v5.40.1" "Perl Programmers Reference Guide"
59 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
60 .\" way too many mistakes in technical documents.
61 .if n .ad l
62 .nh
63 .SH NAME
64 perldelta \- what is new for perl v5.40.1
65 .SH DESCRIPTION
66 .IX Header "DESCRIPTION"
67 This document describes differences between the 5.40.0 release and the 5.40.1
68 release.
69 .PP
70 If you are upgrading from an earlier release such as 5.39.0, first read
71 perl5400delta, which describes differences between 5.39.0 and 5.40.0.
72 .SH "Incompatible Changes"
73 .IX Header "Incompatible Changes"
74 There are no changes intentionally incompatible with 5.40.0. If any exist,
75 they are bugs, and we request that you submit a report. See "Reporting Bugs"
76 below.
77 .SH "Modules and Pragmata"
78 .IX Header "Modules and Pragmata"
79 .SS "Updated Modules and Pragmata"
80 .IX Subsection "Updated Modules and Pragmata"
81 .IP \(bu 4
82 File::Spec has been upgraded from version 3.90 to 3.91.
83 .IP \(bu 4
84 Module::CoreList has been upgraded from version 5.20240609 to 5.20250118_40.
85 .IP \(bu 4
86 warnings has been upgraded from version 1.69 to 1.70.
87 .SH Documentation
88 .IX Header "Documentation"
89 .SS "Changes to Existing Documentation"
90 .IX Subsection "Changes to Existing Documentation"
91 We have attempted to update the documentation to reflect the changes listed in
92 this document. If you find any we have missed, open an issue at
93 <https://github.com/Perl/perl5/issues>.
94 .SH "Configuration and Compilation"
95 .IX Header "Configuration and Compilation"
96 .IP \(bu 4
97 Fixed compilation on platforms (e.g. "Gentoo Prefix") with only a C locale.
98 [GH #22569 <https://github.com/Perl/perl5/issues/22569>]
99 Bug first reported downstream at
100 bugs.gentoo.org/939014 <https://bugs.gentoo.org/939014>.
101 .IP \(bu 4
102 Fixed compilation error on some systems due to a typo in a \fBprintf()\fR format.
103 [GH #22793 <https://github.com/Perl/perl5/issues/22793>]
104 .SH Testing
105 .IX Header "Testing"
106 Tests were added and changed to reflect the other additions and changes in this
107 release.
108 .SH "Selected Bug Fixes"
109 .IX Header "Selected Bug Fixes"
110 .IP \(bu 4
111 Starting in Perl 5.39.8, "\f(CW\*(C`strftime\*(C'\fR" in POSIX would crash or produce odd errors
112 (such as \f(CW\*(C`Out of memory in perl:util:safesysmalloc\*(C'\fR) when given a format
113 string that wasn't actually a string, but a number, \f(CW\*(C`undef\*(C'\fR, or an object
114 (even one with overloaded string conversion).
115 .Sp
116 Now \f(CW\*(C`strftime\*(C'\fR stringifies its first argument, as before.
117 [GH #22498 <https://github.com/Perl/perl5/issues/22498>]
118 .IP \(bu 4
119 Builds with \f(CW\*(C`\-msse\*(C'\fR and quadmath on 32\-bit x86 systems would crash with a
120 misaligned access early in the build.
121 [GH #22577 <https://github.com/Perl/perl5/issues/22577>]
122 .IP \(bu 4
123 Using \f(CW\*(C`goto\*(C'\fR to tail call, or using the \fBcall_sv()\fR and related APIs to call,
124 any of \fBtrim()\fR, \fBrefaddr()\fR, \fBreftype()\fR, \fBceil()\fR, \fBfloor()\fR or \fBstringify()\fR in the
125 \&\f(CW\*(C`builtin::\*(C'\fR package would crash or assert due to a \f(CW\*(C`TARG\*(C'\fR handling bug.
126 [GH #22542 <https://github.com/Perl/perl5/issues/22542>]
127 .IP \(bu 4
128 Fixed an issue where \f(CWutf8n_to_uvchr()\fR failed to correctly identify certain
129 invalid UTF\-8 sequences as invalid. Specifically, sequences that start with
130 continuation bytes or unassigned bytes could cause unexpected behaviour or a
131 panic. This fix ensures that such invalid sequences are now properly detected
132 and handled. This correction also resolves related issues in modules that
133 handle UTF\-8 processing, such as Encode.
134 .IP \(bu 4
135 Fixed a double free error or possible memory leak when failing to compile
136 certain regexps. [GH #21661 <https://github.com/Perl/perl5/issues/21661>]
137 .SH Acknowledgements
138 .IX Header "Acknowledgements"
139 Perl 5.40.1 represents approximately 7 months of development since Perl 5.40.0
140 and contains approximately 5,600 lines of changes across 54 files from 15
141 authors.
142 .PP
143 Excluding auto-generated files, documentation and release tools, there were
144 approximately 1,800 lines of changes to 19 .pm, .t, .c and .h files.
145 .PP
146 Perl continues to flourish into its fourth decade thanks to a vibrant community
147 of users and developers. The following people are known to have contributed
148 the improvements that became Perl 5.40.1:
149 .PP
150 Andrei Horodniceanu, Chris 'BinGOs' Williams, E. Choroba, Graham Knop, James E
151 Keenan, Karen Etheridge, Karl Williamson, Lukas Mai, Masahiro Honma, Max
152 Maischein, Philippe Bruhat (BooK), Richard Leach, Steve Hay, Thibault
153 Duponchelle, Tony Cook.
154 .PP
155 The list above is almost certainly incomplete as it is automatically generated
156 from version control history. In particular, it does not include the names of
157 the (very much appreciated) contributors who reported issues to the Perl bug
158 tracker.
159 .PP
160 Many of the changes included in this version originated in the CPAN modules
161 included in Perl's core. We're grateful to the entire CPAN community for
162 helping Perl to flourish.
163 .PP
164 For a more complete list of all of Perl's historical contributors, please see
165 the \fIAUTHORS\fR file in the Perl source distribution.
166 .SH "Reporting Bugs"
167 .IX Header "Reporting Bugs"
168 If you find what you think is a bug, you might check the perl bug database at
169 <https://github.com/Perl/perl5/issues>. There may also be information at
170 <https://www.perl.org/>, the Perl Home Page.
171 .PP
172 If you believe you have an unreported bug, please open an issue at
173 <https://github.com/Perl/perl5/issues>. Be sure to trim your bug down to a
174 tiny but sufficient test case.
175 .PP
176 If the bug you are reporting has security implications which make it
177 inappropriate to send to a public issue tracker, then see
178 "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to
179 report the issue.
180 .SH "Give Thanks"
181 .IX Header "Give Thanks"
182 If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you
183 can do so by running the \f(CW\*(C`perlthanks\*(C'\fR program:
184 .PP
185 .Vb 1
186 \& perlthanks
187 .Ve
188 .PP
189 This will send an email to the Perl 5 Porters list with your show of thanks.
190 .SH "SEE ALSO"
191 .IX Header "SEE ALSO"
192 The \fIChanges\fR file for an explanation of how to view exhaustive details on
193 what changed.
194 .PP
195 The \fIINSTALL\fR file for how to build Perl.
196 .PP
197 The \fIREADME\fR file for general stuff.
198 .PP
199 The \fIArtistic\fR and \fICopying\fR files for copyright information.