php-src/NEWS

188 lines
7.0 KiB
Plaintext
Raw Normal View History

2015-07-21 22:36:36 +08:00
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2023-08-30 00:19:01 +08:00
?? ??? ????, PHP 8.4.0alpha1
2023-08-30 00:14:11 +08:00
2024-02-05 15:31:24 +08:00
- Core:
2023-12-10 00:12:48 +08:00
. Added zend_call_stack_get implementation for NetBSD, DragonFlyBSD,
Solaris and Haiku. (David Carlier)
. Enabled ifunc checks on FreeBSD from the 12.x releases. (Freaky)
. Changed the type of PHP_DEBUG and PHP_ZTS constants to bool. (haszi)
. Fixed bug GH-13142 (Undefined variable name is shortened when contains \0).
(nielsdos)
. Fixed bug GH-13178 (Iterator positions incorrect when converting packed
array to hashed). (ilutov)
. Fixed zend fiber build for solaris default mode (32 bits). (David Carlier)
. Fixed zend call stack size for macOs/arm64. (David Carlier)
2024-02-16 19:49:20 +08:00
. Added support for Zend Max Execution Timers on FreeBSD (Kévin Dunglas)
2023-08-30 00:14:11 +08:00
2024-02-05 15:31:24 +08:00
- Curl:
. Deprecated the CURLOPT_BINARYTRANSFER constant. (divinity76)
. Bumped required libcurl version to 7.61.0. (Ayesh)
2024-02-05 15:31:24 +08:00
- Date:
2023-11-22 23:25:01 +08:00
. Added DateTime[Immutable]::createFromTimestamp. (Marc Bennewitz)
. Added DateTime[Immutable]::[get|set]Microseconds. (Marc Bennewitz)
2023-11-22 23:25:01 +08:00
2024-02-05 15:31:24 +08:00
- DOM:
. Added DOMNode::compareDocumentPosition(). (nielsdos)
. Implement #53655 (Improve speed of DOMNode::C14N() on large XML documents).
(nielsdos)
. Fix cloning attribute with namespace disappearing namespace. (nielsdos)
. Implement DOM HTML5 parsing and serialization RFC. (nielsdos)
2023-11-28 15:19:46 +08:00
. Fix DOMElement->prefix with empty string creates bogus prefix. (nielsdos)
. Handle OOM more consistently. (nielsdos)
. Implemented "Improve callbacks in ext/dom and ext/xsl" RFC. (nielsdos)
- Fileinfo:
. Update to libmagic 5.45. (nielsdos)
2024-02-05 15:31:24 +08:00
- FPM:
. Implement GH-12385 (flush headers without body when calling flush()).
(nielsdos)
. Added DragonFlyBSD system to the list which set FPM_BACKLOG_DEFAULT
to SOMAXCONN. (David Carlier)
2024-02-05 15:31:24 +08:00
- FTP:
. Removed the deprecated inet_ntoa call support. (David Carlier)
2024-02-05 15:31:24 +08:00
- GD:
. Fixed detection of image formats in system gd library. (Michael Orlitzky)
2024-02-05 15:31:24 +08:00
- IMAP:
. Moved to PECL. (Derick Rethans)
- Intl:
. Added IntlDateFormatter::PATTERN constant. (David Carlier)
. Fixed Numberformatter::__construct when the locale is invalid, now
throws an exception. (David Carlier)
. Added NumberFormatter::ROUND_TOWARD_ZERO and ::ROUND_AWAY_FROM_ZERO as
aliases for ::ROUND_DOWN and ::ROUND_UP. (Jorg Sowa)
. Added NumberFormatter::ROUND_HALFODD. (Ayesh Karunaratne)
- LDAP:
. Added LDAP_OPT_X_TLS_PROTOCOL_MAX/LDAP_OPT_X_TLS_PROTOCOL_TLS1_3
constants. (StephenWall)
2024-02-05 15:31:24 +08:00
- MBString:
. Added mb_trim, mb_ltrim and mb_rtrim. (Yuya Hamada)
2024-02-05 15:31:24 +08:00
- Opcache:
. Added large shared segments support for FreeBSD. (David Carlier)
. If JIT is enabled, PHP will now exit with a fatal error on startup in case
of JIT startup initialization issues. (danog)
2024-02-05 15:31:24 +08:00
- OpenSSL:
. Fixed bug #80269 (OpenSSL sets Subject wrong with extraattribs parameter).
(Jakub Zelenka)
. Implement request #48520 (openssl_csr_new - allow multiple values in DN).
(Jakub Zelenka)
. Introduced new serial_hex parameter to openssl_csr_sign. (Jakub Zelenka,
Florian Sowade)
. Added X509_PURPOSE_OCSP_HELPER and X509_PURPOSE_TIMESTAMP_SIGN constants.
(Vincent Jardin)
- Output:
. Clear output handler status flags during handler initialization. (haszi)
2024-02-05 15:31:24 +08:00
- PDO:
. Fixed setAttribute and getAttribute. (SakiTakamachi)
. Implemented PDO driver-specific subclasses RFC. (danack, kocsismate)
2024-02-05 15:31:24 +08:00
- PDO_DBLIB:
. Fixed setAttribute and getAttribute. (SakiTakamachi)
. Added class PdoDbLib (danack, kocsismate)
2024-02-05 15:31:24 +08:00
- PDO_FIREBIRD:
. Fixed setAttribute and getAttribute. (SakiTakamachi)
. Feature: Add transaction isolation level and mode settings to pdo_firebird.
(SakiTakamachi)
. Added class PdoFirebird. (danack, kocsismate)
2024-02-05 15:31:24 +08:00
- PDO_MYSQL:
. Fixed setAttribute and getAttribute. (SakiTakamachi)
. Added class PdoMysql. (danack, kocsismate)
2024-02-05 15:31:24 +08:00
- PDO_ODBC:
. Added class PdoOdbc. (danack, kocsismate)
2024-02-05 15:31:24 +08:00
- PDO_PGSQL:
. Fixed GH-12423, DSN credentials being prioritized over the user/password
PDO constructor arguments. (SakiTakamachi)
. Fixed native float support with pdo_pgsql query results. (Yurunsoft)
. Added class PdoPgsql. (danack, kocsismate)
2024-02-05 15:31:24 +08:00
- PDO_SQLITE:
. Added class PdoSqlite. (danack, kocsismate)
2024-02-05 15:31:24 +08:00
- PGSQL:
. Added the possibility to have no conditions for pg_select. (OmarEmaraDev)
2024-02-05 15:31:24 +08:00
- Phar:
. Fixed bug GH-12532 (PharData created from zip has incorrect timestamp).
(nielsdos)
2024-02-05 15:31:24 +08:00
- POSIX:
. Added POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants. (Jakub Zelenka)
2024-02-05 15:31:24 +08:00
- PSpell:
. Moved to PECL. (Derick Rethans)
2024-02-05 15:31:24 +08:00
- Reflection:
. Implement GH-12908 (Show attribute name/class in ReflectionAttribute dump).
(nielsdos)
2024-02-05 15:31:24 +08:00
- SimpleXML:
. Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
within foreach). (nielsdos)
. Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a
foreach). (nielsdos)
. Fixed bug #55098 (SimpleXML iteration produces infinite loop). (nielsdos)
. Fix signature of simplexml_import_dom(). (nielsdos)
2024-02-05 15:31:24 +08:00
- Sockets:
. Added multicast group support for ipv4 on FreeBSD. (jonathan@tangential.ca)
2024-02-05 15:31:24 +08:00
- SNMP:
. Removed the deprecated inet_ntoa call support. (David Carlier)
2024-02-05 15:31:24 +08:00
- SOAP:
. Add support for clark notation for namespaces in class map. (lxShaDoWxl)
. Mitigate #51561 (SoapServer with a extented class and using sessions,
lost the setPersistence()). (nielsdos)
. Fixed bug #49278 (SoapClient::__getLastResponseHeaders returns NULL if
wsdl operation !has output). (nielsdos)
. Fixed bug #44383 (PHP DateTime not converted to xsd:datetime). (nielsdos)
2024-02-05 15:31:24 +08:00
- Sockets:
. Removed the deprecated inet_ntoa call support. (David Carlier)
. Added the SO_EXECLUSIVEADDRUSE windows constant. (David Carlier)
2024-02-05 15:31:24 +08:00
- Sodium:
. Add support for AEGIS-128L and AEGIS-256 (jedisct1)
. Enable AES-GCM on aarch64 with the ARM crypto extensions (jedisct1)
2024-02-05 15:31:24 +08:00
- Standard:
. Implement GH-12188 (Indication for the int size in phpinfo()). (timwolla)
. Partly fix GH-12143 (Incorrect round() result for 0.49999999999999994).
(timwolla)
. Fix GH-12252 (round(): Validate the rounding mode). (timwolla)
. Increase the default BCrypt cost to 12. (timwolla)
2023-11-05 21:06:50 +08:00
. Fixed bug GH-12592 (strcspn() odd behaviour with NUL bytes and empty mask).
(nielsdos)
. Removed the deprecated inet_ntoa call support. (David Carlier)
. Cast large floats that are within int range to int in number_format so
the precision is not lost. (Marc Bennewitz)
. Add support for 4 new rounding modes to the round() function. (Jorg Sowa)
. debug_zval_dump() now indicates whether an array is packed. (Max Semenik)
. Fix GH-12143 (Optimize round). (SakiTakamachi)
2024-02-05 15:31:24 +08:00
- XML:
. Added XML_OPTION_PARSE_HUGE parser option. (nielsdos)
2024-02-05 15:31:24 +08:00
- XSL:
. Implement request #64137 (XSLTProcessor::setParameter() should allow both
quotes to be used). (nielsdos)
. Implemented "Improve callbacks in ext/dom and ext/xsl" RFC. (nielsdos)
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>