Changelog for
python311-w3lib-2.1.2-1.5.noarch.rpm :
* Fri Jan 12 2024 Dirk Müller
- update to 2.1.2:
* Fix test failures on Python 3.11.4+ (#212, #213).
* Fix an incorrect type hint (#211).
* Add project URLs to setup.py (#215).
* Dropped Python 3.6 support, and made Python 3.11 support official.
* :func:`~w3lib.url.safe_url_string` now generates safer URLs.
* :func:`~w3lib.url.canonicalize_url` now strips spaces from the input URL, to be more in line with the `URL living standard`_.
* :func:`~w3lib.html.get_base_url` now ignores HTML comments.
* Fixed :func:`~w3lib.url.safe_url_string` re-encoding percent signs on the URL username and password even when they were being used as part of an escape sequence. (#187, #196)
* Fixed :func:`~w3lib.http.basic_auth_header` using the wrong flavor of base64 encoding, which could prevent authentication in rare cases.
* Python 2 is no longer supported;
* The ``w3lib.form`` module is removed.
* The ``w3lib.html.remove_entities`` function is removed.
* The ``w3lib.url.urljoin_rfc`` function is removed.
* The following functions are deprecated, and will be removed in future releases
* Type annotations are added (#172, #184).
* Added support for Python 3.9 and 3.10 (#168, #176).
* Fixed :func:`w3lib.html.get_meta_refresh` for ```` tags where ``http-equiv`` is written after ``content`` (#179).
* Fixed :func:`w3lib.url.safe_url_string` for IDNA domains with ports (#174).
* :func:`w3lib.url.url_query_cleaner` no longer adds an unneeded ``#`` when ``keep_fragments=True`` is passed, and the URL doesn\'t have a fragment
* Removed a workaround for an ancient pathname2url bug (#142)
* CI is migrated to GitHub Actions (#166, #177); other CI improvements
* The code is formatted using black (#173).- drop 166-add-xfail-test_add_or_replace_parameter_fail.patch, python-w3lib-no-six.patch: upstream
* Fri Oct 14 2022 pgajdosAATTsuse.com- do not require six- added patches https://github.com/scrapy/w3lib/commit/c16d7bac3af3148b7018c67ef7922a5da6b3e640 + python-w3lib-no-six.patch
* Fri Mar 19 2021 Matej Cepl - Add 166-add-xfail-test_add_or_replace_parameter_fail.patch, which makes tests working with CVE-2021-23336 (bsc#1181270).
* Wed Jul 22 2020 Marketa Calabkova - update to 1.22.0
* Python 3.4 is no longer supported (issue #156)
* :func:`w3lib.url.safe_url_string` now supports an optional ``quote_path`` parameter to disable the percent-encoding of the URL path
* more small fixes and improvements
* Thu Aug 29 2019 Marketa Calabkova - update to 1.21.0
* Add the \"encoding\" and \"path_encoding\" parameters to w3lib.url.safe_download_url (issue #118)
* w3lib.url.safe_url_string now also removes tabs and new lines (issue #133)
* w3lib.html.remove_comments now also removes truncated comments (issue #129)
* w3lib.html.remove_tags_with_content no longer removes tags which start with the same text as one of the specified tags (issue #114)
* Fri Mar 29 2019 pgajdosAATTsuse.com- version update to 1.20.0
* Fix url_query_cleaner to do not append \"?\" to urls without a query string (issue #109)
* Add support for Python 3.7 and drop Python 3.3 (issue #113)
* Add `w3lib.url.add_or_replace_parameters` helper (issue #117)
* Documentation fixes (issue #115)
* Tue Dec 04 2018 Matej Cepl - Remove superfluous devel dependency for noarch package
* Fri Nov 16 2018 Todd R - Update to version 1.19.0
* Add a workaround for CPython segfault (https://bugs.python.org/issue32583) which affect w3lib.encoding functions. This is technically
*
*backwards incompatible
*
* because it changes the way non-decodable bytes are replaced (in some cases instead of two ``\\ufffd`` chars you can get one). As a side effect, the fix speeds up decoding in Python 3.4+.
* Add \'encoding\' parameter for w3lib.http.basic_auth_header.
* Fix pypy testing setup, add pypy3 to CI.
* Thu Dec 21 2017 mpluskalAATTsuse.com- Update to version 1.18.0:
* No upstream changelog available- Convert to singlespec
* Thu Jun 02 2016 jacobwinskiAATTgmail.com- Update to 1.14.2 (2016-04-11)
* fix function import for (deprecated) ``urljoin_rfc`` (issue #51)
* only expose wanted functions from ``w3lib.url``, via ``__all__`` (see issue #54, https://github.com/scrapy/scrapy/issues/1917)- Update to 1.14.1 (2016-04-07)
* For bytes URLs, when supplied encoding (or default UTF8) is wrong, ``safe_url_string`` falls back to percent-encoding offending bytes.- Update to 1.14.0 (2016-04-06)
* proper handling of non-ASCII characters in Python2 and Python3
* support IDNs
* new `path_encoding` to override default UTF-8 when serializing non-ASCII characters before percent-encoding
* html_body_declared_encoding also detects encoding when not sole attribute in ````.
* Package is now properly marked as ``zip_safe``.- Update to 1.13.0 (2015-11-05)
* remove_tags removes uppercase tags as well;
* ignore meta-redirects inside script or noscript tags by default, but add an option to not ignore them;
* replace_entities now handles entities without trailing semicolon;
* fixed uncaught UnicodeDecodeError when decoding entities.- Update to 1.12.0 (2015-06-29)
* meta_refresh regex now handles leading newlines and whitespaces in the url;
* include tests folder in source distribution.- Update to 1.11.0 (2015-01-13)
* url_query_cleaner now supports str or list parameters;
* add support for resolving base URLs in tags with attributes before href.- Update spec file to reflect new upstream package requirements.