15
0

Accepting request 704420 from home:pgajdos

- version update to 19.0.0
  * When passed to `str()` URLs now stringify to usable URL
    strings. (See #49)
  * Switched off of Python's built-in IDNA facilities to using the
    [idna](https://pypi.python.org/pypi/idna) package. Not only is it
    much more modern, it's also much more strict and correct in its
    output. (See #19 and #56)
  * Added new `DecodedURL` type with almost-identical API to the normal
    `URL`, except that it automatically handles reserved characters in
    argument values passed to its methods. (See #6, #11, #44)
  * Added top-level `parse()` convenience function that now represents
    the main entrypoint to hyperlink.
  * Accept dictionaries as ‘query=’ arguments, in addition to
    sequences of tuples (see #50)
  * `URL.child()` will no longer fail when child gets no segments (#42 and #43)
  * `URL.normalize()` now supports encoding stray/unmatched `%` characters
    in character-encoded fields (userinfo, path, query string, fragment)
    (see #61, #62)

OBS-URL: https://build.opensuse.org/request/show/704420
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hyperlink?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-05-21 10:58:23 +00:00
committed by Git OBS Bridge
parent bc49676d8a
commit 9a302f3b6d
4 changed files with 34 additions and 9 deletions

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue May 21 10:25:35 UTC 2019 - pgajdos@suse.com
- version update to 19.0.0
* When passed to `str()` URLs now stringify to usable URL
strings. (See #49)
* Switched off of Python's built-in IDNA facilities to using the
[idna](https://pypi.python.org/pypi/idna) package. Not only is it
much more modern, it's also much more strict and correct in its
output. (See #19 and #56)
* Added new `DecodedURL` type with almost-identical API to the normal
`URL`, except that it automatically handles reserved characters in
argument values passed to its methods. (See #6, #11, #44)
* Added top-level `parse()` convenience function that now represents
the main entrypoint to hyperlink.
* Accept dictionaries as query= arguments, in addition to
sequences of tuples (see #50)
* `URL.child()` will no longer fail when child gets no segments (#42 and #43)
* `URL.normalize()` now supports encoding stray/unmatched `%` characters
in character-encoded fields (userinfo, path, query string, fragment)
(see #61, #62)
-------------------------------------------------------------------
Tue Dec 4 12:49:05 UTC 2018 - Matej Cepl <mcepl@suse.com>