root/Web-Scraper/trunk/Changes

Revision 2311 (checked in by miyagawa, 13 years ago)

Checking in changes prior to tagging of version 0.09. Changelog diff is:

=== Changes
==================================================================
--- Changes (revision 6871)
+++ Changes (local)
@@ -1,5 +1,8 @@

Revision history for Perl extension Web
Scraper

+0.09 Wed Aug 15 10:51:14 PDT 2007
+ - remove Devel::Leak use from tests
+

0.08 Tue Aug 14 13:25:16 PDT 2007

- Call $tree->delete after the callback to avoid memory leaks by TreeBuilder?.

(Thanks to k.daiba for the report)

Line 
1 Revision history for Perl extension Web::Scraper
2
3 0.09  Wed Aug 15 10:51:14 PDT 2007
4         - remove Devel::Leak use from tests
5
6 0.08  Tue Aug 14 13:25:16 PDT 2007
7         - Call $tree->delete after the callback to avoid memory leaks by TreeBuilder.
8           (Thanks to k.daiba for the report)
9
10 0.07  Sat May 12 16:23:51 PDT 2007
11         - Updated dependencies for HTML::TreeBuilder::XPath
12
13 0.06  Sat May 12 15:47:27 PDT 2007
14         - Now don't use decoded_content to work with new H::R::Encoding
15
16 0.05  Wed May  9 18:21:22 PDT 2007
17         - Added (less DSL-ish) Web::Scraper->define(sub { ... }) syntax
18         - Fixed bug where the module dies if there's no encoding found in HTTP response headers
19         - Added more examples in eg/
20         - When we get value using callback, pass HTML::Element object as $_, in addition to $_[0]
21           (Suggested by Matt S. Trout)
22         - If the expression (1st argument to process()) starts with "/", it's
23           treated as a direct XPath and no Selector-to-XPath conversion is done.
24
25 0.04  Wed May  9 00:55:32 PDT 2007
26         - *API CHANGE* Now scraper {} returns Web::Scraper object and not closure.
27           You should call ->scrape() to get the response back.
28           (Suggested by Marcus Ramberg)
29
30           I loved the code returning closure, but this is more compatible to
31           scrapi.rb API and hopefully less confusing to people.
32
33 0.03  Tue May  8 23:04:13 PDT 2007
34         - use 'TEXT' rather than 'content' to grab text from element
35           to be more compatible with scrapi
36         - Added unit tests using Test::Base
37         - Refactored internal code for easier reading
38         - chained callbacks are now passed HTML::Element, not HTML, to avoid double HTML parsing
39         - Implemented callbacks (iterator) API
40         - Added 'process_first' to be compatible with scrapi
41
42 0.02  Tue May  8 20:03:37 PDT 2007
43         - Added dependencies to Makefile.PL
44
45 0.01  Tue May  8 04:05:59 2007
46         - original version
Note: See TracBrowser for help on using the browser.