Skip to content

Commit

Permalink
Announce PHP 8.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NattyNarwhal committed Dec 19, 2024
1 parent cc974cb commit 94869b4
Show file tree
Hide file tree
Showing 6 changed files with 194 additions and 6 deletions.
113 changes: 113 additions & 0 deletions ChangeLog-8.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,119 @@

<a id="PHP_8_4"></a>

<section class="version" id="8.4.2"><!-- {{{ 8.4.2 -->
<h3>Version 8.4.2</h3>
<b><?php release_date('19-Dec-2024'); ?></b>
<ul><li>BcMath:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16978); ?> (Avoid unnecessary padding with leading zeros) (Saki Takamachi)</li>
</ul></li>
<li>Calendar:
<ul>
<li>Fixed jdtogregorian overflow.</li>
<li>Fixed cal_to_jd julian_days argument overflow.</li>
</ul></li>
<li>COM:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16991); ?> (Getting typeinfo of non DISPATCH variant segfaults).</li>
</ul></li>
<li>Core:
<ul>
<li>Fail early in *nix configuration build script.</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16344); ?> (setRawValueWithoutLazyInitialization() and skipLazyInitialization() may change initialized proxy).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16727); ?> (Opcache bad signal 139 crash in ZTS bookworm (frankenphp)).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16799); ?> (Assertion failure at Zend/zend_vm_execute.h:7469).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16630); ?> (UAF in lexer with encoding translation and heredocs).</li>
<li>Fix is_zend_ptr() huge block comparison.</li>
<li>Fixed potential OOB read in zend_dirname() on Windows.</li>
<li>Fixed bug <?php githubissuel('php/php-src', 15964); ?> (printf() can strip sign of -INF).</li>
</ul></li>
<li>Curl:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16802); ?> (open_basedir bypass using curl extension).</li>
<li>Fix various memory leaks in curl mime handling.</li>
</ul></li>
<li>DBA:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16990); ?> (dba_list() is now zero-indexed instead of using resource ids) (kocsismate)</li>
</ul></li>
<li>DOM:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16777); ?> (Calling the constructor again on a DOM object after it is in a document causes UAF).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16906); ?> (Reloading document can cause UAF in iterator).</li>
</ul></li>
<li>FPM:
<ul>
<li>Fixed <?php githubissuel('php/php-src', 16432); ?> (PHP-FPM 8.2 SIGSEGV in fpm_get_status).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16932); ?> (wrong FPM status output).</li>
</ul></li>
<li>GD:
<ul>
<li>Fixed <?php githubissuel('php/php-src', 16776); ?> (imagecreatefromstring overflow).</li>
</ul></li>
<li>GMP:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16890); ?> (array_sum() with GMP can loose precision (LLP64)).</li>
</ul></li>
<li>Hash:
<ul>
<li>Fixed <?php githubissuel('php/php-src', 16711); ?>: Segfault in mhash().</li>
</ul></li>
<li>Opcache:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16851); ?> (JIT_G(enabled) not set correctly on other threads).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16902); ?> (Set of opcache tests fail zts+aarch64).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16879); ?> (JIT dead code skipping does not update call_level).</li>
</ul></li>
<li>OpenSSL:
<ul>
<li>Prevent unexpected array entry conversion when reading key.</li>
<li>Fix various memory leaks related to openssl exports.</li>
<li>Fix memory leak in php_openssl_pkey_from_zval().</li>
</ul></li>
<li>PDO:
<ul>
<li>Fixed memory leak of `setFetchMode()`.</li>
</ul></li>
<li>Phar:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16695); ?> (phar:// tar parser and zero-length file header blocks).</li>
</ul></li>
<li>PHPDBG:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 15208); ?> (Segfault with breakpoint map and phpdbg_clear()).</li>
</ul></li>
<li>SAPI:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16998); ?> (UBSAN warning in rfc1867).</li>
</ul></li>
<li>SimpleXML:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16808); ?> (Segmentation fault in RecursiveIteratorIterator -&gt;current() with a xml element input).</li>
</ul></li>
<li>SOAP:
<ul>
<li>Fix make check being invoked in ext/soap.</li>
</ul></li>
<li>Standard:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16905); ?> (Internal iterator functions can't handle UNDEF properties).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 16957); ?> (Assertion failure in array_shift with self-referencing array).</li>
</ul></li>
<li>Streams:
<ul>
<li>Fixed network connect poll interuption handling.</li>
</ul></li>
<li>Windows:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16849); ?> (Error dialog causes process to hang).</li>
<li>Windows Server 2025 is now properly reported.</li>
</ul></li>
</ul>
<!-- }}} --></section>



<section class="version" id="8.4.1"><!-- {{{ 8.4.1 -->
<h3>Version 8.4.1</h3>
<b><?php release_date('21-Nov-2024'); ?></b>
Expand Down
1 change: 1 addition & 0 deletions archive/archive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>[email protected]</email>
</author>
<xi:include href="entries/2024-12-19-3.xml"/>
<xi:include href="entries/2024-12-19-2.xml"/>
<xi:include href="entries/2024-12-19-1.xml"/>
<xi:include href="entries/2024-12-13-1.xml"/>
Expand Down
21 changes: 21 additions & 0 deletions archive/entries/2024-12-19-3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>PHP 8.4.2 Released!</title>
<id>https://www.php.net/archive/2024.php#2024-12-19-3</id>
<published>2024-12-19T16:53:11+00:00</published>
<updated>2024-12-19T16:53:11+00:00</updated>
<link href="https://www.php.net/index.php#2024-12-19-3" rel="alternate" type="text/html"/>
<link href="https://www.php.net/archive/2024.php#2024-12-19-3" rel="via" type="text/html"/>
<category term="releases" label="New PHP release"/>
<category term="frontpage" label="PHP.net frontpage news"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>The PHP development team announces the immediate availability of PHP 8.4.2. This is a bug fix release.</p>

<p>All PHP 8.4 users are encouraged to upgrade to this version.</p>

<p>For source downloads of PHP 8.4.2 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.4.2">ChangeLog</a>.
</p> </div>
</content>
</entry>
37 changes: 37 additions & 0 deletions include/releases.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,43 @@
$OLDRELEASES = array (
8 =>
array (
'8.4.1' =>
array (
'announcement' =>
array (
'English' => '/releases/8_4_1.php',
),
'tags' =>
array (
0 => 'security',
),
'date' => '21 Nov 2024',
'source' =>
array (
0 =>
array (
'filename' => 'php-8.4.1.tar.gz',
'name' => 'PHP 8.4.1 (tar.gz)',
'sha256' => 'c3d1ce4157463ea43004289c01172deb54ce9c5894d8722f4e805461bf9feaec',
'date' => '21 Nov 2024',
),
1 =>
array (
'filename' => 'php-8.4.1.tar.bz2',
'name' => 'PHP 8.4.1 (tar.bz2)',
'sha256' => 'ef8a270118ed128b765fc31f198c7f4650c8171411b0f6a3a1a3aba11fcacc23',
'date' => '21 Nov 2024',
),
2 =>
array (
'filename' => 'php-8.4.1.tar.xz',
'name' => 'PHP 8.4.1 (tar.xz)',
'sha256' => '94c8a4fd419d45748951fa6d73bd55f6bdf0adaefb8814880a67baa66027311f',
'date' => '21 Nov 2024',
),
),
'museum' => false,
),
'8.3.14' =>
array (
'announcement' =>
Expand Down
12 changes: 6 additions & 6 deletions include/version.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ $RELEASES = (function () {

/* PHP 8.4 Release */
$data['8.4'] = [
'version' => '8.4.1',
'date' => '21 Nov 2024',
'tags' => ['security'], // Set to ['security'] for security releases.
'version' => '8.4.2',
'date' => '19 Dec 2024',
'tags' => [], // Set to ['security'] for security releases.
'sha256' => [
'tar.gz' => 'c3d1ce4157463ea43004289c01172deb54ce9c5894d8722f4e805461bf9feaec',
'tar.bz2' => 'ef8a270118ed128b765fc31f198c7f4650c8171411b0f6a3a1a3aba11fcacc23',
'tar.xz' => '94c8a4fd419d45748951fa6d73bd55f6bdf0adaefb8814880a67baa66027311f',
'tar.gz' => '5d3cf82a7f4cafdcfc4f3d98f3e3ee81077ae57c709a5613cbff5834d78a7747',
'tar.bz2' => 'ef4fe9921b885ce3b047792ab60260eaf657e22812be511d19d0e45edf984783',
'tar.xz' => '92636453210f7f2174d6ee6df17a5811368f556a6c2c2cbcf019321e36456e01',
]
];

Expand Down
16 changes: 16 additions & 0 deletions releases/8_4_2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
$_SERVER['BASE_PAGE'] = 'releases/8_4_2.php';
include_once __DIR__ . '/../include/prepend.inc';
site_header('PHP 8.4.2 Release Announcement');
?>
<h1>PHP 8.4.2 Release Announcement</h1>

<p>The PHP development team announces the immediate availability of PHP 8.4.2. This is a bug fix release.</p>

<p>All PHP 8.4 users are encouraged to upgrade to this version.</p>

<p>For source downloads of PHP 8.4.2 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.4.2">ChangeLog</a>.
</p>
<?php site_footer();

0 comments on commit 94869b4

Please sign in to comment.