Skip to content

Commit 02b9455

Browse files
committed
Add missing news and upgrading notes for ext/uri
[skip ci]
1 parent 9673773 commit 02b9455

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ PHP NEWS
66
. socket_set_option for multicast context throws a ValueError
77
when the socket family is not of AF_INET/AF_INET6 family. (David Carlier)
88

9+
- URI:
10+
. Empty host handling is fixed. (Máté Kocsis)
11+
. Error handling of Uri\WhatWg\Url::withHost() is fixed when the input
12+
contains a port. Now, it triggers an exception; previously, the error
13+
was silently swallowed. (Máté Kocsis)
14+
915
17 Jul 2025, PHP 8.5.0alpha2
1016

1117
- Core:

UPGRADING

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,13 @@ PHP 8.5 UPGRADE NOTES
460460
across multiple PHP requests.
461461
RFC: https://wiki.php.net/rfc/curl_share_persistence_improvement
462462

463+
- URI:
464+
. Uri\UriException, Uri\InvalidUriException, Uri\UriComparisonMode,
465+
Uri\Rfc3986\Uri, Uri\WhatWg\InvalidUrlException,
466+
Uri\WhatWg\UrlValidationErrorType, Uri\WhatWg\UrlValidationError,
467+
and Uri\WhatWg\Url are added.
468+
RFC: https://wiki.php.net/rfc/url_parsing_api
469+
463470
========================================
464471
8. Removed Extensions and SAPIs
465472
========================================
@@ -483,6 +490,11 @@ PHP 8.5 UPGRADE NOTES
483490
library that was separated from ext/dom for being reused among other
484491
extensions. The new extension is not directly exposed to userland.
485492

493+
- URI:
494+
. An always enabled uri extension is added that can be used for handling
495+
URIs and URLs according to RFC 3986 and WHATWG URL.
496+
RFC: https://wiki.php.net/rfc/url_parsing_api
497+
486498
- PCRE:
487499
. Upgraded to pcre2lib from 10.44 to 10.45.
488500

0 commit comments

Comments
 (0)