summaryrefslogtreecommitdiff
path: root/NEWS.txt
AgeCommit message (Collapse)Author
2013-08-15Updated NEWS.Leonard Richardson
2013-08-13* Fixed yet another problem with the html5lib tree builder, caused byLeonard Richardson
html5lib's tendency to rearrange the tree during parsing. [bug=1189267]
2013-08-12Prep for release.Leonard Richardson
2013-08-12All find_all calls should now return a ResultSet object. Patch byLeonard Richardson
Aaron DeVore. [bug=1194034]
2013-08-12A little cleanup.Leonard Richardson
2013-06-03Updated NEWS.Leonard Richardson
2013-06-03Added raw html5lib to the list of parsers that get tested.Leonard Richardson
2013-06-03Beautiful Soup will issue a warning if instead of markup you pass itLeonard Richardson
a URL or the name of a file on disk (a common beginner mistake).
2013-06-02Merged in big encoding-detection refactoring branch.Leonard Richardson
2013-05-31The html.parser treebuilder can now handle numeric attributes inLeonard Richardson
text when the hexidecimal name of the attribute starts with a capital X.
2013-05-31Reverted the patch that gives NavigableString a .name property, because ↵Leonard Richardson
that's too big an API change for a bugfix release.
2013-05-20The default XML formatter will now replace ampersands even if they appear to ↵Leonard Richardson
be part of entities. That is, "<" will become "<".[bug=1182183]
2013-05-20A NavigableString object now has an immutable '.name' property whoseLeonard Richardson
value is always None. This makes it easier to iterate over a mixed list of tags and strings without having to check whether each element is a tag or a string.
2013-05-20The .previous_element of a BeautifulSoup object is now always None,Leonard Richardson
2013-05-20Fixed another bug by which the html5lib tree builder could create aLeonard Richardson
disconnected tree. [bug=1182089]
2013-05-20Gave new_string() the ability to create subclasses ofLeonard Richardson
NavigableString. [bug=1181986]
2013-05-20html5lib now supports Python 3. Fixed some Python 2-specificLeonard Richardson
code in the html5lib test suite. [bug=1181624]
2013-05-14Added a deprecation warning to has_key().Leonard Richardson
2013-05-08Fixed terminology.Leonard Richardson
2013-05-08Updated news.Leonard Richardson
2013-05-08Moved select() to Tag. It was always an error to call select() on a string, ↵Leonard Richardson
so there's no reason for it to be in PageElement.
2013-05-07Fixed up diagnose() and added it to the docs.Leonard Richardson
2013-05-07Fixed an exception when an overspecified CSS selector didn't matchLeonard Richardson
anything. Code by Stefaan Lippens. [bug=1168167]
2013-05-07Added support for the "nth-of-type" CSS selector. The CSS selector ">" can ↵Leonard Richardson
now find a tag by means other than the tag name. Code by Sven Slootweg.
2013-05-07The prettify() method now leaves the contents of <pre> tagsLeonard Richardson
alone. [bug=1095654]
2013-05-07Merged.Leonard Richardson
2013-05-07Aliased the BeautifulSoup class to the easier-to-type "_s" and "_soup".Leonard Richardson
2013-05-07Now that lxml's segfault on invalid doctype has been fixed, fix aLeonard Richardson
corresponding problem on the Beautiful Soup end that was previously invisible. [bug=984936]
2013-05-06Stop a crash when unwisely messing with a tag that's beenLeonard Richardson
decomposed. [bug=1097699]
2013-05-06Methods like get_text() and properties like .strings now only giveLeonard Richardson
you strings that are visible in the document--no comments or processing commands. [bug=1050164]
2013-05-06 Fix a bug by which keyword arguments to find_parent() were not being passed ↵Leonard Richardson
on. [bug=1126734]
2013-05-06In an HTML document, the contents of a <script> or <style> tag willLeonard Richardson
no longer undergo entity substitution by default. XML documents work the same way they did before. [bug=1085953]
2012-10-11Fix a bug in the lxml treebuilder which crashed when a tag includedLeonard Richardson
an attribute from the predefined xml: namespace. [bug=1065617]
2012-08-21Added bug reference.Leonard Richardson
2012-08-20Python 3.1 also needs to skip the unicode attribute name test.Leonard Richardson
2012-08-20Raise a more specific error (FeatureNotFound) when a requestedLeonard Richardson
parser or parser feature is not installed. Raise NotImplementedError instead of ValueError when the user calls insert_before() or insert_after() on the BeautifulSoup object itself. Patch by Aaron Devore. [bug=1038301]
2012-08-20Skipped a test under Python 2.6 to avoid a spurious test failure. [bug=1038503]Leonard Richardson
2012-08-17Fixed a crash on encoding when an attribute name containedLeonard Richardson
non-ASCII characters.
2012-08-17Prep for release.Leonard Richardson
2012-08-16As per PEP-8, allow searching by CSS class using the 'class_'Leonard Richardson
keyword argument. [bug=1037624]
2012-08-16Use namespace prefixes for namespaced attribute names, instead ofLeonard Richardson
the fully-qualified names given by the lxml parser. [bug=1037597]
2012-07-03When sniffing encodings, if the cchardet library is installed, use it ↵Leonard Richardson
instead of chardet. It's much faster. [bug=1020748]
2012-07-03Use logging.warning() instead of warning.warn() to notify the user that ↵Leonard Richardson
characters were replaced with REPLACEMENT CHARACTER. [bug=1013862]
2012-07-03get_text() now returns an empty Unicode string if there is no text, rather ↵Leonard Richardson
than an empty bytestring. [bug=1020387]
2012-07-02Fixed a typo that made parsing much slower than it should have been. ↵Leonard Richardson
[bug=1020268]
2012-06-30Fixed an html5lib tree builder crash which happened when html5libLeonard Richardson
moved a tag with a multivalued attribute from one part of the tree to another. [bug=1019603]
2012-05-29Prep for release.Leonard Richardson
2012-05-24 Fixed the inability to search for non-ASCII attributeLeonard Richardson
values. [bug=1003974] This caused a major refactoring of the search code. All the tests pass, but it's possible that some searches will behave differently.
2012-05-24Fixed the basic failure in [bug=1003974], but not more advanced cases.Leonard Richardson
2012-05-24 Fixed some edge-case bugs having to do with inserting an elementLeonard Richardson
into a tag it's already inside, and replacing one of a tag's children with another. [bug=997529]