Added :attr:~yarl.URL.host_port_subcomponent which returns the :rfc:3986#section-3.2.2 host and :rfc:3986#section-3.2.3 port subcomponent -- by :user:bdraco.
Removals and backward incompatible breaking changes
Migrated to using a single cache for encoding hosts -- by :user:bdraco.
Passing ip_address_size and host_validate_size to :py:meth:~yarl.cache_configure is deprecated in favor of the new encode_host_size parameter and will be removed in a future release. For backwards compatibility, the old parameters affect the encode_host cache size.
Related issues and pull requests on GitHub:#1348, #1357, #1363.
Miscellaneous internal changes
Improved performance of constructing :class:~yarl.URL -- by :user:bdraco.
Added :attr:~yarl.URL.host_port_subcomponent which returns the :rfc:3986#section-3.2.2 host and :rfc:3986#section-3.2.3 port subcomponent -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:1375.
1.16.0
(2024-10-21)
Bug fixes
Fixed blocking I/O to load Python code when creating a new :class:~yarl.URL with non-ascii characters in the network location part -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:1342.
Removals and backward incompatible breaking changes
Migrated to using a single cache for encoding hosts -- by :user:bdraco.
Passing ip_address_size and host_validate_size to :py:meth:~yarl.cache_configure is deprecated in favor of the new encode_host_size parameter and will be removed in a future release. For backwards compatibility, the old parameters affect the encode_host cache size.
Related issues and pull requests on GitHub:
:issue:1348, :issue:1357, :issue:1363.
Miscellaneous internal changes
Improved performance of constructing :class:~yarl.URL -- by :user:bdraco.
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.9.4 to 1.17.0.
Release notes
Sourced from yarl's releases.
... (truncated)
Changelog
Sourced from yarl's changelog.
... (truncated)
Commits
6c36cfb
Release 1.17.0 (#1393)e9fef81
Revert URL subtraction (#1391)6a2a90a
Add xfail tests for URL subtraction with empty segments (#1390)f0b8db7
Add more URL subtraction coverage (#1389)7a272d2
Add benchmark for subtracting long URL paths (#1387)cb550b7
Add more URL subtraction tests (#1385)3a14e46
Add missing FUNDING.yml (#1383)9348e88
Improve performance of calculate_relative_path (#1382)ef0b5e3
Add coverage for invalid IDNA A label (#1380)cc1ff18
Add support for host_port_subcomponent (#1375)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