zone setting will now be parsed for environment variables.
All control panel interactions are now asynchronous.
The dashboard widget and settings page will both ask for confirmation before purging the entire zone.
Updated the readme.
It’s now possible to set the Cloudflare zone ID from a static config file.
Purge attempts from the control panel now correctly report success or failure and log details to the browser console.
Settings no longer throw an exception if saved with an invalid API Key.
Fixed missing credentials alert in Settings when verifying an API Token without key settings present.
Optimized and refactored code.
Improved Settings validation.
Fixed widget icon.
cloudflare service is now
Stale settings for an unused auth type will be removed rather than stored.
Added support for API Tokens.
craft cloudflare/purge/purge-all and
craft cloudflare/purge/purge-urls console commands for clearing zone and individual URL caches.
Can now auto-purge zone subdomain URLs, useful for CDN-hosted Assets.
Fixed trivial yet unsightly padding issue resulting from a Craft CSS update.
Fixed Craft < 3.1 compatibility for API Key setting.
Environment variables can now be used for the control panel's API Key setting.
Fixed console exception thrown checking for post params when they don't exist.
Removed perilous trailing comma from CloudflareService. (Thanks @jkorff!)
Slightly changed CloudflareService API to improve clarity and efficiency. **If you had custom code interacting with the
isConfigured properties, please use
After initial setup (or re-saving Settings), only URLs in the selected zone name (domain) will be purged. This will prevent API calls in environments with base URLs that aren't on the Cloudflare zone.
Updated Composer requirements to include PHP 7 and the JSON extension.
Fixed missed purges due to doubled-up element site URLs (
Prevented plugin from interfering with console commands.
Configuration options can now display more than 20 zones.
Missing API credentials won't affect element save/delete actions.
Craft 3 version initial release. Many thanks to Mo, all mistakes mine.
Reduce API calls before credentials are added.
Exposed automatic Asset and Entry URL purge in settings.
Improved log messages for failed URL purges."
Added dashboard quick purge widget.
Added proper support custom CP + action URLs.