Started rejecting ASCII hostnames with invalid characters. For host strings that
look like authority strings, the exception message includes advice on what to do
instead -- by :user:mjpieters.
Related issues and pull requests on GitHub:#880, #954.
Fixed IPv6 addresses missing brackets when the :class:~yarl.URL was converted to a string -- by :user:bdraco.
Related issues and pull requests on GitHub:#1157, #1158.
Features
Added :attr:~yarl.URL.host_subcomponent which returns the :rfc:3986#section-3.2.2 host subcomponent -- by :user:bdraco.
The only current practical difference between :attr:~yarl.URL.raw_host and :attr:~yarl.URL.host_subcomponent is that IPv6 addresses are returned bracketed.
Improved performance of calling :py:meth:~yarl.URL.build with authority -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:1163.
1.13.0
(2024-09-26)
Bug fixes
Started rejecting ASCII hostnames with invalid characters. For host strings that
look like authority strings, the exception message includes advice on what to do
instead -- by :user:mjpieters.
Related issues and pull requests on GitHub:
:issue:880, :issue:954.
Fixed IPv6 addresses missing brackets when the :class:~yarl.URL was converted to a string -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:1157, :issue:1158.
Features
Added :attr:~yarl.URL.host_subcomponent which returns the :rfc:3986#section-3.2.2 host subcomponent -- by :user:bdraco.
The only current practical difference between :attr:~yarl.URL.raw_host and :attr:~yarl.URL.host_subcomponent is that IPv6 addresses are returned bracketed.
Related issues and pull requests on GitHub:
:issue:1159.
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| yarl | [< 1.10, > 1.9.3] |
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)
Bumps yarl from 1.12.1 to 1.13.1.
Release notes
Sourced from yarl's releases.
Changelog
Sourced from yarl's changelog.
... (truncated)
Commits
4a77391
Release 1.13.107b2e84
Improve performance of building URLs with authority (#1163)38ef0f9
Increment version to 1.13.1.dev0 (#1162)eaae7fd
Release 1.13.03273936
Validate ASCII host values (#954)7128872
Fix round-trip of IPv6 addresses when converting to a string (#1158)7d013d2
Addhost_subcomponent
property (#1159)ecb100d
Add versionadded to path_safe (#1160)bf2ced7
Increment verson to 1.12.2.dev0 (#1155)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | yarl | [< 1.10, > 1.9.3] |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