summaryrefslogtreecommitdiff
path: root/NEWS.txt
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2018-12-24 10:17:54 -0500
committerLeonard Richardson <leonardr@segfault.org>2018-12-24 10:17:54 -0500
commit5b5540581396b07404018664f0954f2d13377753 (patch)
tree97c619ad465ce411fd700dde5eff70aa2423af56 /NEWS.txt
parenta36e7ac2a24bf8aa91b51da3c82ad11368adb146 (diff)
downloadbeautifulsoup4-5b5540581396b07404018664f0954f2d13377753.tar.gz
Issue a warning and raise a more useful exception if someone tries to call Tag.select() without SoupSieve installed.
Diffstat (limited to 'NEWS.txt')
-rw-r--r--NEWS.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/NEWS.txt b/NEWS.txt
index 6e44504..4f5278a 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -1,5 +1,19 @@
= 4.7.0 (Unreleased)
+* Beautiful Soup's CSS Selector implementation has been replaced by a
+ dependency on Isaac Muse's SoupSieve project (the soupsieve package
+ on PyPI). The good news is that SoupSieve has a much more robust and
+ complete implementation of CSS selectors, resolving a large number
+ of longstanding issues. The bad news is that from this point onward,
+ SoupSieve must be installed if you want to use the select() method.
+
+ You don't have to change anything lf you installed Beautiful Soup
+ through pip (SoupSieve will be automatically installed when you
+ upgrade Beautiful Soup) or if you don't use CSS selectors from
+ within Beautiful Soup.
+
+ SoupSieve documentation: https://facelessuser.github.io/soupsieve/
+
* Fix a number of problems with the tree builder that caused
trees that were superficially okay, but which fell apart when bits
were extracted. Patch by Isaac Muse. [bug=1782928]