summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG6
-rw-r--r--bs4/__init__.py2
-rw-r--r--doc/source/index.rst6
-rw-r--r--setup.py2
4 files changed, 8 insertions, 8 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c7eb9a7..5ff5d8f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
-= 4.8.0 (Unreleased)
+= 4.8.0 (20190720)
* It's now possible to customize the TreeBuilder object by passing
keyword arguments into the BeautifulSoup constructor. The main
@@ -6,8 +6,8 @@
attributes are treated -- you can do this with the
`multi_valued_attributes` argument. [bug=1832978]
-* The role of Formatter objects has been greatly expanded. It now contains
- consolidated code for controlling the following:
+* The role of Formatter objects has been greatly expanded. The Formatter
+ class now controls the following:
- The function to call to perform entity substitution. (This was
previously Formatter's only job.)
diff --git a/bs4/__init__.py b/bs4/__init__.py
index 66797ca..9cd01c8 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -18,7 +18,7 @@ http://www.crummy.com/software/BeautifulSoup/bs4/doc/
"""
__author__ = "Leonard Richardson (leonardr@segfault.org)"
-__version__ = "4.7.1"
+__version__ = "4.8.0"
__copyright__ = "Copyright (c) 2004-2019 Leonard Richardson"
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 9ef8ef4..cea1be5 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -266,9 +266,9 @@ This table summarizes the advantages and disadvantages of each parser library:
+----------------------+--------------------------------------------+--------------------------------+--------------------------+
| Parser | Typical usage | Advantages | Disadvantages |
+----------------------+--------------------------------------------+--------------------------------+--------------------------+
-| Python's html.parser | ``BeautifulSoup(markup, "html.parser")`` | * Batteries included | * Not very lenient |
-| | | * Decent speed | (before Python 2.7.3 |
-| | | * Lenient (as of Python 2.7.3 | or 3.2.2) |
+| Python's html.parser | ``BeautifulSoup(markup, "html.parser")`` | * Batteries included | * Not as fast as lxml, |
+| | | * Decent speed | less lenient than |
+| | | * Lenient (As of Python 2.7.3 | html5lib. |
| | | and 3.2.) | |
+----------------------+--------------------------------------------+--------------------------------+--------------------------+
| lxml's HTML parser | ``BeautifulSoup(markup, "lxml")`` | * Very fast | * External C dependency |
diff --git a/setup.py b/setup.py
index e711faa..0536666 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ with open("README.md", "r") as fh:
setup(
name="beautifulsoup4",
- version = "4.7.1",
+ version = "4.8.0",
author="Leonard Richardson",
author_email='leonardr@segfault.org',
url="http://www.crummy.com/software/BeautifulSoup/bs4/",