Skip to content
This repository
Newer
Older
100644 58 lines (46 sloc) 1.893 kb
2728bfef »
2011-01-12 Fixing CDATA issue in #10.
1 API Changes in 2.1.1
2
3 * NEW METHOD: document() returns the DOMDocument
4 * BUG FIX: Issue #10 has been re-fixed to correctly collapse certain empty tags.
5 * BUG FIX: Issue #10 has been re-fixed to correctly escape JavaScript for browsers.
a03dd30a »
2011-01-13 Updated RELEASE and API documents.
6 * BUG FIX: Issue #47 has been fixed to only remove XML declaration, but leave DOCTYPE.
8282d9df »
2011-04-21 Added support for extra argument on xpath(). Thanks, Xavier Prudhomme
7 * NEW ARGUMENT: xpath() now supports $options, which includes the ability to set a namespace.
2728bfef »
2011-01-12 Fixing CDATA issue in #10.
8
9 API Changes in 2.1
fe2107bf »
2010-09-19 Added files preparing for PEAR package.
10
11 All changes are documented in their respective doc blocks. So take a
12 look at http://api.querypath.org to learn more.
13
14 New Functions
15 * The `htmlqp()` method has been added for parsing icky HTML. Use
16 this for web scraping.
17
18 Altered Functions
19 * The qp() function now supports the following new options:
20 - convert_to_encoding
21 - convert_from_encoding
22 - strip_low_ascii
23 - use_parser
24
25 New Methods
26 * attach()/detach()
27 * has()
28 * emptyElement()
29 * even()/odd()
30 * first()/last()
31 * firstChild()/lastChild()
32 * nextUntil()/prevUntil()
33 * parentsUntil()
34 * encodeDataURL()
35 * dataURL()
cf6765d0 »
2010-10-11 Updated API and RELEASE notes to include new additions.
36 * filterPreg()
c5c8a5be »
2010-11-05 Added textBefore/textAfter.
37 * textBefore()/textAfter()
fe2107bf »
2010-09-19 Added files preparing for PEAR package.
38
39 Altered Methods
40 * css() has been changed to allow subsequent calls
41 to modify the style attribute (issue #28)
42 * attr() has been changed. If it is called with no
43 arguments, it now returns all attributes.
cf6765d0 »
2010-10-11 Updated API and RELEASE notes to include new additions.
44
a11f1121 »
2010-10-11 Updated support docs (README, API).
45 New CSS Selectors Behavior
cf6765d0 »
2010-10-11 Updated API and RELEASE notes to include new additions.
46
47 * :contains-exactly() performs as :contains() used to perform.
48
a11f1121 »
2010-10-11 Updated support docs (README, API).
49 Altered CSS Selectors Behavior
cf6765d0 »
2010-10-11 Updated API and RELEASE notes to include new additions.
50
a11f1121 »
2010-10-11 Updated support docs (README, API).
51 * The star operator (*) is now non-greedy, per spec. Before, the star would match
52 any descendants. Now it will only match children.
cf6765d0 »
2010-10-11 Updated API and RELEASE notes to include new additions.
53 * :contains() now does substring matching instead of exact matching. This conforms
54 to jQuery's behavior.
a11f1121 »
2010-10-11 Updated support docs (README, API).
55 * Quotes are now checked carefully before being stripped from pseudo-class values.
69b43070 »
2010-10-20 Renamed RELEASE and API files.
56 * Issue #40 identified a potential infinite looping problem on poorly formed selectors.
57 This was fixed.
Something went wrong with that request. Please try again.