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.
Improved performance of many :class:~yarl.URL methods -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:1396, :issue:1397, :issue:1398.
Improved performance of passing a dict or str to :py:meth:~yarl.URL.extend_query -- by :user:bdraco.
Related issues and pull requests on GitHub:
:issue:1401.
1.17.0
(2024-10-28)
Features
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.
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.11.1 to 1.17.1.
Release notes
Sourced from yarl's releases.
... (truncated)
Changelog
Sourced from yarl's changelog.
... (truncated)
Commits
f7b83d7
Release 1.17.1 (#1400)5c2af26
Small cleanups toencode_url
(#1405)0113797
Fix grammar in #1396 changelog fragment (#1404)fb25462
Add missing type for_val
to_InternalURLCache
TypedDict
(#1403)979e06a
Additional small cleanups to as a followup to removingself._val
(#1402)71d171e
Add a fast path toget_str_query
fordict
andstr
(#1401)8ce8d67
Small cleanups as a followup to removingself._val
(#1399)07798bf
Avoid creation of tuples to create newURL
objects (#1398)3f2c26f
Replaceself._val
with separate properties (#1397)41af4a3
Complete removal ofSplitResult
as an internal (#1396)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