diff --git a/Changes b/Changes index 1bd5fce7..d235a62d 100644 --- a/Changes +++ b/Changes @@ -32,6 +32,12 @@ * Tested against Chromium Chromium/78.0.3904.108 * Tested against Chromium Chromium/80.0.3987.106 +0.49 2020-04-30 + * Fix sending events after changing an element value + This makes + $mech->field( foo => 'bar', undef, undef, ['change'] ); + actually send the onchange event + 0.48 2020-04-19 * API CHANGES: * ->field() now takes the form field index as third parameter, like diff --git a/META.json b/META.json index fdaca4e6..ad0e060b 100644 --- a/META.json +++ b/META.json @@ -90,7 +90,7 @@ "web" : "https://github.com/Corion/WWW-Mechanize-Chrome" } }, - "version" : "0.48", + "version" : "0.49", "x_serialization_backend" : "JSON::PP version 4.04", "x_static_install" : 1 } diff --git a/META.yml b/META.yml index ae4a7164..dcdc8103 100644 --- a/META.yml +++ b/META.yml @@ -63,6 +63,6 @@ requires: perl: '5.010' resources: repository: git://github.com/Corion/WWW-Mechanize-Chrome.git -version: '0.48' +version: '0.49' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' x_static_install: 1 diff --git a/lib/Chrome/DevToolsProtocol.pm b/lib/Chrome/DevToolsProtocol.pm index 540ccb3e..50747796 100644 --- a/lib/Chrome/DevToolsProtocol.pm +++ b/lib/Chrome/DevToolsProtocol.pm @@ -15,7 +15,7 @@ use Chrome::DevToolsProtocol::Transport; use Scalar::Util 'weaken', 'isweak'; use Try::Tiny; -our $VERSION = '0.48'; +our $VERSION = '0.49'; our @CARP_NOT; =head1 NAME @@ -861,7 +861,7 @@ use Filter::signatures; no warnings 'experimental::signatures'; use feature 'signatures'; -our $VERSION = '0.48'; +our $VERSION = '0.49'; has 'protocol' => ( is => 'ro', diff --git a/lib/Chrome/DevToolsProtocol/Target.pm b/lib/Chrome/DevToolsProtocol/Target.pm index 4c3ed3e7..1a5a157c 100644 --- a/lib/Chrome/DevToolsProtocol/Target.pm +++ b/lib/Chrome/DevToolsProtocol/Target.pm @@ -16,7 +16,7 @@ use Scalar::Util 'weaken', 'isweak'; use Try::Tiny; use PerlX::Maybe; -our $VERSION = '0.48'; +our $VERSION = '0.49'; our @CARP_NOT; =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport.pm b/lib/Chrome/DevToolsProtocol/Transport.pm index 96e3129d..d4e8cedf 100644 --- a/lib/Chrome/DevToolsProtocol/Transport.pm +++ b/lib/Chrome/DevToolsProtocol/Transport.pm @@ -4,7 +4,7 @@ use Filter::signatures; no warnings 'experimental::signatures'; use feature 'signatures'; -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm b/lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm index b409264b..8c708fba 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm @@ -12,7 +12,7 @@ use AnyEvent; use AnyEvent::WebSocket::Client; use AnyEvent::Future qw(as_future_cb); -our $VERSION = '0.48'; +our $VERSION = '0.49'; our @CARP_NOT = (); =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/Mojo.pm b/lib/Chrome/DevToolsProtocol/Transport/Mojo.pm index b1377168..7fbb13b1 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/Mojo.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/Mojo.pm @@ -9,7 +9,7 @@ use Scalar::Util 'weaken'; use Mojo::UserAgent; use Future::Mojo; -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm b/lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm index 0afa855f..19e89ce1 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm @@ -10,7 +10,7 @@ use IO::Async::Loop; use Net::Async::WebSocket::Client; Net::Async::WebSocket::Client->VERSION(0.12); # fixes some errors with masked frames -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/Pipe.pm b/lib/Chrome/DevToolsProtocol/Transport/Pipe.pm index ec1b453a..c3c15352 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/Pipe.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/Pipe.pm @@ -4,7 +4,7 @@ use Filter::signatures; no warnings 'experimental::signatures'; use feature 'signatures'; -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/Pipe/AnyEvent.pm b/lib/Chrome/DevToolsProtocol/Transport/Pipe/AnyEvent.pm index a059d285..02d4c073 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/Pipe/AnyEvent.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/Pipe/AnyEvent.pm @@ -12,7 +12,7 @@ use Carp qw(croak); use AnyEvent; use AnyEvent::Future qw(as_future_cb); -our $VERSION = '0.48'; +our $VERSION = '0.49'; our @CARP_NOT = (); =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/Pipe/Mojo.pm b/lib/Chrome/DevToolsProtocol/Transport/Pipe/Mojo.pm index 9f6af113..948ff946 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/Pipe/Mojo.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/Pipe/Mojo.pm @@ -9,7 +9,7 @@ use Scalar::Util 'weaken'; use Mojo::IOLoop::Stream; use Future::Mojo; -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/Pipe/NetAsync.pm b/lib/Chrome/DevToolsProtocol/Transport/Pipe/NetAsync.pm index 955b0670..8cbf34bc 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/Pipe/NetAsync.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/Pipe/NetAsync.pm @@ -9,7 +9,7 @@ use Scalar::Util 'weaken'; use IO::Async::Loop; use IO::Async::Stream; -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 NAME diff --git a/lib/Chrome/DevToolsProtocol/Transport/Win32PipeOpener.pm b/lib/Chrome/DevToolsProtocol/Transport/Win32PipeOpener.pm index efd8f9b0..0d9c3f96 100644 --- a/lib/Chrome/DevToolsProtocol/Transport/Win32PipeOpener.pm +++ b/lib/Chrome/DevToolsProtocol/Transport/Win32PipeOpener.pm @@ -2,7 +2,7 @@ package Win32::InheritHandles; use strict; #use Win32::API; -our $VERSION = '0.48'; +our $VERSION = '0.49'; # This only works with Windows version 8+ (Vista onwards) diff --git a/lib/HTTP/Cookies/ChromeDevTools.pm b/lib/HTTP/Cookies/ChromeDevTools.pm index 1f185f64..81339638 100644 --- a/lib/HTTP/Cookies/ChromeDevTools.pm +++ b/lib/HTTP/Cookies/ChromeDevTools.pm @@ -2,7 +2,7 @@ package HTTP::Cookies::ChromeDevTools; use strict; use Carp qw[croak]; -our $VERSION = '0.48'; +our $VERSION = '0.49'; our @CARP_NOT; use Moo 2; diff --git a/lib/StructDumbDebug.pm b/lib/StructDumbDebug.pm index 1520ea3c..1c594d2c 100644 --- a/lib/StructDumbDebug.pm +++ b/lib/StructDumbDebug.pm @@ -5,6 +5,6 @@ use IO::Async::Loop; use Net::Async::WebSocket::Client; Net::Async::WebSocket::Client->VERSION(0.12); # fixes some errors with masked frames -our $VERSION = '0.48'; +our $VERSION = '0.49'; 1; diff --git a/lib/WWW/Mechanize/Chrome.pm b/lib/WWW/Mechanize/Chrome.pm index 8f5f5022..677b6c33 100644 --- a/lib/WWW/Mechanize/Chrome.pm +++ b/lib/WWW/Mechanize/Chrome.pm @@ -24,7 +24,7 @@ use HTML::Selector::XPath 'selector_to_xpath'; use HTTP::Cookies::ChromeDevTools; use POSIX ':sys_wait_h'; -our $VERSION = '0.48'; +our $VERSION = '0.49'; our @CARP_NOT; =encoding utf-8 diff --git a/lib/WWW/Mechanize/Chrome/Cookbook.pm b/lib/WWW/Mechanize/Chrome/Cookbook.pm index d8e68de1..cc8c28fb 100644 --- a/lib/WWW/Mechanize/Chrome/Cookbook.pm +++ b/lib/WWW/Mechanize/Chrome/Cookbook.pm @@ -129,5 +129,5 @@ This module is released under the same terms as Perl itself. =cut package WWW::Mechanize::Chrome::Cookbook; -our $VERSION = '0.48'; +our $VERSION = '0.49'; 1; diff --git a/lib/WWW/Mechanize/Chrome/DSL.pm b/lib/WWW/Mechanize/Chrome/DSL.pm index 7424fc40..61604e06 100644 --- a/lib/WWW/Mechanize/Chrome/DSL.pm +++ b/lib/WWW/Mechanize/Chrome/DSL.pm @@ -4,7 +4,7 @@ use WWW::Mechanize::Chrome; use Object::Import; use Carp qw(croak); -our $VERSION = '0.48'; +our $VERSION = '0.49'; our @CARP_NOT = (qw[ WWW::Mechanize::Chrome diff --git a/lib/WWW/Mechanize/Chrome/Examples.pm b/lib/WWW/Mechanize/Chrome/Examples.pm index 0e1f02d0..3cc4bc79 100644 --- a/lib/WWW/Mechanize/Chrome/Examples.pm +++ b/lib/WWW/Mechanize/Chrome/Examples.pm @@ -15,7 +15,7 @@ package WWW::Mechanize::Chrome::Examples; # use strict; -our $VERSION = '0.48'; +our $VERSION = '0.49'; 1; @@ -94,7 +94,7 @@ The following is a list of the 5 example programs that are included in the WWW:: in the script's directory. -Download this example: L +Download this example: L =head2 Example: html-to-pdf.pl @@ -133,7 +133,7 @@ Download this example: L +Download this example: L =head2 Example: dump-links.pl @@ -170,7 +170,7 @@ Download this example: L +Download this example: L =head2 Example: sendkeys.pl @@ -204,7 +204,7 @@ Download this example: L +Download this example: L =head2 Example: javascript.pl @@ -238,7 +238,7 @@ Download this example: L +Download this example: L =head1 AUTHOR diff --git a/lib/WWW/Mechanize/Chrome/Node.pm b/lib/WWW/Mechanize/Chrome/Node.pm index 6421e691..3da826c3 100644 --- a/lib/WWW/Mechanize/Chrome/Node.pm +++ b/lib/WWW/Mechanize/Chrome/Node.pm @@ -19,7 +19,7 @@ WWW::Mechanize::Chrome::Node - represent a Chrome HTML node in Perl =cut -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 MEMBERS diff --git a/lib/WWW/Mechanize/Chrome/Troubleshooting.pm b/lib/WWW/Mechanize/Chrome/Troubleshooting.pm index d2cc3272..525d7443 100644 --- a/lib/WWW/Mechanize/Chrome/Troubleshooting.pm +++ b/lib/WWW/Mechanize/Chrome/Troubleshooting.pm @@ -94,5 +94,5 @@ This module is released under the same terms as Perl itself. =cut package WWW::Mechanize::Chrome::Troubleshooting; -our $VERSION = '0.48'; +our $VERSION = '0.49'; 1; diff --git a/lib/WWW/Mechanize/Chrome/URLBlacklist.pm b/lib/WWW/Mechanize/Chrome/URLBlacklist.pm index 6b30a8c6..07f4db26 100644 --- a/lib/WWW/Mechanize/Chrome/URLBlacklist.pm +++ b/lib/WWW/Mechanize/Chrome/URLBlacklist.pm @@ -4,7 +4,7 @@ use Filter::signatures; use feature 'signatures'; no warnings 'experimental::signatures'; -our $VERSION = '0.48'; +our $VERSION = '0.49'; =head1 NAME