|
3 | 3 | include_once __DIR__ . '/include/prepend.inc';
|
4 | 4 | include_once __DIR__ . '/include/changelogs.inc';
|
5 | 5 |
|
6 |
| -$MINOR_VERSIONS = ['8.1', '8.0']; |
| 6 | +$MINOR_VERSIONS = ['8.2', '8.1', '8.0']; |
7 | 7 | changelog_header(8, $MINOR_VERSIONS);
|
8 | 8 | ?>
|
| 9 | +<a id="PHP_8_2"></a> |
| 10 | + |
| 11 | +<section class="version" id="8.2.0"><!-- {{{ 8.2.0 --> |
| 12 | +<h3>Version 8.2.0</h3> |
| 13 | +<b><?php release_date('08-Dec-2022'); ?></b> |
| 14 | +<ul><li>CLI: |
| 15 | +<ul> |
| 16 | + <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li> |
| 17 | + <li>Updated the mime-type table for the builtin-server.</li> |
| 18 | + <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li> |
| 19 | + <li>Fixed <?php githubissuel('php/php-src', 8575); ?> by changing STDOUT, STDERR and STDIN to not close on resource destruction.</li> |
| 20 | + <li>Implement built-in web server responding without body to HEAD request on a static resource.</li> |
| 21 | + <li>Implement built-in web server responding with HTTP status 405 to DELETE/PUT/PATCH request on a static resource.</li> |
| 22 | + <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li> |
| 23 | +</ul></li> |
| 24 | +<li>COM: |
| 25 | +<ul> |
| 26 | + <li>Fixed bug <?php githubissuel('php/php-src', 8750); ?> (Can not create VT_ERROR variant type).</li> |
| 27 | +</ul></li> |
| 28 | +<li>Core: |
| 29 | +<ul> |
| 30 | + <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li> |
| 31 | + <li>Fixed bug <?php githubissuel('php/php-src', 7771); ?> (Fix filename/lineno of constant expressions).</li> |
| 32 | + <li>Fixed bug <?php githubissuel('php/php-src', 7792); ?> (Improve class type in error messages).</li> |
| 33 | + <li>Support huge pages on MacOS.</li> |
| 34 | + <li>Fixed bug <?php githubissuel('php/php-src', 8655); ?> (Casting an object to array does not unwrap refcount=1 references).</li> |
| 35 | + <li>Fixed bug <?php githubissuel('php/php-src', 8661); ?> (Nullsafe in coalesce triggers undefined variable warning).</li> |
| 36 | + <li>Fixed bug <?php githubissuel('php/php-src', 7821); ?> and <?php githubissuel('php/php-src', 8418); ?> (Allow arbitrary const expressions in backed enums).</li> |
| 37 | + <li>Fixed bug <?php githubissuel('php/php-src', 8810); ?> (Incorrect lineno in backtrace of multi-line function calls).</li> |
| 38 | + <li>Optimised code path for newly created file with the stream plain wrapper.</li> |
| 39 | + <li>Uses safe_perealloc instead of perealloc for the ZEND_PTR_STACK_RESIZE_IF_NEEDED to avoid possible overflows.</li> |
| 40 | + <li>Reduced the memory footprint of strings returned by var_export(), json_encode(), serialize(), iconv_*(), mb_ereg*(), session_create_id(), http_build_query(), strstr(), Reflection*::__toString().</li> |
| 41 | + <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li> |
| 42 | + <li>Added error_log_mode ini setting.</li> |
| 43 | + <li>Updated request startup messages.</li> |
| 44 | + <li>Fixed bug <?php githubissuel('php/php-src', 7900); ?> (Arrow function with never return type compile-time errors).</li> |
| 45 | + <li>Fixed incorrect double to long casting in latest clang.</li> |
| 46 | + <li>Added support for defining constants in traits.</li> |
| 47 | + <li>Stop incorrectly emitting false positive deprecation notice alongside unsupported syntax fatal error for `"{$g{'h'}}"`.</li> |
| 48 | + <li>Fix unexpected deprecated dynamic property warning, which occurred when exit() in finally block after an exception was thrown without catching.</li> |
| 49 | + <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li> |
| 50 | + <li>Fixed bug <?php githubissuel('php/php-src', 9227); ?> (Trailing dots and spaces in filenames are ignored).</li> |
| 51 | + <li>Fixed bug <?php githubissuel('php/php-src', 9285); ?> (Traits cannot be used in readonly classes).</li> |
| 52 | + <li>Fixed bug <?php githubissuel('php/php-src', 9186); ?> (@strict-properties can be bypassed using unserialization).</li> |
| 53 | + <li>Fixed bug <?php githubissuel('php/php-src', 9500); ?> (Using dnf type with parentheses after readonly keyword results in a parse error).</li> |
| 54 | + <li>Fixed bug <?php githubissuel('php/php-src', 9516); ?> ((A&B)|D as a param should allow AB or D. Not just A).</li> |
| 55 | + <li>Fixed observer class notify with Opcache file_cache_only=1.</li> |
| 56 | + <li>Fixes segfault with Fiber on FreeBSD i386 architecture.</li> |
| 57 | + <li>Fixed bug <?php githubissuel('php/php-src', 9655); ?> (Pure intersection types cannot be implicitly nullable) (Girgias)</li> |
| 58 | + <li>Fixed bug <?php githubissuel('php/php-src', 9589); ?> (dl() segfaults when module is already loaded).</li> |
| 59 | + <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li> |
| 60 | + <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li> |
| 61 | + <li>Fixed a bug with preloaded enums possibly segfaulting.</li> |
| 62 | + <li>Fixed bug <?php githubissuel('php/php-src', 9823); ?> (Don’t reset func in zend_closure_internal_handler).</li> |
| 63 | + <li>Fixed potential NULL pointer dereference Windows shm*() functions.</li> |
| 64 | + <li>Fix target validation for internal attributes with constructor property promotion.</li> |
| 65 | + <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li> |
| 66 | + <li>Move observer_declared_function_notify until after pass_two().</li> |
| 67 | + <li>Do not report MINIT stage internal class aliases in extensions.</li> |
| 68 | +</ul></li> |
| 69 | +<li>Curl: |
| 70 | +<ul> |
| 71 | + <li>Added support for CURLOPT_XFERINFOFUNCTION.</li> |
| 72 | + <li>Added support for CURLOPT_MAXFILESIZE_LARGE.</li> |
| 73 | + <li>Added new constants from cURL 7.62 to 7.80.</li> |
| 74 | + <li>New function curl_upkeep().</li> |
| 75 | +</ul></li> |
| 76 | +<li>Date: |
| 77 | +<ul> |
| 78 | + <li>Fixed <?php githubissuel('php/php-src', 8458); ?> (DateInterval::createFromDateString does not throw if non-relative items are present).</li> |
| 79 | + <li><?php bugfix(52015); ?> (Allow including end date in DatePeriod iterations) (Daniel Egeberg, Derick)</li> |
| 80 | + <li>idate() now accepts format specifiers "N" (ISO Day-of-Week) and "o" (ISO Year).</li> |
| 81 | + <li>Fixed bug <?php githubissuel('php/php-src', 8730); ?> (DateTime::diff miscalculation is same time zone of different type).</li> |
| 82 | + <li>Fixed bug <?php githubissuel('php/php-src', 8964); ?> (DateTime object comparison after applying delta less than 1 second).</li> |
| 83 | + <li>Fixed bug <?php githubissuel('php/php-src', 9106); ?>: (DateInterval 1.5s added to DateTimeInterface is rounded</li> |
| 84 | +</ul></li> |
| 85 | +</ul> |
| 86 | +<!-- }}} --></section> |
| 87 | + |
| 88 | + |
| 89 | + |
9 | 90 | <a id="PHP_8_1"></a>
|
10 | 91 |
|
11 | 92 | <section class="version" id="8.1.13"><!-- {{{ 8.1.13 -->
|
|
0 commit comments