Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-WWW-Mechanize for openSUSE:Factory checked in at 2026-06-15 19:41:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-WWW-Mechanize (Old) and /work/SRC/openSUSE:Factory/.perl-WWW-Mechanize.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-WWW-Mechanize" Mon Jun 15 19:41:00 2026 rev:49 rq:1359510 version:2.210.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-WWW-Mechanize/perl-WWW-Mechanize.changes 2025-10-27 14:39:12.529290424 +0100 +++ /work/SRC/openSUSE:Factory/.perl-WWW-Mechanize.new.1981/perl-WWW-Mechanize.changes 2026-06-15 19:42:48.969835914 +0200 @@ -1,0 +2,11 @@ +Sun Jun 14 08:54:42 UTC 2026 - Tina Müller <[email protected]> + +- updated to 2.210.0 (2.21) + see /usr/share/doc/packages/perl-WWW-Mechanize/Changes + + 2.21 2026-06-13 07:53:14Z + [FIXED] + - Link extraction no longer drops links which follow an unclosed <a> tag + (GH#212) (Olaf Alders) + +------------------------------------------------------------------- Old: ---- WWW-Mechanize-2.20.tar.gz New: ---- WWW-Mechanize-2.21.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-WWW-Mechanize.spec ++++++ --- /var/tmp/diff_new_pack.10q0q7/_old 2026-06-15 19:42:49.945876814 +0200 +++ /var/tmp/diff_new_pack.10q0q7/_new 2026-06-15 19:42:49.945876814 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-WWW-Mechanize # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,10 @@ %define cpan_name WWW-Mechanize Name: perl-WWW-Mechanize -Version: 2.200.0 +Version: 2.210.0 Release: 0 -# 2.20 -> normalize -> 2.200.0 -%define cpan_version 2.20 +# 2.21 -> normalize -> 2.210.0 +%define cpan_version 2.21 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Handy web browsing in a Perl object URL: https://metacpan.org/release/%{cpan_name} ++++++ WWW-Mechanize-2.20.tar.gz -> WWW-Mechanize-2.21.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/Changes new/WWW-Mechanize-2.21/Changes --- old/WWW-Mechanize-2.20/Changes 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/Changes 2026-06-13 09:53:21.000000000 +0200 @@ -1,5 +1,10 @@ Revision history for WWW::Mechanize +2.21 2026-06-13 07:53:14Z + [FIXED] + - Link extraction no longer drops links which follow an unclosed <a> tag + (GH#212) (Olaf Alders) + 2.20 2025-10-22 19:04:44Z [ENHANCEMENTS] - WWW::Mechanize no longer taints the responses it receives. This also diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/MANIFEST new/WWW-Mechanize-2.21/MANIFEST --- old/WWW-Mechanize-2.20/MANIFEST 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/MANIFEST 2026-06-13 09:53:21.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.033. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.037 CONTRIBUTORS Changes INSTALL @@ -56,6 +56,7 @@ t/find_link.t t/find_link_id.html t/find_link_id.t +t/find_link_unclosed.t t/find_link_xhtml.html t/find_link_xhtml.t t/form-parsing.t @@ -123,7 +124,6 @@ xt/author/live/wikipedia.t xt/author/mojibake.t xt/author/pod-coverage.t -xt/author/pod-linkcheck.t xt/author/pod-syntax.t xt/author/portability.t xt/author/test-version.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/META.json new/WWW-Mechanize-2.21/META.json --- old/WWW-Mechanize-2.20/META.json 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/META.json 2026-06-13 09:53:21.000000000 +0200 @@ -4,7 +4,7 @@ "Andy Lester <andy at petdance.com>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.033, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.037, CPAN::Meta::Converter version 2.150013", "license" : [ "perl_5" ], @@ -24,9 +24,6 @@ "configure" : { "requires" : { "ExtUtils::MakeMaker" : "0" - }, - "suggests" : { - "JSON::PP" : "2.27300" } }, "develop" : { @@ -34,6 +31,8 @@ "Dist::Zilla::PluginBundle::Git::VersionManager" : "0.007" }, "requires" : { + "App::perlimports" : "0", + "App::perlvars" : "0", "Code::TidyAll" : "0.71", "Code::TidyAll::Plugin::SortLines::Naturally" : "0.000003", "Code::TidyAll::Plugin::Test::Vars" : "0.04", @@ -51,7 +50,6 @@ "Test::Needs" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", - "Test::Pod::LinkCheck" : "0", "Test::Portability::Files" : "0", "Test::RequiresInternet" : "0", "Test::Vars" : "0.014", @@ -80,7 +78,7 @@ "URI::URL" : "0", "URI::file" : "0", "parent" : "0", - "perl" : "5.008", + "perl" : "5.008006", "strict" : "0", "warnings" : "0" } @@ -114,15 +112,15 @@ "provides" : { "WWW::Mechanize" : { "file" : "lib/WWW/Mechanize.pm", - "version" : "2.20" + "version" : "2.21" }, "WWW::Mechanize::Image" : { "file" : "lib/WWW/Mechanize/Image.pm", - "version" : "2.20" + "version" : "2.21" }, "WWW::Mechanize::Link" : { "file" : "lib/WWW/Mechanize/Link.pm", - "version" : "2.20" + "version" : "2.21" } }, "release_status" : "stable", @@ -137,13 +135,24 @@ "web" : "https://github.com/libwww-perl/WWW-Mechanize" } }, - "version" : "2.20", + "version" : "2.21", "x_Dist_Zilla" : { "perl" : { - "version" : "5.038002" + "version" : "5.042002" }, "plugins" : [ { + "class" : "Dist::Zilla::Plugin::Prereqs", + "config" : { + "Dist::Zilla::Plugin::Prereqs" : { + "phase" : "runtime", + "type" : "requires" + } + }, + "name" : "RuntimeRequires", + "version" : "6.037" + }, + { "class" : "Dist::Zilla::Plugin::PromptIfStale", "config" : { "Dist::Zilla::Plugin::PromptIfStale" : { @@ -178,7 +187,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::OALDERS/AutoPrereqs", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -188,58 +197,58 @@ } }, "name" : "@Author::OALDERS/MakeMaker", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::CPANFile", "name" : "@Author::OALDERS/CPANFile", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::ContributorsFile", "name" : "@Author::OALDERS/ContributorsFile", - "version" : "0.3.0" + "version" : "0.4.0" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::OALDERS/MetaJSON", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::OALDERS/MetaYAML", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::OALDERS/Manifest", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::OALDERS/MetaNoIndex", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::OALDERS/MetaConfig", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Author::OALDERS/MetaResources", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::OALDERS/License", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::InstallGuide", "config" : { "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -255,12 +264,12 @@ } }, "name" : "@Author::OALDERS/Modules for use with tidyall", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::OALDERS/ExecDir", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::MojibakeTests", @@ -270,7 +279,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::OALDERS/PodSyntaxTests", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::Test::EOL", @@ -306,7 +315,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::OALDERS/TestRelease", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", @@ -431,7 +440,7 @@ { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::OALDERS/PruneCruft", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", @@ -521,7 +530,7 @@ } }, "name" : "@Author::OALDERS/Git::Contributors", - "version" : "0.038" + "version" : "0.039" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -547,7 +556,7 @@ { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::OALDERS/ShareDir", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::CheckIssues", @@ -557,12 +566,12 @@ { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::OALDERS/ConfirmRelease", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::OALDERS/UploadToCPAN", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -573,7 +582,7 @@ } }, "name" : "@Author::OALDERS/@Git::VersionManager/pluginbundle version", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -650,7 +659,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v2.20", + "tag" : "v2.21", "tag_format" : "v%V", "tag_message" : "v%V" }, @@ -684,7 +693,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::OALDERS/@Git::VersionManager/NextRelease", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -736,7 +745,7 @@ { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "ExecDir", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -749,22 +758,6 @@ "version" : "0.029" }, { - "class" : "Dist::Zilla::Plugin::Test::Pod::LinkCheck", - "name" : "Test::Pod::LinkCheck", - "version" : "1.004" - }, - { - "class" : "Dist::Zilla::Plugin::Prereqs", - "config" : { - "Dist::Zilla::Plugin::Prereqs" : { - "phase" : "runtime", - "type" : "requires" - } - }, - "name" : "RuntimeRequires", - "version" : "6.033" - }, - { "class" : "Dist::Zilla::Plugin::Prereqs", "config" : { "Dist::Zilla::Plugin::Prereqs" : { @@ -773,7 +766,7 @@ } }, "name" : "TestRequires", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -784,7 +777,7 @@ } }, "name" : "DevelopRequires", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::Prereqs::Soften", @@ -809,7 +802,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.033" + "version" : "6.037" } ], "include_underscores" : 0 @@ -821,7 +814,7 @@ "meta_noindex" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -836,57 +829,57 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.033" + "version" : "6.037" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.033" + "version" : "6.037" } ], "zilla" : { @@ -894,7 +887,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.033" + "version" : "6.037" } }, "x_contributors" : [ @@ -963,7 +956,7 @@ "Zefram <[email protected]>", "\u7a4d\u4e39\u5c3c Dan Jacobson <[email protected]>" ], - "x_generated_by_perl" : "v5.38.2", + "x_generated_by_perl" : "v5.42.2", "x_serialization_backend" : "Cpanel::JSON::XS version 4.40", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later", "x_static_install" : 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/META.yml new/WWW-Mechanize-2.21/META.yml --- old/WWW-Mechanize-2.20/META.yml 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/META.yml 2026-06-13 09:53:21.000000000 +0200 @@ -24,7 +24,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.033, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.037, CPAN::Meta::Converter version 2.150013' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -38,13 +38,13 @@ provides: WWW::Mechanize: file: lib/WWW/Mechanize.pm - version: '2.20' + version: '2.21' WWW::Mechanize::Image: file: lib/WWW/Mechanize/Image.pm - version: '2.20' + version: '2.21' WWW::Mechanize::Link: file: lib/WWW/Mechanize/Link.pm - version: '2.20' + version: '2.21' recommends: Compress::Zlib: '0' requires: @@ -64,19 +64,27 @@ URI::URL: '0' URI::file: '0' parent: '0' - perl: '5.008' + perl: '5.008006' strict: '0' warnings: '0' resources: bugtracker: https://github.com/libwww-perl/WWW-Mechanize/issues homepage: https://github.com/libwww-perl/WWW-Mechanize repository: https://github.com/libwww-perl/WWW-Mechanize.git -version: '2.20' +version: '2.21' x_Dist_Zilla: perl: - version: '5.038002' + version: '5.042002' plugins: - + class: Dist::Zilla::Plugin::Prereqs + config: + Dist::Zilla::Plugin::Prereqs: + phase: runtime + type: requires + name: RuntimeRequires + version: '6.037' + - class: Dist::Zilla::Plugin::PromptIfStale config: Dist::Zilla::Plugin::PromptIfStale: @@ -104,55 +112,55 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::OALDERS/AutoPrereqs' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: '8' name: '@Author::OALDERS/MakeMaker' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::CPANFile name: '@Author::OALDERS/CPANFile' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::ContributorsFile name: '@Author::OALDERS/ContributorsFile' - version: 0.3.0 + version: 0.4.0 - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::OALDERS/MetaJSON' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::OALDERS/MetaYAML' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::Manifest name: '@Author::OALDERS/Manifest' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::OALDERS/MetaNoIndex' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::OALDERS/MetaConfig' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::MetaResources name: '@Author::OALDERS/MetaResources' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::License name: '@Author::OALDERS/License' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::InstallGuide config: Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: '@Author::OALDERS/InstallGuide' version: '1.200014' @@ -163,11 +171,11 @@ phase: develop type: requires name: '@Author::OALDERS/Modules for use with tidyall' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::ExecDir name: '@Author::OALDERS/ExecDir' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::MojibakeTests name: '@Author::OALDERS/MojibakeTests' @@ -175,7 +183,7 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::OALDERS/PodSyntaxTests' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::Test::EOL config: @@ -202,7 +210,7 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@Author::OALDERS/TestRelease' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@Author::OALDERS/Test::ReportPrereqs' @@ -299,7 +307,7 @@ - class: Dist::Zilla::Plugin::PruneCruft name: '@Author::OALDERS/PruneCruft' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::CopyFilesFromBuild name: '@Author::OALDERS/CopyFilesFromBuild' @@ -369,7 +377,7 @@ order_by: name paths: [] name: '@Author::OALDERS/Git::Contributors' - version: '0.038' + version: '0.039' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -388,7 +396,7 @@ - class: Dist::Zilla::Plugin::ShareDir name: '@Author::OALDERS/ShareDir' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::CheckIssues name: '@Author::OALDERS/CheckIssues' @@ -396,11 +404,11 @@ - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::OALDERS/ConfirmRelease' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::OALDERS/UploadToCPAN' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::Prereqs config: @@ -408,7 +416,7 @@ phase: develop type: recommends name: '@Author::OALDERS/@Git::VersionManager/pluginbundle version' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -468,7 +476,7 @@ branch: ~ changelog: Changes signed: 0 - tag: v2.20 + tag: v2.21 tag_format: v%V tag_message: v%V Dist::Zilla::Role::Git::Repo: @@ -493,7 +501,7 @@ - class: Dist::Zilla::Plugin::NextRelease name: '@Author::OALDERS/@Git::VersionManager/NextRelease' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -531,7 +539,7 @@ - class: Dist::Zilla::Plugin::ExecDir name: ExecDir - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::RunExtraTests config: @@ -540,25 +548,13 @@ name: RunExtraTests version: '0.029' - - class: Dist::Zilla::Plugin::Test::Pod::LinkCheck - name: Test::Pod::LinkCheck - version: '1.004' - - - class: Dist::Zilla::Plugin::Prereqs - config: - Dist::Zilla::Plugin::Prereqs: - phase: runtime - type: requires - name: RuntimeRequires - version: '6.033' - - class: Dist::Zilla::Plugin::Prereqs config: Dist::Zilla::Plugin::Prereqs: phase: test type: requires name: TestRequires - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::Prereqs config: @@ -566,7 +562,7 @@ phase: develop type: requires name: DevelopRequires - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::Prereqs::Soften config: @@ -586,7 +582,7 @@ - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '6.033' + version: '6.037' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' @@ -594,7 +590,7 @@ inherit_version: 1 meta_noindex: 1 Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: MetaProvides::Package version: '2.004003' @@ -605,52 +601,52 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.033' + version: '6.037' - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '6.033' + version: '6.037' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: '6.033' + version: '6.037' x_contributors: - 'Alastair Douglas <[email protected]>' - 'Alexandr Ciornii <[email protected]>' @@ -716,7 +712,7 @@ - 'Ville Skyttä <[email protected]>' - 'Zefram <[email protected]>' - '積丹尼 Dan Jacobson <[email protected]>' -x_generated_by_perl: v5.38.2 +x_generated_by_perl: v5.42.2 x_serialization_backend: 'YAML::Tiny version 1.76' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' x_static_install: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/Makefile.PL new/WWW-Mechanize-2.21/Makefile.PL --- old/WWW-Mechanize-2.20/Makefile.PL 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/Makefile.PL 2026-06-13 09:53:21.000000000 +0200 @@ -1,8 +1,8 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.033. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.037 use strict; use warnings; -use 5.008; +use 5.008006; use ExtUtils::MakeMaker; @@ -17,7 +17,7 @@ "script/mech-dump" ], "LICENSE" => "perl", - "MIN_PERL_VERSION" => "5.008", + "MIN_PERL_VERSION" => "5.008006", "NAME" => "WWW::Mechanize", "PREREQ_PM" => { "Carp" => 0, @@ -59,7 +59,7 @@ "bytes" => 0, "lib" => 0 }, - "VERSION" => "2.20", + "VERSION" => "2.21", "test" => { "TESTS" => "t/*.t t/local/*.t t/mech-dump/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/README.md new/WWW-Mechanize-2.21/README.md --- old/WWW-Mechanize-2.20/README.md 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/README.md 2026-06-13 09:53:21.000000000 +0200 @@ -4,7 +4,7 @@ # VERSION -version 2.20 +version 2.21 # SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/cpanfile new/WWW-Mechanize-2.21/cpanfile --- old/WWW-Mechanize-2.20/cpanfile 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/cpanfile 2026-06-13 09:53:21.000000000 +0200 @@ -1,4 +1,4 @@ -# This file is generated by Dist::Zilla::Plugin::CPANFile v6.033 +# This file is generated by Dist::Zilla::Plugin::CPANFile v6.037 # Do not edit this file directly. To change prereqs, edit the `dist.ini` file. requires "Carp" => "0"; @@ -17,7 +17,7 @@ requires "URI::URL" => "0"; requires "URI::file" => "0"; requires "parent" => "0"; -requires "perl" => "5.008"; +requires "perl" => "5.008006"; requires "strict" => "0"; requires "warnings" => "0"; recommends "Compress::Zlib" => "0"; @@ -51,11 +51,9 @@ requires "ExtUtils::MakeMaker" => "0"; }; -on 'configure' => sub { - suggests "JSON::PP" => "2.27300"; -}; - on 'develop' => sub { + requires "App::perlimports" => "0"; + requires "App::perlvars" => "0"; requires "Code::TidyAll" => "0.71"; requires "Code::TidyAll::Plugin::SortLines::Naturally" => "0.000003"; requires "Code::TidyAll::Plugin::Test::Vars" => "0.04"; @@ -73,7 +71,6 @@ requires "Test::Needs" => "0"; requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; - requires "Test::Pod::LinkCheck" => "0"; requires "Test::Portability::Files" => "0"; requires "Test::RequiresInternet" => "0"; requires "Test::Vars" => "0.014"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/dist.ini new/WWW-Mechanize-2.21/dist.ini --- old/WWW-Mechanize-2.20/dist.ini 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/dist.ini 2026-06-13 09:53:21.000000000 +0200 @@ -5,6 +5,13 @@ copyright_holder = Andy Lester copyright_year = 2004 +; Declared before the bundle so Git::Contributors sees the perl prereq when +; it runs register_prereqs and stays quiet about non-ascii contributor names. +[Prereqs / RuntimeRequires] +perl = 5.008006 +HTML::Form = 6.08 +HTTP::Message = 7.01 + [@Author::OALDERS] -remove = CheckChangesHasContent -remove = MinimumPerl @@ -20,17 +27,13 @@ dir = script [RunExtraTests] -[Test::Pod::LinkCheck] - -[Prereqs / RuntimeRequires] -perl = 5.008 -HTML::Form = 6.08 -HTTP::Message = 7.01 [Prereqs / TestRequires] HTTP::Daemon = 6.12 [Prereqs / DevelopRequires] +App::perlimports = 0 +App::perlvars = 0 LWP::Protocol::https = 6.07 Perl::Critic = 0 Perl::Tidy = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Cookbook.pod new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Cookbook.pod --- old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Cookbook.pod 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Cookbook.pod 2026-06-13 09:53:21.000000000 +0200 @@ -13,7 +13,7 @@ =head1 VERSION -version 2.20 +version 2.21 =head1 INTRODUCTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Examples.pod new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Examples.pod --- old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Examples.pod 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Examples.pod 2026-06-13 09:53:21.000000000 +0200 @@ -13,7 +13,7 @@ =head1 VERSION -version 2.20 +version 2.21 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/lib/WWW/Mechanize/FAQ.pod new/WWW-Mechanize-2.21/lib/WWW/Mechanize/FAQ.pod --- old/WWW-Mechanize-2.20/lib/WWW/Mechanize/FAQ.pod 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/lib/WWW/Mechanize/FAQ.pod 2026-06-13 09:53:21.000000000 +0200 @@ -13,7 +13,7 @@ =head1 VERSION -version 2.20 +version 2.21 =head1 How to get help with WWW::Mechanize diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Image.pm new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Image.pm --- old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Image.pm 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Image.pm 2026-06-13 09:53:21.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.20'; +our $VERSION = '2.21'; #ABSTRACT: Image object for WWW::Mechanize @@ -71,7 +71,7 @@ =head1 VERSION -version 2.20 +version 2.21 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Link.pm new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Link.pm --- old/WWW-Mechanize-2.20/lib/WWW/Mechanize/Link.pm 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/lib/WWW/Mechanize/Link.pm 2026-06-13 09:53:21.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '2.20'; +our $VERSION = '2.21'; #ABSTRACT: Link object for WWW::Mechanize @@ -65,7 +65,7 @@ =head1 VERSION -version 2.20 +version 2.21 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/lib/WWW/Mechanize.pm new/WWW-Mechanize-2.21/lib/WWW/Mechanize.pm --- old/WWW-Mechanize-2.20/lib/WWW/Mechanize.pm 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/lib/WWW/Mechanize.pm 2026-06-13 09:53:21.000000000 +0200 @@ -6,7 +6,7 @@ use strict; use warnings; -our $VERSION = '2.20'; +our $VERSION = '2.21'; use Tie::RefHash (); use HTTP::Request 1.30 (); @@ -331,7 +331,8 @@ my $content = $self->{content}; if ( delete $params{raw} ) { - $content = $self->response()->content(); + my $res = $self->response(); + $content = $res->content() if $res; } elsif ( delete $params{decoded_by_headers} ) { $content = $self->response()->decoded_content( charset => 'none' ); @@ -1842,7 +1843,13 @@ my $text; my $name; if ( $tag eq 'a' ) { - $text = $parser->get_trimmed_text("/$tag"); + + # Stop collecting text at the next <a> start tag as well as at + # the closing </a>, so that an unclosed <a> does not swallow + # subsequent links (GH#212). get_trimmed_text() (via get_text()) + # ungets the stop tag, so the outer get_tag() loop will still + # see the next <a>. + $text = $parser->get_trimmed_text( $tag, "/$tag" ); $text = q{} unless defined $text; my $onClick = $attrs->{onclick}; @@ -1979,7 +1986,7 @@ =head1 VERSION -version 2.20 +version 2.21 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/script/mech-dump new/WWW-Mechanize-2.21/script/mech-dump --- old/WWW-Mechanize-2.20/script/mech-dump 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/script/mech-dump 2026-06-13 09:53:21.000000000 +0200 @@ -178,7 +178,7 @@ =head1 VERSION -version 2.20 +version 2.21 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/t/00-report-prereqs.dd new/WWW-Mechanize-2.21/t/00-report-prereqs.dd --- old/WWW-Mechanize-2.20/t/00-report-prereqs.dd 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/t/00-report-prereqs.dd 2026-06-13 09:53:21.000000000 +0200 @@ -2,9 +2,6 @@ 'configure' => { 'requires' => { 'ExtUtils::MakeMaker' => '0' - }, - 'suggests' => { - 'JSON::PP' => '2.27300' } }, 'develop' => { @@ -12,6 +9,8 @@ 'Dist::Zilla::PluginBundle::Git::VersionManager' => '0.007' }, 'requires' => { + 'App::perlimports' => '0', + 'App::perlvars' => '0', 'Code::TidyAll' => '0.71', 'Code::TidyAll::Plugin::SortLines::Naturally' => '0.000003', 'Code::TidyAll::Plugin::Test::Vars' => '0.04', @@ -29,7 +28,6 @@ 'Test::Needs' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', - 'Test::Pod::LinkCheck' => '0', 'Test::Portability::Files' => '0', 'Test::RequiresInternet' => '0', 'Test::Vars' => '0.014', @@ -58,7 +56,7 @@ 'URI::URL' => '0', 'URI::file' => '0', 'parent' => '0', - 'perl' => '5.008', + 'perl' => '5.008006', 'strict' => '0', 'warnings' => '0' } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/t/content.t new/WWW-Mechanize-2.21/t/content.t --- old/WWW-Mechanize-2.20/t/content.t 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/t/content.t 2026-06-13 09:53:21.000000000 +0200 @@ -37,6 +37,10 @@ $mech->{base} = 'http://example.com/'; is( $mech->content, undef, 'content starts out as undef' ); +is( + $mech->content( raw => 1 ), + undef, 'raw content is just as undef as normal' +); $mech->update_html($html); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/t/find_link_unclosed.t new/WWW-Mechanize-2.21/t/find_link_unclosed.t --- old/WWW-Mechanize-2.20/t/find_link_unclosed.t 1970-01-01 01:00:00.000000000 +0100 +++ new/WWW-Mechanize-2.21/t/find_link_unclosed.t 2026-06-13 09:53:21.000000000 +0200 @@ -0,0 +1,98 @@ +#!perl + +use warnings; +use strict; + +use Test::More; +use WWW::Mechanize (); + +BEGIN { delete @ENV{qw( http_proxy HTTP_PROXY )}; } + +my $mech = WWW::Mechanize->new( cookie_jar => undef ); + +# There is no base, so let's kludge a bit. +$mech->{base} = 'http://example.com/'; + +# Links following an unclosed <a> tag must still be found (GH#212). +my @cases = ( + { + name => 'single unclosed <a> mid-document', + html => <<'HTML', +<html> +<head> +<title>Unclosed link mid-document</title> +</head> +<body> +<a href="/1">one +<a href="/2">two</a> +<a href="/3">three</a> +</body> +</html> +HTML + urls => [qw( /1 /2 /3 )], + texts => [qw( one two three )], + }, + { + name => 'no closing </a> tags at all', + html => <<'HTML', +<html> +<head> +<title>No closing tags at all</title> +</head> +<body> +<a href="/first">first +<a href="/second">second +<a href="/third">third +</body> +</html> +HTML + urls => [qw( /first /second /third )], + texts => [qw( first second third )], + }, + + # Nested anchors are invalid HTML, but lock in the stop-at-next-<a> + # semantics: the outer link's text stops at the inner <a>, and + # inline markup inside a properly closed link is still flattened + # into its text. + { + name => 'nested anchor and inline markup', + html => <<'HTML', +<html> +<head> +<title>Nested anchor and inline markup</title> +</head> +<body> +<a href="/outer">before <a href="/inner">inner</a> +<a href="/bold"><b>bold</b> text</a> +</body> +</html> +HTML + urls => [qw( /outer /inner /bold )], + texts => [ 'before', 'inner', 'bold text' ], + }, +); + +for my $case (@cases) { + subtest $case->{name} => sub { + $mech->update_html( $case->{html} ); + + my @links = $mech->find_all_links(); + is( + scalar @links, + scalar @{ $case->{urls} }, + 'All links found' + ); + is_deeply( + [ map { $_->url } @links ], + $case->{urls}, + 'Links have the expected URLs' + ); + is_deeply( + [ map { $_->text } @links ], + $case->{texts}, + 'Each link keeps only its own text' + ); + }; +} + +done_testing(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/xt/author/eol.t new/WWW-Mechanize-2.21/xt/author/eol.t --- old/WWW-Mechanize-2.20/xt/author/eol.t 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/xt/author/eol.t 2026-06-13 09:53:21.000000000 +0200 @@ -45,6 +45,7 @@ 't/find_link.t', 't/find_link_id.html', 't/find_link_id.t', + 't/find_link_unclosed.t', 't/find_link_xhtml.html', 't/find_link_xhtml.t', 't/form-parsing.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/xt/author/pod-linkcheck.t new/WWW-Mechanize-2.21/xt/author/pod-linkcheck.t --- old/WWW-Mechanize-2.20/xt/author/pod-linkcheck.t 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/xt/author/pod-linkcheck.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ -#!perl - -use strict; -use warnings; -use Test::More; - -foreach my $env_skip ( qw( - SKIP_POD_LINKCHECK -) ){ - plan skip_all => "\$ENV{$env_skip} is set, skipping" - if $ENV{$env_skip}; -} - -eval "use Test::Pod::LinkCheck"; -if ( $@ ) { - plan skip_all => 'Test::Pod::LinkCheck required for testing POD'; -} -else { - Test::Pod::LinkCheck->new->all_pod_ok; -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-2.20/xt/author/pod-syntax.t new/WWW-Mechanize-2.21/xt/author/pod-syntax.t --- old/WWW-Mechanize-2.20/xt/author/pod-syntax.t 2025-10-22 21:04:54.000000000 +0200 +++ new/WWW-Mechanize-2.21/xt/author/pod-syntax.t 2026-06-13 09:53:21.000000000 +0200 @@ -1,5 +1,5 @@ #!perl -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests use strict; use warnings; use Test::More; use Test::Pod 1.41; ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.10q0q7/_old 2026-06-15 19:42:50.153885530 +0200 +++ /var/tmp/diff_new_pack.10q0q7/_new 2026-06-15 19:42:50.165886033 +0200 @@ -1,6 +1,6 @@ -mtime: 1761197661 -commit: 0ea8b022df241b6568c59d5f58e5d6028f50cded2f72f5d7171034a666f5433e -url: https://src.opensuse.org/perl/perl-WWW-Mechanize.git -revision: 0ea8b022df241b6568c59d5f58e5d6028f50cded2f72f5d7171034a666f5433e +mtime: 1781427283 +commit: 30ae349ca728bdb581901455c41e08cb672d215888ca526959ae4861e56f0ac0 +url: https://src.opensuse.org/perl/perl-WWW-Mechanize +revision: 30ae349ca728bdb581901455c41e08cb672d215888ca526959ae4861e56f0ac0 projectscmsync: https://src.opensuse.org/perl/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-06-14 10:54:43.000000000 +0200 @@ -0,0 +1 @@ +.osc
