Skip to content

Commit 5b8ff03

Browse files
authored
Merge pull request #185 from scrapy/changelog
Changelog
2 parents d7d4d31 + 9ac0544 commit 5b8ff03

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ recursive-include docs Makefile make.bat conf.py *.rst
66

77
# Miscellaneous assets
88
include LICENSE
9+
include NEWS
910
include README.rst
1011
include pytest.ini
1112
include tox.ini

NEWS

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,48 @@
11
w3lib release notes
22
===================
33

4+
2.0.0 (to be released)
5+
----------------------
6+
7+
Backwards incompatible changes:
8+
9+
- Python 2 is no longer supported; Python 3.6+ is required now (#168, #175).
10+
- :func:`w3lib.url.safe_url_string` and :func:`w3lib.url.canonicalize_url`
11+
no longer convert "%23" to "#" when it appears in the URL path. This is a bug
12+
fix. It's listed as a backward-incomatible change because in some cases the
13+
output of :func:`w3lib.url.canonicalize_url` is going to change, and so, if
14+
this output is used to generate URL fingerprints, new fingerprints might be
15+
incompatible with those created with the previous w3lib versions
16+
(#141).
17+
18+
Deprecation removals (#169):
19+
20+
- The ``w3lib.form`` module is removed.
21+
- The ``w3lib.html.remove_entities`` function is removed.
22+
- The ``w3lib.url.urljoin_rfc`` function is removed.
23+
24+
The following functions are deprecated, and will be removed in future releases
25+
(#170):
26+
27+
- ``w3lib.util.str_to_unicode``
28+
- ``w3lib.util.unicode_to_str``
29+
- ``w3lib.util.to_native_str``
30+
31+
Other improvements and bug fixes:
32+
33+
- Type annotations are added (#172, #184).
34+
- Added support for Python 3.9 and 3.10 (#168, #176).
35+
- Fixed :func:`w3lib.html.get_meta_refresh` for ``<meta>`` tags where
36+
``http-equiv`` is written after ``content`` (#179).
37+
- Fixed :func:`w3lib.url.safe_url_string` for IDNA domains with ports (#174).
38+
- :func:`w3lib.url.url_query_cleaner` no longer adds an unneeded ``#`` when
39+
``keep_fragments=True`` is passed, and the URL doesn't have a fragment
40+
(#159).
41+
- Removed a workaround for an ancient pathname2url bug (#142)
42+
- CI is migrated to GitHub Actions (#166, #177); other CI improvements (#160,
43+
#182).
44+
- The code is formatted using black (#173).
45+
446
1.22.0 (2020-05-13)
547
-------------------
648

0 commit comments

Comments
 (0)