Repository navigation
Releases: thephpleague/uri
Releases · thephpleague/uri
Release list
version 6.5.0
Added
Uri::toStringas a clean method to return URI string representation.IDNAconversion in now normalize using theUri-Interfacepackage classes
Fixed
- conversion host component from ASCII to unicode no longer throw
Deprecated
- None
Remove
- Support for PHP7.2
version 6.4.0
version 6.3.0
Added
UriInfo::getOriginto returns the URI origin as described in the WHATWG URL Living standard specificationUriTemplate\Template,UriTemplate\Expression,UriTemplate\VarSpecifier,UriTemplate\VariableBagto
improveUriTemplateimplementation.- Added early support for PHP8
Fixed
UriTemplatecomplete rewrite by reducing deep nested array usage.- Exception misleading message see issue #167
Uri::withSchemeUri validation failed to catch the empty string as an invalid scheme. #171
Deprecated
- Nothing
Remove
- None
version 6.2.1
Added
- None
Fixed
- Bugfix
UriTemplate::expandto comply with expansion rules for undefined variables #161 thanks Gabe Sullice - Improve package testing settings and environment.
Deprecated
- Nothing
Remove
- None
version 6.2.0
Added
- None
Fixed
- None
Deprecated
- Nothing
Remove
- Hard dependencies on the
ext-mbstringand theext-fileinfoPHP extensions #154 thanks Nicolas Grekas
version 6.1.1
Added
- Nothing
Fixed
League\Uri\UriTemplatevariables validation and normalization improved
Deprecated
- Nothing
Remove
- Nothing
version 6.1.0
version 6.0.1
Added
- Nothing
Fixed
Urishould not depend onintlextension if the host is in its ascii form #141
Deprecated
- Nothing
Remove
- Nothing
version 6.0.0
Added
League\Uri\UriInfo: to get RFC3986 information from an URI objectLeague\Uri\UriResolver: to resolve or relativize an URI objectLeague\Uri\UriString: to parse or build an URL into or from its componentsLeague\Uri\Uri::createFromBaseUrinamed constructorLeague\Uri\Uri::createFromDataPathnamed constructorLeague\Uri\Uri::createFromPsr7named constructorLeague\Uri\Uri::createFromUnixPathnamed constructorLeague\Uri\Uri::createFromWindowsPathnamed constructorLeague\Uri\Http::createFromBaseUrinamed constructor
Fixed
- Improve parsing and building URI
- All URI object are now finals and supports parameter type widening
League\Uri\Uriimplements theJsonSerializableinterfaceLeague\Uri\Httpimplements theJsonSerializableinterface
Deprecated
- None
Remove
- support for PHP7.1 and PHP7.0
createfunction defined in theLeague\Urinamespace replaced byLeague\Uri\Uri::createFromBaseUriLeague\Uri\Factoryreplaced byLeague\Uri\UriLeague\Uri\Datareplaced byLeague\Uri\UriLeague\Uri\Filereplaced byLeague\Uri\UriLeague\Uri\Ftpreplaced byLeague\Uri\UriLeague\Uri\Wsreplaced byLeague\Uri\UriLeague\Uri\UriExceptionreplaced byLeague\Uri\Contract\UriExceptionLeague\Uri\AbstractUriinternal, replaced byLeague\Uri\UriLeague\Uri\Schemesnamespace and all classes insideLeague\Uri\Urino longer implementsLeague\Uri\UriInterface
version 5.3.0
See packages release notes for more informations
Added
- IPvFuture support
Fixed
- Adding PHPStan
- Improve RFC3986 compliance
- Improve performance
Remove
- remove
mbstringextension requirement