Upgrading soupsieve 0.4 to 0.5
Unknown0.4 → 0.5.3Fixed7
UnknownUpgrade verdict
1 of 4 releases publish no notes, so breaking changes can't be ruled out.
In plain terms
- Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
- DepDelta found no commit log for them either.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
function icomments(node, limit=…, mode=…) - added:
function iselect(select, node, namespaces=…, limit=…, mode=…)
- changed:
method CSSMatch.match_empty(el, is_empty) → method CSSMatch.match_empty(el, empty) - changed:
method CSSMatch.match_tag(el, tags) → method CSSMatch.match_tag(el, tag) - added:
class SoupSieve(util.Immutable) - added:
constructor SoupSieve(pattern, selectors, namespaces, mode) - added:
method CSSMatch.match_subselectors(el, selectors) - added:
method SoupSieve.comments(node, limit=…) - added:
method SoupSieve.commentsiter(node, limit=…) - added:
method SoupSieve.filter(nodes) - added:
method SoupSieve.icomments(node, limit=…) - added:
method SoupSieve.iselect(node, limit=…) - added:
method SoupSieve.match(node) - added:
method SoupSieve.select(node, limit=…) - added:
method SoupSieve.selectiter(node, limit=…)
- removed:
class Selector(namedtuple('Selector', ['tags', 'ids', 'classes', 'attributes', 'nth', 'selectors', 'is_not', 'is_empty', 'relation', 'rel_type', 'is_root'])) - removed:
class SelectorAttribute(namedtuple('AttrRule', ['attribute', 'prefix', 'pattern'])) - removed:
class SelectorNth(namedtuple('SelectorNth', ['a', 'n', 'b', 'type', 'last', 'selectors'])) - removed:
class SelectorTag(namedtuple('SelectorTag', ['name', 'prefix'])) - removed:
class SoupSieve(util.Immutable) - removed:
constructor SoupSieve(selectors, namespaces, mode) - removed:
method SoupSieve.comments(node, limit=…) - removed:
method SoupSieve.commentsiter(node, limit=…) - removed:
method SoupSieve.filter(nodes) - removed:
method SoupSieve.match(node) - removed:
method SoupSieve.select(node, limit=…) - removed:
method SoupSieve.selectiter(node, limit=…) - removed:
variable HAS_CHILD - added:
variable REL_HAS_CHILD
- added:
class Namespaces(util.ImmutableDict) - added:
class Selector(util.Immutable) - added:
class SelectorAttribute(util.Immutable) - added:
class SelectorList(util.Immutable) - added:
class SelectorNth(util.Immutable) - added:
class SelectorTag(util.Immutable) - added:
constructor Namespaces(*args, **kwargs) - added:
constructor Selector(tag, ids, classes, attributes, nth, selectors, relation, rel_type, empty, root) - added:
constructor SelectorAttribute(attribute, prefix, pattern) - added:
constructor SelectorList(selectors=…, is_not=…) - added:
constructor SelectorNth(a, n, b, of_type, last, selectors) - added:
constructor SelectorTag(name, prefix)
- added:
function deprecated(message, stacklevel=…)