Skip to content

Commit

Permalink
Update to 0.9.1:
Browse files Browse the repository at this point in the history
Version 0.9.1
-------------

Released on 2013-10-17.

* **Backward incompatible change from 0.9**:
  :meth:`~GenericTranslator.selector_to_xpath` defaults to
  ignoring pseudo-elements,
  as it did in 0.8 and previous versions.
  (:meth:`~GenericTranslator.css_to_xpath` doesn’t change.)
* Drop official support for Python 2.4 and 3.1,
  as testing was becoming difficult.
  Nothing will break overnight,
  but future releases may on may not work on these versions.
  Older releases will remain available on PyPI.


Version 0.9
-----------

Released on 2013-10-11.

Add parser support for :attr:`functional
pseudo-elements <Selector.pseudo_element>`.

*Update:*
This version accidentally introduced a **backward incompatible** change:
:meth:`~GenericTranslator.selector_to_xpath` defaults to
rejecting pseudo-elements instead of ignoring them.


Version 0.8
-----------

Released on 2013-03-15.

Improvements:

* `#22 <https://github.com/SimonSapin/cssselect/issues/22>`_
  Let extended translators override what XPathExpr class is used
* `#19 <https://github.com/SimonSapin/cssselect/issues/19>`_
  Use the built-in ``lang()`` XPath function
  for implementing the ``:lang()`` pseudo-class
  with XML documents.
  This is probably faster than ``ancestor-or-self::``.

Bug fixes:

* `#14 <https://github.com/SimonSapin/cssselect/issues/14>`_
  Fix non-ASCII pseudo-classes. (Invalid selector instead of crash.)
* `#20 <https://github.com/SimonSapin/cssselect/issues/20>`_
  As per the spec, elements containing only whitespace are not considered empty
  for the ``:empty`` pseudo-class.


Version 0.7.1
-------------

Released on 2012-06-14. Code name *remember-to-test-with-tox*.

0.7 broke the parser in Python 2.4 and 2.5; the tests in 2.x.
Now all is well again.

Also, pseudo-elements are now correctly made lower-case. (They are supposed
to be case-insensitive.)
  • Loading branch information
wiz committed Apr 11, 2014
1 parent 5758166 commit 4cf2209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions textproc/py-cssselect/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.2 2013/04/06 03:45:26 rodent Exp $
#
# $NetBSD: Makefile,v 1.3 2014/04/11 17:58:35 wiz Exp $

DISTNAME= cssselect-0.7.1
DISTNAME= cssselect-0.9.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= http://pypi.python.org/packages/source/c/cssselect/
Expand Down
8 changes: 4 additions & 4 deletions textproc/py-cssselect/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/01/13 15:20:35 jakllsch Exp $
$NetBSD: distinfo,v 1.2 2014/04/11 17:58:35 wiz Exp $

SHA1 (cssselect-0.7.1.tar.gz) = 77787495a6dc2d02231b62cfa962e2c202a9cb23
RMD160 (cssselect-0.7.1.tar.gz) = a30ebdddeacfdd2fe3a7176b3471eacde8732399
Size (cssselect-0.7.1.tar.gz) = 30480 bytes
SHA1 (cssselect-0.9.1.tar.gz) = 90a0738604ffc7b1e33d4e86347f45206530a4b0
RMD160 (cssselect-0.9.1.tar.gz) = 5e1c8da5e94411ca3928d3a805b60fe51d7f8484
Size (cssselect-0.9.1.tar.gz) = 32952 bytes

0 comments on commit 4cf2209

Please sign in to comment.