Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump yahnis-elsts/plugin-update-checker from 4.8.1 to 4.11 #276

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps yahnis-elsts/plugin-update-checker from 4.8.1 to 4.11.

Release notes

Sourced from yahnis-elsts/plugin-update-checker's releases.

4.11

  • Fixed a call to a non-existent lastRequestApiErrors property that could prevent certain update errors from being reported.
  • Fixed a few warnings about deprecated jQuery features.
  • Improved compatibility with PHP Scoper and other tools that add custom namespaces to third-party libraries.

4.10

  • Added support for the new auto-update feature introduced in WordPress 5.5.
  • Added support for the "Requires PHP" header field.
  • Added a new factory method buildFromHeader($filePath, $args) that lets you specify the repository URL in the plugin header and set other update checker arguments using an associative array. Example:
    /*
    Plugin Name: Example Plugin
    Description: Lorem ipsum 
    Version: 1.0
    GitHub URI: https://github.com/foo/bar/
    */
    //...
    $updateChecker = Puc_v4p10_Factory::buildFromHeader(
    	__FILE__,
    	array(
    		'slug'         => 'plugin-slug-here',
    		'checkPeriod'  => 12,
    		'optionName'   => 'abc-custom-option',
    	)
    );
  • Fixed several fatal errors that could happen when the update checker itself was upgraded to a different version during a plugin or theme update. These errors only showed up when installing an update and typically didn't prevent the update from being installed.
  • Fixed a bug where the hostname used in the metadata URL sometimes wasn't correctly whitelisted if there were at least two active plugins using the same version of PUC.
  • Improved the way the update checker determines the patch number to add to the "Tested up to" value. Now it's even more likely to find the real patch version number for the specified WordPress version and less likely to fall back to using .999.
  • Added Simplified Chinese translation. Props to @seatonjiang.
  • Updated Spanish translations. Props to @YordanSoares.

4.9

  • Switched from a deprecated GitHub API authentication mechanism that used the access_token query parameter to using the Authorization HTTP header. This should stop GitHub sending you email notices about authentication via URL query parameters. Props to @jccit for the initial implementation.
  • Fixed a fatal error "Call to a member function isMuPlugin() on null" that could affect some Multisite installations.
  • Added a random offset to the update check schedule to help prevent daily traffic spikes. This doesn't change how often PUC checks for updates, but it spreads the checks more evenly throughout the day. Props to @DavidAnderson684 for the initial suggestion and feedback.
  • Added a new filter: first_check_time (full name: puc_first_check_time-$slug). It's passed one argument that is the calculated Unix timestamp of the first update check. Return a new timestamp to make the first check happen at a different time.
    //Usage example:
    $updateChecker->addFilter('first_check_time', function($unusedTimestamp) {
        //Always check for updates 1 hour after the first activation.
        return time() + 3600;
    });
Commits
  • 3155f2d Change version number in file/directory names
  • 06bc75f Change version infix from v4p10 to v4p11
  • d057b36 Merge pull request #419 from marcorocca/master
  • 8a1a779 Fixed wrong call to inexistent property
  • 4e59df1 Fixed a few warnings about deprecated jQuery features
  • 4bd0a82 Move code that prefixes the API class with the current namespace so that getC...
  • 4778dd3 Add the current namespace to metadata class names
  • dee87bb Remove defined('NAMESPACE') checks since that apparently doesn't work
  • 3c55658 Don't change the Debug Bar panel class name if it already includes a namespace.
  • 8125be8 Improve compatibility with PHP Scoper and other tools that add namespaces to ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants