Skip to content

Releases: putyourlightson/craft-cloudflare

1.0.3.1

01 Feb 00:15
1.0.3.1
f0c54e4
Compare
Choose a tag to compare

Fixed a bug where only the zone cache purge would log a 200-status failure response. (Now applies to all other API requests.)

1.0.3

29 Jan 20:14
1.0.3
2d6466e
Compare
Choose a tag to compare

Fixed

  • Unsuccessful, 200-status API responses will log returned messages instead of throwing exceptions. (#44)

1.0.2

02 Oct 23:20
4b3a8b4
Compare
Choose a tag to compare

Changed

  • Minor front-end dependency security updates.

Removed

  • Removed explicit Composer PHP requirement.

1.0.1

02 Feb 15:23
Compare
Choose a tag to compare

Changed

  • Moved cache file to Craft’s storage directory rather than its default vendor/ location. (#31)

1.0.0

01 Feb 02:48
Compare
Choose a tag to compare

Added

  • Added a Cloudflare utility for purging URLs and managing rule-based purging options.

Changed

  • Craft 3.6.0 or higher is required.
  • Moved formerly-hidden purge rules to the Cloudflare utility. (#26)
  • Moved URL purge tools from settings to the Cloudflare utility.

Fixed

  • Added support for multi-level domain suffixes. (#22)

Removed

  • Removed static $plugin variable. Replace instances of Cloudflare::$plugin with Cloudflare::getInstance().

0.6.0

24 Oct 16:44
Compare
Choose a tag to compare

Fixed

  • Fixed PSR-4 namespacing for Composer 2.

0.5.1

26 Apr 17:43
Compare
Choose a tag to compare

Fixed

  • Fresh plugin installs no longer prevent saving key-based settings. (Fixes #19.)

0.5.0

05 Apr 16:08
Compare
Choose a tag to compare

Added

  • Expanded automatic element URL purge options to include categories, tags, and Commerce variants and products. (#16)

Fixed

  • Improved zone selection for API tokens that can’t list zones. (#17)

Changed

  • Moved documentation to its own site.

0.4.1

11 Feb 21:38
Compare
Choose a tag to compare

Added

  • The zone setting will now be parsed for environment variables.

Changed

  • 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.

Fixed

  • 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.

0.4.0

27 Dec 02:09
Compare
Choose a tag to compare

Fixed

  • 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.

Changed

  • The cloudflare service is now api.
  • Stale settings for an unused auth type will be removed rather than stored.