# $Id: Changes,v 1.59 2003/09/23 03:02:03 petdance Exp $
Revision history for Perl extension WWW::Mechanize
0.60 Septemberr 22, 2003 10:00pm
[FIXES]
* Changed how t/failure.t tries to fail. It used to hit
a bogus hostname in .com, but with Verisign doing its
SiteFinder crap, even bogus addresses in .com succeed.
[ENHANCEMENTS]
* Added _make_request() to let WWW::Mechanize::Cached easily
hook into the request chain.
0.59 September 3, 2003 11:56pm
[FIXES]
* Squelched a warning in follow() where it tries to do a regex
match against an undef value.
* The page stack functionality, including the back() button,
was entirely broken. Now it works. Thanks to the mighty
Iain Truskett for help.
[ENHANCEMENTS]
* Added the mech-dump script, which replaces mech-forms.
It will dump forms and lists of links. Eventually it will
do lists of images, too, but not yet.
0.58 August 14, 2003 11:30pm
[THINGS THAT MIGHT BREAK YOUR CODE]
* $mech->uri() now returns a plain string, not a URI object.
The automatic stringification of the URI object was
causing problems on Win32 and/or threaded Perls, and I
didn't feel like figuring out why. If the non-objectness
of the uri() method is a problem, let me know.
* form(), form_name() and form_number() now return the
HTML::Form object of the form that was chosen. They used
to return a 1 or 0. This means that if you're explicitly
checking for 1 or 0, instead of evaluating the return
code in a boolean context, your code will break.
[FIXES]
* The -handling in extract_links() was incorrectly
building the text.
* uri() now returns a string, not a URI object.
* form(), form_name() and form_number() now return the
HTML::Form object of the form that was chosen.
[INTERNALS]
* Determination of live vs. local tests is now done in
Makefile.PL, and we don't have to set those silly semaphore
files any more.
* Made other cleanups in Makefile.PL, like using
ExtUtils::Command instead of rolling my own touch().
* Moved all the *-live.t tests into t/live/*.t, and renamed
the *-local.t files to not be -local.
* Added more tests for tags.
0.57 July 31, 2003 11:21pm
[ENHANCEMENTS]
* Added tags to those that are links per
find_links().
0.56 July 24, 2003 12:15pm
[THINGS THAT MIGHT BREAK YOUR CODE]
* Created agent_alias() method to do the browser string
translation. Passing "Windows IE 6" to agent() will get
you back exactly that string as the agent. You have to call
$a->agent_alias( "Windows IE 6" ) to get the translation.
Fortunately, unless you used the new functionality of agent() in
the past two days since I released 0.55, it won't be a problem.
[ENHANCEMENTS]
* Removed the dependencies on Carp and Test::Builder. There still
is a dependency on Test::Builder for Test::More, but it's no
longer explicit in the Makefile.PL. Mech will use Carp if
possible, but it's no longer a requirement.
[INTERNALS]
* Added _carp method for handling conditional warnings, rather
than checking quiet() all the time.
0.55 July 22, 2003 12:10pm
[ENHANCEMENTS]
* Added WWW::Mechanize::Link object to encapsulate what used to
be an array reference of stuff from find_link(). This replaces
having to know that $link->[0] was URL and so on. However,
since WWW::Mechanize::Link is a blessed arrayref, it's backwards
compatible with existing code.
* The WWW::Mechanize::Link object now tracks what tag the link
came from (, or