Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Web::Query
2
3 1.01 2024-01-12
4 [BUG FIXES]
5 - Fix tests to work with new version of HTML::TreeBuilder::LibXML. (GH#57)
6
7 [DOCUMENTATION]
8 - Fix documentation typos. (GH#56, esabol)
9
10 [ENHANCEMENTS]
11 - Move tests to Test2::V0.
12
13 [STATISTICS]
14 - code churn: 48 files changed, 229 insertions(+), 210 deletions(-)
15
16 1.00 2023-09-06
17 [API CHANGES]
18 - Web::Query will now throw when failing to retrieve an url, instead of
19 silently returning C<undef>. (GH#55)
20
21 [STATISTICS]
22 - code churn: 8 files changed, 56 insertions(+), 32 deletions(-)
23
24 0.39 2018-08-21
25 [BUG FIXES]
26 - localize $@ in destructor to prevent clobbering. (GH#51, Maurice Aubrey)
27
28 [STATISTICS]
29 - code churn: 6 files changed, 81 insertions(+), 4 deletions(-)
30
31 0.38 2016-07-03
32 [BUG FIXES]
33 - HTML::Selector::XPath 0.19 has a bug regarding '//b' expressions.
34
35 [STATISTICS]
36 - code churn: 2 files changed, 9 insertions(+), 2 deletions(-)
37
38 0.37 2016-07-02
39 [BUG FIXES]
40 - Require List::Util 1.44+ (for 'uniq')
41
42 [STATISTICS]
43 - code churn: 2 files changed, 19 insertions(+), 7 deletions(-)
44
45 0.36 2016-06-30
46 [BUG FIXES]
47 - `->text()` doesn't break on text nodes. (GH#47, reported by Gabor Szabo)
48
49 [DOCUMENTATION]
50 - Add mention of a way to get PIs of XML documents (GH#49).
51
52 [ENHANCEMENTS]
53 - `wq()` can now create an empty document.
54 - Add 'join' argument to `as_html`.
55 - Add 'match' function.
56 - Add 'split' function. (GH#45)
57
58 [STATISTICS]
59 - code churn: 11 files changed, 322 insertions(+), 46 deletions(-)
60
61 0.35 2016-05-31
62 [DOCUMENTATION]
63 - Add troubleshooting entry for 'script' elements. [GH#8]
64
65 [ENHANCEMENTS]
66 - 'attr' method now accept many attributes and code refs in setter mode.
67
68 [STATISTICS]
69 - code churn: 6 files changed, 104 insertions(+), 33 deletions(-)
70
71 0.34 2015-09-23
72 [BUG FIXES]
73 - 'filter' was exploding on text nodes. [GH#44]
74
75 [STATISTICS]
76 - code churn: 4 files changed, 24 insertions(+), 4 deletions(-)
77
78 0.33 2015-09-23
79 [BUG FIXES]
80 - Make sure we use XML::LibXML > 2.0107 for `unique_keys`. [GH#43]
81 - 'filter' with coderef was not generating a sub-WQ object.
82
83 [ENHANCEMENTS]
84 - Be more resilient to #text nodes. (GH#42)
85
86 [STATISTICS]
87 - code churn: 6 files changed, 101 insertions(+), 34 deletions(-)
88
89 0.32 2015-08-29
90 [ENHANCEMENTS]
91 - add id() as a shortcut method for `->attr('id')`. [GH#38]
92 - add 'name()' as a shortcut method for `->attr('name')`. [GH#39]
93 - add 'data()' as a shortcut method for `->attr('data-*foo*')`. [GH#40]
94 - add `toggle_class()` method. [GH#41]
95
96 [STATISTICS]
97 - code churn: 5 files changed, 394 insertions(+), 172 deletions(-)
98
99 0.31 2015-08-25
100 - each() would skip nodes if its subref was calling remove(). [yanick]
101 - remove duplicate code for duplicate(). [yanick]
102
103 [STATISTICS]
104 - code churn: 5 files changed, 46 insertions(+), 25 deletions(-)
105
106 0.30 2015-08-23
107 - next_until.t was failing if XML::LibXML isn't installed. [yanick]
108
109 0.29 2015-08-21
110 - add() now returns a new element (instead of modifying $self). [yanick]
111 - added 'not()'. [yanick]
112 - added 'and_back'. [yanick]
113 - added 'next_until()'. [yanick]
114
115 0.28 2015-06-30
116 - new_from_html with options was breaking 'end()'. (yanick)
117
118 0.27 2014-12-24T00:52:33Z
119 - new() with a bad url wasn't returning 'undef' when options were given.
120 (yanick)
121 - Add 'no_space_compacting' option. #33 (yanick)
122 - Add 'tagname' to query/modify tag names. #34 (yanick)
123 - XPath expressions can now be used as well. #35 (yanick)
124
125 0.26 2014-03-31T08:23:34Z
126 - impl prev() and next() method #31 (xaicron)
127
128 0.25 2014-02-13T01:26:42Z
129 - re-packaging(no feature changes)
130
131 0.24 2014-02-12T05:34:09Z
132 - replace_with: Can't call method "clone" on an undefined value #24
133 (Reported by @daxim++, Fixed by @yanick++)
134
135 0.23 2013-05-30T16:09:03Z
136 - improved find() documentation
137 - fixed cpanfile min perl version
138 - modified tests to use the expression form of eval to try to load
139 Web::Query::LibXML - the block form of eval is not working as expected
140 on some perl versions on i386-freebsd (cafe01)
141
142 0.22 2013-05-15T23:36:38Z
143 - added new module: Web::Query::LibXML
144 - modified test files to also test Web::Query::LibXML (if it loads).
145
146 0.21 2013-05-15T14:36:11Z
147 - new jQuery-compatible method: add()
148 - fixed filter() that relied on wrong find() behavior
149 - fixed two t/03_traverse.t tests that was expecting wrong behavior from
150 filter()
151
152 0.20 2013-05-13T22:51:02Z
153 - improved documentation
154 - fixed find() to match only descendant elements This is the correct
155 jQuery compatible implementation, which I have changed in 0.14 to also
156 match root nodes, my bad.
157 - fixed tests that relied on that wrong find() behavior. (cafe01)
158
159 0.19 2013-05-12T18:19:57Z
160 - implemented contents() jQuery-compatible method
161 - new() now accepts another Web::Query object (cafe01)
162
163 0.18 2013-05-09T19:40:40Z
164 - fixed html() method, now using $self->_build_tree
165 - calling parent() instead of undocumented getParentNode()
166 - calling disembowel() instead of guts() Need for Web::Query::LibXML, so
167 nodes get detached from old document and returned each as root of a new
168 document. (Carlos Fernando Avila Gratz)
169
170 0.17 2013-05-08T01:18:36Z
171 - new_from_file() now calling guts() instead of elementify() So the file
172 can contain a document fragment (multiple root nodes) instead of a full
173 document (single root). Also, now all new_from_* methods behave the
174 same. (Carlos Fernando Avila Gratz)
175
176 0.16 2013-04-22T14:26:44Z
177 - modified new_from_element() to ignore non-blessed items (Carlos Fernando
178 Avila Gratz)
179 - created _build_tree() method (Carlos Fernando Avila Gratz)
180
181 0.15 2013-04-09T00:29:48Z
182 - added clone() method (Carlos Fernando Avila Gratz)
183 - now storing comments from parsed html (Carlos Fernando Avila Gratz)
184 - fixed remove() to get rid of removed element refs removes from $self and
185 from all $self->{before}. Also modified how each() instantiates the
186 objects, so $_->end works in the callback, which is needed for
187 $_->remove() to work in the callback. (Carlos Fernando Avila Gratz)
188
189 0.14 2013-04-07T02:22:25Z
190 - new jQuery compatible methods, and related tests * append * prepend *
191 before * after * insert_before * insert_after * detach * add_class *
192 remove_class * has_class (Carlos Fernando Avila Gratz)
193
194 0.13 2013-04-05T06:37:27Z
195 - fixed find() bug was calling selector_to_xpath() in the loop, breaking
196 the selector after the second call. (Carlos Fernando Avila Gratz)
197 - Search from '//' when the node was created from HTML. (tokuhirom)
198
199 0.12 2013-04-03T20:24:49Z
200 - Make subclass friendly (Carlos Fernando Avila Gratz)
201
202 0.11
203 - Implement a remove method that effects the html results. (gugod++)
204
205 0.10
206 [INCOMPATIBLE CHANGES]
207 - new_from_url() is no longer throws exception on bad response from HTTP
208 server. https://rt.cpan.org/Ticket/Display.html?id=76187 (oleg++)
209
210 0.09
211 - Switch to Module::Build
212 - first() and last() should construct new object, but not modify self
213 (Oleg++)
214
215 0.08
216 - added ->map and ->filter methods (Hiroki Honda)
217 - fixed as (empty)->first->size and (empty)->last->size return 0 (Hiroki
218 Honda)
219
220 0.07
221 - HTML5 support
222
223 0.06
224 - added first, last methods(akiym)
225
226 0.05
227 - added docs for 'how do i customize useragent'.
228
229 0.04
230 - added ->size and ->parent method.
231
232 0.03
233 - fix fucking win32 new line issue. (it may works, i hope.)
234
235 0.02
236 - added docs for find method(reported by kan++).
237
238 0.01 2011-02-19T10:38:22Z
239 - original version