Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 19, 2025

Bumps league/uri-components from 7.5.1 to 7.6.0.

Release notes

Sourced from league/uri-components's releases.

version 7.6.0

Added

  • UriComponentInterface::equals method
  • FragmentDirectives support
  • Component::when conditional method to ease component building logic.
  • URLSearchParams::when conditional method to ease component building logic.
  • Modifier::prependQueryParameters returns a modifier with prepended query parameters
  • Modifier::replaceQueryParameter returns a modifier with part of its query string replaced
  • Modifier::replaceQueryPair returns a modifier with part of its query string replaced
  • Modifier::when conditional method to ease component building logic.
  • Modifier::normalizeIp returns the host normalized for IPv6 and IPv4 addresses
  • Modifier::normalizeHost returns the host as normalized by the WHATWG algorithm
  • Modifier::with* method from the underlying Uri object are proxy to improve DX.
  • Modifier::wrap static method which wraps the underlying URI object used by the Modifier class.
  • Modifier::unwrap method which returns the underlying URI object used by the Modifier class.
  • Modifier::prefixQueryPairs and Modifier::prefixQueryParameters to prefix Query using the pair key or the parameter names
  • Modifier::toMarkdownAnchor returns the Markdown string representation of the anchor tag with the current instance as its href attribute.
  • Modifier::toHtmlAnchor returns the HTML string representation of the anchor tag with the current instance as its href attribute.
  • tryNew named constructor added to all classes to return a new instance on success or null on failure.
  • Query::decoded the string representation of the component decoded.
  • Query::normalized
  • Query::fromPairs and Query::fromVariable takes a optional $prefix parameter to update the query pair keys or parameter names
  • Query::indexOf and Query::replace
  • Query::mergeParameters
  • Query::replaceParameter
  • Query::replacePair
  • Query::prepend
  • URLSearchParams::decoded the string representation of the component decoded.
  • Path::nornalized
  • Fragment::normalized
  • HierarchicalPath::normalized
  • Datapath::normalized
  • Support for Uri\Rfc3986\Uri
  • Support for Uri\WhatWg\Url
  • Port::defaultSchemes
  • Port::defaultScheme
  • Scheme::isWhatWgSpecial
  • Scheme::defaultPort
  • Scheme::hasDefaultPort

Fixed

  • Modifier host related method return host in IDN form or ASCII form depending on the URI input format
  • UserInfo now can be constructed and mutated even when the user component is not present. It was throwing an exception before.

Deprecated

  • Modifier::getIdnUriString use Modifier::toDisplayString instead
  • Modifier::getUriString use Modifier::toString instead

... (truncated)

Changelog

Sourced from league/uri-components's changelog.

7.6.0 - 2025-11-18

Added

  • UriComponentInterface::equals method
  • FragmentDirectives support
  • Component::when conditional method to ease component building logic.
  • URLSearchParams::when conditional method to ease component building logic.
  • Modifier::prependQueryParameters returns a modifier with prepended query parameters
  • Modifier::replaceQueryParameter returns a modifier with part of its query string replaced
  • Modifier::replaceQueryPair returns a modifier with part of its query string replaced
  • Modifier::when conditional method to ease component building logic.
  • Modifier::normalizeIp returns the host normalized for IPv6 and IPv4 addresses
  • Modifier::normalizeHost returns the host as normalized by the WHATWG algorithm
  • Modifier::with* method from the underlying Uri object are proxy to improve DX.
  • Modifier::wrap static method which wraps the underlying URI object used by the Modifier class.
  • Modifier::unwrap method which returns the underlying URI object used by the Modifier class.
  • Modifier::prefixQueryPairs and Modifier::prefixQueryParameters to prefix Query using the pair key or the parameter names
  • Modifier::toMarkdownAnchor returns the Markdown string representation of the anchor tag with the current instance as its href attribute.
  • Modifier::toHtmlAnchor returns the HTML string representation of the anchor tag with the current instance as its href attribute.
  • tryNew named constructor added to all classes to return a new instance on success or null on failure.
  • Query::decoded the string representation of the component decoded.
  • Query::normalized
  • Query::fromPairs and Query::fromVariable takes a optional $prefix parameter to update the query pair keys or parameter names
  • Query::indexOf and Query::replace
  • Query::mergeParameters
  • Query::replaceParameter
  • Query::replacePair
  • Query::prepend
  • URLSearchParams::decoded the string representation of the component decoded.
  • Path::nornalized
  • Fragment::normalized
  • HierarchicalPath::normalized
  • Datapath::normalized
  • Support for Uri\Rfc3986\Uri
  • Support for Uri\WhatWg\Url
  • Port::defaultSchemes
  • Port::defaultScheme
  • Scheme::isWhatWgSpecial
  • Scheme::defaultPort
  • Scheme::hasDefaultPort

Fixed

  • Modifier host related method return host in IDN form or ASCII form depending on the URI input format
  • UserInfo now can be constructed and mutated even when the user component is not present. It was throwing an exception before.

Deprecated

  • Modifier::getIdnUriString use Modifier::toDisplayString instead

... (truncated)

Commits
  • ffa1215 Prepare release
  • 6245863 Update Scheme and Port documentation and public API
  • 5a659bc Refactor Scheme component
  • 02631ea Refactor Scheme component
  • 363765b Adding and using UriScheme and SchemeType Enum
  • c6d022f Adding Query::replaceParameter and mergeParameters methods
  • e9a2c9c Adding Query::prepend
  • 0f38dbf Adding Query::replace and Query::indexOf
  • f3f1e96 Improve documentation
  • 3878e64 Fix resolution issue in UriString
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [league/uri-components](https://github.com/thephpleague/uri-components) from 7.5.1 to 7.6.0.
- [Release notes](https://github.com/thephpleague/uri-components/releases)
- [Changelog](https://github.com/thephpleague/uri-components/blob/master/CHANGELOG.md)
- [Commits](thephpleague/uri-components@7.5.1...7.6.0)

---
updated-dependencies:
- dependency-name: league/uri-components
  dependency-version: 7.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Nov 19, 2025
@github-actions github-actions bot enabled auto-merge (rebase) November 19, 2025 11:02
@github-actions github-actions bot merged commit 055d82a into main Nov 19, 2025
6 checks passed
@dependabot dependabot bot deleted the dependabot/composer/league/uri-components-7.6.0 branch November 19, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants