Skip to content

Releases: scrapy/w3lib

v1.14.3

15 Jul 13:08
Compare
Choose a tag to compare

Bugfix release:

  • Handle IDNA encoding failures in safe_url_string() (issue #62)

v1.14.2

11 Apr 15:28
Compare
Choose a tag to compare

Bugfix release:

  • fix function import for (deprecated) urljoin_rfc (issue #51)
  • only expose wanted functions from w3lib.url, via __all__
    (see issue #54, scrapy/scrapy#1917)

v1.14.1

08 Apr 17:21
Compare
Choose a tag to compare

Bugfix release:

  • For bytes URLs, when supplied encoding (or default UTF8) is wrong,
    safe_url_string falls back to percent-encoding offending bytes.

v1.14.0

06 Apr 17:18
Compare
Choose a tag to compare

Changes to safe_url_string:

  • 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 <meta>.

Package is now properly marked as zip_safe.