Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates cssselect from 1.0.1 to 1.2.0.

Changelog

1.2.0

-------------

Released on 2022-10-27.

*   Drop support for Python 2.7, 3.4-3.6, add support for Python 3.7-3.11.

*   Add type annotations (PEP 484 and PEP 561).

*   More features from the CSS Selectors Level 4:

 *   The ``:is()`` pseudo-class.

 *   The ``:where()`` pseudo-class.

 *   The ``:has()`` pseudo-class, with some limitations.

*   Fix parsing ``:scope`` after a comma.

*   Add parentheses to fix condition precedence in some cases.

*   Private API changes related to the removal of the Python 2 support:

 * Remove ``_unicode`` and ``_unichr`` aliases from ``csselect.parser``.

 * Remove ``_basestring`` and ``_unicode`` aliases from ``csselect.xpath``.

 * Deprecate ``csselect.xpath._unicode_safe_getattr()`` and change it to just
   call ``getattr()``.

*   Include tests in the PyPI tarball.

*   Many CI additions and improvements.

*   Improve the test coverage.

1.1.0

-------------

Released on 2019-08-09.

*   Support for the ``:scope`` selector, which allows to access immediate
 children of a selector.

*   Support for the ``|E`` syntax for type selectors without a namespace.

*   A new selector method, ``canonical``, returns the CSS expression of the
 selector, as a string.

1.0.3

-------------

Released on 2017-12-27.

* Fix artifact uploads to pypi

1.0.2

-------------

Released on 2017-12-26.

* Drop support for Python 2.6 and Python 3.3.
* Fix deprecation warning in Python 3.6.
* Minor cleanups.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant