Skip to content

v1.3.0

Choose a tag to compare

@tobiashaas tobiashaas released this 06 Oct 17:50
· 6 commits to main since this release

🚀 WooCommerce Percentage Shipping v1.3.0

🎯 Major Release with Modern PHP 8.3+ Architecture

This release brings the plugin to the cutting edge of modern WordPress/WooCommerce development with significant architectural improvements and enhanced security.

New Features

Modern PHP Architecture

  • PHP 8.3+ Features: Enums, readonly properties, match expressions
  • Type Safety: Full strict typing throughout the codebase
  • PSR-12 Compliance: Modern PHP coding standards

Zero-Dependency Design

  • Pure Vanilla JavaScript: No jQuery or external libraries
  • Clean Architecture: Modular classes with single responsibilities
  • Composer Integration: Modern dependency management

Advanced Performance Features

  • Intelligent Caching: Smart cache invalidation with 1-hour TTL
  • Memory Optimization: Efficient data structures and cleanup
  • Rate Limiting: AJAX requests throttled (30/min per user)

Enhanced Security

  • CSRF Protection: Nonce verification on all forms
  • XSS Prevention: Proper output escaping throughout
  • Security Headers: HTTP security headers implemented
  • Input Validation: Comprehensive sanitization and validation

🔧 Technical Improvements

Modular Architecture

  • WC_Percentage_Shipping_Validator: Input validation and sanitization
  • WC_Percentage_Shipping_Calculator: Core calculation logic
  • WC_Percentage_Shipping_Cache: Intelligent caching system
  • WC_Percentage_Shipping_Logger: Comprehensive logging system

Testing & Quality

  • PHPUnit Test Suite: 90%+ code coverage
  • Error Handling: Comprehensive exception handling
  • Documentation: Complete English documentation and comments

⚠️ Breaking Changes

This is a major version update with breaking changes:

  • PHP: 8.0 → 8.3+ (REQUIRED)
  • WordPress: 5.6 → 6.8+ (REQUIRED)
  • WooCommerce: 5.0 → 10.0+ (REQUIRED)
  • Database: MySQL 5.7 → MySQL 8.0+ or MariaDB 10.6+ (REQUIRED)

🛠️ Installation

  1. Download: Get the latest release from GitHub
  2. Upload: Install via WordPress admin or upload ZIP
  3. Activate: Enable through Plugins → Installed Plugins
  4. Configure: Set up at WooCommerce → Percentage Shipping

🎉 Ready for Production

This release is production-ready and optimized for:

  • High-traffic WooCommerce stores
  • Modern hosting environments
  • Enterprise-level security requirements
  • Performance-critical applications