Author: Sergey Panteleev (saundefined)
Date: 2024-07-04T17:46:12+03:00
Commit:
https://github.com/php/web-php/commit/4134b6c3ffcbb474f5c7ecfa66b58c7a066a22ae
Raw diff:
https://github.com/php/web-php/commit/4134b6c3ffcbb474f5c7ecfa66b58c7a066a22ae.diff
Announce PHP 8.2.21
Changed paths:
A archive/entries/2024-07-04-1.xml
A releases/8_2_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 517da92804..aaf1ef641f 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -786,6 +786,92 @@
<a id="PHP_8_2"></a>
+<section class="version" id="8.2.21"><!-- {{{ 8.2.21 -->
+<h3>Version 8.2.21</h3>
+<b><?php release_date('04-Jul-2024'); ?></b>
+<ul><li>Core:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14315); ?> (Incompatible
pointer type warnings).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 12814); ?>
(max_execution_time reached too early on MacOS 14 when running on Apple
Silicon).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14387); ?> (Crash when stack
walking in destructor of yielded from values during Generator->throw()).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14456); ?> (Attempting to
initialize class with private constructor calls destructor).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14549); ?> (Incompatible
function pointer type for fclose).</li>
+</ul></li>
+<li>BCMatch:
+<ul>
+ <li>Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0).</li>
+</ul></li>
+<li>Curl:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14307); ?> (Test
curl_basic_024 fails with curl 8.8.0).</li>
+</ul></li>
+<li>DOM:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14343); ?> (Memory leak in
xml and dom).</li>
+</ul></li>
+<li>FPM:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14037); ?> (PHP-FPM
ping.path and ping.response config vars are ignored in status pool).</li>
+</ul></li>
+<li>GD:
+<ul>
+ <li>Fix parameter numbers for imagecolorset().</li>
+</ul></li>
+<li>Intl:
+<ul>
+ <li>Fix reference handling in SpoofChecker.</li>
+</ul></li>
+<li>MySQLnd:
+<ul>
+ <li>Partially fix bug <?php githubissuel('php/php-src', 10599); ?> (Apache
crash on Windows when using a self-referencing anonymous function inside a
class with an active mysqli connection).</li>
+</ul></li>
+<li>Opcache:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14267); ?> (opcache.jit=off
does not allow enabling JIT at runtime).</li>
+ <li>Fixed TLS access in JIT on FreeBSD/amd64.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11188); ?> (Error when
building TSRM in ARM64).</li>
+</ul></li>
+<li>PDO ODBC:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14367); ?> (incompatible
SDWORD type with iODBC).</li>
+</ul></li>
+<li>PHPDBG:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13681); ?> (segfault on
watchpoint addition failure).</li>
+</ul></li>
+<li>Soap:
+<ul>
+ <li><?php bugfix(47925); ?> (PHPClient can't decompress response).</li>
+ <li>Fix missing error restore code.</li>
+ <li>Fix memory leak if calling SoapServer::setObject() twice.</li>
+ <li>Fix memory leak if calling SoapServer::setClass() twice.</li>
+ <li>Fix reading zlib ini settings in ext-soap.</li>
+ <li>Fix memory leaks with string function name lookups.</li>
+ <li><?php bugfix(69280); ?> (SoapClient classmap doesn't support fully
qualified class name).</li>
+ <li><?php bugfix(76232); ?> (SoapClient Cookie Header Semicolon).</li>
+ <li>Fixed memory leaks when calling SoapFault::__construct() twice.</li>
+</ul></li>
+<li>Sodium:
+<ul>
+ <li>Fix memory leaks in ext/sodium on failure of some functions.</li>
+</ul></li>
+<li>SPL:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14290); ?> (Member access
within null pointer in extension spl).</li>
+</ul></li>
+<li>Standard:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 14483); ?> (Fixed off-by-one
error in checking length of abstract namespace Unix sockets).</li>
+</ul></li>
+<li>Streams:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11078); ?> (PHP Fatal error
triggers pointer being freed was not allocated and malloc: double free for ptr
errors).</li>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
<section class="version" id="8.2.20"><!-- {{{ 8.2.20 -->
<h3>Version 8.2.20</h3>
<b><?php release_date('06-Jun-2024'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index b8fab1eae9..281c6789f8 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/2024-07-04-1.xml"/>
<xi:include href="entries/2024-06-21-1.xml"/>
<xi:include href="entries/2024-06-12-1.xml"/>
<xi:include href="entries/2024-06-11-1.xml"/>
diff --git a/archive/entries/2024-07-04-1.xml b/archive/entries/2024-07-04-1.xml
new file mode 100644
index 0000000000..f114f72af3
--- /dev/null
+++ b/archive/entries/2024-07-04-1.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom">
+ <title>PHP 8.2.21 Released!</title>
+ <id>https://www.php.net/archive/2024.php#2024-07-04-1</id>
+ <published>2024-07-04T14:43:24+00:00</published>
+ <updated>2024-07-04T14:43:24+00:00</updated>
+ <link href="https://www.php.net/index.php#2024-07-04-1" rel="alternate"
type="text/html"/>
+ <link href="https://www.php.net/archive/2024.php#2024-07-04-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.2.21. This is a bug fix release.</p>
+
+ <p>All PHP 8.2 users are encouraged to upgrade to this version.</p>
+
+ <p>
+ For source downloads of PHP 8.2.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.2.21">ChangeLog</a>.
+ </p>
+ </div>
+ </content>
+</entry>
diff --git a/include/releases.inc b/include/releases.inc
index 5aa8483385..17cf3b3ba4 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,43 @@
$OLDRELEASES = array (
8 =>
array (
+ '8.2.20' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/8_2_20.php',
+ ),
+ 'tags' =>
+ array (
+ 0 => 'security',
+ ),
+ 'date' => '06 Jun 2024',
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-8.2.20.tar.gz',
+ 'name' => 'PHP 8.2.20 (tar.gz)',
+ 'sha256' =>
'05a4365f7bc6475ac4fef65dde13886913dbc0036e63895d369c1fc6e8206107',
+ 'date' => '06 Jun 2024',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-8.2.20.tar.bz2',
+ 'name' => 'PHP 8.2.20 (tar.bz2)',
+ 'sha256' =>
'5dec6fa61c7b9c47aa1d76666be651f2642ed2bcf6cd8638c57e3571ce2aac61',
+ 'date' => '06 Jun 2024',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-8.2.20.tar.xz',
+ 'name' => 'PHP 8.2.20 (tar.xz)',
+ 'sha256' =>
'4474cc430febef6de7be958f2c37253e5524d5c5331a7e1765cd2d2234881e50',
+ 'date' => '06 Jun 2024',
+ ),
+ ),
+ 'museum' => false,
+ ),
'8.2.19' =>
array (
'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index 8cf9e4c58d..f907258f42 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -32,13 +32,13 @@ $RELEASES = (function () {
/* PHP 8.2 Release */
$data['8.2'] = [
- 'version' => '8.2.20',
- 'date' => '06 Jun 2024',
- 'tags' => ['security'], // Set to ['security'] for security releases.
+ 'version' => '8.2.21',
+ 'date' => '04 Jul 2024',
+ 'tags' => [], // Set to ['security'] for security releases.
'sha256' => [
- 'tar.gz' =>
'05a4365f7bc6475ac4fef65dde13886913dbc0036e63895d369c1fc6e8206107',
- 'tar.bz2' =>
'5dec6fa61c7b9c47aa1d76666be651f2642ed2bcf6cd8638c57e3571ce2aac61',
- 'tar.xz' =>
'4474cc430febef6de7be958f2c37253e5524d5c5331a7e1765cd2d2234881e50',
+ 'tar.gz' =>
'0c6323699309a4d2e71057f01bc071b199f240973c349287b667a3ab36a496c6',
+ 'tar.bz2' =>
'f9876fe7d4d96d41aced199b58a1f7ae7b6655ddc92673135feded7f6939d77f',
+ 'tar.xz' =>
'8cc44d51bb2506399ec176f70fe110f0c9e1f7d852a5303a2cd1403402199707',
]
];
diff --git a/releases/8_2_21.php b/releases/8_2_21.php
new file mode 100644
index 0000000000..68ede9a86d
--- /dev/null
+++ b/releases/8_2_21.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_2_21.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.2.21 Release Announcement');
+?>
+<h1>PHP 8.2.21 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP
8.2.21. This is a bug fix release.</p>
+
+<p>All PHP 8.2 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.2.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.2.21">ChangeLog</a>.
+</p>
+<?php site_footer();