Skip to content

Releases: iamgrisma/astropress

v2.5.0: Automated .htaccess Sensitive File Shield

Choose a tag to compare

@iamgrisma iamgrisma released this 01 Nov 04:35

Changes in v2.5.0

• Automated .htaccess Sensitive File Shield: Automatically injects self-healing Apache and LiteSpeed rules into root .htaccess and wp-content/.htaccess using insert_with_markers.
• Direct Public Log Blocking: Explicitly blocks public web access to debug.log, *.log, .env, and backup files with HTTP 403 Forbidden across LiteSpeed Enterprise and Apache.
• Clean Lifecycle Management: Seamlessly cleans up security rules upon plugin deactivation.

v2.4.9 - Self-Healing Cloudflare Edge Cache Rule

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 17:46

Changes in v2.4.9

  • Self-Healing Edge Cache Rule: Automatically checks and deploys the Cloudflare Ruleset Cache Rule ('Respect Origin Headers') if missing or misconfigured during CDN preflight audit.
  • Eliminates reliance on manual Cloudflare Dashboard configuration for edge caching.
  • Enhanced cache rule validation across both Modern Ruleset Engine and Legacy Page Rules.

v2.4.8 - Fix Rank Math Template Variable Resolution in Headless Mode

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 17:15

Fixes Rank Math template variable resolution for post titles and descriptions in Headless REST API mode.

v2.4.7

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 16:04

Release v2.4.7: High-fidelity Rank Math SEO head renderer, postmeta cache purging, and LiteSpeed REST API cache bypassing.

v2.4.6: LiteSpeed & Redis Purge Synchronization and Instant Edge Revalidation

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 15:17

AstroPress v2.4.6 Release Notes

  • LiteSpeed & Redis Purge Synchronization: Automatically purges on-disk LiteSpeed REST API cache files (/home/buyernep/lscache) and flushes Redis before dispatching edge revalidation webhooks, preventing stale data from being served or re-warmed.
  • Instant WP-CLI & Terminal Mutation Dispatch: Bypasses delayed shutdown queueing when mutations occur via WP-CLI or terminal scripts (defined('WP_CLI') && WP_CLI), ensuring edge revalidation occurs immediately without delay.
  • Cloudflare POP API Credential Auto-Forwarding: Forwards Zone ID and API Token in revalidation requests for unified edge cache clearance.
  • Fastly CDN & Atom Feed Discovery: Eliminates GitHub REST API 60 req/hr rate limits and prevents HTTP 403 update check errors.

v2.4.3 - Rate-Limit Immune Fastly CDN & Atom Primary Updater

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 13:35

AstroPress v2.4.3 promotes Fastly raw CDN and GitHub Atom feeds to primary update discovery channels, completely bypassing GitHub REST API 60 req/hr rate limits and eliminating HTTP 403 errors forever.

v2.4.2 - Webhook Credentials Forwarding & Auto-Persisted Zone ID

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 13:22

AstroPress v2.4.2 ensures Cloudflare API credentials are automatically forwarded in revalidate webhook payloads and auto-persisted upon token save.

v2.4.1: Instant Cloudflare Zone Purge & Synchronous Revalidation

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 12:54

What's Changed in AstroPress v2.4.1

  • Automatic Runtime Zone ID Resolution: Invalidation pipeline now dynamically derives and resolves the Cloudflare Zone ID directly from the API token if not already persisted in wp_options, guaranteeing edge cache purging triggers immediately without manual wizard steps.
  • Synchronous Webhook Dispatch: Webhook calls to Astro /api/revalidate now execute synchronously with a 5-second timeout, preventing LiteSpeed from aborting non-blocking cURL sockets during PHP shutdown.
  • Default Shared Secret Parity: Defaults unconfigured revalidate secrets to astropress_revalidate_secret matching Astro frontend accepted tokens.
  • PHP 7.4 Compatibility: Replaced all str_ends_with() calls with PHP 7.4 substr checks.

v2.4.0: Rate-Limit Proof Updates, Graceful Nonce Fallbacks & Ruleset Immunity

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 12:33

What's Changed in AstroPress v2.4.0

  • Rate-Limit-Proof Updates Pipeline: Eliminates GitHub API HTTP 403 Forbidden errors by implementing a multi-tier fallback architecture:
    1. Queries raw CDN file () with zero REST API rate limits.
    2. Parses GitHub Releases Atom RSS feed () when GitHub REST API returns 403.
    3. Direct zip asset fallback to instead of rate-limited .
  • Graceful Nonce Expiration Handlers: Replaces harsh 403 interruptions with graceful safe-redirects and inline notice banners when checking updates or performing admin cache purges.
  • Cache Rules 403 Immunity: Explicitly clarifies that Cloudflare Ruleset permissions are completely optional since Astro SSR natively dispatches 1-year edge cache headers ().

v2.3.9: Multi-part TLD Resolution, Runtime Zone Auto-Discovery & REST Purge Parity

Choose a tag to compare

@iamgrisma iamgrisma released this 31 Oct 12:03

What's Changed in AstroPress v2.3.9

• Multi-part TLD & ccTLD Resolution: Added AstroPress::get_root_domain() supporting .com.np, .org.np, .co.uk, .co.in, and other multi-part extensions, ensuring Cloudflare zones match accurately.
• Core Runtime Zone Auto-Resolution: Promoted resolve_zone_id() into the core AstroPress class with automatic runtime discovery and persistence, eliminating headless Zone ID missing errors.
• Immediate Persistence on Verification: Token verification now automatically saves OPTION_CF_API_TOKEN, OPTION_CF_ZONE_ID, and direct edge purge options immediately to the database.
• Synchronous REST & MCP Invalidation: Bypasses delayed shutdown queueing during REST API requests (defined('REST_REQUEST')) to guarantee edge cache purging succeeds on LiteSpeed/cPanel hosts.
• Decoupled Astro Webhook: Ensures Astro SSR /api/revalidate is dispatched reliably regardless of direct Cloudflare Zone API state.