~leonardr/beautifulsoup/bs4

« back to all changes in this revision

Viewing changes to NEWS.txt

  • Committer: Leonard Richardson
  • Date: 2017-05-07 01:38:56 UTC
  • Revision ID: leonardr@segfault.org-20170507013856-tayo7iulhnl3px0x
Replace get_attribute_text with get_attribute_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
= 4.6.0 (Unreleased) =
2
2
 
3
 
* Added the `Tag.get_attribute_text` method, which acts like `Tag.get` for
4
 
  getting the value of an attribute, but which joins attribute
5
 
  multi-values into a single string value. [bug=1678589]
 
3
* Added the `Tag.get_attribute_list` method, which acts like `Tag.get` for
 
4
  getting the value of an attribute, but which always returns a list,
 
5
  whether or not the attribute is a multi-value attribute. [bug=1678589]
6
6
 
7
7
* It's now possible to use a tag's namespace prefix when searching,
8
8
  e.g. soup.find('namespace:tag') [bug=1655332]