Opened 2 months ago

Closed 2 months ago

#23649 closed enhancement (fixed)

cssselect-1.5.0 (Python module)

Reported by: Bruce Dubbs Owned by: Joe Locash
Priority: normal Milestone: 13.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (2)

comment:1 by Joe Locash, 2 months ago

Owner: changed from blfs-book to Joe Locash
Status: new → assigned

comment:2 by Joe Locash, 2 months ago

Resolution: → fixed
Status: assigned → closed
Version 1.5.0
-------------

Released on 2026-07-27.

*   **Backward-incompatible change**: removed the no longer used
    ``closing_combiner`` and ``has_inner_condition`` arguments of
    ``XPathExpr.join()``. They were added for ``:has()`` support which no
    longer needs them.

*   Fixed and improved support for the following selector features:

    * ``:has()`` pseudo-class.

    * ``:is()``, ``:where()`` and ``:matches()`` pseudo-classes.

    * ``:scope`` pseudo-class.

    * ``:only-child`` and ``:only-of-type`` pseudo-classes.

    * Namespaces (``|``).

    * ``An+B`` arguments of pseudo-classes.

    * Type selectors in predicates.

*   Fixed some issues with the ``Selector.canonical()`` method.

*   Improved the ``Element.__repr__()`` and ``Relation.__repr__()`` methods.

*   Fixed ``Selector.specificity()`` calculation for the ``:is()``,
    ``:where()`` and ``:matches()`` pseudo-classes.

*   Fixed issues with whitespace and comment handling inside some selectors.

*   Fixed some exception types and messages.

*   Improved the docs about the ``:has()``, ``:is()`` and ``:where()``
    pseudo-classes and the `!=`` attribute operator.

*   Test improvements.

Fixed at 1cf09dc3f2.

Note: See TracTickets for help on using tickets.