W3lib

Latest version: v2.3.1

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.3.1

------------------

- Fix a merge error, no code changes.

2.3.0

------------------

- Dropped Python 3.8 support (232).

- Removed the following functions, deprecated in 2.0.0:

- ``w3lib.util.str_to_unicode``
- ``w3lib.util.to_native_str``
- ``w3lib.util.unicode_to_str``

(235).

- Added Python 3.13 support (232).

- Fixed running tests with newer point releases of Python 3.10 and 3.11 (233).

- Cleanup and CI improvements (232, 234).

2.2.1

------------------

- :func:`~w3lib.url.canonicalize_url` no longer applies lowercase to the
userinfo URL component. (229, 230)

2.2.0

------------------

- Dropped Python 3.7 support (214).

- Added Python 3.12 and PyPy 3.10 support (218).

- Added the description to the package metadata (227).

- Improved type hints (226).

- Added ``.readthedocs.yml`` (219).

- Updated the intersphinx URLs (224).

- Added the ``pre-commit`` configuration, code reformatted with ``black``
(220).

- Updated CI configuration (217, 227).

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).

2.1.1

------------------

- :func:`~w3lib.url.safe_url_string`, :func:`~w3lib.url.safe_download_url`
and :func:`~w3lib.url.canonicalize_url` now strip whitespace and control
characters urls according to the URL living standard.

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.