Path to this page:
Subject: CVS commit: pkgsrc/www/py-yarl
From: Adam Ciarcinski
Date: 2020-07-27 19:25:02
Message id: 20200727172503.096AEFB28@cvs.NetBSD.org
Log Message:
py-yarl: updated to 1.5.0
1.5.0:
Features
- Convert host to lowercase on URL building.
- Allow using ``mod`` operator (`%`) for updating query string (an alias for \
``update_query()`` method).
- 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::
url = URL("http://example.com")
assert url.with_query({"a": [1, 2]}) == \
URL("http://example.com/?a=1&a=2")
- Support URL.build() with scheme and path (creates a relative URL).
- Cache slow IDNA encode/decode calls.
- Add ``@final`` / ``Final`` type hints
- Support URL authority/raw_authority properties and authority argument of \
``URL.build()`` method.
- Hide the library implementation details, make the exposed public list very clean.
Files: