Posted By: Aaron Patterson
Date: 2006-06-06 09:39
Summary: WWW::Mechanize 0.4.6
Project: Mechanize

Mechanize version 0.4.6 is now available!

= Mechanize Release Notes

== 0.4.6

The 0.4.6 release comes with proxy support which can be enabled by calling
the set_proxy method on your WWW::Mechanize object. Once you have set your
proxy settings, all mechanize requests will go through the proxy.

A new "visited?" method has been added to WWW::Mechanize so that you can see
if any particular URL is in your history.

Image alt text support has been added to links. If a link contains an image
with no text, the alt text of the image will be used. For example:

<a href="foo.html><img src="foo.gif" alt="Foo Image"></a>

This link will contain the text "Foo Image", and can be found like this:

link = page.links.text('Foo Image')

Lists of things have been updated so that you can set a value without
specifying the position in the array. It will just assume that you want to
set the value on the first element. For example, the following two statements
are equivalent:

form.fields.name('q').first.value = 'xyz' # Old syntax
form.fields.name('q').value = 'xyz' # New syntax

This new syntax comes with a note of caution; make sure you know you want to
set only the first value. There could be multiple fields with the name 'q'.

= CHANGELOG
== 0.4.6

* Added support for proxies
* Added a uri field to WWW::Link
* Added a error class WWW::Mechanize::ContentTypeError
* Added image alt text to link text
* Added an visited? method to WWW::Mechanize
* Added Array#value= which will set the first value to the argument. That
allows syntax as such: form.fields.name('q').value = 'xyz'
Before it was like this: form.fields.name('q').first.value = 'xyz'

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: www--mechanize-0.4.6

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post