Skip to content

NextJS GraphQL Hooks v1.0.2

Choose a tag to compare

@github-actions github-actions released this 08 Aug 01:55
· 76 commits to main since this release

Changes in v1.0.2

🚀 Major Updates

  • Modularized Updater System: Integrated reusable silverassist/wp-github-updater package
  • 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.php class to extend SilverAssist\WpGithubUpdater\Updater
  • Reduced Updater class from ~200 lines to ~35 lines (-82% code reduction)
  • Updated create-release-zip.sh script 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

  1. Download the ZIP file below
  2. Go to WordPress Admin → Plugins → Add New → Upload Plugin
  3. Choose the downloaded ZIP file and click "Install Now"
  4. Activate the plugin

For detailed installation instructions, see the README.md file.