Skip to content

Commit

Permalink
Announce PHP 8.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
adoy committed Oct 26, 2023
1 parent 84176b8 commit 353056b
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 5 deletions.
78 changes: 78 additions & 0 deletions ChangeLog-8.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,84 @@
?>
<a id="PHP_8_2"></a>

<section class="version" id="8.2.12"><!-- {{{ 8.2.12 -->
<h3>Version 8.2.12</h3>
<b><?php release_date('26-Oct-2023'); ?></b>
<ul><li>Core:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 12207); ?> (memory leak when class using trait with doc block).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 12215); ?> (Module entry being overwritten causes type errors in ext/dom).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 12273); ?> (__builtin_cpu_init check).</li>
<li><?php bugfix(80092); ?> (ZTS + preload = segfault on shutdown).</li>
</ul></li>
<li>CLI:
<ul>
<li>Ensure a single Date header is present.</li>
</ul></li>
<li>CType:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11997); ?> (ctype_alnum 5 times slower in PHP 8.1 or greater).</li>
</ul></li>
<li>DOM:
<ul>
<li>Restore old namespace reconciliation behaviour.</li>
<li>Fixed bug <?php githubissuel('php/php-src', 8996); ?> (DOMNode serialization on PHP ^8.1).</li>
</ul></li>
<li>Fileinfo:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11891); ?> (fileinfo returns text/xml for some svg files).</li>
</ul></li>
<li>Filter:
<ul>
<li>Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)</li>
</ul></li>
<li>Hash:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 12186); ?> (segfault copying/cloning a finalized HashContext).</li>
</ul></li>
<li>Intl:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 12243); ?> (segfault on IntlDateFormatter::construct).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 12282); ?> (IntlDateFormatter::construct should throw an exception on an invalid locale).</li>
</ul></li>
<li>MySQLnd:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 12297); ?> (PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line).</li>
</ul></li>
<li>Opcache:
<ul>
<li>Fixed opcache_invalidate() on deleted file.</li>
<li>Fixed bug <?php githubissuel('php/php-src', 12380); ?> (JIT+private array property access inside closure accesses private property in child class).</li>
</ul></li>
<li>PCRE:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 11956); ?> (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).</li>
</ul></li>
<li>SimpleXML:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 12170); ?> (Can't use xpath with comments in SimpleXML).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 12223); ?> (Entity reference produces infinite loop in var_dump/print_r).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 12167); ?> (Unable to get processing instruction contents in SimpleXML).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 12169); ?> (Unable to get comment contents in SimpleXML).</li>
</ul></li>
<li>Streams:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 12190); ?> (binding ipv4 address with both address and port at 0).</li>
</ul></li>
<li>XML:
<ul>
<li>Fix return type of stub of xml_parse_into_struct().</li>
<li>Fix memory leak when calling xml_parse_into_struct() twice.</li>
</ul></li>
<li>XSL:
<ul>
<li>Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.</li>
</ul></li>
</ul>
<!-- }}} --></section>



<section class="version" id="8.2.11"><!-- {{{ 8.2.11 -->
<h3>Version 8.2.11</h3>
<b><?php release_date('28-Sep-2023'); ?></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/2023-10-26-2.xml"/>
<xi:include href="entries/2023-10-26-1.xml"/>
<xi:include href="entries/2023-10-20-1.xml"/>
<xi:include href="entries/2023-10-12-1.xml"/>
Expand Down
21 changes: 21 additions & 0 deletions archive/entries/2023-10-26-2.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.2.12 Released!</title>
<id>https://www.php.net/archive/2023.php#2023-10-26-2</id>
<published>2023-10-26T16:39:13+00:00</published>
<updated>2023-10-26T16:39:13+00:00</updated>
<link href="https://www.php.net/index.php#2023-10-26-2" rel="alternate" type="text/html"/>
<link href="https://www.php.net/archive/2023.php#2023-10-26-2" 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.12. 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.12 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.12">ChangeLog</a>.
</p> </div>
</content>
</entry>
36 changes: 36 additions & 0 deletions include/releases.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,42 @@
$OLDRELEASES = array (
8 =>
array (
'8.2.11' =>
array (
'announcement' =>
array (
'English' => '/releases/8_2_11.php',
),
'tags' =>
array (
),
'date' => '28 Sep 2023',
'source' =>
array (
0 =>
array (
'filename' => 'php-8.2.11.tar.gz',
'name' => 'PHP 8.2.11 (tar.gz)',
'sha256' => '48b1b41279a678a4d4afcd0b256ed921ebf2a91febb0634fdc4449b91c75799f',
'date' => '28 Sep 2023',
),
1 =>
array (
'filename' => 'php-8.2.11.tar.bz2',
'name' => 'PHP 8.2.11 (tar.bz2)',
'sha256' => '38192daeffabf4af6c427bf17ac1f82565d9c7522e0dbd32215162944434b28b',
'date' => '28 Sep 2023',
),
2 =>
array (
'filename' => 'php-8.2.11.tar.xz',
'name' => 'PHP 8.2.11 (tar.xz)',
'sha256' => '29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8',
'date' => '28 Sep 2023',
),
),
'museum' => false,
),
'8.1.23' =>
array (
'announcement' =>
Expand Down
10 changes: 5 additions & 5 deletions include/version.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ $RELEASES = (function () {

/* PHP 8.2 Release */
$data['8.2'] = [
'version' => '8.2.11',
'date' => '28 Sep 2023',
'version' => '8.2.12',
'date' => '26 Oct 2023',
'tags' => [], // Set to ['security'] for security releases.
'sha256' => [
'tar.gz' => '48b1b41279a678a4d4afcd0b256ed921ebf2a91febb0634fdc4449b91c75799f',
'tar.bz2' => '38192daeffabf4af6c427bf17ac1f82565d9c7522e0dbd32215162944434b28b',
'tar.xz' => '29af82e4f7509831490552918aad502697453f0869a579ee1b80b08f9112c5b8',
'tar.gz' => 'b2b74a91f5fac14ce10ece0ac210f6f5d72f4367a3cb638e80d117d183750a21',
'tar.bz2' => '704325f56b1b4c17f9f951e1ffef5c64e148896053f34e2626152cbaa2f05893',
'tar.xz' => 'e1526e400bce9f9f9f774603cfac6b72b5e8f89fa66971ebc3cc4e5964083132',
]
];

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

<p>The PHP development team announces the immediate availability of PHP 8.2.12. 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.12 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.12">ChangeLog</a>.
</p>
<?php site_footer();

0 comments on commit 353056b

Please sign in to comment.