Skip to content

Conversation

@soderlind
Copy link
Owner

This pull request introduces automated plugin update capabilities and improves the release workflow for the project. The most significant changes are the addition of a GitHub-based plugin updater, new dependencies to support automatic updates, and GitHub Actions workflows to automate the creation of release zip files. Documentation and metadata have also been updated to reflect these enhancements.

Automatic Updates and Dependency Management

  • Added a new GitHub_Plugin_Updater class in includes/class-github-plugin-updater.php to enable automatic WordPress plugin updates directly from GitHub releases using the plugin-update-checker library. [1] [2] [3]
  • Added yahnis-elsts/plugin-update-checker as a required dependency in composer.json to support update checking from GitHub.

Release Automation

  • Introduced two new GitHub Actions workflows: .github/workflows/on-release-add.zip.yml to automatically build and attach a release zip on new releases, and .github/workflows/manually-build-zip.yml to allow manual creation of release zips via workflow dispatch. [1] [2]

Project Funding

  • Added .github/FUNDING.yml to provide sponsor and funding information for the project.

Documentation and Versioning

  • Updated CHANGELOG.md, readme.txt, package.json, and plugin headers to reflect version 1.0.4 and document the new features, including the automatic updater and release workflow enhancements. [1] [2] [3] [4] [5] [6] [7] [8]

- Added GitHub Plugin Updater class for automatic updates from GitHub releases in `includes/class-github-plugin-updater.php`.
- Updated `CHANGELOG.md` to document new features and changes for version 1.0.4.
- Updated `composer.json` to include `yahnis-elsts/plugin-update-checker` as a dependency.
- Updated `package.json` to reflect the new version 1.0.4.
- Updated `passwp-posts.php` to set the plugin version to 1.0.4 and initialize the GitHub updater.
- Updated `readme.txt` to set the stable tag to 1.0.4 and document new features.
- Added GitHub Actions workflows for building release zips on publish and manually.
- Created `.github/FUNDING.yml` for sponsorship information.
@soderlind soderlind merged commit 9fe552c into main Dec 15, 2025
2 checks passed
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.

2 participants