merge
[catagits/HTML-Zoom.git] / Changes
1 0.009008 2013-02-28
2   - Several patches for incorrect functionality (thanks to Jim Miner &
3     stratman@gmail.com) :-
4
5   - Don't throw away leading PCDATA in $text, in _hacky_tag_parser().
6     This is important so we can use from_html and replace_content to
7     insert fragments with or without markup into templates.
8
9   - Fix matching against attribute value "0" (zero) or "" (empty).
10
11   - Fix parsing of selectors matching against attribute value "" (empty).
12     (This does not fix parsing of single-quoted attribute values.)
13
14 0.009007 2013-02-24
15   - Remove long form ( name, value ) for attributes to set_attribute / add_attribute
16     to allow future enhancements (selector in options).
17
18 0.009006 2011-05-20
19   - Add DESTROY method to fix test failures / warnings in perl >= 5.13.1
20
21 0.009005 2011-05-12
22
23   - Perforce escaping of meta-characters in selectors and test (rafl)
24   - New Feature:  HTML::Zoom will autoload FilterBuilder functions so that
25     you can avoid a bit of boilerplate in method calls.  Now you can replace:
26
27         $z->select('div')->replace_content("Hello World");
28
29     With:
30
31         $z->replace_content(div => "Hello World");
32
33   - Lots of changes to FilterBuilder so that functionality matched the docs
34     better, improved the docs and added tests for documented functions to
35     avoid future regressions.
36
37   - add / to excluded characters in attribute names to correctly parse <br/>
38   - add transform_attribute method (rbuels)
39
40 0.009004 2011-02-14
41
42   - Large chunks of documentation improvements from jnareb
43   - apply_if method from ocharles
44   - selector improvements and bugfixes (jnareb, mst)
45
46 0.009003 2010-10-12
47
48   - mst is an idiot and forgot to add strictures.pm as a dependency
49
50 0.009002 2010-10-12
51
52   - Added support for more selector syntax support including:
53       element#id
54       element.class
55       element[attr=foo]
56       element[attr*=foo]
57       element[attr~=foo]
58       element[attr]
59       element[attr^=foo]
60       [attr=foo]
61   - HTML::Zoom::MatchWithoutFilter replaced by HTML::Zoom::TransformBuilder
62   - Improved documentation, including documentation for HTML::Zoom::FilterBuilder.
63   - Lots of other refactoring, internal improvements & bugfixes!
64
65 0.009001 2010-03-17
66
67   - First release