mirror of
https://github.com/Perl/perl5.git
synced 2026-01-27 01:44:43 +00:00
New perldelta for 5.41.4
This commit is contained in:
parent
0a1f47c70a
commit
643f4b7acc
1
MANIFEST
1
MANIFEST
@ -5732,6 +5732,7 @@ pod/perl5410delta.pod Perl changes in version 5.41.0
|
||||
pod/perl5411delta.pod Perl changes in version 5.41.1
|
||||
pod/perl5412delta.pod Perl changes in version 5.41.2
|
||||
pod/perl5413delta.pod Perl changes in version 5.41.3
|
||||
pod/perl5414delta.pod Perl changes in version 5.41.4
|
||||
pod/perl561delta.pod Perl changes in version 5.6.1
|
||||
pod/perl56delta.pod Perl changes in version 5.6
|
||||
pod/perl581delta.pod Perl changes in version 5.8.1
|
||||
|
||||
@ -627,7 +627,7 @@ esac
|
||||
|
||||
$spitshell >>$Makefile <<'!NO!SUBS!'
|
||||
|
||||
perltoc_pod_prereqs = extra.pods pod/perl5414delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod
|
||||
perltoc_pod_prereqs = extra.pods pod/perl5415delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod
|
||||
generated_pods = pod/perltoc.pod $(perltoc_pod_prereqs)
|
||||
generated_headers = uudmap.h bitcount.h mg_data.h
|
||||
|
||||
@ -1136,9 +1136,9 @@ pod/perlintern.pod: $(MINIPERL_EXE) autodoc.pl embed.fnc
|
||||
pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST
|
||||
$(MINIPERL) pod/perlmodlib.PL -q
|
||||
|
||||
pod/perl5414delta.pod: pod/perldelta.pod
|
||||
$(RMS) pod/perl5414delta.pod
|
||||
$(LNS) perldelta.pod pod/perl5414delta.pod
|
||||
pod/perl5415delta.pod: pod/perldelta.pod
|
||||
$(RMS) pod/perl5415delta.pod
|
||||
$(LNS) perldelta.pod pod/perl5415delta.pod
|
||||
|
||||
extra.pods: $(MINIPERL_EXE)
|
||||
-@test ! -f extra.pods || rm -f `cat extra.pods`
|
||||
|
||||
2
pod/.gitignore
vendored
2
pod/.gitignore
vendored
@ -47,7 +47,7 @@
|
||||
/roffitall
|
||||
|
||||
# generated
|
||||
/perl5414delta.pod
|
||||
/perl5415delta.pod
|
||||
/perlapi.pod
|
||||
/perlintern.pod
|
||||
/perlmodlib.pod
|
||||
|
||||
264
pod/perl5414delta.pod
Normal file
264
pod/perl5414delta.pod
Normal file
@ -0,0 +1,264 @@
|
||||
=encoding utf8
|
||||
|
||||
=head1 NAME
|
||||
|
||||
perl5414delta - what is new for perl v5.41.4
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This document describes differences between the 5.41.3 release and the 5.41.4
|
||||
release.
|
||||
|
||||
If you are upgrading from an earlier release such as 5.41.2, first read
|
||||
L<perl5413delta>, which describes differences between 5.41.2 and 5.41.3.
|
||||
|
||||
=head1 Modules and Pragmata
|
||||
|
||||
=head2 Updated Modules and Pragmata
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
L<CPAN> has been upgraded from version 2.36 to 2.37.
|
||||
|
||||
=item *
|
||||
|
||||
L<Devel::Peek> has been upgraded from version 1.34 to 1.36.
|
||||
|
||||
=item *
|
||||
|
||||
L<ExtUtils::ParseXS> has been upgraded from version 3.53 to 3.54.
|
||||
|
||||
=item *
|
||||
|
||||
L<ExtUtils::Typemaps> has been upgraded from version 3.53 to 3.54.
|
||||
|
||||
=item *
|
||||
|
||||
L<Module::CoreList> has been upgraded from version 5.20240829 to 5.20240920.
|
||||
|
||||
=item *
|
||||
|
||||
L<overload> has been upgraded from version 1.38 to 1.39.
|
||||
|
||||
=item *
|
||||
|
||||
L<Scalar::Util> has been upgraded from version 1.65 to 1.66.
|
||||
|
||||
=item *
|
||||
|
||||
L<Storable> has been upgraded from version 3.34 to 3.35.
|
||||
|
||||
=item *
|
||||
|
||||
L<Test::Simple> has been upgraded from version 1.302201 to 1.302204.
|
||||
|
||||
=item *
|
||||
|
||||
L<version> has been upgraded from version 0.9930 to 0.9933.
|
||||
|
||||
=item *
|
||||
|
||||
L<XS::APItest> has been upgraded from version 1.37 to 1.38.
|
||||
|
||||
=back
|
||||
|
||||
=head1 Diagnostics
|
||||
|
||||
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 L<perldiag>.
|
||||
|
||||
=head3 New Warnings
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
L<Possible precedence problem between ! and %s|perldiag/"Possible precedence problem between ! and %s">
|
||||
|
||||
(W precedence) You wrote something like
|
||||
|
||||
!$x < $y # parsed as: (!$x) < $y
|
||||
!$x eq $y # parsed as: (!$x) eq $y
|
||||
!$x =~ /regex/ # parsed as: (!$x) =~ /regex/
|
||||
!$obj isa Some::Class # parsed as: (!$obj) isa Some::Class
|
||||
|
||||
but because C<!> has higher precedence than comparison operators, C<=~>, and
|
||||
C<isa>, this is interpreted as comparing/matching the logical negation of the
|
||||
first operand, instead of negating the result of the comparison/match.
|
||||
|
||||
To disambiguate, either use a negated comparison/binding operator:
|
||||
|
||||
$x >= $y
|
||||
$x ne $y
|
||||
$x !~ /regex/
|
||||
|
||||
... or parentheses:
|
||||
|
||||
!($x < $y)
|
||||
!($x eq $y)
|
||||
!($x =~ /regex/)
|
||||
!($obj isa Some::Class)
|
||||
|
||||
... or the low-precedence C<not> operator:
|
||||
|
||||
not $x < $y
|
||||
not $x eq $y
|
||||
not $x =~ /regex/
|
||||
not $obj isa Some::Class
|
||||
|
||||
(If you did mean to compare the boolean result of negating the first operand,
|
||||
parenthesize as C<< (!$x) < $y >>, C<< (!$x) eq $y >>, etc.)
|
||||
|
||||
(This warning subsumes the C<Possible precedence problem on isa operator>
|
||||
warning from the previous perl release.)
|
||||
|
||||
=back
|
||||
|
||||
=head1 Configuration and Compilation
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
Fix compilation on platforms (e.g. "Gentoo Prefix") with only a C locale [L<GH #22569|https://github.com/Perl/perl5/issues/22569>]
|
||||
Bug first reported downstream L<bugs.gentoo.org/939014|https://bugs.gentoo.org/939014>
|
||||
|
||||
=back
|
||||
|
||||
=head1 Internal Changes
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
The C<op_dump()> function has been expanded to include additional information
|
||||
about the recent C<OP_METHSTART> and C<OP_INITFIELD> ops, as well as for
|
||||
C<OP_ARGCHECK> and C<OP_ARGELEM> which had not been done previously.
|
||||
|
||||
=item *
|
||||
|
||||
C<op_dump()> now also has the facility to print extra debugging information
|
||||
about custom operators, if those operators register a helper function via the
|
||||
new C<xop_dump> element of the C<XOP> structure. For more information, see the
|
||||
relevant additions to L<perlguts|perlguts/"Custom Operators">.
|
||||
|
||||
=back
|
||||
|
||||
=head1 Selected Bug Fixes
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
C<pack("p", ...)> and C<pack("P", ...)> now SvPV_force() the supplied
|
||||
SV unless it is read only. This will remove CoW from the SV and
|
||||
prevents code that writes through the generated pointer from modifying
|
||||
the value of other SVs that happen the share the same CoWed string
|
||||
buffer.
|
||||
|
||||
Note: this does not make C<pack("p",... )> safe, if the SV is magical
|
||||
then any writes to the buffer will likely be discarded on the next
|
||||
read. [L<GH #22380|https://github.com/Perl/perl5/issues/22380>]
|
||||
|
||||
=item *
|
||||
|
||||
Enforce C<no feature "bareword_filehandles"> for bareword file handles
|
||||
that have strictness removed because they are used in open() with a
|
||||
"dup" mode, such as in C<< open my $fh, ">&", THISHANDLE >>. [L<GH #22568|https://github.com/Perl/perl5/issues/22568>]
|
||||
|
||||
=item *
|
||||
|
||||
Using C<goto> to tail call, or using the call_sv() and related APIs to
|
||||
call, any of trim(), refaddr(), reftype(), ceil(), floor() or
|
||||
stringify() in the C<builtin::> package would crash or assert due to a
|
||||
C<TARG> handling bug. [L<GH #22542|https://github.com/Perl/perl5/issues/22542>]
|
||||
|
||||
=item *
|
||||
|
||||
Fix sv_gets() to accept a C<SSize_t> append offset instead of C<I32>.
|
||||
This prevents integer overflows when appending to a large C<SV> for
|
||||
C<readpipe> aka C<qx//> and C<readline>.
|
||||
L<https://www.perlmonks.org/?node_id=11161665>
|
||||
|
||||
=item *
|
||||
|
||||
Fixed an issue where `utf8n_to_uvchr` failed to correctly identify
|
||||
certain invalid UTF-8 sequences as invalid. Specifically, sequences
|
||||
that start with continuation bytes or unassigned bytes could cause
|
||||
unexpected behavior or a panic. This fix ensures that such invalid
|
||||
sequences are now properly detected and handled. This correction
|
||||
also resolves related issues in modules that handle UTF-8 processing,
|
||||
such as `Encode.pm`.
|
||||
|
||||
=back
|
||||
|
||||
=head1 Acknowledgements
|
||||
|
||||
Perl 5.41.4 represents approximately 3 weeks of development since Perl
|
||||
5.41.3 and contains approximately 5,800 lines of changes across 400 files
|
||||
from 20 authors.
|
||||
|
||||
Excluding auto-generated files, documentation and release tools, there were
|
||||
approximately 3,700 lines of changes to 290 .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.41.4:
|
||||
|
||||
Andrei Horodniceanu, Antanas Vaitkus, Aristotle Pagaltzis, Craig A. Berry,
|
||||
David Cantrell, David Mitchell, E. Choroba, Ed J, Eric Herman, Graham Knop,
|
||||
James E Keenan, Karl Williamson, Leon Timmermans, Lukas Mai, Masahiro Honma,
|
||||
Paul Evans, Philippe Bruhat (BooK), Sisyphus, Thibault Duponchelle, 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<https://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
|
||||
@ -2,65 +2,177 @@
|
||||
|
||||
=head1 NAME
|
||||
|
||||
perldelta - what is new for perl v5.41.4
|
||||
[ this is a template for a new perldelta file. Any text flagged as XXX needs
|
||||
to be processed before release. ]
|
||||
|
||||
perldelta - what is new for perl v5.41.5
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This document describes differences between the 5.41.3 release and the 5.41.4
|
||||
This document describes differences between the 5.41.4 release and the 5.41.5
|
||||
release.
|
||||
|
||||
If you are upgrading from an earlier release such as 5.41.2, first read
|
||||
L<perl5413delta>, which describes differences between 5.41.2 and 5.41.3.
|
||||
If you are upgrading from an earlier release such as 5.41.3, first read
|
||||
L<perl5414delta>, which describes differences between 5.41.3 and 5.41.4.
|
||||
|
||||
=head1 Notice
|
||||
|
||||
XXX Any important notices here
|
||||
|
||||
=head1 Core Enhancements
|
||||
|
||||
XXX New core language features go here. Summarize user-visible core language
|
||||
enhancements. Particularly prominent performance optimisations could go
|
||||
here, but most should go in the L</Performance Enhancements> section.
|
||||
|
||||
[ List each enhancement as a =head2 entry ]
|
||||
|
||||
=head1 Security
|
||||
|
||||
XXX Any security-related notices go here. In particular, any security
|
||||
vulnerabilities closed should be noted here rather than in the
|
||||
L</Selected Bug Fixes> section.
|
||||
|
||||
[ List each security issue as a =head2 entry ]
|
||||
|
||||
=head1 Incompatible Changes
|
||||
|
||||
XXX For a release on a stable branch, this section aspires to be:
|
||||
|
||||
There are no changes intentionally incompatible with 5.XXX.XXX
|
||||
If any exist, they are bugs, and we request that you submit a
|
||||
report. See L</Reporting Bugs> below.
|
||||
|
||||
[ List each incompatible change as a =head2 entry ]
|
||||
|
||||
=head1 Deprecations
|
||||
|
||||
XXX Any deprecated features, syntax, modules etc. should be listed here.
|
||||
|
||||
=head2 Module removals
|
||||
|
||||
XXX Remove this section if not applicable.
|
||||
|
||||
The following modules will be removed from the core distribution in a
|
||||
future release, and will at that time need to be installed from CPAN.
|
||||
Distributions on CPAN which require these modules will need to list them as
|
||||
prerequisites.
|
||||
|
||||
The core versions of these modules will now issue C<deprecated>-category
|
||||
warnings to alert you to this fact. To silence these deprecation warnings,
|
||||
install the modules in question from CPAN.
|
||||
|
||||
Note that these are (with rare exceptions) fine modules that you are encouraged
|
||||
to continue to use. Their disinclusion from core primarily hinges on their
|
||||
necessity to bootstrapping a fully functional, CPAN-capable Perl installation,
|
||||
not usually on concerns over their design.
|
||||
|
||||
=over
|
||||
|
||||
=item XXX
|
||||
|
||||
XXX Note that deprecated modules should be listed here even if they are listed
|
||||
as an updated module in the L</Modules and Pragmata> section.
|
||||
|
||||
=back
|
||||
|
||||
[ List each other deprecation as a =head2 entry ]
|
||||
|
||||
=head1 Performance Enhancements
|
||||
|
||||
XXX Changes which enhance performance without changing behaviour go here.
|
||||
There may well be none in a stable release.
|
||||
|
||||
[ List each enhancement as an =item entry ]
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Modules and Pragmata
|
||||
|
||||
XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
|
||||
go here. If L<Module::CoreList> is updated, generate an initial draft of the
|
||||
following sections using F<Porting/corelist-perldelta.pl>. A paragraph summary
|
||||
for important changes should then be added by hand. In an ideal world,
|
||||
dual-life modules would have a F<Changes> file that could be cribbed.
|
||||
|
||||
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.)
|
||||
|
||||
[ Within each section, list entries as an =item entry ]
|
||||
|
||||
=head2 New Modules and Pragmata
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
XXX Remove this section if F<Porting/corelist-perldelta.pl> did not add any content here.
|
||||
|
||||
=back
|
||||
|
||||
=head2 Updated Modules and Pragmata
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
L<CPAN> has been upgraded from version 2.36 to 2.37.
|
||||
L<XXX> has been upgraded from version A.xx to B.yy.
|
||||
|
||||
XXX If there was something important to note about this change, include that here.
|
||||
|
||||
=back
|
||||
|
||||
=head2 Removed Modules and Pragmata
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
L<Devel::Peek> has been upgraded from version 1.34 to 1.36.
|
||||
XXX Remove this section if F<Porting/corelist-perldelta.pl> did not add any content here.
|
||||
|
||||
=back
|
||||
|
||||
=head1 Documentation
|
||||
|
||||
XXX Changes to files in F<pod/> go here. Consider grouping entries by
|
||||
file and be sure to link to the appropriate page, e.g. L<perlfunc>.
|
||||
|
||||
=head2 New Documentation
|
||||
|
||||
XXX Changes which create B<new> files in F<pod/> go here.
|
||||
|
||||
=head3 L<XXX>
|
||||
|
||||
XXX Description of the purpose of the new file here
|
||||
|
||||
=head2 Changes to Existing Documentation
|
||||
|
||||
We have attempted to update the documentation to reflect the changes
|
||||
listed in this document. If you find any we have missed, open an issue
|
||||
at L<https://github.com/Perl/perl5/issues>.
|
||||
|
||||
XXX Changes which significantly change existing files in F<pod/> go here.
|
||||
However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
|
||||
section.
|
||||
|
||||
Additionally, the following selected changes have been made:
|
||||
|
||||
=head3 L<XXX>
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
L<ExtUtils::ParseXS> has been upgraded from version 3.53 to 3.54.
|
||||
|
||||
=item *
|
||||
|
||||
L<ExtUtils::Typemaps> has been upgraded from version 3.53 to 3.54.
|
||||
|
||||
=item *
|
||||
|
||||
L<Module::CoreList> has been upgraded from version 5.20240829 to 5.20240920.
|
||||
|
||||
=item *
|
||||
|
||||
L<overload> has been upgraded from version 1.38 to 1.39.
|
||||
|
||||
=item *
|
||||
|
||||
L<Scalar::Util> has been upgraded from version 1.65 to 1.66.
|
||||
|
||||
=item *
|
||||
|
||||
L<Storable> has been upgraded from version 3.34 to 3.35.
|
||||
|
||||
=item *
|
||||
|
||||
L<Test::Simple> has been upgraded from version 1.302201 to 1.302204.
|
||||
|
||||
=item *
|
||||
|
||||
L<version> has been upgraded from version 0.9930 to 0.9933.
|
||||
|
||||
=item *
|
||||
|
||||
L<XS::APItest> has been upgraded from version 1.37 to 1.38.
|
||||
XXX Description of the change here
|
||||
|
||||
=back
|
||||
|
||||
@ -70,161 +182,231 @@ 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 L<perldiag>.
|
||||
|
||||
XXX New or changed warnings emitted by the core's C<C> code go here. Also
|
||||
include any changes in L<perldiag> that reconcile it to the C<C> code.
|
||||
|
||||
=head2 New Diagnostics
|
||||
|
||||
XXX Newly added diagnostic messages go under here, separated into L</New Errors>
|
||||
and L</New Warnings>
|
||||
|
||||
=head3 New Errors
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
XXX L<message|perldiag/"message">
|
||||
|
||||
=back
|
||||
|
||||
=head3 New Warnings
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
L<Possible precedence problem between ! and %s|perldiag/"Possible precedence problem between ! and %s">
|
||||
XXX L<message|perldiag/"message">
|
||||
|
||||
(W precedence) You wrote something like
|
||||
=back
|
||||
|
||||
!$x < $y # parsed as: (!$x) < $y
|
||||
!$x eq $y # parsed as: (!$x) eq $y
|
||||
!$x =~ /regex/ # parsed as: (!$x) =~ /regex/
|
||||
!$obj isa Some::Class # parsed as: (!$obj) isa Some::Class
|
||||
=head2 Changes to Existing Diagnostics
|
||||
|
||||
but because C<!> has higher precedence than comparison operators, C<=~>, and
|
||||
C<isa>, this is interpreted as comparing/matching the logical negation of the
|
||||
first operand, instead of negating the result of the comparison/match.
|
||||
XXX Changes (i.e. rewording) of diagnostic messages go here
|
||||
|
||||
To disambiguate, either use a negated comparison/binding operator:
|
||||
=over 4
|
||||
|
||||
$x >= $y
|
||||
$x ne $y
|
||||
$x !~ /regex/
|
||||
=item *
|
||||
|
||||
... or parentheses:
|
||||
XXX Describe change here
|
||||
|
||||
!($x < $y)
|
||||
!($x eq $y)
|
||||
!($x =~ /regex/)
|
||||
!($obj isa Some::Class)
|
||||
=back
|
||||
|
||||
... or the low-precedence C<not> operator:
|
||||
=head1 Utility Changes
|
||||
|
||||
not $x < $y
|
||||
not $x eq $y
|
||||
not $x =~ /regex/
|
||||
not $obj isa Some::Class
|
||||
XXX Changes to installed programs such as F<perldoc> and F<xsubpp> go here.
|
||||
Most of these are built within the directory F<utils>.
|
||||
|
||||
(If you did mean to compare the boolean result of negating the first operand,
|
||||
parenthesize as C<< (!$x) < $y >>, C<< (!$x) eq $y >>, etc.)
|
||||
[ List utility changes as a =head2 entry for each utility and =item
|
||||
entries for each change
|
||||
Use F<XXX> with program names to get proper documentation linking. ]
|
||||
|
||||
(This warning subsumes the C<Possible precedence problem on isa operator>
|
||||
warning from the previous perl release.)
|
||||
=head2 F<XXX>
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Configuration and Compilation
|
||||
|
||||
XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
|
||||
go here. Any other changes to the Perl build process should be listed here.
|
||||
However, any platform-specific changes should be listed in the
|
||||
L</Platform Support> section, instead.
|
||||
|
||||
[ List changes as an =item entry ].
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
Fix compilation on platforms (e.g. "Gentoo Prefix") with only a C locale [L<GH #22569|https://github.com/Perl/perl5/issues/22569>]
|
||||
Bug first reported downstream L<bugs.gentoo.org/939014|https://bugs.gentoo.org/939014>
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Testing
|
||||
|
||||
XXX Any significant changes to the testing of a freshly built perl should be
|
||||
listed here. Changes which create B<new> files in F<t/> go here as do any
|
||||
large changes to the testing harness (e.g. when parallel testing was added).
|
||||
Changes to existing files in F<t/> aren't worth summarizing, although the bugs
|
||||
that they represent may be covered elsewhere.
|
||||
|
||||
XXX If there were no significant test changes, say this:
|
||||
|
||||
Tests were added and changed to reflect the other additions and changes
|
||||
in this release.
|
||||
|
||||
XXX If instead there were significant changes, say this:
|
||||
|
||||
Tests were added and changed to reflect the other additions and
|
||||
changes in this release. Furthermore, these significant changes were
|
||||
made:
|
||||
|
||||
[ List each test improvement as an =item entry ]
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Platform Support
|
||||
|
||||
XXX Any changes to platform support should be listed in the sections below.
|
||||
|
||||
[ Within the sections, list each platform as an =item entry with specific
|
||||
changes as paragraphs below it. ]
|
||||
|
||||
=head2 New Platforms
|
||||
|
||||
XXX List any platforms that this version of perl compiles on, that previous
|
||||
versions did not. These will either be enabled by new files in the F<hints/>
|
||||
directories, or new subdirectories and F<README> files at the top level of the
|
||||
source tree.
|
||||
|
||||
=over 4
|
||||
|
||||
=item XXX-some-platform
|
||||
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head2 Discontinued Platforms
|
||||
|
||||
XXX List any platforms that this version of perl no longer compiles on.
|
||||
|
||||
=over 4
|
||||
|
||||
=item XXX-some-platform
|
||||
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head2 Platform-Specific Notes
|
||||
|
||||
XXX List any changes for specific platforms. This could include configuration
|
||||
and compilation changes or changes in portability/compatibility. However,
|
||||
changes within modules for platforms should generally be listed in the
|
||||
L</Modules and Pragmata> section.
|
||||
|
||||
=over 4
|
||||
|
||||
=item XXX-some-platform
|
||||
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Internal Changes
|
||||
|
||||
XXX Changes which affect the interface available to C<XS> code go here. Other
|
||||
significant internal changes for future core maintainers should be noted as
|
||||
well.
|
||||
|
||||
[ List each change as an =item entry ]
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
The C<op_dump()> function has been expanded to include additional information
|
||||
about the recent C<OP_METHSTART> and C<OP_INITFIELD> ops, as well as for
|
||||
C<OP_ARGCHECK> and C<OP_ARGELEM> which had not been done previously.
|
||||
|
||||
=item *
|
||||
|
||||
C<op_dump()> now also has the facility to print extra debugging information
|
||||
about custom operators, if those operators register a helper function via the
|
||||
new C<xop_dump> element of the C<XOP> structure. For more information, see the
|
||||
relevant additions to L<perlguts|perlguts/"Custom Operators">.
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Selected Bug Fixes
|
||||
|
||||
XXX Important bug fixes in the core language are summarized here. Bug fixes in
|
||||
files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
|
||||
|
||||
XXX Include references to GitHub issues and PRs as: [GH #12345] and the release
|
||||
manager will later use a regex to expand these into links.
|
||||
|
||||
[ List each fix as an =item entry ]
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
C<pack("p", ...)> and C<pack("P", ...)> now SvPV_force() the supplied
|
||||
SV unless it is read only. This will remove CoW from the SV and
|
||||
prevents code that writes through the generated pointer from modifying
|
||||
the value of other SVs that happen the share the same CoWed string
|
||||
buffer.
|
||||
|
||||
Note: this does not make C<pack("p",... )> safe, if the SV is magical
|
||||
then any writes to the buffer will likely be discarded on the next
|
||||
read. [L<GH #22380|https://github.com/Perl/perl5/issues/22380>]
|
||||
|
||||
=item *
|
||||
|
||||
Enforce C<no feature "bareword_filehandles"> for bareword file handles
|
||||
that have strictness removed because they are used in open() with a
|
||||
"dup" mode, such as in C<< open my $fh, ">&", THISHANDLE >>. [L<GH #22568|https://github.com/Perl/perl5/issues/22568>]
|
||||
|
||||
=item *
|
||||
|
||||
Using C<goto> to tail call, or using the call_sv() and related APIs to
|
||||
call, any of trim(), refaddr(), reftype(), ceil(), floor() or
|
||||
stringify() in the C<builtin::> package would crash or assert due to a
|
||||
C<TARG> handling bug. [L<GH #22542|https://github.com/Perl/perl5/issues/22542>]
|
||||
|
||||
=item *
|
||||
|
||||
Fix sv_gets() to accept a C<SSize_t> append offset instead of C<I32>.
|
||||
This prevents integer overflows when appending to a large C<SV> for
|
||||
C<readpipe> aka C<qx//> and C<readline>.
|
||||
L<https://www.perlmonks.org/?node_id=11161665>
|
||||
|
||||
=item *
|
||||
|
||||
Fixed an issue where `utf8n_to_uvchr` failed to correctly identify
|
||||
certain invalid UTF-8 sequences as invalid. Specifically, sequences
|
||||
that start with continuation bytes or unassigned bytes could cause
|
||||
unexpected behavior or a panic. This fix ensures that such invalid
|
||||
sequences are now properly detected and handled. This correction
|
||||
also resolves related issues in modules that handle UTF-8 processing,
|
||||
such as `Encode.pm`.
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Known Problems
|
||||
|
||||
XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
|
||||
tests that had to be C<TODO>ed for the release would be noted here. Unfixed
|
||||
platform specific bugs also go here.
|
||||
|
||||
[ List each fix as an =item entry ]
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
XXX
|
||||
|
||||
=back
|
||||
|
||||
=head1 Errata From Previous Releases
|
||||
|
||||
=over 4
|
||||
|
||||
=item *
|
||||
|
||||
XXX Add anything here that we forgot to add, or were mistaken about, in
|
||||
the F<perldelta> of a previous release.
|
||||
|
||||
=back
|
||||
|
||||
=head1 Obituary
|
||||
|
||||
XXX If any significant core contributor or member of the CPAN community has
|
||||
died, add a short obituary here.
|
||||
|
||||
=head1 Acknowledgements
|
||||
|
||||
Perl 5.41.4 represents approximately 3 weeks of development since Perl
|
||||
5.41.3 and contains approximately 5,800 lines of changes across 400 files
|
||||
from 20 authors.
|
||||
XXX Generate this with:
|
||||
|
||||
Excluding auto-generated files, documentation and release tools, there were
|
||||
approximately 3,700 lines of changes to 290 .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.41.4:
|
||||
|
||||
Andrei Horodniceanu, Antanas Vaitkus, Aristotle Pagaltzis, Craig A. Berry,
|
||||
David Cantrell, David Mitchell, E. Choroba, Ed J, Eric Herman, Graham Knop,
|
||||
James E Keenan, Karl Williamson, Leon Timmermans, Lukas Mai, Masahiro Honma,
|
||||
Paul Evans, Philippe Bruhat (BooK), Sisyphus, Thibault Duponchelle, 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.
|
||||
perl Porting/acknowledgements.pl v5.41.4..HEAD
|
||||
|
||||
=head1 Reporting Bugs
|
||||
|
||||
|
||||
@ -298,7 +298,7 @@ utils : $(utils1) $(utils2) $(utils3) $(utils4) $(utils5)
|
||||
extra.pods : miniperl
|
||||
@ @extra_pods.com
|
||||
|
||||
PERLDELTA_CURRENT = [.pod]perl5414delta.pod
|
||||
PERLDELTA_CURRENT = [.pod]perl5415delta.pod
|
||||
|
||||
$(PERLDELTA_CURRENT) : [.pod]perldelta.pod
|
||||
Copy/NoConfirm/Log $(MMS$SOURCE) $(PERLDELTA_CURRENT)
|
||||
|
||||
@ -1643,7 +1643,7 @@ utils: $(HAVEMINIPERL) ..\utils\Makefile
|
||||
copy ..\README.tw ..\pod\perltw.pod
|
||||
copy ..\README.vos ..\pod\perlvos.pod
|
||||
copy ..\README.win32 ..\pod\perlwin32.pod
|
||||
copy ..\pod\perldelta.pod ..\pod\perl5414delta.pod
|
||||
copy ..\pod\perldelta.pod ..\pod\perl5415delta.pod
|
||||
$(MINIPERL) -I..\lib $(PL2BAT) $(UTILS)
|
||||
$(MINIPERL) -I..\lib ..\autodoc.pl -c "win32\$(CONFIG_H)" ..
|
||||
$(MINIPERL) -I..\lib ..\pod\perlmodlib.PL -q ..
|
||||
@ -1743,7 +1743,7 @@ distclean: realclean
|
||||
-if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API
|
||||
-if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS
|
||||
-cd $(PODDIR) && del /f *.html *.bat roffitall \
|
||||
perl5414delta.pod perlaix.pod perlamiga.pod perlandroid.pod \
|
||||
perl5415delta.pod perlaix.pod perlamiga.pod perlandroid.pod \
|
||||
perlapi.pod perlbs2000.pod perlcn.pod perlcygwin.pod \
|
||||
perlfreebsd.pod perlhaiku.pod perlhpux.pod perlhurd.pod \
|
||||
perlintern.pod perlirix.pod perljp.pod perlko.pod perllinux.pod \
|
||||
|
||||
@ -1165,7 +1165,7 @@ utils: $(PERLEXE) ..\utils\Makefile
|
||||
copy ..\README.tw ..\pod\perltw.pod
|
||||
copy ..\README.vos ..\pod\perlvos.pod
|
||||
copy ..\README.win32 ..\pod\perlwin32.pod
|
||||
copy ..\pod\perldelta.pod ..\pod\perl5414delta.pod
|
||||
copy ..\pod\perldelta.pod ..\pod\perl5415delta.pod
|
||||
cd ..\win32
|
||||
$(PERLEXE) $(PL2BAT) $(UTILS)
|
||||
$(MINIPERL) -I..\lib ..\autodoc.pl -c "win32\$(CONFIG_H)" ..
|
||||
@ -1266,7 +1266,7 @@ distclean: realclean
|
||||
-if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API
|
||||
-if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS
|
||||
-cd $(PODDIR) && del /f *.html *.bat roffitall \
|
||||
perl5414delta.pod perlaix.pod perlamiga.pod perlandroid.pod \
|
||||
perl5415delta.pod perlaix.pod perlamiga.pod perlandroid.pod \
|
||||
perlapi.pod perlbs2000.pod perlcn.pod perlcygwin.pod \
|
||||
perlfreebsd.pod perlhaiku.pod perlhpux.pod perlhurd.pod \
|
||||
perlintern.pod perlirix.pod perljp.pod perlko.pod perllinux.pod \
|
||||
|
||||
@ -81,6 +81,7 @@ POD = perl.pod \
|
||||
perl5412delta.pod \
|
||||
perl5413delta.pod \
|
||||
perl5414delta.pod \
|
||||
perl5415delta.pod \
|
||||
perl561delta.pod \
|
||||
perl56delta.pod \
|
||||
perl581delta.pod \
|
||||
@ -262,6 +263,7 @@ MAN = perl.man \
|
||||
perl5412delta.man \
|
||||
perl5413delta.man \
|
||||
perl5414delta.man \
|
||||
perl5415delta.man \
|
||||
perl561delta.man \
|
||||
perl56delta.man \
|
||||
perl581delta.man \
|
||||
@ -443,6 +445,7 @@ HTML = perl.html \
|
||||
perl5412delta.html \
|
||||
perl5413delta.html \
|
||||
perl5414delta.html \
|
||||
perl5415delta.html \
|
||||
perl561delta.html \
|
||||
perl56delta.html \
|
||||
perl581delta.html \
|
||||
@ -624,6 +627,7 @@ TEX = perl.tex \
|
||||
perl5412delta.tex \
|
||||
perl5413delta.tex \
|
||||
perl5414delta.tex \
|
||||
perl5415delta.tex \
|
||||
perl561delta.tex \
|
||||
perl56delta.tex \
|
||||
perl581delta.tex \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user