\Rowbot\URL\URL and \Rowbot\URL\URLSearchParams now implement \Stringable
\Rowbot\URL\URLSearchParams constructor now has a native typehint of array|object|string
\Rowbot\URL\URLSearchParams now has a size getter per whatwg/url#734
\Rowbot\URL\URLSearchParams now also implements \Countable
Added \Rowbot\URL\URL::canParse(), which returns a boolean if parsing was successful, per whatwg/url#713 and whatwg/url#763
Add value parameter to \Rowbot\URL\URLSearchParams::has() and \Rowbot\URL\URLSearchParams::delete() per whatwg/url#335 and whatwg/url#735
Added \Rowbot\URL\URL::parse(), which will return the parsed URL or null on failure, avoiding needing a try statement per whatwg/url#372 and whatwg/url#825
Changed
Bump minimum PHP version to 8.1
Lone surrogate code points are no longer treated differently from other invalid code points
\Rowbot\URL\String\Exception\UConverterException has been renamed to \Rowbot\URL\String\Exception\EncodingException
Moved 32-bit tests to GitHub Actions from Appveyor
\Rowbot\URL\URL's $url and $base parameters now also accept \Stringable
\Rowbot\URL\URLSearchParams::current() now returns null when the iterator is invalid instead of ['', ''], which better matches the expected behavior
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 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)
Updates the requirements on rowbot/url to permit the latest version.
Release notes
Sourced from rowbot/url's releases.
Changelog
Sourced from rowbot/url's changelog.
... (truncated)
Commits
b81e4b4
Prepare 4.0.0e83eb0b
Add demo link to readme5932aaf
Update CHANGELOG5a6cba1
Use more generic name for exception to avoid having to change again in the fu...744b9ee
Fix disabling JIT on different PHP versions35574fd
Revert "Workaround imagick not compiling in actions"cb345e9
Workaround imagick not compiling in actions6b41df7
Don't cache composer dependenciesc1b7ec7
Rename class to make it clearer9e163bc
Add rule to detect implicit nullable default valuesDependabot 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