Commit graph

10 commits

Author SHA1 Message Date
adam
68cfad314a py-hyperlink: updated to 21.0.0
21.0.0:
Update plus sign (+) handling to work with/like HTML form encoding (POST) by default, fixes 129, and associated roundtripping.
Package IDNA tables.
Long overdue dependency bumps
2021-01-16 08:42:11 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
adam
0f38cdaad5 py-hyperlink: updated to 20.0.1
20.0.1
Rerelease to fix packaging metadata around conditional requirements.

20.0.0
* CPython 3.7 and 3.8 and PyPy3 added to test matrix
* Hyperlink now has type hints and they are now exported per
  [PEP 561](https://www.python.org/dev/peps/pep-0561/).
* Several bugs related to hidden state were fixed, making it so that all data
  on a `URL` object (including `rooted` and `uses_netloc`) is reflected by and
  consistent with its textual representation.
  This does mean that sometimes these constructor arguments are ignored, if it
  would create invalid or unparseable URL text.
2020-08-05 06:46:02 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
adam
a3fbb25f28 py-hyperlink: updated to 19.0.0
19.0.0
A query parameter-centric release, with two enhancements:
"equals sign" characters in query parameter values are no longer escaped.
URL.remove() now accepts value and limit parameters, allowing for removal of specific name-value pairs, as well as limiting the number of removals.
2019-05-30 09:34:38 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
adam
6fa7709959 py-hyperlink: updated to 18.0.0
18.0.0:
When passed to str() URLs now stringify to usable URL strings.
Switched off of Python's built-in IDNA facilities to using the idna package. Not only is it much more modern, it's also much more strict and correct in its output.
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.
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
URL.child() will no longer fail when child gets no segments
URL.normalize() now supports encoding stray/unmatched % characters in character-encoded fields (userinfo, path, query string, fragment)
2018-03-05 12:31:17 +00:00
adam
82c8969663 17.3.1
Add URL.normalize() method, which applies five normalizations from RFC 3986 (sections 2.3, 2.1, 3.2.2, 6.2.2.3, 6.2.3). See the docs for more details.
Enable URL.click() to accept a URL object as a target.
2017-08-27 13:09:34 +00:00
adam
0591043ee5 17.3.0:
Fixed a couple major decoding issues and simplified the URL API.
* limit types accepted by URL.from_text() to just text (str on py3, unicode on py2)
* fix percent decoding issues surrounding multiple calls to URL.to_iri()
* remove the socket-inspired family argument from URL's APIs. It was never consistently implemented and leaked slightly more problems than it solved.
* Improve authority parsing
* include LICENSE, README, docs, and other resources in the package
2017-07-20 10:28:33 +00:00
adam
9f75ea126f The humble, but powerful, URL runs everything around us. Chances are you've
used several just to read this text.

Hyperlink is a featureful, pure-Python implementation of the URL, with
an emphasis on correctness.
2017-06-21 18:32:37 +00:00