python-yarl/python-yarl.changes
Dirk Mueller de9a305ff4 - update to 1.6.3:
- No longer loose characters when decoding incorrect percent-sequences (like
    ``%e2%82%f8``). All non-decodable percent-sequences are now preserved.
  - Provide generated ``.c`` files in TarBall distribution.
  - ``human_repr()`` now always produces valid representation equivalent to the
    original URL (if the original URL is valid).
  - Fixed  requoting a single percent followed by a percent-encoded character
    in the Cython implementation.
  - Fix ValueError when decoding ``%`` which is not followed by two hexadecimal
    digits.
  - Fix decoding ``%`` followed by a space and hexadecimal digit.
  - Fix annotation of ``with_query()``/``update_query()`` methods for
    ``key=[val1, val2]`` case.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=31
2020-12-19 10:08:24 +00:00

194 lines
7.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-------------------------------------------------------------------
Sat Dec 19 10:06:48 UTC 2020 - Dirk Müller <dmueller@suse.com>
- update to 1.6.3:
- No longer loose characters when decoding incorrect percent-sequences (like
``%e2%82%f8``). All non-decodable percent-sequences are now preserved.
- Provide generated ``.c`` files in TarBall distribution.
- ``human_repr()`` now always produces valid representation equivalent to the
original URL (if the original URL is valid).
- Fixed requoting a single percent followed by a percent-encoded character
in the Cython implementation.
- Fix ValueError when decoding ``%`` which is not followed by two hexadecimal
digits.
- Fix decoding ``%`` followed by a space and hexadecimal digit.
- Fix annotation of ``with_query()``/``update_query()`` methods for
``key=[val1, val2]`` case.
-------------------------------------------------------------------
Mon Sep 28 12:05:26 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.6.0:
- Allow for int and float subclasses in query, while still denying bool.
`#492 <https://github.com/aio-libs/yarl/issues/492>`_
- Do not requote arguments in ``URL.build()``, ``with_xxx()`` and in ``/`` operator.
`#502 <https://github.com/aio-libs/yarl/issues/502>`_
- Keep IPv6 brackets in ``origin()``.
`#504 <https://github.com/aio-libs/yarl/issues/504>`_
-------------------------------------------------------------------
Tue Jul 28 21:28:25 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- remove c source file from package (rpmlint error)
- needs typing-extensions
-------------------------------------------------------------------
Tue Jul 28 19:15:09 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 1.5.0
- fix tests
* Convert host to lowercase on URL building. #386
* 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
* Fix tests with newer Python (3.7.6, 3.8.1 and 3.9.0+)
* Fix a bug where query component, passed in a form of mapping or sequence,
is unquoted in unexpected way
* Hide Query and QueryVariable type aliases in __init__.pyi, now they
are prefixed with underscore.
* Keep ipv6 brackets after updating port/user/password.
-------------------------------------------------------------------
Mon Feb 3 14:38:51 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.4.2
* Workaround for missing str.isascii() in Python 3.6
* Distinguish an empty password in URL from a password not provided at all
* Fixed annotations for optional parameters of URL.build
* Use None as default value of user parameter of URL.build
* Enforce building C Accelerated modules when installing from source tarball,
use YARL_NO_EXTENSIONS environment variable for falling back to (slower)
Pure Python implementation
* Fix quoting of plus in path by pure python version
* Don't create a new URL if fragment is unchanged
* Included in error msg the path that produces starting slash forbidden error
* Skip slow IDNA encoding for ASCII-only strings
-------------------------------------------------------------------
Sun Mar 3 13:52:01 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 1.3.0
* Fix annotations for query parameter
* An incoming query sequence can have int variables
* Add URL.explicit_port property
* Give a friendlier error when port cant be converted to int
* bool(URL()) now returns False
* Fix annotations for build
* Fix annotations for cached_property
* Accept str subclasses in URL constructor
* Forbid inheritance, replace __init__ with __new__
* Support PEP-561 (provide type hinting marker)
-------------------------------------------------------------------
Wed Aug 29 09:17:59 UTC 2018 - tchvatal@suse.com
- Raise multidict requirement to match up setup.py
-------------------------------------------------------------------
Sat Feb 24 18:28:57 UTC 2018 - arun@gmx.de
- update to version 1.1.1:
* Fix performance regression: dont encode enmpty netloc (#170)
-------------------------------------------------------------------
Sat Feb 10 18:01:42 UTC 2018 - arun@gmx.de
- update to version 1.1.0:
* Make pure Python quoter consistent with Cython version (#162)
- changes from version 1.0.0:
* Use fast path if quoted string does not need requoting (#154)
* Speed up quoting/unquoting by _Quoter and _Unquoter classes (#155)
* Drop yarl.quote and yarl.unquote public functions (#155)
* Add custom string writer, reuse static buffer if available (#157)
Code is 50-80 times faster than Pure Python version (was 4-5 times
faster)
* Dont recode IP zone (#144)
* Support encoded=True in yarl.URL.build() (#158)
* Fix updating query with multiple keys (#160)
-------------------------------------------------------------------
Thu Jan 11 23:59:33 UTC 2018 - arun@gmx.de
- update to version 0.18.0:
* Fallback to IDNA 2003 if domain name is not IDNA 2008 compatible
(#152)
-------------------------------------------------------------------
Thu Jan 4 17:17:54 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* require python-idna
- update to version 0.17.0:
* Add idna requirement
* update to idna 2008 and test
* Update mypy from 0.550 to 0.560
* Better fix for #141
-------------------------------------------------------------------
Sat Dec 9 17:54:08 UTC 2017 - arun@gmx.de
- removed test conditional as requested in SR 555310
- enabled tests
- require pytest-runner
-------------------------------------------------------------------
Fri Dec 8 18:05:15 UTC 2017 - arun@gmx.de
- update to version 0.16.0:
* Fix raising TypeError by url.query_string() after
url.with_query({}) (empty mapping) #141
-------------------------------------------------------------------
Sun Nov 26 21:20:07 UTC 2017 - arun@gmx.de
- update to version 0.15.0:
* Add raw_path_qs attribute (#137)
-------------------------------------------------------------------
Wed Nov 15 00:33:36 UTC 2017 - arun@gmx.de
- update to version 0.14.2:
* Restore strict parameter as no-op in quote/unquote
- changes from version 0.14.1:
* Restore strict parameter as no-op for sake of compatibility with
aiohttp 2.2
-------------------------------------------------------------------
Sun Nov 12 16:59:38 UTC 2017 - arun@gmx.de
- update to version 0.14.0:
* Drop strict mode (#123)
* Fix “ValueError: Unallowed PCT %” when theres a “%” in the url
(#124)
-------------------------------------------------------------------
Tue Oct 31 02:41:59 UTC 2017 - arun@gmx.de
- update to version 0.13.0:
* Document encoded parameter (#102)
* Support relative urls like ?key=value (#100)
* Unsafe encoding for QS fixed. Encode ; char in value param (#104)
* Process passwords without user names (#95)
- changes from version 0.12.0:
* Properly support paths without leading slash in URL.with_path()
(#90)
* Enable type annotation checks
-------------------------------------------------------------------
Thu Jul 13 19:22:44 UTC 2017 - sean.marlow@suse.com
- Initial release v0.11.0.