Skip to content

Update dependency yahnis-elsts/plugin-update-checker to v5.7#31

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile
Open

Update dependency yahnis-elsts/plugin-update-checker to v5.7#31
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Dec 25, 2023

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
yahnis-elsts/plugin-update-checker 5.05.7 age confidence

Release Notes

YahnisElsts/plugin-update-checker (yahnis-elsts/plugin-update-checker)

v5.7: 5.7

Compare Source

  • Added optional support for the "autoupdate" field that allows triggering unattended plugin updates. To enable it, you need to both set autoupdate to true in plugin update metadata and call $updateChceker->allowAutoupdateField() in your plugin. Props to @​hisman for part of the implementation.
  • BitBucket: Added support for basic auth with API tokens. Props to @​cristianozanca for part of the implementation.
  • BitBucket: Removed OAuth 1 support since it's no longer supported by BitBucket.
  • Replaced all htmlentities() calls with esc_html(). This takes advantage of automatic character set detection in WP core, and should eliminate some static analysis warnings. See #​597.
  • Replaced all wp_redirect() calls with wp_safe_redirect(). This shouldn't matter in practice since PUC only ever does internal redirects, but it pacifies some static analysis tools. See #​597.
  • Added and updated translations:

v5.6: 5.6

Compare Source

  • Fixed a number of PHP 8.4 deprecation notices like "Implicitly marking parameter $foo as nullable is deprecated, the explicit nullable type must be used instead". Since I currently still want to support PHP 5.6, the fix removes type hints from several method parameters instead of using nullable types. Props to @​todeveni.
  • Added Serbian (Cyrillic) translation (@​urosevic).

v5.5: 5.5

Compare Source

  • Removed information about plugins and themes that manage updates via PUC from data that WordPress core sends to api.wordpress.org when it checks for updates. Props to @​DavidAnderson684 (#​578).
    • You can turn this off and restore the default WP behaviour by using the new remove_from_default_update_checks filter. Example:
      $updateChecker->addFilter('remove_from_default_update_checks', '__return_false');
  • Improved handling of incorrect ZIP directory structure where plugin/theme files are at the root instead of in a subdirectory. The update checker will now attempt to automatically create a new subdirectory that matches the slug and move all the files into that subdirectory. Props to @​MehbubRashid (#​574).
  • Improved Debug Bar integration: The "Check Now" and "Request Info" buttons in the "PUC (your-slug)" panel are now also visible in the site front end. Previously, they only showed up if you opened the Debug Bar while on an admin page.
  • Added Greek translation (@​theo-gk).
  • Updated Simplified Chinese translation (@​seatonjiang).

v5.4: 5.4

Compare Source

  • Added automatic update checks before certain WP-CLI commands that read plugin/theme update status, such as wp plugin status, wp theme update, and so on. This just triggers the existing scheduling logic, so if you run multiple commands in very quick succession, PUC won't check for updates every time. See #​558.
  • Fixed an autoloading failure where the Ui class (YahnisElsts\PluginUpdateChecker\v5p3\Plugin\Ui) sometimes did not load correctly if multiple active plugins/themes were using different versions of PUC.
  • Fixed a conflict with "WP Last Modified Info" 1.8.8 that could cause a fatal error when updating a plugin. This should also improve compatibility with any other plugins that try to access update-related data inside an upgrader_process_complete callback.
  • Removed dev files like phpcs.xml from exported archives. Props to @​szepeviktor.

v5.3: 5.3

Compare Source

  • Fixed a fatal error that could happen in the unusual situation where the Debug_Bar class exists but Debug_Bar_Panel does not. See #​543.
  • Fixed PUC intermittently detecting an invalid "update" when using a GitHub branch and hitting the GitHub API rate limit. See #​526.

v5.2: 5.2

Compare Source

  • Fixed a few PHP 8.2 deprecation notices like Creation of dynamic property YahnisElsts\PluginUpdateChecker\vXpY\Plugin\PluginInfo::$example is deprecated.

v5.1: 5.1

Compare Source

  • Added a way to filter GitHub and GitLab releases.
    • Example of filtering releases by the version number:
      //Allow only beta versions (e.g. for testing).
      $updateChecker->getVcsApi()->setReleaseVersionFilter(
          '/beta/i', //Regex for the version number.
          Api::RELEASE_FILTER_ALL, //Disables the default filter(s).
          30 //Max number of recent releases to scan for matches.
      );
    • Alternatively, you can use a callback to implement custom filtering rules.
      //Set an arbitrary custom filter.
      $updateChecker->getVcsApi()->setReleaseFilter(
          function($versionNumber, $releaseObject) {
              /* 
              Put your custom logic here. The $releaseObject variable contains
              the release data returned by the GitHub/GitLab API. The format
              will vary depending on which service you're using.
              */
              return true;
          },
          Api::RELEASE_FILTER_ALL
      );
    • Aside from Api::RELEASE_FILTER_ALL, you can also use Api::RELEASE_FILTER_SKIP_PRERELEASE to filter out pre-releases.
    • Setting a new filter will override any previous filters, so you can't add a regex-based version filter and a custom callback at the same time.
  • Fixed a release asset filtering bug where an asset that matches the filter could be ignored if it was not the first in the list. Props to @​liedekef.
  • Changed the readme parser to use wp_strip_all_tags() instead of strip_tags() when available. Supposedly, it's better at stripping the contents of <script> and <style> tags.
  • The main branch is now treated as a default branch (in addition to master).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile branch from 9010338 to 85e6c0b Compare February 24, 2024 10:45
@renovate renovate Bot changed the title fix(deps): update dependency yahnis-elsts/plugin-update-checker to v5.3 fix(deps): update dependency yahnis-elsts/plugin-update-checker to v5.4 Feb 24, 2024
@renovate renovate Bot force-pushed the renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile branch from 85e6c0b to 7574fc4 Compare October 16, 2024 16:06
@renovate renovate Bot changed the title fix(deps): update dependency yahnis-elsts/plugin-update-checker to v5.4 fix(deps): update dependency yahnis-elsts/plugin-update-checker to v5.5 Oct 16, 2024
@renovate renovate Bot force-pushed the renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile branch from 7574fc4 to 89a264a Compare March 3, 2025 16:53
@renovate renovate Bot force-pushed the renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile branch 2 times, most recently from 0386e71 to f90ff81 Compare March 13, 2025 16:38
@renovate renovate Bot force-pushed the renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile branch 2 times, most recently from 480c5ee to f29a7ae Compare May 20, 2025 16:34
@renovate renovate Bot changed the title fix(deps): update dependency yahnis-elsts/plugin-update-checker to v5.5 fix(deps): update dependency yahnis-elsts/plugin-update-checker to v5.6 May 20, 2025
@renovate renovate Bot force-pushed the renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile branch from f29a7ae to 6b03a8f Compare August 10, 2025 15:04
@renovate renovate Bot force-pushed the renovate/yahnis-elsts-plugin-update-checker-5.x-lockfile branch from 6b03a8f to f2a58fe Compare August 14, 2025 11:14
@renovate renovate Bot changed the title fix(deps): update dependency yahnis-elsts/plugin-update-checker to v5.6 chore(deps): update dependency yahnis-elsts/plugin-update-checker to v5.6 Sep 25, 2025
@renovate

renovate Bot commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update yahnis-elsts/plugin-update-checker:5.7 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - league/oauth2-client is locked to version 2.8.1 and an update of this package was not requested.
    - league/oauth2-client 2.8.1 requires php ^7.1 || >=8.0.0 <8.5.0 -> your php version (8.5.7) does not satisfy that requirement.
  Problem 2
    - wohali/oauth2-discord-new is locked to version 1.2.1 and an update of this package was not requested.
    - league/oauth2-client 2.8.1 requires php ^7.1 || >=8.0.0 <8.5.0 -> your php version (8.5.7) does not satisfy that requirement.
    - wohali/oauth2-discord-new 1.2.1 requires league/oauth2-client ^2.0 -> satisfiable by league/oauth2-client[2.8.1].


@renovate renovate Bot changed the title chore(deps): update dependency yahnis-elsts/plugin-update-checker to v5.6 Update dependency yahnis-elsts/plugin-update-checker to v5.6 Apr 8, 2026
@renovate renovate Bot changed the title Update dependency yahnis-elsts/plugin-update-checker to v5.6 Update dependency yahnis-elsts/plugin-update-checker to v5.7 May 26, 2026
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.

0 participants