Author: Patrick Allaert (patrickallaert)
Date: 2023-07-06T16:52:24+02:00
Commit:
https://github.com/php/web-php/commit/62aa3bb1fbbba828054ed89ef5c66334791c16e7
Raw diff:
https://github.com/php/web-php/commit/62aa3bb1fbbba828054ed89ef5c66334791c16e7.diff
PHP 8.1.21 released
Changed paths:
A archive/entries/2023-07-06-3.xml
A releases/8_1_21.php
M ChangeLog-8.php
M archive/archive.xml
M include/releases.inc
M include/version.inc
Diff:
diff --git a/ChangeLog-8.php b/ChangeLog-8.php
index ddfec73f0..8233ae56f 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -920,6 +920,71 @@
<a id="PHP_8_1"></a>
+<section class="version" id="8.1.21"><!-- {{{ 8.1.21 -->
+<h3>Version 8.1.21</h3>
+<b><?php release_date('06-Jun-2023'); ?></b>
+<ul><li>CLI:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11246); ?>
(cli/get_set_process_title fails on MacOS).</li>
+</ul></li>
+<li>Core:
+<ul>
+ <li>Fixed build for the riscv64 architecture/GCC 12.</li>
+</ul></li>
+<li>Curl:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11433); ?> (Unable to set
CURLOPT_ACCEPT_ENCODING to NULL).</li>
+</ul></li>
+<li>DOM:
+<ul>
+ <li>Fixed bugs <?php githubissuel('php/php-src', 11288); ?> and <?php
githubissuel('php/php-src', 11289); ?> and <?php githubissuel('php/php-src',
11290); ?> and <?php githubissuel('php/php-src', 9142); ?> (DOMExceptions and
segfaults with replaceWith).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 10234); ?> (Setting
DOMAttr::textContent results in an empty attribute value).</li>
+ <li>Fix return value in stub file for DOMNodeList::item.</li>
+ <li>Fix spec compliance error with '*' namespace for
DOMDocument::getElementsByTagNameNS.</li>
+ <li>Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11347); ?> (Memory leak when
calling a static method inside an xpath query).</li>
+ <li><?php bugfix(67440); ?> (append_node of a DOMDocumentFragment does not
reconcile namespaces).</li>
+ <li><?php bugfix(81642); ?> (DOMChildNode::replaceWith() bug when replacing
a node with itself).</li>
+ <li><?php bugfix(77686); ?> (Removed elements are still returned by
getElementById).</li>
+ <li><?php bugfix(70359); ?> (print_r() on DOMAttr causes Segfault in
php_libxml_node_free_list()).</li>
+ <li><?php bugfix(78577); ?> (Crash in DOMNameSpace debug info handlers).</li>
+ <li>Fix lifetime issue with getAttributeNodeNS().</li>
+ <li>Fix "invalid state error" with cloned namespace declarations.</li>
+ <li><?php bugfix(55294); ?> and #47530 and #47847 (various namespace
reconciliation issues).</li>
+ <li><?php bugfix(80332); ?> (Completely broken array access functionality
with DOMNamedNodeMap).</li>
+</ul></li>
+<li>Opcache:
+<ul>
+ <li>Fix allocation loop in zend_shared_alloc_startup().</li>
+ <li>Access violation on smm_shared_globals with ALLOC_FALLBACK.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11336); ?> (php still tries
to unlock the shared memory ZendSem with opcache.file_cache_only=1 but it was
never locked).</li>
+</ul></li>
+<li>OpenSSL:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 9356); ?> Incomplete
validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub
Zelenka).</li>
+</ul></li>
+<li>PGSQL:
+<ul>
+ <li>Fixed intermittent segfault with pg_trace.</li>
+</ul></li>
+<li>Phar:
+<ul>
+ <li>Fix cross-compilation check in phar generation for FreeBSD.</li>
+</ul></li>
+<li>SPL:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11338); ?> (SplFileInfo
empty getBasename with more than one slash).</li>
+</ul></li>
+<li>Standard:
+<ul>
+ <li>Fix access on NULL pointer in array_merge_recursive().</li>
+ <li>Fix exception handling in array_multisort().</li>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
<section class="version" id="8.1.20"><!-- {{{ 8.1.20 -->
<h3>Version 8.1.20</h3>
<b><?php release_date('08-Jun-2023'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index 1ab9107af..4bb103a07 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>[email protected]</email>
</author>
+ <xi:include href="entries/2023-07-06-3.xml"/>
<xi:include href="entries/2023-07-06-2.xml"/>
<xi:include href="entries/2023-07-06-1.xml"/>
<xi:include href="entries/2023-06-22-1.xml"/>
diff --git a/archive/entries/2023-07-06-3.xml b/archive/entries/2023-07-06-3.xml
new file mode 100644
index 000000000..2b36b2ba8
--- /dev/null
+++ b/archive/entries/2023-07-06-3.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom">
+ <title>PHP 8.1.21 Released!</title>
+ <id>https://www.php.net/archive/2023.php#2023-07-06-3</id>
+ <published>2023-07-06T14:45:21+00:00</published>
+ <updated>2023-07-06T14:45:21+00:00</updated>
+ <link href="https://www.php.net/index.php#2023-07-06-3" rel="alternate"
type="text/html"/>
+ <link href="https://www.php.net/archive/2023.php#2023-07-06-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.1.21. This is a bug fix
release.</p>
+
+<p>All PHP 8.1 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.1.21 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.21">ChangeLog</a>.
+</p> </div>
+ </content>
+</entry>
diff --git a/include/releases.inc b/include/releases.inc
index 43c475669..ed3db1a21 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,43 @@
$OLDRELEASES = array (
8 =>
array (
+ '8.1.20' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/8_1_20.php',
+ ),
+ 'tags' =>
+ array (
+ 0 => 'security',
+ ),
+ 'date' => '08 Jun 2023',
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-8.1.20.tar.gz',
+ 'name' => 'PHP 8.1.20 (tar.gz)',
+ 'sha256' =>
'b7d3e2a0c5bed37bb39e4627550d0ee5a4a600042b83c63037b0f5f84793cbe6',
+ 'date' => '08 Jun 2023',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-8.1.20.tar.bz2',
+ 'name' => 'PHP 8.1.20 (tar.bz2)',
+ 'sha256' =>
'55578587514a2707500f85319e57c0d4df9b8803cdb26566595ac4bf459dc4dd',
+ 'date' => '08 Jun 2023',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-8.1.20.tar.xz',
+ 'name' => 'PHP 8.1.20 (tar.xz)',
+ 'sha256' =>
'4c9973f599e93ed5e8ce2b45ce1d41bb8fb54ce642824fd23e56b52fd75029a6',
+ 'date' => '08 Jun 2023',
+ ),
+ ),
+ 'museum' => false,
+ ),
'8.2.7' =>
array (
'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index f3ecadc79..9226312ad 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -32,13 +32,13 @@ $RELEASES = (function () {
/* PHP 8.1 Release */
$data['8.1'] = [
- 'version' => '8.1.20',
- 'date' => '08 Jun 2023',
- 'tags' => ['security'], // Set to ['security'] for security releases.
+ 'version' => '8.1.21',
+ 'date' => '06 Jul 2023',
+ 'tags' => [], // Set to ['security'] for security releases.
'sha256' => [
- 'tar.gz' =>
'b7d3e2a0c5bed37bb39e4627550d0ee5a4a600042b83c63037b0f5f84793cbe6',
- 'tar.bz2' =>
'55578587514a2707500f85319e57c0d4df9b8803cdb26566595ac4bf459dc4dd',
- 'tar.xz' =>
'4c9973f599e93ed5e8ce2b45ce1d41bb8fb54ce642824fd23e56b52fd75029a6',
+ 'tar.gz' =>
'a95f8d35924aa5705ad07a70dc994bf41b5d45126ecdec7aaad6edfbe5e1c37f',
+ 'tar.bz2' =>
'6ea49e8335d632177f56b507160aa151c7b020185789a9c14859fce5d4a0776d',
+ 'tar.xz' =>
'e634a00b0c6a8cd39e840e9fb30b5227b820b7a9ace95b7b001053c1411c4821',
]
];
diff --git a/releases/8_1_21.php b/releases/8_1_21.php
new file mode 100644
index 000000000..43c45a81c
--- /dev/null
+++ b/releases/8_1_21.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_1_21.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.1.21 Release Announcement');
+?>
+<h1>PHP 8.1.21 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP
8.1.21. This is a bug fix release.</p>
+
+<p>All PHP 8.1 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.1.21 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.21">ChangeLog</a>.
+</p>
+<?php site_footer();
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php