cpan WWW-Mechanize 1.05_03

latest releases: 2.19, 2.18, 2.17...
pre-release20 years ago

[ENHANCEMENTS]

  • click_button() has a new input option for HTML::Form::SubmitInput
    objects (DOMQ)

  • content() has new options to return the page formatted
    as text, with a added. (RT#8087, patch by
    Dominique Quatravaux)

  • update_html() method has been added, which can be used
    to modify the HTML that Mech parses. It should be sub-classed
    instead of _parse_html(), which has been deprecated.
    (RT#8087, patch by Dominique Quatravaux)

  • select() has new option to select an option by number
    (RT#5789, Scott Lanning)

  • WWW::Mechanize::Link now has support providing all the
    attributes of the link through a new attrs() method, which
    returns them as a hashref. This is a replacement for the
    alt() method, added in 1.05_01. It's not backwards
    compatible with that, but, hey, that's what developer
    releases are for. (RT#8092, Rob Casey and Mark Stosberg)

[FIXES]

  • Upload does not use the default
    value to prevent attacks, patch by Jan Pazdziora (RT #7843).

[INTERNALS]

  • Improved tests and documentation for select() (RT#5789,
    Scott Lanning)

  • Improve taint-safeness on Perl 5.6.1 (RT#8042, patch by
    Dominique Quatravaux)

  • Added tests for click_button() (RT#8061, by Dominique
    Quatravaux)

  • Require URI 1.25, fixing bug which exposed itself in
    WWW::Mechanize (RT#3048)

  • Move select() to better location in docs. Document and
    test the return values. The return value is now "1" on
    success instead of the undocumented behavior of returning
    a form value. (RT#6138, spotted by MJD, patched by Mark
    Stosberg)

  • Possible matching tags for the find_link() 'tag_regex'
    attribute are now documented. (RT#2989, by Mark Stosberg)

  • refactored find_link() to avoid use of eval(). This should
    improve performance a bit and avoid potential security
    issues. (Mark Stosberg)

Don't miss a new WWW-Mechanize release

NewReleases is sending notifications on new releases.