Skip to content

Commit

Permalink
Release 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Sep 26, 2024
1 parent 3273936 commit eaae7fd
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 10 deletions.
36 changes: 36 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,42 @@ Changelog

.. towncrier release notes start
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`.


----


1.12.1
======

Expand Down
1 change: 0 additions & 1 deletion CHANGES/1157.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/1158.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/1159.feature.rst

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/880.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/954.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion yarl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
cache_info,
)

__version__ = "1.12.2.dev0"
__version__ = "1.13.0"

__all__ = (
"URL",
Expand Down

0 comments on commit eaae7fd

Please sign in to comment.