Skip to content

chore: bump YahnisElsts/plugin-update-checker to v5.7 - #227

Open
nhrrob wants to merge 1 commit into
developfrom
fix/plugin-update-checker-version-bump
Open

chore: bump YahnisElsts/plugin-update-checker to v5.7#227
nhrrob wants to merge 1 commit into
developfrom
fix/plugin-update-checker-version-bump

Conversation

@nhrrob

@nhrrob nhrrob commented Jul 2, 2026

Copy link
Copy Markdown
Member

Description of the Change

Bumps the YahnisElsts/plugin-update-checker dependency from v5.1 to v5.7 via composer update yahnis-elsts/plugin-update-checker --with-all-dependencies. This updates composer.json, composer.lock, and the committed vendor/yahnis-elsts/plugin-update-checker files (the internal Puc/v5p1/* tree is replaced by Puc/v5p7/*).

No code changes were made except the composer.json: 10up-experience.php uses the version-agnostic facade namespace YahnisElsts\PluginUpdateChecker\v5\PucFactory, which in v5.7 simply extends the new v5p7\PucFactory internally.

Closes #226

How to test the Change

  1. Check out this branch and confirm composer.json requires yahnis-elsts/plugin-update-checker: 5.7.
  2. Run composer install and confirm no errors.
  3. Activate the plugin on a WordPress install and confirm no PHP fatals/warnings are logged (PucFactory::buildUpdateChecker(...) still runs in 10up-experience.php).
  4. composer lint (phpcs) passes (no issue in our changes).

Changelog Entry

Developer - Updated yahnis-elsts/plugin-update-checker from v5.1 to v5.7

Credits

Props @nhrrob

Checklist:

@nhrrob nhrrob self-assigned this Jul 2, 2026
@nhrrob
nhrrob requested review from claytoncollie and jeffpaul July 2, 2026 04:49
@claytoncollie
claytoncollie requested a review from darylldoyle July 2, 2026 07:51
@claytoncollie

Copy link
Copy Markdown
Contributor

@darylldoyle Is this package even being used on this project? I think most projects are using the packagist distro in their composer.json to install it. Maybe we need to look at Monitor to see which sites are using a vanilla Wp plugin install method which would hook into this package.

@jeffpaul jeffpaul added this to the 1.19.0 milestone Jul 2, 2026
@darylldoyle

Copy link
Copy Markdown
Contributor

@claytoncollie do you have the access to check that in Monitor? If we can be sure this isn't being used much, then I think it's fine. @jeffpaul my only other concern would be people using it outside of Fueled, that might be relying on the update mechanism. I wonder if you have more insight on that

@jeffpaul

jeffpaul commented Jul 7, 2026

Copy link
Copy Markdown
Member

@darylldoyle I'm not aware of a great way to determine who's using this outside of Fueled, but if they are we can signal the deprecation in the changelog over the course of 2-3 releases?

@darylldoyle

Copy link
Copy Markdown
Contributor

@jeffpaul that makes sense to me!

@jeffpaul

jeffpaul commented Jul 7, 2026

Copy link
Copy Markdown
Member

So maybe we continue with bumping the version here but add to the changelog that we're going to deprecate it in the next release?

@claytoncollie

Copy link
Copy Markdown
Contributor

@darylldoyle This is the only thing I found in Monitor. Does not state how the plugin is installed. I thought the list would be much longer.

https://monitor.10up.com/packages/67853b198c8ec8fe73eb3f43

@jeffpaul

jeffpaul commented Aug 6, 2026

Copy link
Copy Markdown
Member

@claytoncollie that's still a decent list, seems perhaps we should still bump/include in 10up Experience?

@claytoncollie

Copy link
Copy Markdown
Contributor

@jeffpaul Agreed. Let's get it merged and we can deal with this later. @darylldoyle manages this repo so when he gets back from PTO, he will merge and release.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the bundled yahnis-elsts/plugin-update-checker library from v5.1 to v5.7 (including composer.json, composer.lock, and the committed vendor/yahnis-elsts/plugin-update-checker tree) to avoid version conflicts with other 10up plugins and keep update-checker behavior current.

Changes:

  • Update root Composer requirements/lockfile to require yahnis-elsts/plugin-update-checker: 5.7.
  • Replace the vendor library’s internal minor-version namespace tree from Puc/v5p1/* to Puc/v5p7/* and update the v5 facade to point to v5p7.
  • Pull upstream library updates (auth/download handling refactors, WP-CLI trigger support, autoupdate-field safety handling, docs/translation updates).

Reviewed changes

Copilot reviewed 1 out of 62 changed files in this pull request and generated no comments.

Show a summary per file
File Description
composer.json Bumps required PUC version to 5.7.
composer.lock Updates locked PUC package metadata to v5.7 and related Composer metadata.
vendor/yahnis-elsts/plugin-update-checker/composer.json Updates PUC’s autoloaded entry file to load-v5p7.php.
vendor/yahnis-elsts/plugin-update-checker/load-v5p7.php Loads the v5p7 implementation and registers it as version 5.7.
vendor/yahnis-elsts/plugin-update-checker/plugin-update-checker.php Updates library version header and switches loader to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5/PucFactory.php Updates v5 facade to extend v5p7 factory.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Autoloader.php v5p7 autoloader namespace update.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/PucFactory.php v5p7 factory updates (escaping/error message hardening).
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/UpdateChecker.php v5p7 core update-check logic updates (WP-CLI trigger, autoupdate gating, API exclusions).
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/WpCliCheckTrigger.php Adds WP-CLI command hook support to trigger update checks.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Scheduler.php Updates scheduler behavior and adds hook cleanup during upgrades.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/StateStore.php Updates state handling + added sanity checks.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/InstalledPackage.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Metadata.php Adds dynamic-property storage via magic accessors.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Update.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Utils.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/UpgraderStatus.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/OAuthSignature.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Plugin/UpdateChecker.php Plugin update checker updated for v5p7 (componentType).
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Plugin/Update.php Adds/supports autoupdate field in plugin update payload.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Plugin/Ui.php Namespace bump + safer redirect API usage.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Plugin/PluginInfo.php Adds autoupdate property support in plugin info.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Plugin/Package.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Theme/UpdateChecker.php Theme update checker updated for v5p7 (componentType).
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Theme/Update.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Theme/Package.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/Api.php Refactors auth handling and download-request filtering hooks.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/BaseChecker.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/VcsCheckerMethods.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/PluginUpdateChecker.php Adds version sanity check + namespace bump.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/ThemeUpdateChecker.php Namespace bump + import updates.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/GitHubApi.php Refactors auth/download header handling via shared API logic.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/GitLabApi.php Refactors request options via shared API logic.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/BitBucketApi.php Changes BitBucket auth approach + request options via shared API logic.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/ReleaseAssetSupport.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/ReleaseFilteringFeature.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/Vcs/Reference.php Namespace bump to v5p7.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/DebugBar/Extension.php Debug Bar integration namespace bump.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/DebugBar/Panel.php Escaping/ID handling updates in Debug Bar panel rendering.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/DebugBar/PluginExtension.php Debug Bar integration namespace bump.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/DebugBar/PluginPanel.php Debug panel escaping + fallback button rendering updates.
vendor/yahnis-elsts/plugin-update-checker/Puc/v5p7/DebugBar/ThemePanel.php Debug panel escaping update.
vendor/yahnis-elsts/plugin-update-checker/vendor/ParsedownModern.php Adjusts method signatures for upstream ParsedownModern changes.
vendor/yahnis-elsts/plugin-update-checker/README.md Updates docs for v5p7 namespaces + release asset filtering guidance.
vendor/yahnis-elsts/plugin-update-checker/license.txt Updates license header year.
vendor/yahnis-elsts/plugin-update-checker/languages/plugin-update-checker.pot Updates POT metadata and file references for v5p7.
vendor/yahnis-elsts/plugin-update-checker/languages/plugin-update-checker-zh_CN.po Updates translation metadata and file references.
vendor/yahnis-elsts/plugin-update-checker/languages/plugin-update-checker-fa_IR.po Updates translation metadata and content.
vendor/yahnis-elsts/plugin-update-checker/languages/plugin-update-checker-zh_TW.po Adds zh_TW translation file.
vendor/yahnis-elsts/plugin-update-checker/languages/plugin-update-checker-sr_RS.po Adds sr_RS translation file.
vendor/yahnis-elsts/plugin-update-checker/languages/plugin-update-checker-el.po Adds el translation file.
vendor/yahnis-elsts/plugin-update-checker/phpcs.xml Removes vendored PHPCS ruleset file.
vendor/yahnis-elsts/plugin-update-checker/examples/plugin.json Removes example plugin JSON file.
vendor/yahnis-elsts/plugin-update-checker/examples/theme.json Removes example theme JSON file.
vendor/yahnis-elsts/plugin-update-checker/.gitignore Removes vendored gitignore file.
vendor/yahnis-elsts/plugin-update-checker/.gitattributes Removes vendored gitattributes file.
vendor/yahnis-elsts/plugin-update-checker/.editorconfig Removes vendored editorconfig file.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update YahnisElsts/plugin-update-checker to v5.7

5 participants