|
![](/images/spacer.gif) |
![](/images/spacer.gif) |
![](/images/spacer.gif) |
Changelog for python310-beautifulsoup4-4.10.0-3.1.noarch.rpm :
* Wed Feb 09 2022 Steve Kowalik - Update to 4.10.0: * This is the first release of Beautiful Soup to only support Python 3. * The behavior of methods like .get_text() and .strings now differs depending on the type of tag. * NavigableString and its subclasses now implement the get_text() method, as well as the properties .strings and .stripped_strings. * The \'html5\' formatter now treats attributes whose values are the empty string as HTML boolean attributes. * The \'replace_with()\' method now takes a variable number of arguments, and can be used to replace a single element with a sequence of elements. * Corrected output when the namespace prefix associated with a namespaced attribute is the empty string, as opposed to None. * Performance improvement when processing tags that speeds up overall tree construction by 2%. Patch by Morotti. [bug=1899358] * Corrected the use of special string container classes in cases when a single tag may contain strings with different containers; such as the tag, which may contain both TemplateString objects and Comment objects. * The html.parser tree builder can now handle named entities found in the HTML5 spec in much the same way that the html5lib tree builder does. * Added a second way to pass specify encodings to UnicodeDammit and EncodingDetector, based on the order of precedence defined in the HTML5 spec. * Improve the warning issued when a directory name (as opposed to the name of a regular file) is passed as markup into the BeautifulSoup constructor.- Do not pass the directory to pytest. * Sat Oct 10 2020 Arun Persaud - update to version 4.9.3: * Implemented a significant performance optimization to the process of searching the parse tree. Patch by Morotti. [bug=1898212] * Mon Sep 28 2020 Dirk Mueller - update to 4.9.2: * Fixed a bug that caused too many tags to be popped from the tag stack during tree building, when encountering a closing tag that had no matching opening tag. [bug=1880420] * Fixed a bug that inconsistently moved elements over when passing a Tag, rather than a list, into Tag.extend(). [bug=1885710] * Specify the soupsieve dependency in a way that complies with PEP 508. Patch by Mike Nerone. [bug=1893696] * Change the signatures for BeautifulSoup.insert_before and insert_after (which are not implemented) to match PageElement.insert_before and insert_after, quieting warnings in some IDEs. [bug=1897120] * Wed Jun 03 2020 Dirk Mueller - update to 4.9.1: * Added a keyword argument \'on_duplicate_attribute\' to the BeautifulSoupHTMLParser constructor (used by the html.parser tree builder) which lets you customize the handling of markup that contains the same attribute more than once, as in: [bug=1878209] * Added a distinct subclass, GuessedAtParserWarning, for the warning issued when BeautifulSoup is instantiated without a parser being specified. [bug=1873787] * Added a distinct subclass, MarkupResemblesLocatorWarning, for the warning issued when BeautifulSoup is instantiated with \'markup\' that actually seems to be a URL or the path to a file on disk. [bug=1873787] * The new NavigableString subclasses (Stylesheet, Script, and TemplateString) can now be imported directly from the bs4 package. * If you encode a document with a Python-specific encoding like \'unicode_escape\', that encoding is no longer mentioned in the final XML or HTML document. Instead, encoding information is omitted or left blank. [bug=1874955] * Fixed test failures when run against soupselect 2.0. Patch by Tomáš Chvátal. [bug=1872279]- remove soupsieve2-tests.patch: upstreamed * Sun Apr 12 2020 Tomáš Chvátal - Add patch to fix the tests to pass with new soupsieve too: * soupsieve2-tests.patch * The assert name changed * Sun Apr 12 2020 Tomáš Chvátal - Update to 4.9.0: * fixes to work with new soupsieve * Wed Jan 01 2020 Ismail Dönmez - Update to 4.8.2 * Added Python docstrings to all public methods of the most commonly used classes. * Fixed two deprecation warnings. Patches by Colin Watson and Nicholas Neumann. [bug=1847592] [bug=1855301] * The html.parser tree builder now correctly handles DOCTYPEs that are not uppercase. [bug=1848401] * PageElement.select() now returns a ResultSet rather than a regular list, making it consistent with methods like find_all(). * Fri Nov 01 2019 Tomáš Chvátal - Update to 4.8.1: * When the html.parser or html5lib parsers are in use, Beautiful Soup will, by default, record the position in the original document where each tag was encountered. * Fixed the definition of the default XML namespace when using lxml 4.4. * Avoid a crash when unpickling certain parse trees generated using html5lib on Python 3. * Avoid a crash when trying to detect the declared encoding of a Unicode document.- Drop patch beautifulsoup4-lxml-fixes.patch as it seems not needed * Mon Oct 14 2019 Matej Cepl - Replace %fdupes -s with plain %fdupes; hardlinks are better. * Mon Jul 22 2019 Todd R - Update to 4.8.0 * It\'s now possible to customize the TreeBuilder object by passing keyword arguments into the BeautifulSoup constructor. The main reason to do this right now is to change how which attributes are treated as multi-valued attributes (the way \'class\' is treated by default). You can do this with the `multi_valued_attributes` argument. * 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.) > Which tags should be treated as containing CDATA and have their contents exempt from entity substitution. > The order in which a tag\'s attributes are output. > Whether or not to put a \'/\' inside a void element, e.g. \' \' vs \' \' All preexisting code should work as before. * Added a new method to the API, Tag.smooth(), which consolidates multiple adjacent NavigableString elements. * ' (which is valid in XML, XHTML, and HTML 5, but not HTML 4) is now recognized as a named entity and converted to a single quote.
|
|
|