-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathCHANGELOG
56 lines (45 loc) · 2.08 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Changelog
=========
Version 0.3.0 - March 3., 2015
----------------------------------
* Improvements:
* CSS selectors extensions:
* pseudo-elements ``::text`` (borrowed from Scrapy) and ``::comment``
* functional pseudo-element ``::attr(name)``
* Cleaned up documentation (thanks @eliasdorneles!)
* New ``keys()`` method for ``Parselet`` nodes
Version 0.2.0 - August 5., 2013
---------------------------------
* Improvements:
* Support XPath namespace prefixes (``namespace:element``) and CSS namespace
prefixes (``namespace|element``) in DefaultSelectorHandler
* new built-in extension function ``parslepy:strip()`` mapped
to Python's strip() for strings
* new built-in extension function ``parslepy:attrname()``
that takes an attribute selector and returns the attribute's name
* support for user-defined extension functions, which take an additional
context parameter when called (context is passed either at selector
handler instantiation or when calling Parselet.parse())
* use ``smart_strings=False`` for XPath compiled expressions,
except for user-defined extensions and some built-in extensions
(see http://lxml.de/xpathxslt.html#xpath-return-values)
* Bug fixes:
* #2: XPath namespace prefixes raise cssselect.xpath.ExpressionError
with DefaultSelectorHandler
* #3: Docs suggest using \*.js files when they are JSON documents
* #4: The example usage should not have both url_css and url_xpath
* #5: In example usage, skip lines between "configuration" and "execution"
* #6: add underscore to _version__
* #7: Empty result set on boolean or numerical selectors
Version 0.1.2 - July 9, 2013
-----------------------------
* Bug fixes:
* #1: headingxpath rule does not seem to work as expected
Version 0.1.1 - July 3, 2013
-----------------------------
* Docstrings added to main classes and methods.
* Added parse_fromstring() method to Parselet
* Added tests for Parselet.parse() and Parselet.parse_fromstring()
Version 0.1 - June 30, 2013
---------------------------
Initial release