Update DEPENDS
Upstream changes:
2.15 2022-08-21 07:47:35Z
[FIXED]
- There was a test suite failure on some Windows machines introduced in
2.14 that is now fixed. (GH#350) (Julien Fiegehenn)
[ENHANCEMENTS]
- form_with and all_forms_with() now support the "action" attribute to find
forms (GH#349) (Julien Fiegehenn)
2.14 2022-08-15 19:19:24Z
[FIXED]
- File upload fields now correctly handle overwriting the file name and
passing in content without a real file (GH#249) (Gil Magno and Julien
Fiegehenn)
- HTML::Form bumped to 6.08 (GH#347) (Julien Fiegehenn)
[ENHANCEMENTS]
- Add autocheck() to enable or disable autochecking at run time in
addition to setting it at object creation (GH#232) (Julien Fiegehenn)
- mech_dump now errors appropriately when it cannot open a URL or file
instead of claiming it has the wrong MIME type (GH#292) (Julien Fiegehenn)
2.13 2022-07-29 09:44:46Z
[ENHANCEMENTS]
- mech_dump now treats all local files like HTML regardless of what it
thinks their content types are (GH#63) (Julien Fiegehenn)
- We now consistently use our own die() method and therefore the onerror
handler wherever possible (GH#80) (Julien Fiegehenn)
[TESTS]
- Add tests for field() when working on a <textarea> (GH#220) (Julien
Fiegehenn)
2.12 2022-07-20 06:45:40Z
[ENHANCEMENTS]
- form_name(), form_id(), form_with() and form_with_fields() can now all
return the nth instance of a form instead of always returning the first
instance (GH#110) (Jeff Culverhouse and Julien Fiegehenn)
[TESTS]
- Tests using a local temporary server are now safe to use with HTTP/1.1
and keep-alive (GH #14) (Stanislaw Pusep and Julien Fiegehenn)
- We now use Test::Pod::LinkCheck to ensure there are no broken links in
our documentation (GH #337) (Julien Fiegehenn)
2.11 2022-07-17 17:25:39Z
[FIXED]
- tick() can now handle checkboxes without a value (GH#331) (Jordan M Adler
and Julien Fiegehenn)
[ENHANCEMENTS]
- set_fields() and submit_form(with_fields => ...) can now set multiple
choice inputs (e.g. select and radio) to the nth value (GH29) (Alastair
Douglas and Julien Fiegehenn)
2.10 2022-07-04 21:06:13Z
[ENHANCEMENTS]
- Added form_action($action) to look up forms by regex matching $action (GH#19)
(Mark Leighton Fisher and Julien Fiegehenn)
[DOCUMENTATION]
- Explain that file URIs need url encoding (GH#329) (Julien Fiegehenn and
積丹尼 Dan Jacobson)
2.09 2022-06-14 14:20:04Z
[DOCUMENTATION]
- Various POD fixes (Julien Fiegehenn)
2.08 2022-05-30 17:32:33Z
[TESTS]
- Drop CGI and HTTP::Server::Simple::CGI test dependencies (GH#327) (Graham
Knop)
2.07 2022-04-29 15:39:17Z
[FIXED]
- Don't follow redirects in some tests (GH#326) (Olaf Alders)
Upstream changes:
2.04 2021-08-06 12:28:31Z
[ENHANCEMENTS]
- Add a head() method to allow relative URLs (GH#321) (Julien Fiegehenn)
[DOCUMENTATION]
- Document that form_id() accepts an id, not a name (GH#319) (Olaf Alders)
Upstream changes:
2.03 2020-11-10 14:47:04Z
[FIXED]
- Validate exclusive button selectors (GH#314) (Ferenc Erki)
2.02 2020-10-13 13:50:28Z
[ENHANCEMENTS]
- Add redirects() as a short to HTTP::Response->redirects (GH#116) (Julien Fiegehenn)
- click_button( value => $foo) now also works for button tags and image buttons
(GH#131) (Spencer Christensen) and (Julien Fiegehenn)
[DOCUMENTATION]
- Document that click_button() will die when it cannot find a button (GH#136) (Julien Fiegehenn)
- Document that content() returns undef before a request was made (GH#134) (Julien Fiegehenn)
[TESTS]
- Add a test for dump_forms() with multiselect (GH#133) (Julien Fiegehenn)
- Add tests for select multiple (GH#132) (Michael G. Schwern) and (Julien Fiegehenn)
- Remove use of discouraged vars pragma (James Raspass)
- Add tests for dump_forms() and field() with empty attributes (GH#125) (Julien Fiegehenn)
Update DEPENDS
Upstream changes:
2.00 2020-06-09 19:09:53Z
- Require LWP::UserAgent 6.45 (GH#302) (Shoichi Kaji)
1.99 2020-06-08 15:35:04Z
- Bump HTTP::Daemon test dependency to 6.12 (GH#300) (Olaf Alders)
1.98 2020-05-25 17:06:47Z (TRIAL RELEASE)
- Don't make assumptions about port 80 in test (GH#299) (Olaf Alders)
1.97 2020-05-14 00:46:53Z
- Respect CDATA[[ sections when parsing HTML (GH#298) (Max Maischein)
- extract image links also from css (GH#12) (Jozef Kutej) and (GH#297)
(Julien Fiegehenn)
- s/parm/param/ in documentation (GH#295) (Olaf Alders)
1.96 2020-02-21 02:23:40Z [FIXED]
- HTML::Form::find_input() has a 1-based index (GH#293) (Olaf Alders)
- Fix invocation of dump_forms in mech-dump (GH#288) (積丹尼 Dan Jacobson)
- make xt/author/eol.t pass (GH#291) (Shoichi Kaji)
[DOCUMENTATION]
- Fix documentation of use of undef in form_with() and all_forms_with()
(GH#289) (積丹尼 Dan Jacobson)
1.95 2019-10-28 13:07:45Z
[FIXED]
- die if submit_form() called with invalid form_id (GH#287) (Olaf Alders)
1.94 2019-10-10 13:12:28Z
[FIXED]
- Issue #182: Don't autocheck for mech-dump so basic auth works (GH#285)
(Julien Fiegehenn)
[DOCUMENTATION]
- Fix pod error reported by CPANTS. (GH#284) (Mohammad S Anwar)
1.93 2019-10-04 21:06:49Z
[FIXED]
- Allow images to not have a src attribute (GH#282) (Julien Fiegehenn)
[DOCUMENTATION]
- Pod fixes. (GH#283) (Mohammad S Anwar)
1.92 2019-08-24 01:00:35Z
[FIXED]
- Test requires HTTP::Daemon 6.05+ and uses 127.0.0.1 or [::1] according to
server's sockdomain (GH#280) (Shoichi Kaji)
- Install LWP::Protocol::https and fix xt/author/live/encoding.t (GH#277)
(Shoichi Kaji)
- Set dist trusty for old Perls on Travis (GH#279) (Shoichi Kaji)
- Fixed pod errors as reported by CPANTS. (GH#273) (Mohammad S Anwar)
[DOCUMENTATION]
- Document that follow_link will die on failure with autocheck enabled (GH#271) (Olaf Alders)
[TESTS]
- Add a test for finding a link in a meta refresh tag (GH#275) (Olaf Alders)
Upstream changes:
1.90 2018-11-12 18:02:03Z
[DOCUMENTATION]
- Pod fixes (GH#261) (Julien Fiegehenn)
- Fixed pod error as reported by CPANTS. (GH#264) (Mohammad S Anwar)
[ENHANCEMENTS]
- Upgrade to HTML::TreeBuilder version 5 to get support for weak references in
HTML::Element (GH#251) (Julien Fiegehenn)
1.89 2018-10-18 19:13:34Z
[ENHANCEMENTS]
- Add support to find_image() and find_all_images() via 'id'
and 'class' (GH#242) (Julien Fiegehenn)
- Pass strict/verbose constructor args to HTML::Form (GH#256) (Julien Fiegehenn)
- Add ability to clear history and tests for history (GH#259) (mschae94)
1.88 2018-03-23 15:37:25Z
========================================
[FIXED]
- tick() now dies if checkbox is not found (GH#248) (Olaf Alders)
[DOCUMENTATION]
- Clarify behaviour of submit_form when with_fields is supplied as an arg (GH#247) (Olaf Alders)
- Document some "Best Practices" (GH#246) (Olaf Alders)
- Update links in Pod. Suggest LWP::ConsoleLogger rather than LWP::Debug (GH#244) (Olaf Alders)
1.87 2018-02-07 22:04:16Z
========================================
[FIXED]
- Fix typo in contributor name (GH#241) (Philippe Bruhat (BooK))
- Fix link to Michael Schilli's article in Linux magazine (GH#240) (Bernhard Wagner)
- Fix some section links (GH#238) (Evan Zacks)
- Override _agent() method. (GH#236) (Сергей Романов)
- Link to appropriate section of HTML::Form (GH#237) (Evan Zacks)
- Make version consistent in .pm files (GH#231) (Olaf Alders)
[ENHANCEMENTS]
- Return form number in list context. (GH#235) (Сергей Романов)
- Overload 'post' in order to set 'base'. (GH#111) (Stuart A Johnston)
- Allow multiple file paths/uris in mech-dump; fixes issue 72 (GH#113) (Nik LaBelle)
- Add docs for the output of dump_forms (GH#112) (John Beppu)
1.86 2017-07-04 15:48:46Z
[FIXED]
- use 127.0.0.1 instead of 'localhost' in a test script to avoid the test
hanging due to ipv6 issues (GH#31, see also changes in 1.85)
1.85 2017-06-28 22:06:00Z
========================================
[FIXED]
- use 127.0.0.1 instead of 'localhost' in a test to avoid the test hanging
due to ipv6 issues (GH#31)
- Remove private logic for taint checking (Dave Doyle)
- Fix Pod (simbabque)
- Bump Test::More prereq to get working subtest support (Karen Etheridge)
- Fix intermittent failures of taint.t (GH#108) (Kivanc Yazan)
- Fix kwalitee issues (GH#107) (Kivanc Yazan)
[ENHANCEMENTS]
- Print section titles if mech-dump --all is invoked (GH#81) (Сергей
Романов)
- Add cookbook docs on dumping a req without sending it (#115) (Grigor
Karavardanyan)
- Document that submit only submits current form (GH#114) (nawglan)
- Add Travis testing on Perl 5.26 (Karen Etheridge)
- Remove obsolete and unincremented $VERSIONs in test modules (Karen
Etheridge)
Upstream changes:
1.84 2017-03-07 13:34:57-05:00 America/Toronto
[ENHANCEMENTS]
- Parse url (href attribute) for js window.open GH#11
[FIXED]
- Set STDOUT to be utf8 in mech-dump. Fixes issue GH#36
- Added --version option to mech-dump
- Don't die on uri() when there has been no request. Fixes issue GH#60
- Remove old information from the cookbook. Fixes issue GH#28
- Documentation correction. Fixes issue GH#65 and GH#59
- Work around Test::More prior to 1.001004. Fixes GH#74
- Fix hostname in test. Fixes GH#73
1.83 2016-10-14 16:45:30-04:00 America/Toronto
========================================
[FIXED]
- Moved live tests to be author tests. Run using dzil test --author. (Steve
Scaffidi)
1.82 2016-10-06 23:00:30-04:00 America/Toronto
========================================
[ENHANCEMENTS]
- Added strict_forms flag to submit_form() which sets the HTML::Form strict flag (Gareth Tunley)
[FIXED]
- Fixed tests which tried to access HTTPS urls when LWP::Protocol::https wasn't
installed (Olaf Alders). Reported by Slaven Rezi�. See
https://github.com/libwww-perl/WWW-Mechanize/issues/54
1.81 2016-10-06 08:52:44-04:00 America/Toronto
========================================
[FIXED]
- Work around bug in HTTP::Cookies that is triggered on reload(). See
https://rt.cpan.org/Public/Bug/Display.html?id=75897 (Gianni Ceccarelli)
1.80 2016-09-24 22:38:27-04:00 America/Toronto
========================================
[FIXED]
- Fixes behaviour of submit_form() when multiple filters have been supplied (Ed
Avis)
1.79 2016-09-16 23:53:48-04:00 America/Toronto
========================================
[ENHANCEMENTS]
- Added form_with() method. (Martin Sluka)
Upstream changes:
1.78 2016-08-08 09:18:59-04:00 America/Toronto
========================================
[OTHER CHANGES]
- No changes specific to this version. First non-develepment release in about a year.
1.77 2016-08-05 12:50:12-04:00 America/Toronto (TRIAL RELEASE)
========================================
[TESTS]
- Skip Wikipedia tests if LWP::Protocol::https is not installed.
1.76 2016-07-29 12:17:25-04:00 America/Toronto (TRIAL RELEASE)
========================================
[ENHANCEMENTS]
- Added history() and history_count() methods. (Ricardo Signes)
- click_button() now accepts ids. (Olaf Alders)
- Add a more descriptive error message when ->request is called without a
parameter. (Max Maischein)
[DOCUMENTATION]
- Document that form_id warns in addition to returning undef when a form cannot
be found. (Olaf Alders)
- Document use of a proxy with bin/mech-dump. (Florian Schlichting)
[OTHER CHANGES]
- New releases for this distribution are now generated by Dist::Zilla
1.75
========================================
[OTHER CHANGES]
- WWW::Mechanize::Image and WWW::Mechanize::Link now have a defined $VERSION
- fixed warning about the use of the encoding pragma (new in 5.22) (RT#91971)
- fixed warning about the use of CGI::param in list context (RT#103096)
1.73 2013-08-24
========================================
[TESTS]
- Update t/local/back.t to use LocalServer for 404 checking to avoid fails
on win32. Fix by Matt S Trout, patient diagnostics and testing provided
by jayefuu of freenode #perl
- Blow away more proxy env vars in LocalServer, and do it on load so that
the LWP env checking doesn't happen before we've done it.
[OTHER CHANGES]
- Better error when passing only one parameter to follow_link
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
www/p5-WWW-Mechanize from 1.71 to 1.72.
pkgsrc changes:
- adjust dependencies
- update some required modules first (and hopefully don't introduced
circular dependencies)
Upstream changes:
1.72 Thu Feb 2 18:37:28 EST 2012
========================================
[DEPENDENCIES]
Bumped the HTML::Form dependency to fix failures on CentOS 5
1.71 Tue Nov 14 13:50:41 EDT 2011
========================================
[ENHANCEMENTS]
Recognise application/xhtml+xml as HTML.
[DOCUMENTATION]
Improved docs about support of JavaScript
Typo fixes.
[TESTS]
Updated tests as oops-music.com is in utf-8 now
Changes from previous:
1.70 Fri Aug 26 13:46:30 EDT 2011
========================================
[ENHANCEMENTS]
Mech now defaults to _not_ running live tests by default.
You can still enable them by running "perl Makefile.PL --live"
Thanks to RJBS for the suggestion
1.69_01
========================================
[INTERNALS]
The test suite for the local tests was updated
1.68 Fri Apr 22 01:10:40 EST 2011
========================================
No changes from 1.67_01
1.67_01
========================================
[ANNOUNCE]
As of this release, Jesse Vincent has taken over maintenance of
WWW-Mechanize. The project's repository can be found at:
https://github.com/bestpractical/www-mechanize
[FIXED]
Added prereq for HTML::TreeBuilder.
1.66 Fri Sep 10 16:25:44 CDT 2010
========================================
[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!
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Upstream changes:
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.
[DOCUMENTATION]
Typo fixes.
Upstream changes:
NEXT 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.
Upstream changes:
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.
- Updating package for p5 module WWW::Mechanize from 1.54 to 1.58
- Adjusting license and dependencies according to META.yml and Makefile.PL
Upstream changes:
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.
- Updating package for p5 module of WWW::Mechanize from 1.52 to 1.54
- Adding some test dependencies
- Setting license to gnu-gpl-v2
Upstream changes:
1.54 Mon Jan 12 00:36:08 CST 2009
========================================
[FIXED]
Removed the computers4sure test that was failing.