summaryrefslogtreecommitdiff
path: root/pod/perl5352delta.pod
blob: 85baeb4ec85ff68f659e7cffc7d3cd195c4cd17a (plain)
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
=encoding utf8

=head1 NAME

perl5352delta - what is new for perl v5.35.2

=head1 DESCRIPTION

This document describes differences between the 5.35.1 release and the 5.35.2
release.

If you are upgrading from an earlier release such as 5.35.0, first read
L<perl5351delta>, which describes differences between 5.35.0 and 5.35.1.




=head1 Modules and Pragmata


=head2 Updated Modules and Pragmata

=over 4

=item *

L<B::Concise> has been upgraded from version 1.004 to 1.005.

=item *

L<bignum> has been upgraded from version 0.51 to 0.53.

=item *

L<Data::Dumper> has been upgraded from version 2.181 to 2.183.

=item *

L<DB_File> has been upgraded from version 1.855 to 1.856.

=item *

L<Devel::Peek> has been upgraded from version 1.30 to 1.31.

=item *

L<Devel::PPPort> has been upgraded from version 3.62 to 3.63.

=item *

L<DynaLoader> has been upgraded from version 1.50 to 1.51.

=item *

L<Encode> has been upgraded from version 3.08 to 3.10.

=item *

L<Errno> has been upgraded from version 1.33 to 1.34.

=item *

L<ExtUtils::Miniperl> has been upgraded from version 1.10 to 1.11.

=item *

L<Fcntl> has been upgraded from version 1.14 to 1.15.

=item *

L<File::Find> has been upgraded from version 1.39 to 1.39_01.

=item *

L<File::Glob> has been upgraded from version 1.35 to 1.36.

=item *

L<File::Spec> has been upgraded from version 3.81 to 3.82.

=item *

L<File::stat> has been upgraded from version 1.10 to 1.11.

=item *

L<GDBM_File> has been upgraded from version 1.19 to 1.20.

=item *

L<Hash::Util> has been upgraded from version 0.25 to 0.26.

=item *

L<Hash::Util::FieldHash> has been upgraded from version 1.21 to 1.22.

=item *

L<I18N::Langinfo> has been upgraded from version 0.19 to 0.20.

=item *

L<if> has been upgraded from version 0.0609 to 0.0610.

=item *

L<IPC::Open3> has been upgraded from version 1.21 to 1.22.

=item *

L<Math::BigInt> has been upgraded from version 1.999818 to 1.999823.

Made the C<from_*()> functions consistent with the core C<oct()> function,
in not requiring a leading 0 before the letter ("x", "o", or "b").

Made the from_oct() and new() methods accept octal numbers with prefix
"0o", "0O", "o" (lowercase letter o), and "O" (capital letter O).
Similarly with "x" and "b" for hexadecimal and binary numbers.

Improved the handling of the backend libraries.
More useful warnings and error messages.


=item *

L<Math::BigInt::FastCalc> has been upgraded from version 0.5009 to 0.5010.

Made it possible to specify a smaller base length than the default.

Updated the SUPPORT information.

Sync'd test files with Math::BigInt.

=item *

L<Math::BigRat> has been upgraded from version 0.2614 to 0.2617.

C<bnok()> was fixed - it didn't work at all.

The handling of backend libraries was improved.

Existing test files were reorganised and more tests added.

=item *

L<Module::CoreList> has been upgraded from version 5.20210620 to 5.20210723.

=item *

L<Opcode> has been upgraded from version 1.51 to 1.52.

=item *

C<perl5db.pl> has been upgraded from version 1.60 to 1.61.

The C<v> command works again, and now has some tests.

=item *

L<PerlIO> has been upgraded from version 1.11 to 1.12.

=item *

L<Pod::Functions> has been upgraded from version 1.13 to 1.14.

=item *

L<Pod::Html> has been upgraded from version 1.27 to 1.31.

=item *

L<Pod::Simple> has been upgraded from version 3.42 to 3.43.

=item *

L<Sys::Hostname> has been upgraded from version 1.23 to 1.24.

=item *

L<Text::Tabs> has been upgraded from version 2013.0523 to 2021.0717.

Explicitly declared strictures and warnings everywhere.

=item *

L<Text::Wrap> has been upgraded from version 2013.0523 to 2021.0717.

Explicitly declared strictures and warnings everywhere.

=item *

L<threads> has been upgraded from version 2.26 to 2.27.

=item *

L<Time::HiRes> has been upgraded from version 1.9767 to 1.9768.

=item *

L<Unicode::UCD> has been upgraded from version 0.76 to 0.77.

=item *

L<VMS::Filespec> has been upgraded from version 1.12 to 1.13.

=item *

L<VMS::Stdio> has been upgraded from version 2.45 to 2.46.

=item *

L<warnings> has been upgraded from version 1.51 to 1.52.

=item *

L<XSLoader> has been upgraded from version 0.30 to 0.31.

=back


=head1 Documentation

=head2 Changes to Existing Documentation

=head3 L<perlintro>

=over 4

=item *

A number of sentences in L<perlintro> have been simplified,
to make things clearer.
Ambiguities were resolved, related to "special variables".

=back


=head1 Platform Support

The :win32 IO layer has been removed. This experimental replacement for the
:unix layer never reached maturity in its nearly two decades of existence.

=head1 Internal Changes

=over 4

=item *

The API constant formerly named C<G_ARRAY>, indicating list context, has now
been renamed to a more accurate C<G_LIST>.  A compatibilty macro C<G_ARRAY> has
been added to allow existing code to work unaffected.  New code should be
written using the new constant instead.  This is supported by C<Devel::PPPort>
version 3.63.

=back

=head1 Selected Bug Fixes

=over 4

=item *

The flags on the OPTVAL parameter to setsockopt() were previously
checked before magic was called, possibly treating a numeric value as
a packed buffer or vice versa.  It also ignored the UTF-8 flag,
potentially treating the internal representation of an upgraded SV as
the bytes to supply to the setsockopt() system call.  (github L<#18660|https://github.com/Perl/perl5/issues/18660>)

=item *

Only set IOKp, not IOK on $) and $(.
This was issue L<#18955|https://github.com/Perl/perl5/issues/18955>: This will prevent serializers from serializing these
variables as numbers (which loses the additional groups).
This restores behaviour from 5.16

=back


=head1 Acknowledgements

Perl 5.35.2 represents approximately 5 weeks of development since Perl
5.35.1 and contains approximately 27,000 lines of changes across 420 files
from 25 authors.

Excluding auto-generated files, documentation and release tools, there were
approximately 14,000 lines of changes to 200 .pm, .t, .c and .h files.

Perl continues to flourish into its fourth decade thanks to a vibrant
community of users and developers. The following people are known to have
contributed the improvements that became Perl 5.35.2:

Atsushi Sugawara, Ben Cornett, Chris 'BinGOs' Williams, Christian Walde
(Mithaldu), Craig A. Berry, David Golden, David Marshall, Felipe Gasper,
Jakub Wilk, James E Keenan, Karl Williamson, Leam Hall, Leon Timmermans, Max
Maischein, Neil Bowers, Nicholas Clark, Paul Evans, Paul Marquess, Richard
Leach, Sawyer X, Sergey Poznyakoff, Sven Kirmess, Thibault Duponchelle, Todd
Rinaldo, Tony Cook.

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.

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.

For a more complete list of all of Perl's historical contributors, please
see the F<AUTHORS> file in the Perl source distribution.


=head1 Reporting Bugs

If you find what you think is a bug, you might check the perl bug database
at L<https://github.com/Perl/perl5/issues>.  There may also be information at
L<http://www.perl.org/>, the Perl Home Page.

If you believe you have an unreported bug, please open an issue at
L<https://github.com/Perl/perl5/issues>.  Be sure to trim your bug down to a
tiny but sufficient test case.

If the bug you are reporting has security implications which make it
inappropriate to send to a public issue tracker, then see
L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION>
for details of how to report the issue.

=head1 Give Thanks

If you wish to thank the Perl 5 Porters for the work we had done in Perl 5,
you can do so by running the C<perlthanks> program:

    perlthanks

This will send an email to the Perl 5 Porters list with your show of thanks.

=head1 SEE ALSO

The F<Changes> file for an explanation of how to view exhaustive details on
what changed.

The F<INSTALL> file for how to build Perl.

The F<README> file for general stuff.

The F<Artistic> and F<Copying> files for copyright information.

=cut