From 02b94556cf43f003ad5fab9ff3d5de5ffbb07ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Tue, 15 Jul 2025 22:45:59 +0200 Subject: [PATCH] Add missing news and upgrading notes for ext/uri [skip ci] --- NEWS | 6 ++++++ UPGRADING | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/NEWS b/NEWS index a06ac7f8525..6929e7b2d2f 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,12 @@ PHP NEWS . socket_set_option for multicast context throws a ValueError when the socket family is not of AF_INET/AF_INET6 family. (David Carlier) +- URI: + . Empty host handling is fixed. (Máté Kocsis) + . Error handling of Uri\WhatWg\Url::withHost() is fixed when the input + contains a port. Now, it triggers an exception; previously, the error + was silently swallowed. (Máté Kocsis) + 17 Jul 2025, PHP 8.5.0alpha2 - Core: diff --git a/UPGRADING b/UPGRADING index 87d08e12601..2a829755171 100644 --- a/UPGRADING +++ b/UPGRADING @@ -460,6 +460,13 @@ PHP 8.5 UPGRADE NOTES across multiple PHP requests. RFC: https://wiki.php.net/rfc/curl_share_persistence_improvement +- URI: + . Uri\UriException, Uri\InvalidUriException, Uri\UriComparisonMode, + Uri\Rfc3986\Uri, Uri\WhatWg\InvalidUrlException, + Uri\WhatWg\UrlValidationErrorType, Uri\WhatWg\UrlValidationError, + and Uri\WhatWg\Url are added. + RFC: https://wiki.php.net/rfc/url_parsing_api + ======================================== 8. Removed Extensions and SAPIs ======================================== @@ -483,6 +490,11 @@ PHP 8.5 UPGRADE NOTES library that was separated from ext/dom for being reused among other extensions. The new extension is not directly exposed to userland. +- URI: + . An always enabled uri extension is added that can be used for handling + URIs and URLs according to RFC 3986 and WHATWG URL. + RFC: https://wiki.php.net/rfc/url_parsing_api + - PCRE: . Upgraded to pcre2lib from 10.44 to 10.45.