NextJS GraphQL Hooks v1.0.2
Changes in v1.0.2
🚀 Major Updates
- Modularized Updater System: Integrated reusable
silverassist/wp-github-updaterpackage - Optimized Build Process: Enhanced release script with production-only dependencies
- Improved CI/CD: Updated GitHub Actions workflow with Composer support
✨ Added
- Composer autoloader integration in main plugin file
- Production dependency management in build script
- Optimized vendor directory packaging (only necessary files)
- Automatic development dependency restoration after build
🔧 Changed
- BREAKING: Refactored
Updater.phpclass to extendSilverAssist\WpGithubUpdater\Updater - Reduced Updater class from ~200 lines to ~35 lines (-82% code reduction)
- Updated
create-release-zip.shscript with Composer dependency handling - Enhanced GitHub Actions workflow with PHP setup and dependency installation
🐛 Fixed
- Resolved missing dependencies in CI/CD pipeline
- Fixed release package size optimization (now includes only production dependencies)
- Improved error handling in build scripts
📚 Technical Details
- Dependencies: Added
silverassist/wp-github-updater:^1.0 - Build Size: Optimized from ~50KB to ~156KB (includes vendor dependencies)
- Maintainability: Centralized update logic in external package
- Compatibility: Maintains full backward compatibility
🔄 Migration Notes
- Existing installations will automatically use the new updater system
- No manual intervention required for end users
- Developers can now reuse the same updater package across multiple plugins
📦 Package Information
- File: nextjs-graphql-hooks-v1.0.2.zip
- Size: ~117KB
- License: GPL v2 or later
🚀 Installation
- Download the ZIP file below
- Go to WordPress Admin → Plugins → Add New → Upload Plugin
- Choose the downloaded ZIP file and click "Install Now"
- Activate the plugin
For detailed installation instructions, see the README.md file.