You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: uri/CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ All Notable changes to `League\Uri` will be documented in this file
6
6
7
7
### Added
8
8
9
-
-Added methods to align with the upcoming `Uri\Rfc3986Uri` PHP native class (see: https://wiki.php.net/rfc/url_parsing_api#proposal)
9
+
-`Uri::parse` returns a new `Uri` instance on success or null on failure (ie: a Relax version of `Uri::fromBaseUri` and `Uri::new`) that mimics the behaviour of the upcoming native PHP URI parse method.
10
10
-`Uri::tryNew` returns a new `Uri` instance on success or null on failure (ie: a Relax version of `Uri::new`).
11
11
-`Http::tryNew` returns a new `Uri` instance on success or null on failure (ie: a Relax version of `Http::new`).
12
12
-`Http::when` conditional method to ease component building logic.
@@ -16,6 +16,10 @@ All Notable changes to `League\Uri` will be documented in this file
16
16
-`Uri::fromMarkdownAnchor`
17
17
-`Uri::fromHtmlAnchor`
18
18
-`UriTemplate` implements the `Stringable` interface
19
+
-`Uri::resolve` returns a new `Uri` instance resolve against the current instance.
20
+
-`Uri::normalize` returns a new `Uri` instance with a full “normalized-decoded” representation: The URI is normalized (when applicable), and components are percent-decoded. Normalization may contain destructive operation.
21
+
-`Uri` and `Http` classes implement a serialize mechanism to safely serialize and unserialize the instance
22
+
- Dependency to `psr/http-factory` package which is required for the package.
0 commit comments