Skip to content

Releases: tobiashaas/Woo-Percentage-Shipping

v1.5.5

Choose a tag to compare

@tobiashaas tobiashaas released this 07 Oct 18:54

🚀 Release v1.5.5: Enhanced Update Cache Clearing

Enhanced Cache Clearing:

  • More aggressive cache clearing to prevent version inconsistencies
  • Clear all update-related transients including site transients
  • Force WordPress to re-check for updates with wp_update_plugins()
  • Clear plugin cache groups for complete refresh
  • Prevent showing old versions as available updates

🔧 What This Fixes:

  • WordPress showing wrong version as available update
  • Version inconsistencies between installed and available versions
  • Update cache not clearing properly
  • Old versions appearing as available updates

💻 Technical Improvements:

  • Enhanced clear_update_cache() with more comprehensive clearing
  • Added wp_update_plugins() to force immediate update check
  • Added wp_cache_flush_group() for plugin cache groups
  • Database cleanup for all update-related transients

📦 For Users:

After updating to v1.5.5, WordPress should properly show the correct latest version and stop showing inconsistent version numbers.


Full Changelog: v1.5.4...v1.5.5

v1.5.3

Choose a tag to compare

@tobiashaas tobiashaas released this 06 Oct 20:14

🚀 Release v1.5.2: Fix PHP Fatal Errors & New Style Admin Interface

Fixed Issues:

  • Fixed PHP Fatal Error: Call to undefined method WC_Percentage_Shipping_Plugin::render_calculation_method()
  • Removed Duplicate Methods: Eliminated all redeclaration errors
  • Added Missing Methods: All rendering methods for interface now implemented
  • Verified PHP Syntax: All syntax errors resolved
  • Admin Interface: All 15 tabs now working properly

🎨 Features:

  • Complete Modern Style Interface: Vertical sidebar navigation with collapsible sections
  • Search Functionality: Quick search with Ctrl+K shortcut
  • Clean White Content Area: Professional settings layout
  • 15 Admin Interface Tabs: All fully functional and organized
  • Modern Responsive Design: Mobile-friendly interface
  • Enhanced User Experience: Smooth animations and interactions

🔧 Technical Improvements:

  • All PHP fatal errors resolved
  • Clean code structure with no duplicate methods
  • Proper method definitions for all admin interface components
  • Verified PHP 8.3+ compatibility
  • Enhanced error handling and validation

🔄 Auto-Updates:

This release supports automatic updates from GitHub. WordPress will notify you when updates are available.

v1.4.0

Choose a tag to compare

@tobiashaas tobiashaas released this 06 Oct 18:15

🎨 WooCommerce Percentage Shipping v1.4.0

🚀 Complete Modern Settings Page Redesign

This release brings a completely redesigned, modern admin interface that provides an exceptional user experience with advanced features and beautiful design.

New Features

Modern Interface

  • Tab-based Navigation: Clean organization with General, Advanced, Performance, and Security tabs
  • Live Preview: Real-time calculation updates as you type
  • Quick Actions: Clear Cache, Export Settings, and View Logs buttons
  • Sidebar Widgets: Live Preview, System Info, and Quick Links

Enhanced Form Controls

  • Toggle Switches: Modern on/off switches for boolean options
  • Input Groups: Currency symbols and percentage suffixes
  • Card-based Layout: Clean visual hierarchy with hover effects
  • Real-time Validation: Instant feedback on form inputs

Advanced UX Features

  • Keyboard Shortcuts: Ctrl+S to save settings
  • Responsive Design: Mobile-first approach with touch optimization
  • Accessibility: ARIA labels, focus management, and screen reader support
  • Visual Feedback: Smooth animations and hover effects

🎯 UI/UX Improvements

Design System

  • Modern Typography: Clean, readable fonts with proper hierarchy
  • Color Scheme: Professional blue and gray palette
  • Spacing: Consistent margins and padding throughout
  • Icons: High-quality Dashicons with proper sizing

Layout Enhancements

  • CSS Grid: Modern layout system for optimal responsiveness
  • Flexbox: Flexible component layouts
  • Card Design: Clean white cards with subtle shadows
  • Gradient Backgrounds: Professional visual appeal

🔧 Technical Enhancements

JavaScript

  • Vanilla JS: No jQuery dependencies
  • Modern Fetch API: For AJAX requests
  • Debounced Updates: Performance-optimized input handling
  • Error Handling: Comprehensive error management

CSS

  • Mobile-First: Responsive design approach
  • Animations: Smooth transitions and micro-interactions
  • Print Styles: Optimized for printing
  • High Contrast: Accessibility support

Performance

  • Optimized Selectors: Efficient CSS targeting
  • Lazy Loading: Reduced initial load time
  • Minimal Footprint: Lightweight JavaScript
  • Fast Rendering: Hardware-accelerated animations

📱 Responsive Design

  • Desktop (1200px+): 2-column layout with sidebar
  • Tablet (768px-1199px): 1-column layout with sidebar on top
  • Mobile (<768px): Fully responsive, touch-optimized interface

🎨 Visual Highlights

  • Clean Header: Title with version badge and status indicator
  • Tab Navigation: Clear section organization
  • Settings Cards: Grouped options with visual hierarchy
  • Live Preview: Real-time calculation display
  • Quick Actions: One-click access to common tasks
  • System Info: Plugin and environment details

🚀 Ready for Production

This release is production-ready and provides:

  • Enhanced User Experience: Intuitive and modern interface
  • Better Performance: Optimized code and rendering
  • Improved Accessibility: WCAG compliant design
  • Mobile Support: Works perfectly on all devices
  • Professional Design: Enterprise-ready appearance

📥 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: Enjoy the new modern settings interface!

Download: Release v1.4.0
Installation: Upload ZIP file to WordPress admin or use WP-CLI
Support: Create issues on GitHub for bugs or feature requests

v1.3.0

Choose a tag to compare

@tobiashaas tobiashaas released this 06 Oct 17:50

🚀 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