cpan WWW-Mechanize 1.66

latest releases: 2.19, 2.18, 2.17...
14 years ago

[FIXED]
Fixed prerequisites on HTTP::Server::Simple on Windows.

DNS checks in t/autocheck.t and t/local/failure.t improved. Thanks,
Schwern.

[ENHANCEMENTS]
New $mech->text method returns the text from your HTML page. The
exact rendering of this text is simply removing all the HTML
tags, but this will change. It's pretty ugly. If anyone wants to
work on a better-looking text dump, I'd love to see it.

Added mech-dump --text.

[DOCUMENTATION]
Improvements to the docs explaining explicitly about the subclassed
methods we inherit from LWP::UserAgent. Thanks, Lyle Hopkins!

1.64 Thu Jul 1 10:41:00 CDT 2010

[THINGS THAT MAY BREAK YOUR CODE]
If you've been accessing $mech->{forms} or $mech->{form} values
directly, instead of going through the $mech->forms or $mech->current_form
accessors, respectively, then this version of Mech will break your
code.

[ENHANCEMENTS]
Parsing of forms has been delayed until they're actually needed.
If don't use forms on a page, you'll no longer waste time and memory
parsing them.

$mech->title now caches the title of the page after parsing the
page to find it.

mech-dump now takes a --cookie-file parameter for keeping cookies
between calls. Thanks, Damien Clark.

[DOCUMENTATION]
Typo fixes.

1.62 Sat Apr 10 23:10:07 CDT 2010

[FIXED]
Fixed a declaration in the Movable Type example in
WWW::Mechanize::Examples.

Quiet warnings if %ENV has undef values.

$mech->follow_link() no longer dies with an inappropriate error if
the link is not found.

$mech->click_button() now checks to see if a form is selected.

[INCOMPATIBILITIES]
$mech->form_name() and $mech->form_number() no longer throw warnings
if they can't find the form specified. They still return undef,
though.

[DOCUMENTATION]
More additions to the FAQ.

1.60 Mon Aug 17 00:41:39 CDT 2009

No new features. Exists only to skip tests that always fail on
Windows.

Fixed up some minor documentation problems.

1.58 Mon Jul 13 22:32:23 CDT 2009

No new features. If you have 1.56 installed OK, you do NOT need
to install 1.58.

[FIXES]
Removed prereq of HTTP::Response::Encoding, even though it was never
used. Thanks for the catch, Gisle.

1.56 Thu Jul 9 00:36:54 CDT 2009

[THINGS THAT MAY BREAK YOUR CODE]
For a while, Mech used HTTP::Response::Encoding to try to suss out
the proper encoding of the page it receives. Now, it lets
LWP::UserAgent do the work, and no longer requires
HTTP::Response::Encoding.

[ENHANCEMENTS]
Added a new dump_headers() method to dump the HTTP response headers.

Added --headers flag to mech-dump to dump the HTTP response headers.

[FIXES]
Now requires LWP version 5.829 because HTTP::Response has memory
cycle bugs.

[DOCUMENTATION]
Added a few notes to the FAQ, and fixed some incorrect docs.

1.55_01 Mon Jul 6 12:17:10 CDT 2009

This is mostly a bug fix release. There will be a number of other
bug fix releases in the next few days.

[FIXED]
New test server now randomizes the port it runs on.

t/cookies.t should not hang on Windows any more.

META.yml has been updated so the search.cpan.org links should be
correct.

Passing no_proxy would make LWP::UserAgent barf. Thanks to Mike
Schilli for the fix.

Cookies test would fail under Windows. Fixed, thanks to many people
reporting it.

[ENHANCEMENTS]
$mech->submit_form() now can specify the form by ID using the form_id
parameter.

[DOCUMENTATION]
The docs used to say that ->stack_depth(0) was an infinite stack
size. This is wrong. Zero will tell Mech not to keep any history.

1.54 Mon Jan 12 00:36:08 CST 2009

[FIXED]
Removed the computers4sure test that was failing.

1.52 Tue Nov 25 09:52:30 CST 2008

[FIXED]
Improved some error messages in $mech->submit_form(). Thanks to
Norbert Buchmuller.

1.51_03 Thu Nov 20 11:05:49 CST 2008

[FIXED]
The $mech->clone() method was not passing the cookie jar to its
clone properly. Thanks to David Sainty.

The $mech->back() can fail if there's nothing on the stack to go
back to. Thanks to Dave Page.

$mech->follow_link() did not complain if a link could not be found,
even with autocheck on. Now it does. Thanks, Flavio Poletti.

[ENHANCEMENTS]
Added a $mech->form_id() method so you can look up forms by ID.

Added $mech->content_type(), because $mech->ct() is too cryptic.

1.51_02 Tue Nov 18 01:30:54 CST 2008

[STILL BROKEN]
t/local/click_button.t is still failing its tests for calling ->click
on an HTML::Form object. I suspect this is an LWP change, but I
haven't dug into it enough yet.

[FIXES]
Fixed the bad credentials API that stomped on LWP::UserAgent's
credentials() method. Thanks to Max Maschien and Matt Lawrence.

The $mech->links method now finds links. Thanks
to H.Merijn Brand.

Makefile.PL explicitly requires Perl 5.8.0.

URI.pm has to be version 1.36 or else URIs don't get encoded
correctly.

LWP has to be 5.819 or we have encoding problems.

1.51_01 Thu Nov 6 15:13:03 CST 2008

[FIXES]
Page history is now working much better. The $mech->back() method
should behave more like a browser now. Most notably, it no longer
restores the cookie state, just like your browser doesn't restore
cookie state when you page back. It also should use much less
memory.

1.50 Sun Sun Oct 26 22:42:46 CDT 2008

[THINGS THAT MAY BREAK YOUR CODE]
WWW::Mechanize now requires version 5.815 of LWP. This in itself
may cause problems for you because of changes in how LWP does
authentication.

1.49_01 Sat Sep 27 23:50:04 CDT 2008

[THINGS THAT MAY BREAK YOUR CODE]
The autocheck argument to the constructor is now ON by default,
unless WWW::Mechanize is being subclassed. There are so many new
programmers whose ->get() calls fail unchecked that I'm now putting
on the seat belts for them.

[FIXES]
I do believe we are on the way to having all the encoding problems
ironed out. This version incorporates a patch from here:

http://code.google.com/p/www-mechanize/issues/detail?id=61

Don't miss a new WWW-Mechanize release

NewReleases is sending notifications on new releases.