| 1 |
Revision history for Perl extension HTML::Selector::XPath |
| 2 |
|
| 3 |
0.29 NEXT |
| 4 |
|
| 5 |
0.28 2023-08-07 |
| 6 |
* Restore Perl 5.8 compatibility |
| 7 |
|
| 8 |
0.27 2023-08-06 |
| 9 |
* Allow for more whitespace in An+B formulae and in parentheses |
| 10 |
* Support :nth-child(n-3) to select the first three elements |
| 11 |
* Fix handling of :nth-of-type to actually respect the type |
| 12 |
|
| 13 |
0.26 2021-12-15 |
| 14 |
* Fix typo in documentation for selector_to_xpath. |
| 15 |
It is equivalent to |
| 16 |
HTML::Selector::XPath->new(shift)->to_xpath(@_) |
| 17 |
Reported as RT 140473 by JDEGUEST |
| 18 |
|
| 19 |
0.25 2018-11-03 |
| 20 |
* Add support for compiling :disabled, :selected, :checked, :text, |
| 21 |
:last-of-type |
| 22 |
|
| 23 |
I'm not sure whether the Perl XPath libaries support this, but at least |
| 24 |
we can compile it. |
| 25 |
|
| 26 |
This addresses RT #124406, thanks to Andrew Maguire |
| 27 |
|
| 28 |
0.24 2018-11-02 |
| 29 |
* Test stability improvement if HTML::TreeBuilder::XPath is not installed |
| 30 |
* Re-release with properly fixed META.* information |
| 31 |
(RT 127555, reported by Dan Book) |
| 32 |
* No code changes, no need to upgrade |
| 33 |
|
| 34 |
0.23 2017-03-23 (Thu Mar 23 19:35:00 GMT+1 2017) |
| 35 |
* seems as if "provides" in META.json makes new versions not get indexed |
| 36 |
properly |
| 37 |
* No code changes, no need to upgrade |
| 38 |
* We also allow static installation now, without running Makefile.PL |
| 39 |
|
| 40 |
0.22 2016-09-23 (Fri Sep 23 21:35:00 GMT+2 2016) |
| 41 |
- seems as if "provides" in META.json must be a full path to the file... |
| 42 |
. No code changes, no need to upgrade |
| 43 |
|
| 44 |
0.21 Fri Sep 23 17:38:00 GMT+2 2016 |
| 45 |
- add META.json, added by Lisa Hare |
| 46 |
. No code changes, no need to upgrade |
| 47 |
|
| 48 |
0.20 Thu May 12 21:11:00 GMT+2 2016 |
| 49 |
- Fix //b by interpreting it as existing XPath expression |
| 50 |
RT #114345, reported by Alexander Hartmaier |
| 51 |
|
| 52 |
0.19 Tue May 10 19:23:00 GMT+2 2016 |
| 53 |
- Fix another bug in ':not(...)' by moving to an ad-hoc recursive |
| 54 |
descent parser, RT #114261 |
| 55 |
- Allow single and double quotes for some attributes |
| 56 |
|
| 57 |
0.18 Sat Aug 30 16:32:35 2014 - Fix bug in `:not(...)[attr] (Aaron Crane) |
| 58 |
- Support `:nth-child(odd)` and `:nth-child(even)` (Aaron Crane) |
| 59 |
- Translation of `[attr$=tail]` works with XPath 1.0 (Aaron Crane) |
| 60 |
|
| 61 |
0.17 Sat Aug 30 16:12:52 GMT+2 2014 |
| 62 |
- Support unicode characters for id and class selectors (aereal) |
| 63 |
- Normalize space characters of the class attribute (hitode909) |
| 64 |
|
| 65 |
0.16 Sat Aug 10 17:52:00 GMT 2013 |
| 66 |
- Added link to repository (D. Steinbrunner) |
| 67 |
|
| 68 |
0.15 Mon Oct 1 19:14:05 GMT 2012 |
| 69 |
- Fix bugs in :contains("string") (Aaron Crane) |
| 70 |
|
| 71 |
0.14 Mon Jan 16 22:00:00 GMT 2012 |
| 72 |
- Also allow single quotes in attribute expressions, |
| 73 |
as seems to be allowed |
| 74 |
per http://www.w3.org/TR/CSS2/syndata.html |
| 75 |
|
| 76 |
0.13 Sun Jan 15 18:52:00 GMT 2012 |
| 77 |
- Added C<prefix> option to add a prefix like C<xhtml>, |
| 78 |
contributed by Toby Inkster |
| 79 |
This closes RT #73719 |
| 80 |
|
| 81 |
0.12 Thu Nov 24 22:13:00 GMT 2011 |
| 82 |
- Add tests and fix negated selectors as reported |
| 83 |
by Nilson Santos Figueiredo Junior |
| 84 |
|
| 85 |
0.11 Sun Oct 23 21:45:00 GMT 2011 |
| 86 |
- Add test to MANIFEST so it also ships |
| 87 |
|
| 88 |
0.10 Sun Oct 23 21:10:53 GMT 2011 |
| 89 |
- Identifiers are now parsed closer to the CSS3 spec |
| 90 |
- Certain invalid attribute selectors now raise an exception |
| 91 |
|
| 92 |
0.09 Sun Oct 16 13:07:09 GMT 2011 |
| 93 |
- Fix bug in attribute-value-substring selectors where |
| 94 |
the CSS attributes were wrongly assumed to be |
| 95 |
specified with @href (Aaron Crane) |
| 96 |
- Make test suite less verbose (Aaron Crane) |
| 97 |
|
| 98 |
0.08 Sun Sep 18 12:31:31 PDT 2011 |
| 99 |
- Fix bug when combining selectors (p , q). Whitespace created invalid |
| 100 |
XPath expressions there. (Corion) |
| 101 |
- Fix bug when combining :root selectors as the second selector. |
| 102 |
The first selector was modified. (Corion) |
| 103 |
- :root now acts relative to the given "root" option, |
| 104 |
not the document root (Corion) |
| 105 |
- More css3 selectors support (Corion) |
| 106 |
|
| 107 |
0.07 Mon Mar 7 17:07:39 PST 2011 |
| 108 |
- Added a COPYRIGHT section |
| 109 |
|
| 110 |
0.06 Thu Feb 17 13:54:45 PST 2011 |
| 111 |
- Add CSS3 "=$" operator (Corion) |
| 112 |
- Add CSS3 "=^" operator (Corion) |
| 113 |
- Add complex subexpressions for :not() (Corion) |
| 114 |
- Add :empty selector (Corion) |
| 115 |
- Support 'root' parameters to to_xpath (JZOBEL, David Wheeler, Corion) |
| 116 |
|
| 117 |
0.05 Thu Feb 17 09:08:06 PST 2011 |
| 118 |
- Add CSS3 "=*" operator for real substring matching (Corion) |
| 119 |
- Add CSS3 ":first-of-type" and ":nth-of-type()" pseudo-attributes (Corion) |
| 120 |
(but if you're using them, you're likely better off using XPath already) |
| 121 |
- Add CSS3 "~" operator (Corion) |
| 122 |
- Adopt tests for "~" operator from RT #61990, by Aaron Crane (Corion) |
| 123 |
- Add :contains() selector (only immediate child nodes) (Corion) |
| 124 |
- Support implicit selectors like "> em" (translated to "* > em") (Corion) |
| 125 |
Fixes RT #50131 (Reported by David Wheeler) |
| 126 |
- Fix more implicit universal selectors (fixes RT #49982) |
| 127 |
:lang(c) as a bare selector works now (Corion, Aaron Crane) |
| 128 |
|
| 129 |
0.04 Sat Feb 27 01:43:00 PST 2010 |
| 130 |
- No code change. Fix the packaging issue and typo in the doc |
| 131 |
|
| 132 |
0.03 Sat Nov 10 20:26:47 PST 2007 |
| 133 |
* Added nth-child() support (Thanks to Tokuhiro Matsuno) |
| 134 |
|
| 135 |
0.02 Tue Oct 3 22:43:39 JST 2006 |
| 136 |
* Added support for :not() without XPath 2.0 |
| 137 |
(Thanks to Aristotle Pegaltzis) |
| 138 |
|
| 139 |
0.01 Sun Sep 24 20:10:35 2006 |
| 140 |
- original version |