Skip to content

Commit

Permalink
πŸ“πŸ› Fix broken refactor @ published changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Nov 16, 2023
1 parent b1484c3 commit 8c047e5
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,20 @@ Features
--------

- Added ``URL.joinpath(*elements)``, to create a new URL appending multiple path elements. (`#704 <https://github.com/aio-libs/yarl/issues/704>`_)
- Made :py:meth:`URL.__truediv__` return ``NotImplemented`` if called with an unsupported type β€” by :user:`michaeljpeters`. (`#832 <https://github.com/aio-libs/yarl/issues/832>`_)
- Made ``URL.__truediv__()`` return ``NotImplemented`` if called with an
unsupported type β€” by :user:`michaeljpeters`.
(`#832 <https://github.com/aio-libs/yarl/issues/832>`_)


Bugfixes
--------

- Path normalisation for absolute URLs no longer raises a ValueError exception
when `..` segments would otherwise go beyond the URL path root. (`#536 <https://github.com/aio-libs/yarl/issues/536>`_)
when ``..`` segments would otherwise go beyond the URL path root.
(`#536 <https://github.com/aio-libs/yarl/issues/536>`_)
- Fixed an issue with update_query() not getting rid of the query when argument is None. (`#792 <https://github.com/aio-libs/yarl/issues/792>`_)
- Added some input restrictions on with_port() function to prevent invalid boolean inputs or out of valid port inputs; handled incorrect 0 port representation. (`#793 <https://github.com/aio-libs/yarl/issues/793>`_)
- Made :py:meth:`URL.build` raise a :py:exc:`TypeError` if the ``host`` argument is :py:data:`None` β€” by :user:`paulpapacz`. (`#808 <https://github.com/aio-libs/yarl/issues/808>`_)
- Made :py:meth:`~yarl.URL.build` raise a :py:exc:`TypeError` if the ``host`` argument is :py:data:`None` β€” by :user:`paulpapacz`. (`#808 <https://github.com/aio-libs/yarl/issues/808>`_)
- Fixed an issue with ``update_query()`` getting rid of the query when the argument
is empty but not ``None``. (`#845 <https://github.com/aio-libs/yarl/issues/845>`_)

Expand Down Expand Up @@ -89,7 +92,8 @@ Features
Improved Documentation
----------------------

- Fixed broken internal references to :meth:`~URL.human_repr`. (`#665 <https://github.com/aio-libs/yarl/issues/665>`_)
- Fixed broken internal references to :meth:`~yarl.URL.human_repr`.
(`#665 <https://github.com/aio-libs/yarl/issues/665>`_)
- Fixed broken external references to :doc:`multidict:index` docs. (`#665 <https://github.com/aio-libs/yarl/issues/665>`_)


Expand Down Expand Up @@ -128,7 +132,8 @@ Bugfixes
Features
--------

- Add `__bytes__()` magic method so that `bytes(url)` will work and use optimal ASCII encoding. (`#582 <https://github.com/aio-libs/yarl/issues/582>`_)
- Add ``__bytes__()`` magic method so that ``bytes(url)`` will work and use optimal ASCII encoding.
(`#582 <https://github.com/aio-libs/yarl/issues/582>`_)
- Started shipping platform-specific arm64 wheels for Apple Silicon. (`#622 <https://github.com/aio-libs/yarl/issues/622>`_)
- Started shipping platform-specific wheels with the ``musl`` tag targeting typical Alpine Linux runtimes. (`#622 <https://github.com/aio-libs/yarl/issues/622>`_)
- Added support for Python 3.10. (`#622 <https://github.com/aio-libs/yarl/issues/622>`_)
Expand Down Expand Up @@ -243,7 +248,7 @@ Features

- Convert host to lowercase on URL building.
`#386 <https://github.com/aio-libs/yarl/issues/386>`_
- Allow using ``mod`` operator (`%`) for updating query string (an alias for ``update_query()`` method).
- Allow using ``mod`` operator (``%``) for updating query string (an alias for ``update_query()`` method).
`#435 <https://github.com/aio-libs/yarl/issues/435>`_
- Allow use of sequences such as ``list`` and ``tuple`` in the values
of a mapping such as ``dict`` to represent that a key has many values::
Expand All @@ -252,7 +257,7 @@ Features
assert url.with_query({"a": [1, 2]}) == URL("http://example.com/?a=1&a=2")

`#443 <https://github.com/aio-libs/yarl/issues/443>`_
- Support URL.build() with scheme and path (creates a relative URL).
- Support ``URL.build()`` with scheme and path (creates a relative URL).
`#464 <https://github.com/aio-libs/yarl/issues/464>`_
- Cache slow IDNA encode/decode calls.
`#476 <https://github.com/aio-libs/yarl/issues/476>`_
Expand All @@ -271,7 +276,7 @@ Bugfixes
`#409 <https://github.com/aio-libs/yarl/issues/409>`_
- Fix a bug where query component, passed in a form of mapping or sequence, is unquoted in unexpected way.
`#426 <https://github.com/aio-libs/yarl/issues/426>`_
- Hide `Query` and `QueryVariable` type aliases in `__init__.pyi`, now they are prefixed with underscore.
- Hide ``Query`` and ``QueryVariable`` type aliases in ``__init__.pyi``, now they are prefixed with underscore.
`#431 <https://github.com/aio-libs/yarl/issues/431>`_
- Keep ipv6 brackets after updating port/user/password.
`#451 <https://github.com/aio-libs/yarl/issues/451>`_
Expand All @@ -286,7 +291,7 @@ Bugfixes
Features
--------

- Workaround for missing `str.isascii()` in Python 3.6
- Workaround for missing ``str.isascii()`` in Python 3.6
`#389 <https://github.com/aio-libs/yarl/issues/389>`_


Expand Down

0 comments on commit 8c047e5

Please sign in to comment.