diff options
author | Leonard Richardson <leonardr@segfault.org> | 2018-12-24 10:17:54 -0500 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2018-12-24 10:17:54 -0500 |
commit | 5b5540581396b07404018664f0954f2d13377753 (patch) | |
tree | 97c619ad465ce411fd700dde5eff70aa2423af56 /NEWS.txt | |
parent | a36e7ac2a24bf8aa91b51da3c82ad11368adb146 (diff) | |
download | beautifulsoup4-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.txt | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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] |