Skip to content

Commit 55a9429

Browse files
committed
Update ChangeLog
1 parent 58ce4a0 commit 55a9429

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

ChangeLog

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
* 7.0.0 ??? ?? ????
22
- Add "filter"-style functions (think ORM-style filtering, like
3-
name__contains='abc' or name='abc' or name__ne='something').
3+
name__contains='abc' or name='abc' or name__ne='something'). Supports all filter operations provided by QueryableList
44
* These have been added to AdvancedHTMLParser.AdvancedHTMLParser (as
55
filter/filterAnd and filterOr) to work on all nodes in the parser
66
* These have been added to AdvancedTag (as filter/filterAnd and filterOr)
@@ -12,9 +12,14 @@ name__contains='abc' or name='abc' or name__ne='something').
1212
directly on the containing elements, and all children of those elements (and
1313
their children)
1414

15+
This adds QueryableList as a dependency, but setup.py can be passed "--no-deps" to skip that installation (and the filter methods will be unavailable)
16+
17+
- Add "find" function on AdvancedHTMLParser, which supports a very very small subset of QueryableList (only equals, contains, and icontains) and can be used for "similar" functionality but without the QueryableList dependency, and only usable from the document level (AdvancedHTMLParser.AdvancedHTMLParser)
18+
1519
- Support javascript-style assignment and access on a handful of tags (The older ones, name, id, align, etc).
1620
You can now do things like: myTag.name = 'hello' to set the name, and myTag.name to access it
17-
(previously you had to use setAttribute and getAttribute)
21+
(previously you had to use setAttribute and getAttribute for everything)
22+
The names used here match what are used in HTML, and include the javascript events
1823

1924

2025
- Fix where "className" could get out of sync with "classList"/"classNames"
@@ -47,6 +52,12 @@ name__contains='abc' or name='abc' or name__ne='something').
4752

4853
- Add DOM-style "attributes" to every AdvancedTag. This follows the horrible antiquated interface that DOM
4954
uses for "attributes", created before getAttribute/setAttribute were standardized.
55+
This is always available as .attributesDOM , and the dict impl always available as .attributesDict
56+
57+
By default, we will retain the "dict" impl, as the NamedNodeMap impl is deprecated.
58+
There's a new function, toggleAttributesDOM which will change the global .attributes property to be the DOM (official) or Dict (sane and prior) impl.
59+
60+
- Some minor cleanups, doc updates, test updates, etc
5061

5162

5263
* 6.8.0

0 commit comments

Comments
 (0)