-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperl52510delta.html
213 lines (132 loc) · 10.5 KB
/
perl52510delta.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:[email protected]" />
</head>
<body style="background-color: white">
<ul id="index">
<li><a href="#NAME">NAME</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#Modules-and-Pragmata">Modules and Pragmata</a>
<ul>
<li><a href="#Updated-Modules-and-Pragmata">Updated Modules and Pragmata</a></li>
</ul>
</li>
<li><a href="#Diagnostics">Diagnostics</a>
<ul>
<li><a href="#Changes-to-Existing-Diagnostics">Changes to Existing Diagnostics</a></li>
</ul>
</li>
<li><a href="#Platform-Support">Platform Support</a>
<ul>
<li><a href="#Platform-Specific-Notes">Platform-Specific Notes</a></li>
</ul>
</li>
<li><a href="#Internal-Changes">Internal Changes</a></li>
<li><a href="#Selected-Bug-Fixes">Selected Bug Fixes</a></li>
<li><a href="#Acknowledgements">Acknowledgements</a></li>
<li><a href="#Reporting-Bugs">Reporting Bugs</a></li>
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>perl52510delta - what is new for perl v5.25.10</p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>This document describes differences between the 5.25.9 release and the 5.25.10 release.</p>
<p>If you are upgrading from an earlier release such as 5.25.8, first read <a href="/cperl/perl5259delta.html">perl5259delta</a>, which describes differences between 5.25.8 and 5.25.9.</p>
<h1 id="Modules-and-Pragmata">Modules and Pragmata</h1>
<h2 id="Updated-Modules-and-Pragmata">Updated Modules and Pragmata</h2>
<ul>
<li><p><a href="/cperl/lib/B.html">B</a> has been upgraded from version 1.65 to 1.68.</p>
</li>
<li><p><a href="/cperl/lib/CPAN.html">CPAN</a> has been upgraded from version 2.16 to 2.17.</p>
</li>
<li><p><a href="/cperl/lib/feature.html">feature</a> has been upgraded from version 1.46 to 1.47.</p>
</li>
<li><p><a href="/cperl/lib/Getopt/Std.html">Getopt::Std</a> has been upgraded from version 1.11 to 1.12.</p>
</li>
<li><p><a href="/cperl/lib/Module/CoreList.html">Module::CoreList</a> has been upgraded from version 5.20170120 to 5.20170220.</p>
</li>
<li><p><a href="/cperl/lib/open.html">open</a> has been upgraded from version 1.10 to 1.11.</p>
</li>
<li><p><a href="/cperl/lib/PerlIO.html">PerlIO</a> has been upgraded from version 1.09 to 1.10.</p>
</li>
<li><p><a href="/cperl/lib/Storable.html">Storable</a> has been upgraded from version 2.61 to 2.62.</p>
</li>
<li><p><a href="/cperl/lib/Thread/Queue.html">Thread::Queue</a> has been upgraded from version 3.11 to 3.12.</p>
</li>
<li><p><a href="/cperl/lib/threads.html">threads</a> has been upgraded from version 2.12 to 2.13.</p>
</li>
</ul>
<h1 id="Diagnostics">Diagnostics</h1>
<p>The following additions or changes have been made to diagnostic output, including warnings and fatal error messages. For the complete list of diagnostic messages, see <a href="/cperl/perldiag.html">perldiag</a>.</p>
<h2 id="Changes-to-Existing-Diagnostics">Changes to Existing Diagnostics</h2>
<ul>
<li><p>Use of unassigned code point or non-standalone grapheme for a delimiter will be a fatal error starting in Perl 5.30</p>
<p>This was changed to drop a leading <code>v</code> in <code>v5.30</code>, so it uses the same style as other deprecation messages.</p>
</li>
<li><p>"\c%c" is more clearly written simply as "%s".</p>
<p>It was decided to undeprecate the use of "\c%c", see <a href="http://www.nntp.perl.org/group/perl.perl5.porters/2017/02/msg242944.html">http://www.nntp.perl.org/group/perl.perl5.porters/2017/02/msg242944.html</a></p>
</li>
</ul>
<h1 id="Platform-Support">Platform Support</h1>
<h2 id="Platform-Specific-Notes">Platform-Specific Notes</h2>
<dl>
<dt id="Windows">Windows</dt>
<dd>
<ul>
<li><p>Support for compiling perl on Windows using Microsoft Visual Studio 2015 (containing Visual C++ 14.0) has been added.</p>
<p>This version of VC++ includes a completely rewritten C run-time library, some of the changes in which mean that work done to resolve a socket close() bug in perl #120091 and perl #118059 is not workable in its current state with this version of VC++. Therefore, we have effectively reverted that bug fix for VS2015 onwards on the basis that being able to build with VS2015 onwards is more important than keeping the bug fix. We may revisit this in the future to attempt to fix the bug again in a way that is compatible with VS2015.</p>
<p>These changes do not affect compilation with GCC or with Visual Studio versions up to and including VS2013, i.e. the bug fix is retained (unchanged) for those compilers.</p>
<p>Note that you may experience compatibility problems if you mix a perl built with GCC or VS <= VS2013 with XS modules built with VS2015, or if you mix a perl built with VS2015 with XS modules built with GCC or VS <= VS2013. Some incompatibility may arise because of the bug fix that has been reverted for VS2015 builds of perl, but there may well be incompatibility anyway because of the rewritten CRT in VS2015 (e.g. see discussion at http://stackoverflow.com/questions/30412951).</p>
</li>
</ul>
</dd>
</dl>
<h1 id="Internal-Changes">Internal Changes</h1>
<ul>
<li><p>The <code>op_class()</code> API function has been added. This is like the existing <code>OP_CLASS()</code> macro, but can more accurately determine what struct an op has been allocated as. For example <code>OP_CLASS()</code> might return <code>OA_BASEOP_OR_UNOP</code> indicating that ops of this type are usually allocated as an <code>OP</code> or <code>UNOP</code>; while <code>op_class()</code> will return <code>OPclass_BASEOP</code> or <code>OPclass_UNOP</code> as appropriate.</p>
</li>
<li><p>The output format of the <code>op_dump()</code> function (as used by <code>perl -Dx</code>) has changed: it now displays an "ASCII-art" tree structure, and shows more low-level details about each op, such as its address and class.</p>
</li>
</ul>
<h1 id="Selected-Bug-Fixes">Selected Bug Fixes</h1>
<ul>
<li><p>Attempting to use the deprecated variable <code>$#</code> as the object in an indirect object method call could cause a heap use after free or buffer overflow. [perl #129274]</p>
</li>
<li><p>When checking for an indirect object method call in some rare cases the parser could reallocate the line buffer but then continue to use pointers to the old buffer. [perl #129190]</p>
</li>
<li><p>Supplying a glob as the format argument to <a href="/cperl/perlfunc.html#formline">"formline" in perlfunc</a> would cause an assertion failure. [perl #130722]</p>
</li>
<li><p>Code like <code> $value1 =~ qr/.../ ~~ $value2 </code> would have the match converted into a qr// operator, leaving extra elements on the stack to confuse any surrounding expression. [perl #130705]</p>
</li>
<li><p>Since 5.24.0 in some obscure cases, a regex which included code blocks from multiple sources (e.g. via embedded via qr// objects) could end up with the wrong current pad and crash or give weird results. [perl #129881]</p>
</li>
<li><p>Occasionally <code>local()</code>s in a code block within a patterns weren't being undone when the pattern matching backtracked over the code block. [perl #126697]</p>
</li>
<li><p>Using <code>substr()</code> to modify a magic variable could access freed memory in some cases. [perl #129340]</p>
</li>
<li><p>Perl 5.25.9 was fixed so that under <code>use utf8</code>, the entire Perl program is checked that the UTF-8 is wellformed. It turns out that several edge cases were missed, and are now fixed. [perl #126310] was the original ticket.</p>
</li>
</ul>
<h1 id="Acknowledgements">Acknowledgements</h1>
<p>Perl 5.25.10 represents approximately 4 weeks of development since Perl 5.25.9 and contains approximately 12,000 lines of changes across 200 files from 25 authors.</p>
<p>Excluding auto-generated files, documentation and release tools, there were approximately 6,700 lines of changes to 130 .pm, .t, .c and .h files.</p>
<p>Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.25.10:</p>
<p>Aaron Crane, Abigail, Andreas König, Andy Lester, Chris 'BinGOs' Williams, Christian Millour, Colin Newell, Dagfinn Ilmari Mannsåker, David Mitchell, Hugo van der Sanden, James E Keenan, Jarkko Hietaniemi, Jerry D. Hedden, John Lightsey, Karl Williamson, Neil Bowers, Pali, Renee Baecker, Sawyer X, Sergey Aleynikov, Steffen Müller, Steve Hay, Tony Cook, Yves Orton, Zefram.</p>
<p>The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker.</p>
<p>Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.</p>
<p>For a more complete list of all of Perl's historical contributors, please see the <i>AUTHORS</i> file in the Perl source distribution.</p>
<h1 id="Reporting-Bugs">Reporting Bugs</h1>
<p>If you find what you think is a bug, you might check the perl bug database at <a href="https://rt.perl.org/">https://rt.perl.org/</a> . There may also be information at <a href="http://www.perl.org/">http://www.perl.org/</a> , the Perl Home Page.</p>
<p>If you believe you have an unreported bug, please run the <a>perlbug</a> program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of <code>perl -V</code>, will be sent off to [email protected] to be analysed by the Perl porting team.</p>
<p>If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, then see <a href="/cperl/perlsec.html#SECURITY-VULNERABILITY-CONTACT-INFORMATION">"SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec</a> for details of how to report the issue.</p>
<h1 id="SEE-ALSO">SEE ALSO</h1>
<p>The <i>Changes</i> file for an explanation of how to view exhaustive details on what changed.</p>
<p>The <i>INSTALL</i> file for how to build Perl.</p>
<p>The <i>README</i> file for general stuff.</p>
<p>The <i>Artistic</i> and <i>Copying</i> files for copyright information.</p>
</body>
</html>