Skip to content

Releases: StaticDelivr/StaticDelivr-CDN-WP-Plugin

v2.5.2

Choose a tag to compare

@github-actions github-actions released this 27 Jan 07:10

Maintenance release focused on code quality and infrastructure improvements. All functionality remains unchanged with enhanced reliability and maintainability.

Changelog

  • Improved: Complete code quality overhaul with full WordPress Coding Standards (WPCS) compliance
  • Improved: Added comprehensive PHPDoc documentation across all plugin files
  • Improved: Enhanced CI/CD pipeline with automated code quality checks via GitHub Actions
  • Improved: Refactored code formatting, indentation, and spacing throughout the codebase
  • Improved: Added development tooling for easier maintenance and testing
  • Improved: Strengthened infrastructure for better reliability and maintainability

v2.5.1

Choose a tag to compare

@github-actions github-actions released this 26 Jan 14:46

Fixed a critical conflict where featured images would disappear or fail to load in the WordPress post editor (Gutenberg) due to CDN rewriting in the backend.

Changelog

  • Fixed: Resolved "Admin Leak" issue where images were incorrectly rewritten to CDN URLs inside the WordPress dashboard.
  • Fixed: Improved compatibility with the Block Editor (Gutenberg) by disabling image rewriting for REST API requests.
  • Improved: Ensures 100% stability in the Media Library and Post Editor by serving local files for administrative tasks.

v2.5.0

Choose a tag to compare

@coozywana coozywana released this 26 Jan 12:43

Introduces new Developer Tools for easier troubleshooting. You can now check your configuration directly from the browser console.

Changelog

  • New: Diagnostic Console API. You can now type window.staticDelivr.status() in the browser console to view active settings, version, and debug status instantly.
  • New: Added window.staticDelivr.reset() console command to clear fallback states, useful for developers testing image recovery.
  • Improved: Refactored diagnostic logic into a dedicated DevTools module to keep the fallback script lightweight and focused.
  • Improved: Performance optimization - diagnostic scripts are printed in the footer to prevent render blocking.

v2.4.1

Choose a tag to compare

@coozywana coozywana released this 26 Jan 12:07

Critical fix for images failing to load on modern browsers. This update handles "Lazy Load Interventions" and ensures the fallback mechanism works 100% of the time. Recommended for all users.

Changelog

  • Fixed: Resolved an issue where lazy-loaded images could fail silently without triggering the fallback mechanism (Browser Intervention).
  • Improved: Fallback script now aggressively removes srcset and loading attributes to force browsers to retry failed images immediately.
  • New: Added a "Sweeper" function to automatically detect and repair broken images that were missed by standard error listeners.
  • Fixed: Improved error detection logic to prioritize currentSrc, ensuring failures in responsive thumbnails are caught even if the main src is valid.

v2.4.0

Choose a tag to compare

@coozywana coozywana released this 26 Jan 12:01

This update introduces Smart Dimension Detection to automatically fix PageSpeed Insights warnings and improve your site's SEO and CLS scores. Highly recommended for all users.

Changelog

  • New: Smart Dimension Detection. The plugin now automatically identifies missing width and height attributes for WordPress images and restores them using attachment metadata.
  • Improved: Resolves Google PageSpeed Insights warnings regarding "Explicit width and height" for image elements.
  • Improved: Enhances Cumulative Layout Shift (CLS) scores by ensuring browsers reserve the correct aspect ratio during image loading.
  • Improved: Synchronized CDN URL optimization parameters with detected database dimensions for more accurate image scaling.

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Jan 13:06

Critical fix: Solves broken images issues by correctly recovering original file paths from the database for older content.

Changelog

  • Fixed: Critical Bug - Improved recovery for malformed CDN URLs by looking up original attachment paths in the database instead of guessing dates
  • Improved - Better handling of older content with incorrect CDN URLs

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Jan 16:59

This major update introduces significant performance optimizations and critical stability fixes for thumbnail generation and HTML parsing. Upgrading is highly recommended for a faster and more stable site experience.

Changelog

  • Major Improvement: Significant performance boost by removing blocking DNS lookups during image processing.
  • Fixed: Resolved "Path Math" issues where thumbnail URLs could become mangled by WordPress core.
  • Fixed: Robust HTML parsing for images now handles special characters (like >) in alt text without breaking layout.
  • Improved: Optimized thumbnail delivery by removing redundant regex parsing passes.
  • Hardened: Improved path parsing safety to ensure full compatibility with modern PHP 8.x environments.
  • Refined: Cleaned up internal logging and removed legacy recovery logic in favor of a more stable architecture.

v2.2.2

Choose a tag to compare

@coozywana coozywana released this 25 Jan 16:50

Performance improvements and bug fixes for image handling and verification.

Changelog

  • Fixed infinite recursion in image URL filters by removing database lookups for malformed CDN URLs
  • Improved image handling by simplifying thumbnail HTML rewriting to avoid redundant processing
  • Removed unnecessary parent theme slug handling in verification for better performance

v2.2.1

Choose a tag to compare

@coozywana coozywana released this 25 Jan 14:20

Fixes infinite recursion in image URL filters and improves handling of attachment URLs.

Changelog

  • Fixed an issue with infinite recursion in the rewrite_attachment_image_src and rewrite_attachment_url filters.
  • Improved handling of image URLs to prevent errors when retrieving attachment URLs.

v2.1.0

Choose a tag to compare

@coozywana coozywana released this 25 Jan 12:25

Massive update! StaticDelivr is now available in over 30 languages. Includes new debug tools and improved stability.

Changelog

  • New: Multi-language Support - Added full localization for over 30 languages to support a global user base.
  • Added translations for Spanish, French, German, Italian, Portuguese, Arabic, Chinese, Japanese, and many others
  • Full RTL (Right-to-Left) support for languages like Arabic and Persian
  • Integrated with wordpress.org translation system for future community contributions
  • New: Dev Tools & Debugging - Enhanced controls for developers to troubleshoot in local environments.
  • Added Debug Mode for detailed logging of image rewrite operations to the error log
  • New "Bypass Localhost" option to test CDN rewrites on .local, .test, and .dev domains
  • Improved dynamic debug mode support in the fallback failure script
  • Improved: Reliability & Assets - Refined asset handling and refreshed visuals.
  • Hardened image processing to detect and recover from malformed or legacy StaticDelivr URLs
  • Updated plugin branding with refreshed icons and new dashboard screenshots
  • Better handling of protocol-relative and site-relative URLs during optimization