1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Announce PHP 8.1.22

This commit is contained in:
Ben Ramsey
2023-08-03 10:11:11 -05:00
parent fe25ef3ebd
commit 383943aea6
6 changed files with 185 additions and 6 deletions

View File

@@ -920,6 +920,111 @@ changelog_header(8, $MINOR_VERSIONS);
<a id="PHP_8_1"></a>
<section class="version" id="8.1.22"><!-- {{{ 8.1.22 -->
<h3>Version 8.1.22</h3>
<b><?php release_date('03-Aug-2023'); ?></b>
<ul><li>Build:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11522); ?> (PHP version check fails with '-' separator).</li>
</ul></li>
<li>CLI:
<ul>
<li>Fix interrupted CLI output causing the process to exit.</li>
</ul></li>
<li>Core:
<ul>
<li>Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).</li>
<li>Fixed use-of-uninitialized-value with ??= on assert.</li>
<li>Fixed build for FreeBSD before the 11.0 releases.</li>
</ul></li>
<li>Curl:
<ul>
<li>Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.</li>
</ul></li>
<li>Date:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11368); ?> (Date modify returns invalid datetime).</li>
</ul></li>
<li>DOM:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11625); ?> (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping &lt;&gt;&lt;/&gt; depending on libxml2 version).</li>
</ul></li>
<li>Fileinfo:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11298); ?> (finfo returns wrong mime type for xz files).</li>
</ul></li>
<li>FTP:
<ul>
<li>Fix context option check for "overwrite".</li>
<li>Fixed bug <?php githubissuel('php/php-src', 10562); ?> (Memory leak and invalid state with consecutive ftp_nb_fget).</li>
</ul></li>
<li>GD:
<ul>
<li>Fix most of the external libgd test failures.</li>
</ul></li>
<li>Hash:
<ul>
<li>Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature.</li>
</ul></li>
<li>Intl:
<ul>
<li>Fix memory leak in MessageFormatter::format() on failure.</li>
</ul></li>
<li>Libxml:
<ul>
<li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li>
</ul></li>
<li>MBString:
<ul>
<li>Fix <?php githubissuel('php/php-src', 11300); ?> (license issue: restricted unicode license headers).</li>
</ul></li>
<li>Opcache:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 10914); ?> (OPCache with Enum and Callback functions results in segmentation fault).</li>
<li>Prevent potential deadlock if accelerated globals cannot be allocated.</li>
</ul></li>
<li>PCNTL:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11498); ?> (SIGCHLD is not always returned from proc_open).</li>
</ul></li>
<li>PCRE:
<ul>
<li>Mangle PCRE regex cache key with JIT option.</li>
</ul></li>
<li>PDO:
<ul>
<li>Fix <?php githubissuel('php/php-src', 11587); ?> (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer filled).</li>
</ul></li>
<li>PDO SQLite:
<ul>
<li>Fix <?php githubissuel('php/php-src', 11492); ?> (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).</li>
</ul></li>
<li>Phar:
<ul>
<li>Add missing check on EVP_VerifyUpdate() in phar util.</li>
<li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li>
</ul></li>
<li>PHPDBG:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 9669); ?> (phpdbg -h options doesn't list the -z option).</li>
</ul></li>
<li>Session:
<ul>
<li>Removed broken url support for transferring session ID.</li>
</ul></li>
<li>Standard:
<ul>
<li>Fix serialization of RC1 objects appearing in object graph twice.</li>
</ul></li>
<li>SQLite3:
<ul>
<li>Fix replaced error handling in SQLite3Stmt::__construct.</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="8.1.21"><!-- {{{ 8.1.21 -->
<h3>Version 8.1.21</h3>
<b><?php release_date('06-Jul-2023'); ?></b>

View File

@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php-webmaster@lists.php.net</email>
</author>
<xi:include href="entries/2023-08-03-1.xml"/>
<xi:include href="entries/2023-07-29-1.xml"/>
<xi:include href="entries/2023-07-20-1.xml"/>
<xi:include href="entries/2023-07-14-1.xml"/>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>PHP 8.1.22 Released!</title>
<id>https://www.php.net/archive/2023.php#2023-08-03-1</id>
<published>2023-08-03T15:07:49+00:00</published>
<updated>2023-08-03T15:07:49+00:00</updated>
<link href="https://www.php.net/index.php#2023-08-03-1" rel="alternate" type="text/html"/>
<link href="https://www.php.net/archive/2023.php#2023-08-03-1" 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.1.22. This is a security release.</p>
<p>All PHP 8.1 users are encouraged to upgrade to this version.</p>
<p>For source downloads of PHP 8.1.22 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.1.22">ChangeLog</a>.
</p> </div>
</content>
</entry>

View File

@@ -2,6 +2,42 @@
$OLDRELEASES = array (
8 =>
array (
'8.1.21' =>
array (
'announcement' =>
array (
'English' => '/releases/8_1_21.php',
),
'tags' =>
array (
),
'date' => '06 Jul 2023',
'source' =>
array (
0 =>
array (
'filename' => 'php-8.1.21.tar.gz',
'name' => 'PHP 8.1.21 (tar.gz)',
'sha256' => 'a95f8d35924aa5705ad07a70dc994bf41b5d45126ecdec7aaad6edfbe5e1c37f',
'date' => '06 Jul 2023',
),
1 =>
array (
'filename' => 'php-8.1.21.tar.bz2',
'name' => 'PHP 8.1.21 (tar.bz2)',
'sha256' => '6ea49e8335d632177f56b507160aa151c7b020185789a9c14859fce5d4a0776d',
'date' => '06 Jul 2023',
),
2 =>
array (
'filename' => 'php-8.1.21.tar.xz',
'name' => 'PHP 8.1.21 (tar.xz)',
'sha256' => 'e634a00b0c6a8cd39e840e9fb30b5227b820b7a9ace95b7b001053c1411c4821',
'date' => '06 Jul 2023',
),
),
'museum' => false,
),
'8.1.20' =>
array (
'announcement' =>

View File

@@ -32,13 +32,13 @@ $RELEASES = (function () {
/* PHP 8.1 Release */
$data['8.1'] = [
'version' => '8.1.21',
'date' => '06 Jul 2023',
'tags' => [], // Set to ['security'] for security releases.
'version' => '8.1.22',
'date' => '03 Aug 2023',
'tags' => ['security'], // Set to ['security'] for security releases.
'sha256' => [
'tar.gz' => 'a95f8d35924aa5705ad07a70dc994bf41b5d45126ecdec7aaad6edfbe5e1c37f',
'tar.bz2' => '6ea49e8335d632177f56b507160aa151c7b020185789a9c14859fce5d4a0776d',
'tar.xz' => 'e634a00b0c6a8cd39e840e9fb30b5227b820b7a9ace95b7b001053c1411c4821',
'tar.gz' => 'f5140e94b139b4adec4b29c337537b7b6f1ef023197eb32be909e724e3da157a',
'tar.bz2' => '992354e382c6c618d01ed4be06beea8dec3178b14153df64d3c8c48b85e9fbc2',
'tar.xz' => '9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d',
]
];

16
releases/8_1_22.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
$_SERVER['BASE_PAGE'] = 'releases/8_1_22.php';
include_once __DIR__ . '/../include/prepend.inc';
site_header('PHP 8.1.22 Release Announcement');
?>
<h1>PHP 8.1.22 Release Announcement</h1>
<p>The PHP development team announces the immediate availability of PHP 8.1.22. This is a security release.</p>
<p>All PHP 8.1 users are encouraged to upgrade to this version.</p>
<p>For source downloads of PHP 8.1.22 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.1.22">ChangeLog</a>.
</p>
<?php site_footer();