This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
/
perlcdelta.pod
2143 lines (1387 loc) · 64.4 KB
/
perlcdelta.pod
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
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
=encoding utf8
=head1 NAME
perlcdelta - what is new for cperl v5.30.0
=head1 DESCRIPTION
This document describes differences between the cperl 5.28.2 and the cperl
5.30.0 release.
If you are upgrading from an earlier release such as v5.26.2c, first
read L<perl5280cdelta>, which describes the differences between
v5.28.0c and v5.26.2c.
=head1 Core Enhancements
=head2 Check bless name under use strict names
The second argument to bless, the new classname, is now checked to be a
valid package name identifier when B<strict 'names'> is in effect, and the
name is now normalized.
L<[cperl #376]|https://github.com/perl11/cperl/issues/376>
This is a bugfix, but a major compatibility change.
=head2 New warning shadow package
When a subroutine with the same name of a package exists, all package
methods are rerouted through this subroutine, effectively
eliminating all access to the package via methods. This is almost
always an error, unless you want to override access to the package
or want a data-only package, without any methods.
cperl added the shadow warnings
L<perldiag/"Subroutine &%s::%s masks existing package %s">,
L<perldiag/"Subroutine &%s masks new package %s"> and
L<perldiag/"Subroutine &%s masks new class %s">.
Use C<no warnings 'shadow';> to silence these new warnings.
=head2 extern sub - libffi
A new L<ffi> was added to core, with a syntax resembling perl6
NativeCall. Perl6 traits are cperl L<attributes>, but attribute
values may be deferred to run-time. Packagers need to add B<libffi> to
their library dependencies. Windows packages are provided,
see F<appveyor.yml>.
Not yet implemented are the C<:encoded()> attribute for string
arguments and return values, the various encoded string types Uni,
wchar, c-struct helpers, native arrays and native classes
(i.e. structs), callback helpers and support for variadic (varargs)
functions.
=head2 Signature args are run-time type checked
Run-time type violations a throw a new type warning, which can be made fatal
with C<use types 'strict'> or C<< use warnings 'FATAL' => 'types'; >>
L<perldiag/"Type of arg %s to %s should be %s (not %s)">.
The compile-time error uses the word "must" instead of "should".
This might be a problem when typing an argument to C<str> or C<Str>,
but the argument is stringified via overload from a class,
e.g. File::Temp::Dir. This case, when the argument is not of str|Str,
but a user-defined class with a stringify overload is not yet handled.
L<[cperl #389]|https://github.com/perl11/cperl/issues/389> and
L<[cperl #387]|https://github.com/perl11/cperl/issues/387>.
cperl-only
=head2 Better role composition
When roles are copied from a class to another, we can now handle XS
methods and methods without internal lexical variables better, by
simple GV aliasing.
The other methods are now properly cloned and the C<$self> type is
adjusted to the new class for the created new method, because v5.30
started argument type checking at run-time.
cperl can also now adjust field indices when composing roles, when
the indices of the used lexical variables of the two methods do not
match, by using the new internal experimental B<inliner>.
L<[cperl #311]|https://github.com/perl11/cperl/issues/311>
The error "panic: cannot yet adjust field indices when composing role
%s::%s into %s %s [cperl #311]" is gone in the general case.
=head2 Wildcards in Unicode property value specifications are now
partially supported
You can now do something like this in a regular expression pattern
qr! \p{nv= /(?x) \A [0-5] \z / }!
which matches all Unicode code points which have numeric value is
between 0 and 5 inclusive.
This marks another step in implementing the regular expression features
the Unicode Consortium suggests.
Most properties are supported, with the remainder planned for 5.32.
Details are in L<perlunicode/Wildcards in Property Values>.
=head2 qr'\N{name}' is now supported
Previously it was an error to evaluate a named character C<\N{...}>
within a single quoted regular expression pattern (whose evaluation is
deferred from the normal place). This restriction is now removed.
=head2 Unicode 12.1 is supported
For details, see L<https://www.unicode.org/versions/Unicode12.1.0/>.
The Word_Break property, as in past Perl releases, remains tailored to
behave more in line with expectations of Perl users. This means that
sequential runs of horizontal white space characters are not broken
apart, but kept as a single run. Unicode 11 changed from past versions
to be more in line with Perl, but it left several white space characters
as causing breaks: TAB, NO BREAK SPACE, and FIGURE SPACE (U+2007). We
have decided to continue to use the previous Perl tailoring with regards
to these.
As of July 2018, another aspect of Unicode 11.0 is causing problems,
and that is the changing the Georgian script to have both lower and
uppercase letters. It turns out that many devices do not have fonts
installed that can display the new uppercase letters, and people using
Georgian are finding their text more or less illegible. It is being
suggested that implementations delay their adoption of this portion of
11.0. But since the next stable release of Perl is almost a year away,
this aspect of 11.0 is being left in, with the option to back it out
if things haven't improved by that time, or if we get too many
complaints about the development release being unusable for Georgian
users.
Because of a change in Unicode release cycles, Perl jumps from Unicode
10.0 in Perl 5.28 to Unicode 12.0 in Perl 5.30.
There are few new scripts: Elymaic, Nandinagari,
Nyiakeng_Puachue_Hmong (Hmnp), Wancho, all of them not available
for identifiers.
=head2 Handle qr!\p{nv=6/8}!
Allow a rational number specified in looking up the Numeric
Value Unicode property to not be in lowest possible terms.
The Numeric Value property allows one to find all code points that have
a certain numeric value. An example would be to match against any
character in any of the world's scripts which is effectively equivalent
to the digit zero.
We accept either integers (like C<\p{nv=9}>) or rationals (like C<\p{nv=1/2}>).
But we also accept floating point representations in case a conversion to numeric
has happened, (like C<\p{nv=0.5}>).
The necessary precision is now automatically pre-calculated and the lookup
normalized.
=head2 The upper limit C<"n"> specifiable in a regular expression
quantifier of the form C<"{m,n}"> has been doubled to 65534
The upper limit C<"n"> specifiable in a regular expression
quantifier of the form C<"{m,n}"> has also been doubled to 65534.
The meaning of an unbounded upper quantifier C<"{m,}"> remains unchanged.
It matches 2**31 - 1 times on most platforms, and more on ones where a C
language short variable is more than 4 bytes long.
=head2 C<-Drv> now means something on C<-DDEBUGGING> builds
Now, adding the verbose flag (C<-Dv>) to the C<-Dr> flag turns on all
possible regular expression debugging, as with C<use re 'debug';>. See L<re>.
=head2 Eliminated optree recursion
Eliminated recursion from internal C<finalize_op()> and C<optimize_op()>,
avoiding segfaults with extremely nested ops.
E.g. with
perl -e 'my $line = "\$cond ? \$a : \n";
my $code = ($line x 100000) . "\$b;\n";
eval $code;'
Contrary to what is said in the relevant perldelta,
your code is now slower.
Before it crashed with a segfault, now it does much more.
The regular case is also slower due to stack handling on the heap,
similar to the regexp changes in 5.10.
L<[perl #108276]|https://rt.perl.org/Ticket/Display.html?id=108276>.
=head2 Turkic UTF-8 locales are now seamlessly supported
Turkic languages have different casing rules than other languages for
the characters C<"i"> and C<"I">. The uppercase of C<"i"> is LATIN
CAPITAL LETTER I WITH DOT ABOVE (U+0130); and the lowercase of C<"I"> is LATIN
SMALL LETTER DOTLESS I (U+0131). Unicode furnishes alternate casing
rules for use with Turkic languages. Previously, Perl ignored these,
but now, it uses them when it detects that it is operating under a
Turkic UTF-8 locale.
=head2 It is now possible to compile perl to always use thread-safe
locale operations.
Previously, these calls were only used when the perl was compiled to be
multi-threaded. To always enable them, add
-Accflags='-DUSE_THREAD_SAFE_LOCALE'
to your F<Configure> flags.
=head2 Check RUNNING_ON_VALGRIND, set destruct_level to 2
Detect if we are running under valgrind and set destruct_level to 2.
If so, destruct all ops, leading to no valgrind leaks, even with
--leak-check=full.
cperl-only L<[cperl #400]|https://github.com/perl11/cperl/issues/400>
=head1 Security
=head2 Variable length lookbehind in regular expression pattern matching
is now experimentally supported
Using a lookbehind assertion (like C<(?<=foo)> or C<(?<!bar)> previously
would generate an error and refuse to compile. Now it compiles (if the
maximum lookbehind is at most 255 characters), but raises a warning in
the new C<experimental::vlb> warnings category. This is to caution you
that the precise behavior is subject to change based on feedback from
use in the field.
See L<perlre/(?<=pattern)> and L<perlre/(?<!pattern)>.
=head2 Disallowed Limited Use Scripts
The list of valid scripts for identifiers was purged from all
B<Limited Use> scripts from
L<http://www.unicode.org/reports/tr31/#Table_Limited_Use_Scripts>.
They fail now.
Unicode 10.0 started disallowing all Aspirational Use Scripts, but
we didn't handle them at all.
I<Table 4. Candidate Characters for Exclusion from Identifiers> scripts
are still allowed, and still need to be explicitly enabled as a C<use utf8>
argument.
cperl-only.
=head2 [CVE-2018-18311] Integer overflow leading to buffer overflow and segmentation fault
Integer arithmetic in C<Perl_my_setenv()> could wrap when the combined length
of the environment variable name and value exceeded around 0x7fffffff. This
could lead to writing beyond the end of an allocated buffer with attacker
supplied data.
L<[perl #133204]|https://rt.perl.org/Ticket/Display.html?id=133204>
=head2 Restrict my_setenv to ARG_MAX
perl5 fixed C<Perl_my_setenv()> by allowing C<%ENV> sizes larger than
C<ARG_MAX> (typically 128Kb), up to 2GB. This is considered a security
risk. It writes onto the kernel stack, even if often caught by MAXEXECARGS
"Argument list too long" kernel errors on the next exec call.
cperl disallows C<%ENV> larger than the sysconf(_SC_ARG_MAX)/MAX_ARG_STRLEN/
ARG_MAX/NCARGS size with a new L<perldiag/"Environment size %d larger than the allowed %d">
error.
=head1 Incompatible Changes
=head2 Protected hash iterators
Iterating over a hash may now by default not change any key. Allow the
previous destructive behavior of changing a hash while iterating over
it with C<use hashiter;>
See L<[cperl #117]|https://github.com/perl11/cperl/issues/117>, cperl-only.
=head2 Assigning non-zero to C<$[> is fatal
Setting L<< C<$[>|perlvar/$[ >> to a non-zero value has been deprecated since
Perl 5.12 and now throws a fatal error.
See L<<< perldeprecation/Assigning non-zero to C<< $[ >> is fatal >>>.
=head2 Previously deprecated sysread()/syswrite() on :utf8 handles now fatal
Calling sysread(), syswrite(), send() or recv() on a C<:utf8> handle,
whether applied explicitly or implicitly, is now fatal. This was
deprecated in perl 5.24.
There were two problems with calling these functions on C<:utf8>
handles:
=over
=item *
All four functions only paid attention to the C<:utf8> flag. Other
layers were completely ignored, so a handle with
C<:encoding(UTF-16LE)> layer would be treated as UTF-8. Other layers,
such as compression are completely ignored with or without the
C<:utf8> flag.
=item *
sysread() and recv() would read from the handle, skipping any
validation by the layers, and do no validation of their own. This
could lead to invalidly encoded perl scalars.
=back
L<[perl #125760]|https://rt.perl.org/Public/Bug/Display.html?id=125760>
=head2 my() in false conditional prohibited
Declarations such as C<my $x if 0> are no longer permitted.
This feature was deprecated in 5.10 (and replaced by two better constructs,
one of it backwards compatible) and is now a fatal error.
L<[perl #133543]|https://rt.perl.org/Public/Bug/Display.html?id=133543>
Note: cperl does not agree that this feature is a bug, but this ship
sailed already over a decade ago.
=head2 Fatalize $* and $#
These special variables, long deprecated, now throw an error when used.
See L<perldiag/"$* is no longer supported as of Perl 5.30"> and
L<perldiag/"$# is no longer supported as of Perl 5.30">.
L<[perl #133583]|https://rt.perl.org/Public/Bug/Display.html?id=133583>
=head2 Fatalize unqualified use of dump()
The C<dump()> function, long discouraged, may no longer be used unless it is
fully qualified, I<i.e.>, C<CORE::dump()>.
L<[perl #133584]|https://rt.perl.org/Public/Bug/Display.html?id=133584>
=head2 Remove File::Glob::glob()
The C<File::Glob::glob()> function, long deprecated, has been removed and now
throws an exception which advises use of C<File::Glob::bsd_glob()> instead.
L<[perl #133586]|https://rt.perl.org/Public/Bug/Display.html?id=133586>
=head2 C<pack()> no longer can return malformed UTF-8
It croaks if it would otherwise return a UTF-8 string that contains
malformed UTF-8. This protects agains potential security threats. This
is considered a bug fix as well.
L<[perl #131642]|https://rt.perl.org/Public/Bug/Display.html?id=131642>
=head2 Any set of digits in the Common script are legal in a script run
of another script
There are several sets of digits in the Common script. C<[0-9]> is the
most familiar. But there are also C<[\x{FF10}-\x{FF19}]> (FULLWIDTH
DIGIT ZERO - FULLWIDTH DIGIT NINE), and several sets for use in
mathematical notation, such as the MATHEMATICAL DOUBLE-STRUCK DIGITs.
Any of these sets should be able to appear in script runs of, say,
Greek. But the design of 5.30 overlooked all but the ASCII digits
C<[0-9]>, so the design was flawed. This has been fixed, so is both a
bug fix and an incompatibility. [perl #133547]
L<[perl #133547]|https://rt.perl.org/Public/Bug/Display.html?id=133547>
All digits in a run still have to come from the same set of ten digits.
=head1 Deprecations
=head2 Undeprecate "Unescaped left brace in regex" warnings and errors
In cperl only the following special unicode groups within regexes are reserved:
Name: \N{
Property: \p{ \P{
Break: \b{ \B{
Code: \x{ \o{
Group: \g{
All other C</{}/> sequences are allowed in cperl and not deprecated
anymore. There's no need to quote the literal C<\{> and C<\}>, only if
it's ambiguous and can be mixed up with those reserved unicode groups.
B<automake> and more widespread utils does not need to be plagued by
spurious "Unescaped left brace in regex" warnings, when they dont need
to be quoted. We undeprecated those new warnings and errors, there's
nothing more to reserve (yet).
L<[cperl #362]|https://github.com/perl11/cperl/issues/362>
=head2 Remove support for C<qr/\p{_Case_Ignorable}>
This property is no longer used in the core, nor in cpan, and is marked
as for core use only, not necessarily stable. I have kept it around
because it was work to remove it, but now the revamping of the property
lookup scheme was causing failures with it, when compiling on early
Unicode releases. That could be fixed with extra work, but simply
removing it also fixes the problem and avoids future maintenance
costs.
=head2 Remove support for C<qr/\p{_Comb_Above}>
This property is no longer used in the core, nor in cpan, and is marked
as for core use only, not necessarily stable. I have kept it around
because it was work to remove it, but now the revamping of the property
lookup scheme was causing failures with a similar property, and the
previous commit removed that one.
=head2 Remove support for C<qr/\p{_CanonDCIJ}>
The property is not used in cpan, and is being removed as part of the cleanup
instigated because another of the 3 would
require extra code to handle if we were to keep it around.
=head1 Performance Enhancements
=over 4
=item *
Optimization of C<IV> to C<UV> conversions.
L<[perl #133677]|https://rt.perl.org/Ticket/Display.html?id=133677>.
=item *
Speed up of the integer stringification algorithm by processing
two digits at a time instead of one.
L<[perl #133691]|https://rt.perl.org/Ticket/Display.html?id=133691>.
=item *
Minor improvements based on LGTM analysis and recommendation.
(L<https://lgtm.com/projects/g/Perl/perl5/alerts/?mode=tree>).
L<[perl #133686]|https://rt.perl.org/Ticket/Display.html?id=133686>.
L<[perl #133699]|https://rt.perl.org/Ticket/Display.html?id=133699>.
=item *
Improved Unicode numeric property lookups, for C<\p{nv=float}>,
in size and speed by using more pre-compiled perfect hashes instead
of slow pure-perl invlist walks at run-time, esp. for all numeric
properties (70 more).
Also avoids more swash creations.
=item *
Translating from UTF-8 into the code point it represents now is done via a
deterministic finite automaton, speeding it up. As a typical example,
C<ord("\x7fff")> now requires 12% fewer instructions than before. The
performance of checking that a sequence of bytes is valid UTF-8 is similarly
improved, again by using a dfa.
=item *
Code optimizations in F<regcomp.c>, F<regcomp.h>, F<regexec.c>.
The second regcomp pass was removed.
=item *
The handling of user-defined C<\p{}> properties (see
L<perlunicode/User-Defined Character Properties>) has been rewritten
to be in C (instead of Perl). This removed all uses of swashes from
regular expression compilation and execution.
This speeds things up, but in the process several inconsistencies and
bug fixes are made.
=over
=item 1
A few error messages have minor wording changes. This is essentially
because the new way is integrated into the regex error handling
mechanism that marks the position in the input at which the error
occurred. That was not possible previously. The messages now also
contain additional back-trace-like information in case the error occurs
deep in nested calls.
=item 2
A user-defined property is implemented as a perl subroutine with certain
highly constrained naming conventions. It was documented previously
that the sub would be in the current package if the package was
unspecified. This turned out not to be true in all cases, but now it
is.
=item 3
All recursive calls are treated as infinite recursion. Previously they
would cause the interpreter to panic. Now, they cause the regex pattern
to fail to compile.
=item 4
Similarly, any other error likely would lead to a panic; now to just the
pattern failing to compile.
=item 5
The old mechanism did not detect illegal ranges in the definition of the
property. Now, the range max must not be smaller than the range min.
Otherwise, the pattern fails to compile.
=item 6
The intention was to have each sub called only once during the lifetime
of the program, so that a property's definition is immutable. This was
relaxed so that it could be called once for all /i compilations, and
potentially a second time for non-/i (the sub is passed a parameter
indicating which). However, in practice there were instances when this
was broken, and multiple calls were possible. Those have been fixed.
Now (besides the /i,non-/i cases) the only way a sub can be called
multiple times is if some component of it has not been defined yet. For
example, suppose we have sub IsA() whose definition is known at compile
time, and it in turn calls isB() whose definition is not yet known.
isA() will be called each time a pattern it appears in is compiled. If
isA() also calls isC() and that definition is known, isC() will be
called just once.
=item 7
There were some races and very long hangs should one thread be compiling
the same property as another simultaneously. These have now been fixed.
=back
=item *
Optimized the static link order of objects for the default case,
when you cannot use lto, pgo, autofdo nor bolt.
Added lto to the default ccflags.
See L<http://perl11.org/blog/bolt.html> and
L<[cperl #381]|https://github.com/perl11/cperl/issues/381>.
=item *
Improve newSVpvn_share
Don't downgrade twice, the is_utf8 flags can be taken from the
returned hek, which does the downgrading to bytes already.
=item *
The oelemfast signature changed from (:Ref,:Int):Any to ():Any.
The object stays now as RV (as pad) and is not taken from the stack,
the index neither.
=back
=head1 Modules and Pragmata
The list of new and updated modules is modified automatically as part of
preparing a Perl release, so the only reason to manually add entries here is if
you're summarising the important changes in the module update. (Also, if the
manually-added details don't match the automatically-generated ones, the
release manager will have to investigate the situation carefully.)
=head2 New Modules and Pragmata
=over 4
=item L<ffi> 0.01c
ffi helpers and ffi types.
=item L<hashiter> 0.02
pragma to allow hash iterators changing keys for back-compat.
See L</Protected hash iterators>.
=item L<inline> 0.01
Yet unused pragma to disable the internal function inlining optimizer,
via C<no inline;>
=item L<YAML::Safe> 0.80
Our new L<YAML::Safe> has been added to the Perl core, replacing our
patched version of L<YAML::XS>.
=back
=head2 Updated Modules and Pragmata
=over 4
=item L<Archive::Tar> 2.32
Fix absolute path handling on VMS
=item L<attributes> 1.15c
Add ffi support, :native(), :encoded(), :nativeconv(), :symbol().
=item L<B> 1.76_10
Fixed for -DPERL_GLOBAL_STRUCT.
Add ffi support: CvXFFI, CvFFLIB. CVf_EXTERN flag
=item L<B::C> 1.57_01
New major release, with dVAR support and
experimental cross support and -m (module) support.
Add $dynamic_copwarn needed for v5.29.7+ (not cperl).
The new script F<buildcc> for module support is not yet
functional, only a placeholder.
=item L<B::Deparse> 1.49_05c
Removed arybase support.
=item L<bignum> 0.51c
Better way to catch warnings.
L<[cpan #126900]|https://rt.cpan.org/Ticket/Display.html?id=126900>.
=item L<bytes> 1.07
Typo in pod
=item L<Compress::Raw::Bzip2> 2.086
Added transparent lzip and zstd delegation in tests.
More meta.
=item L<Compress::Raw::Zlib> 2.086
=item L<Config> 6.23
Add the FREEBSD_KERNEL_VERSION key for FreeBSD.
=item L<Config::Extensions> 0.03
Whitespace only
=item L<Config::Perl::V> 0.31_01
Added USE_THREAD_SAFE_LOCALE
=item L<CPAN> 2.27_02
Update to 2.27-TRIAL upstream with our cperl fixes. Some of our fixes
were accepted upstream.
Fixed critical rmtree bug with a symlink crossing mountpoints
previous directory ~/.cpan/build changed before entering tmp-32186,
expected dev=47 ino=244719549, actual dev=47 ino=33303, aborting at
CPAN/Distribution.pm line 591
Add many upstream tests and distroprefs. Still need to install them.
Added the cperl distroprefs.
Support L<YAML::Safe> for distroprefs.
=item L<CPAN::Meta> 2.150011c
Add L<YAML::Safe> support.
=item L<Cpanel::JSON::XS> 4.12
Make encoder independent on Math::BigInt version
Rethrow error from eval_sv and eval_pv(),
e.g. when Math::BigInt/BigFloat fails.
Fix encoding Inf and NaN from PV and NV slots to JSON_TYPE_INT
Fix memory corruption in sv_to_ivuv() function
Add new method ->require_types
Fix typed json encoder conversion from scalar's PV and NV slot to
JSON_TYPE_INT
Fix inconsistency with warnings in typed json encoder
Fix Perl 5.8.0 support
Fixed minor pod typo
Document invalid recursive callbacks or overloads
Fix unicode strings with BOM corrupt ->utf8 state
The BOM encoding effects only its very own decode call,
not its object.
Fix incr_text refcounts and add incr_rest testcase
Fix encode_stringify string-overload refcnt problem
"Attempt to free unreferenced scalar" with convert_blessed and overload.
=item L<Cwd> 4.78c
Fixed long pathnames test for getcwd() on older systems, like debian-7.11 i386,
which still returns ENAMETOOLONG on large enough buffers.
Fix the HAS_GET_CURRENT_DIR_NAME check, and the is_ENAMETOOLONG macro.
Note that C<get_current_dir_name()> is now in effect, which returns
the current PWD, i.e. fastcwd, and not the C<realpath()> (i.e the
abs_path) of it. This e.g. broke some DBD::File tests, when behind symlinks.
For getcwd with C<get_current_dir_name()> - i.e. fastcwd - add abs_path.
See also L<http://perl11.org/blog/fastcwd.html>
Don't translate F<...> to F<..\..> on Win32.
(an old C<command.com> limitation)
L<[perl #123724]|https://rt.perl.org/Public/Bug/Display.html?id=123724>
Add and use C<Internals::getcwd()>.
=item L<Data::Dumper> 2.173
Restore deparsing support in the XS dumper, on Perl 5.18 and earlier.
Fix bug when dumping globs with quoting (which now happens for
all Unicode glob names)
Behavior change: C<$dumper->Useqq(undef)> is now treated as setting the
"useqq" option, not getting it (and similarly for other options)
L<[perl #113090]|https://rt.perl.org/Public/Bug/Display.html?id=113090>
Quote glob names better; notably, Unicode globs are
now handled correctly.
L<[perl #119831]|https://rt.perl.org/Public/Bug/Display.html?id=119831>
=item L<DB_File> 1.852
ParseOpenInfo() leaks if it croaks
L<https://github.com/pmqs/DB_File/issues/1>
Added hints files, sourced from
L<http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/perl5/files/>
=item L<deprecate> 0.04_01
Expanded the documentation
=item L<Devel::Peek> 1.28_03
Adjust Devel::Peek pod to cperl FLAGS
=item L<Devel::PPPort> 3.53_04
PL_in_sub only with v5.29.0c
Merge 3.52 with cperl improvements:
cperl croak_no_modify adds now the SV to the message.
support make --silent.
support devel VERSION with _
fix deps
sync embed.fnc with cperl core, with #ifdef USE_CPERL
sync parts with 5.30 updates
Revert "Use latest blead embed.fnc"
It changed the meaning of several flags (n=>T, s=>S,M=>x,...) just for
some apidocs troubles which are easily solved otherwise.
It breaks backcompat, and breaks the equality of core embed.fnc.
perl5.30 also rejected it
make regen is now in two modes: cperl or perl5 (as in cperl-core
embed_lib)
Add croak_no_modify_sv
Remove implemented TODOs
Fix for older EUMM <6.46 which has no META_MERGE
Fix 5.6.0 tests with early Test::Harness: add done_testing, support
plan => no_plan, fallback => NN for 5.6.0 (Test::Harness < 2), avoid
Test.pm, skip git diff, as make regen is different there,
skip 3 failing 5.6.0 tests in ppphtest
=item L<Devel::NYTProf> 6.06_03
CVE-2019-11358 + CVE-2015-9251 jquery-1.12.4.js update to
latest v3.4.1.
Also update the two plugins to latest, and adjusted the
tablesorter css.
Adjust the short %PL_DBsub keys (without main::) compatible to
perl5.
Add all the tests, cleanup after the tests.
=item L<DynaLoader> 2.09c
Extend C<dl_find_symbol> on dl_win32 to mimic the POSIX behaviour with
an empty libhandle argument: Search the symbol in all loaded shared
libraries. This is a convenience platform-compat feature for the L<ffi>.
=item L<Encode> 3.01
Add C<Encode::ONLY_PRAGMA_WARNINGS> by default to C<:encoding> layer
variable C<$PerlIO::encoding::fallback>.
ONLY_PRAGMA_WARNINGS reports only those warnings which are
currently enabled by pragma warnings. When ONLY_PRAGMA_WARNINGS
is not set then Encode would report all warnings.
ONLY_PRAGMA_WARNINGS would have no effect when flag
ENCODE_WARN_ON_ERR is not set.
=item L<Errno> 1.30_01
Make F<Errno_pm.PL> compatible with F<< /usr/include/<ARCH>/errno.h >>.
Protect from including some avx512 intrinsics directly on mingw.
=item L<ExtUtils::Embed> 1.36
Added optimize to ccopts, required for C<-flto>.
Fixed documentation of ccopts.
Fixed test to use ccopts, include local -I.., indentation,
remove wrong -O hack.
=item L<ExtUtils::Manifest> 1.72
Minor internal changes only
=item L<ExtUtils::MakeMaker> 8.35_08
Added C<-flto> support for static libs (need the lto plugin) and D for
deterministic builds, using arflags for AR_STATIC_ARGS, not just 'cr'.
fix FULLPERL for win32 cperl
=item L<ExtUtils::ParseXS>
(perl #133654) don't include OUTLIST parameters in the prototype:
The generated prototype (with PROTOTYPES: ENABLE) would include
OUTLIST parameters, but these aren't arguments to the perl function.
=item L<feature> 1.54_01
C<array_base> was removed.
=item L<File::Copy> 2.34
Add note to close or flush filehandles before calling copy or move.
=item L<File::Find> 1.36
C<$File::Find::dont_use_nlink> now defaults to 1 on all platforms.
Fixes L<[perl #133673]|https://rt.perl.org/Public/Bug/Display.html?id=133673>,
L<[perl #128894]|https://rt.perl.org/Public/Bug/Display.html?id=128894>,
and L<[perl #126144]|https://rt.perl.org/Public/Bug/Display.html?id=126144>.
=item L<File::Glob> 1.32
Fatalized File::Glob::glob(), which was deprecated since 5.8. However,
no deprecation message was issued; only perl5.008delta.pod and a
comment in the file mention its deprecation. The warnings was added
with v5.25.10.
=item L<File::Path> 3.16_02c
Fix symlink abort crossing mountpoint with CPAN::Distribution
previous directory ~/.cpan/build changed before entering tmp-32186,
expected dev=47 ino=244719549, actual dev=47 ino=33303, aborting at
CPAN/Distribution.pm line 591
Fix method of generating names for dummy users and groups during testing
(i.e. under docker)
L<[cpan #121967]|https://rt.cpan.org/Ticket/Display.html?id=121967>.
=item L<File::Temp> 0.2309
=item L<GDBM_File> 1.18
Add SECURITY AND PORTABILITY warning paragraph to pod.
=item L<IO> 1.40_02
Skip EINVAL on FreeBSD tests when binding a tcp listener on localhost.
=item L<IO::Compress::Base> 2.086
=item L<IO::Socket::IP> 0.39_03
Allow ETIMEDOUT on FreeBSD INET6 socket with V6Only true.
L<[cpan #128986]|https://rt.cpan.org/Ticket/Display.html?id=128986>
=item L<IO::Zlib> 1.10_01
Fixed parallel testing
L<[cpan #105700]|https://rt.cpan.org/Ticket/Display.html?id=1105700>
Probe for more external gzips, make t/external.t strict safe.
=item L<JSON::PP> 4.04_01
Upstream + keep some of our cperl-specific docs and test improvements.
=item L<lib> 0.65
Hint about $dir/$version is checked by lib.pm and deleted from @INC
=item L<Math::BigInt> 1.999816
Add C<to_base()> and C<from_base()> to L<Math::BigInt> and
corresponding library methods C<_to_base()> and C<_from_base()> to
L<Math::BigInt::Lib>. This was inspired by L<CPAN RT
#122681|https://rt.cpan.org/Ticket/Display.html?id=122681>.
In the documentation for each of the C<to_(bin|hex|oct|bytes)>
methods, add a reference to the corresponding
C<from_(bin|hex|oct|bytes)> method.
C<bnok()> for L<Math::BigInt> and L<Math::BigFloat> now support the
full Kronenburg extension. The behaviour is identical to the behaviour
of the Maple and Mathematica function for negative integers n, k. Add
tests. L<RT #95628|https://rt.cpan.org/Ticket/Display.html?id=95628>.
Fix POD errors.
L<RT #125141|https://rt.cpan.org/Ticket/Display.html?id=125141>.
Move bitwise operators signed and, signed or, and signed xor from
F<lib/Math/BigInt/CalcEmu.pm> into F<lib/Math/BigInt/Lib.pm>. The file
F<lib/Math/BigInt/CalcEmu.pm> is no longer needed and thus removed.
=item L<Math::BigInt::FastCalc> 0.5008
No code nor test changes.
=item L<Module::Load> 0.34
Added SEE ALSO section to documentation. RT#100575
Unreachable code cleanup
=item L<mro> 1.22_02
Fix -Wmaybe-uninitialized warnings
=item L<NDBM_File> 1.15
Add SECURITY AND PORTABILITY warning paragraph to pod.
=item L<Net::Ping> 2.72
Features
Allow data_size > 1024, up to 65535, i.e. fragmented packets.
It is recommended to stay below 1472 though for the typical 1500 MTU.
Many simple devices do not allow fragmented ICMP packets (> 1472).
L<[cpan #17409]|https://rt.cpan.org/Ticket/Display.html?id=17409>
Bugfixes
Fix the max_datasize documentation
Test fixes
The 2 sudo tests on PERL_CORE with a shared perl lib.
Skip failing freebsd localhost resolver tests.
=item L<ODBM_File> 1.16
Add SECURITY AND PORTABILITY warning paragraph to pod.
=item L<Opcode> 1.40_04c
Added the new setstate and keepstate ops for the new
inliner, variants of nextstate.
Restrict the new op 'enterffi'.
=item L<Parse::CPAN::Meta> 1.5002c
Replace L<YAML::XS> by L<YAML::Safe>.
=item L<perlfaq> 5.20190126
Fixed many typos and pod markup.
Added reference in perlfaq to new ~ syntax in indented here-docs.
=item L<PerlIO::encoding> 0.27_01
Warnings enabled by setting the C<WARN_ON_ERR> flag in
C<$PerlIO::encoding::fallback> are now only produced if warnings are
enabled with C<use warnings "utf8";> or setting C<$^W>.
L<[perl #131683]|https://rt.perl.org/Public/Bug/Display.html?id=131683>
=item L<PerlIO::scalar> 0.30
Allow Off_t smaller than size_t. (Win64 with USE_LARGE_FILES=undef)
L<[perl #133422]|https://rt.perl.org/Public/Bug/Display.html?id=133422>
=item F<perldb.pl> 1.54_03c
Typos in pod.
=item C<podlators> 4.12
Skip the F<man/no-encode.t> test if Encode is already loaded while
running the test suite, which seems to happen sometimes with CPAN
Testers tests.
=item L<Pod::Simple> 4.39c
Merge with updates from 3.39
Releaxed some str types, which could be Pod::Simple::LinkSection also.
=item L<POSIX> 1.87_03
Use quadmath versions of log10, ldexp and signbit.
L<[perl #133510]|https://rt.perl.org/Public/Bug/Display.html?id=133510>