Skip to content

2.0

Compare
Choose a tag to compare
@YahnisElsts YahnisElsts released this 10 Feb 12:12
· 478 commits to master since this release
  • Added experimental GitHub support. You can use the new PucGitHubChecker class to retrieve plugin updates from a GitHub repository. It can be configured to check either the latest release, the latest tag, or a specific branch. It will automagically extract version details (description, changelog, etc) from a number of different locations - release description, plugin headers, readme.txt, changelog.md and more.

  • Added support for plugin banners. To use it, add a new key named "banners" to the metadata file. It should be a JSON object with two string properties: "low" and "high". "low" must be a fully qualified URL pointing to a 772x250 image (PNG or JPG). "high" must point to a 1544x500 image. Only one of "low" or "high" is required.

    Example:

    {
        "banners" : {
            "low" : "//example.com/assets/banner-772x250.png",
            "high" : "//example.com/assets/banner-1544x500.png"
        }
    }
  • Fixed some duplicate HTML ids. See #26.

  • Added a workaround for situations where the currently installed version and the update package have different directory names. This can happen if you serve updates from a source like GitHub that generates different directory names for each branch/tag/etc.

  • The "slug" field of the metadata file is no longer used. The update checker will now ignore it and use the slug passed to the class constructor instead. If no slug is specified, it will generate a slug based on the plugin file name.