aio-libs/yarl (yarl)
### [`v1.9.11`](https://redirect.github.com/aio-libs/yarl/compare/v1.9.10...v1.9.11)
[Compare Source](https://redirect.github.com/aio-libs/yarl/compare/v1.9.10...v1.9.11)
### [`v1.9.10`](https://redirect.github.com/aio-libs/yarl/releases/tag/v1.9.10): 1.9.10
[Compare Source](https://redirect.github.com/aio-libs/yarl/compare/v1.9.9...v1.9.10)
## Bug fixes
- :meth:`URL.join() ` has been changed to match
:rfc:`3986` and align with
:meth:`/ operation ` and :meth:`URL.joinpath() `
when joining URLs with empty segments.
Previously :py:func:`urllib.parse.urljoin` was used,
which has known issues with empty segments
(`python/cpython#84774 `\_).
Due to the semantics of :meth:`URL.join() `, joining an
URL with scheme requires making it relative, prefixing with `./`.
.. code-block:: pycon
> > > URL("https://web.archive.org/web/").join(URL("./https://github.com/aio-libs/yarl"))
> > > URL('https://web.archive.org/web/https://github.com/aio-libs/yarl')
Empty segments are honored in the base as well as the joined part.
.. code-block:: pycon
> > > URL("https://web.archive.org/web/https://").join(URL("github.com/aio-libs/yarl"))
> > > URL('https://web.archive.org/web/https://github.com/aio-libs/yarl')
\-- by :user:`commonism`
This change initially appeared in 1.9.5 but was reverted in 1.9.6 to resolve a problem with query string handling.
*Related issues and pull requests on GitHub:*
[#1039](https://redirect.github.com/aio-libs/yarl/issues/1039), [#1082](https://redirect.github.com/aio-libs/yarl/issues/1082).
## Features
- Added :attr:`~yarl.URL.absolute` which is now preferred over `URL.is_absolute()` -- by :user:`bdraco`.
*Related issues and pull requests on GitHub:*
[#1100](https://redirect.github.com/aio-libs/yarl/issues/1100).
***
### [`v1.9.9`](https://redirect.github.com/aio-libs/yarl/compare/v1.9.8...v1.9.9)
[Compare Source](https://redirect.github.com/aio-libs/yarl/compare/v1.9.8...v1.9.9)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.9.8
->1.9.11
Release Notes
aio-libs/yarl (yarl)
### [`v1.9.11`](https://redirect.github.com/aio-libs/yarl/compare/v1.9.10...v1.9.11) [Compare Source](https://redirect.github.com/aio-libs/yarl/compare/v1.9.10...v1.9.11) ### [`v1.9.10`](https://redirect.github.com/aio-libs/yarl/releases/tag/v1.9.10): 1.9.10 [Compare Source](https://redirect.github.com/aio-libs/yarl/compare/v1.9.9...v1.9.10) ## Bug fixes - :meth:`URL.join()Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.