summaryrefslogtreecommitdiff
path: root/CHANGELOG
AgeCommit message (Collapse)Author
2024-08-21* Changes to make tests work whether tests are run under soupsieve 2.6Leonard Richardson
or an earlier version. Based on a patch by Stefano Rivera. * Removed the strip_cdata argument to lxml's HTMLParser constructor, which never did anything and is deprecated as of lxml 5.3.0. Patch by Stefano Rivera. [bug=2076897]
2024-01-17Prepare for 4.12.3 release.Leonard Richardson
2024-01-17Added the correct stacklevel to instances of the XMLParsedAsHTMLWarning.Leonard Richardson
[bug=2034451]
2024-01-16Mention the new Chinese translation.Leonard Richardson
2024-01-13Fixed typo.Leonard Richardson
2024-01-13Added to CHANGELOG celebrating the Spanish documentation translation.Leonard Richardson
2024-01-13Made some long-awaited edits, mainly removing information about ↵Leonard Richardson
no-longer-supported versions of Python.
2023-12-03Corrected a typo in a test that was causing test failures when run againstLeonard Richardson
libxml2 2.12.1. [bug=2045481]
2023-11-25some doc suggestions from a first-time userLeonard Richardson
Signed-off-by: Chris Papademetrious <chrispitude@gmail.com>
2023-08-27Corrected the syntax of the license definition in pyproject.toml. PatchLeonard Richardson
by Louis Maddox. [bug=2032848]
2023-06-04Fixed a case found by Mengyuhan where html.parser giving up onLeonard Richardson
markup would result in an AssertionError instead of a ParserRejectedMarkup exception.
2023-04-17Fixed a regression such that if you set .hidden on a tag, the tagLeonard Richardson
becomes invisible but its contents are still visible. User manipulation of .hidden is not a documented or supported feature, so don't do this, but it's not too difficult to keep the old behavior working.
2023-04-07Fixed an unhandled exception in BeautifulSoup.decode_contentsLeonard Richardson
and methods that call it. [bug=2015545]
2023-04-05Prepare for 4.12.1 release.Leonard Richardson
2023-04-05The demonstrate_parser_differences.py script was still written inLeonard Richardson
Python 2. I've converted it to Python 3, but since no one noticed this problem, it's a sign that no one uses this script and it's not serving its purpose. I may rework or remove it in a later version.
2023-04-05Remove setup.py, completing the migration to hatch. Add a .gitignore file ↵Leonard Richardson
based on the soupsieve .gitignore file.
2023-04-05Move the Python 2 notice to the last version to support Python 2, and add a ↵Leonard Richardson
similar notice for 3.6
2023-03-30Added to README.Leonard Richardson
2023-03-28Reworded changelog.Leonard Richardson
2023-03-27Make it possible to pickle a deeply nested BeautifulSoup object.Leonard Richardson
2023-03-26Implement a proper BeautifulSoup.deepcopy rather than parsing the document ↵Leonard Richardson
again.
2023-03-24Added a test just to verify that you can encode a document more deeply ↵Leonard Richardson
nested than the Python recursion limit.
2023-03-20Added unit tests for fuzz test cases created by thirdLeonard Richardson
parties. Most of these tests are skipped since they either point out problems in code outside of Beautiful Soup, or problems with Beautiful Soup that haven't been resolved yet, but this puts them all in one convenient place.
2023-03-20Prepare for 4.12.0 release.Leonard Richardson
2023-02-15Removed some error checking code from diagnose(), which is redundant withLeonard Richardson
similar (but more Pythonic) code in the BeautifulSoup constructor. [bug=2007344]
2023-02-15When the html.parser parser decides it can't parse a document, BeautifulLeonard Richardson
Soup now consistently propagates this fact by raising a ParserRejectedMarkup error. [bug=2007343]
2023-02-12Improved documentation of new method.Leonard Richardson
2023-02-08Fixed syntax errors in documentation.Leonard Richardson
2023-02-07Removed Soup Sieve fallback method, added documentation.Leonard Richardson
2023-01-31Fixed missing import that caused test failures when Soup Sieve is installed.Leonard Richardson
2023-01-31Consistently use pytest.mark.skipif to skip tests when the corresponding ↵Leonard Richardson
libraries are not installed.
2023-01-28Incremented version number.Leonard Richardson
2023-01-27Implemented the more complicated case of providing an appropriate stacklevel ↵Leonard Richardson
for the warning issued when the deprecated 'text' argument is passed in.
2023-01-27Warnings now do their best to provide an appropriate stacklevel,Leonard Richardson
improving the usefulness of the message. [bug=1978744]
2023-01-25Tag.interesting_string_types is now propagated when a tag isLeonard Richardson
copied. [bug=1990400]
2023-01-25The HTMLFormatter and XMLFormatter constructors no longer return aLeonard Richardson
value. [bug=1992693]
2023-01-25Passing a Tag's .contents into PageElement.extend() now works theLeonard Richardson
same way as passing the Tag itself.
2022-05-15Fixed a test failure when cchardet is not installed butLeonard Richardson
charset_normalizer is. [bug=1973072]
2022-04-10Fixed another crash when overriding multi_valued_attributes and using theLeonard Richardson
html5lib parser. [bug=1948488]
2022-04-08Some cleanup work to get more consistent and complete about what gets ↵Leonard Richardson
packaged with the Beautiful Soup release.
2022-04-07Omit untrusted input when issuing warnings.Leonard Richardson
2021-12-21Corrected typo.Leonard Richardson
2021-12-21Standardized the wording of the MarkupResemblesLocatorWarningLeonard Richardson
warnings to to make them less judgemental about what you ought to be doing. [bug=1955450]
2021-12-21I guess that's not a method.Leonard Richardson
2021-12-21It's now possible to customize the way output is indented byLeonard Richardson
providing a value for the 'indent' argument to the Formatter constructor. The 'indent' argument works very similarly to the argument of the same name in the Python standard library's json.dump() method. [bug=1955497]
2021-12-19Remove a huge list of HTML entities that was only necessary under Python 2.Leonard Richardson
2021-12-19Removed support for the iconv_codec library, which doesn't seemLeonard Richardson
to exist anymore and was never put up on PyPI. (The closest replacement on PyPI, iconv_codecs, is GPL-licensed, so we can't use it.)
2021-12-19If the charset-normalizer Python moduleLeonard Richardson
(https://pypi.org/project/charset-normalizer/) is installed, Beautiful Soup will use it to detect the character sets of incoming documents. This is also the module used by newer versions of the Requests library. For the sake of backwards compatibility, chardet and cchardet both take precedence if installed. [bug=1955346]
2021-12-17Fix a crash when pickling a BeautifulSoup object that has noLeonard Richardson
tree builder. [bug=1934003]
2021-11-29Do a better job of keeping track of namespaces as an XML document isLeonard Richardson
parsed, so that CSS selectors that use namespaces will do the right thing more often. [bug=1946243]