Revision history for Perl extension HTML::Selector::XPath
0.29 NEXT
0.28 2023-08-07
* Restore Perl 5.8 compatibility
0.27 2023-08-06
* Allow for more whitespace in An+B formulae and in parentheses
* Support :nth-child(n-3) to select the first three elements
* Fix handling of :nth-of-type to actually respect the type
0.26 2021-12-15
* Fix typo in documentation for selector_to_xpath.
It is equivalent to
HTML::Selector::XPath->new(shift)->to_xpath(@_)
Reported as RT 140473 by JDEGUEST
0.25 2018-11-03
* Add support for compiling :disabled, :selected, :checked, :text,
:last-of-type
I'm not sure whether the Perl XPath libaries support this, but at least
we can compile it.
This addresses RT #124406, thanks to Andrew Maguire
0.24 2018-11-02
* Test stability improvement if HTML::TreeBuilder::XPath is not installed
* Re-release with properly fixed META.* information
(RT 127555, reported by Dan Book)
* No code changes, no need to upgrade
0.23 2017-03-23 (Thu Mar 23 19:35:00 GMT+1 2017)
* seems as if "provides" in META.json makes new versions not get indexed
properly
* No code changes, no need to upgrade
* We also allow static installation now, without running Makefile.PL
0.22 2016-09-23 (Fri Sep 23 21:35:00 GMT+2 2016)
- seems as if "provides" in META.json must be a full path to the file...
. No code changes, no need to upgrade
0.21 Fri Sep 23 17:38:00 GMT+2 2016
- add META.json, added by Lisa Hare
. No code changes, no need to upgrade
0.20 Thu May 12 21:11:00 GMT+2 2016
- Fix //b by interpreting it as existing XPath expression
RT #114345, reported by Alexander Hartmaier
0.19 Tue May 10 19:23:00 GMT+2 2016
- Fix another bug in ':not(...)' by moving to an ad-hoc recursive
descent parser, RT #114261
- Allow single and double quotes for some attributes
0.18 Sat Aug 30 16:32:35 2014 - Fix bug in `:not(...)[attr] (Aaron Crane)
- Support `:nth-child(odd)` and `:nth-child(even)` (Aaron Crane)
- Translation of `[attr$=tail]` works with XPath 1.0 (Aaron Crane)
0.17 Sat Aug 30 16:12:52 GMT+2 2014
- Support unicode characters for id and class selectors (aereal)
- Normalize space characters of the class attribute (hitode909)
0.16 Sat Aug 10 17:52:00 GMT 2013
- Added link to repository (D. Steinbrunner)
0.15 Mon Oct 1 19:14:05 GMT 2012
- Fix bugs in :contains("string") (Aaron Crane)
0.14 Mon Jan 16 22:00:00 GMT 2012
- Also allow single quotes in attribute expressions,
as seems to be allowed
per http://www.w3.org/TR/CSS2/syndata.html
0.13 Sun Jan 15 18:52:00 GMT 2012
- Added C<prefix> option to add a prefix like C<xhtml>,
contributed by Toby Inkster
This closes RT #73719
0.12 Thu Nov 24 22:13:00 GMT 2011
- Add tests and fix negated selectors as reported
by Nilson Santos Figueiredo Junior
0.11 Sun Oct 23 21:45:00 GMT 2011
- Add test to MANIFEST so it also ships
0.10 Sun Oct 23 21:10:53 GMT 2011
- Identifiers are now parsed closer to the CSS3 spec
- Certain invalid attribute selectors now raise an exception
0.09 Sun Oct 16 13:07:09 GMT 2011
- Fix bug in attribute-value-substring selectors where
the CSS attributes were wrongly assumed to be
specified with @href (Aaron Crane)
- Make test suite less verbose (Aaron Crane)
0.08 Sun Sep 18 12:31:31 PDT 2011
- Fix bug when combining selectors (p , q). Whitespace created invalid
XPath expressions there. (Corion)
- Fix bug when combining :root selectors as the second selector.
The first selector was modified. (Corion)
- :root now acts relative to the given "root" option,
not the document root (Corion)
- More css3 selectors support (Corion)
0.07 Mon Mar 7 17:07:39 PST 2011
- Added a COPYRIGHT section
0.06 Thu Feb 17 13:54:45 PST 2011
- Add CSS3 "=$" operator (Corion)
- Add CSS3 "=^" operator (Corion)
- Add complex subexpressions for :not() (Corion)
- Add :empty selector (Corion)
- Support 'root' parameters to to_xpath (JZOBEL, David Wheeler, Corion)
0.05 Thu Feb 17 09:08:06 PST 2011
- Add CSS3 "=*" operator for real substring matching (Corion)
- Add CSS3 ":first-of-type" and ":nth-of-type()" pseudo-attributes (Corion)
(but if you're using them, you're likely better off using XPath already)
- Add CSS3 "~" operator (Corion)
- Adopt tests for "~" operator from RT #61990, by Aaron Crane (Corion)
- Add :contains() selector (only immediate child nodes) (Corion)
- Support implicit selectors like "> em" (translated to "* > em") (Corion)
Fixes RT #50131 (Reported by David Wheeler)
- Fix more implicit universal selectors (fixes RT #49982)
:lang(c) as a bare selector works now (Corion, Aaron Crane)
0.04 Sat Feb 27 01:43:00 PST 2010
- No code change. Fix the packaging issue and typo in the doc
0.03 Sat Nov 10 20:26:47 PST 2007
* Added nth-child() support (Thanks to Tokuhiro Matsuno)
0.02 Tue Oct 3 22:43:39 JST 2006
* Added support for :not() without XPath 2.0
(Thanks to Aristotle Pegaltzis)
0.01 Sun Sep 24 20:10:35 2006
- original version