Repository navigation
Releases
Releases · contenir-extension/cloudflare
v0.1.4
v0.1.3
Changed
- Accepts contenir/contenir-extension-api 0.8 as well as 0.7, so the CMS can host 0.8. 0.8's changes are
additions for add-ons, and only hosts must implement the new methods.
v0.1.2
Changed
- Accepts contenir/contenir-extension-api 0.7 as well as 0.6, so the CMS can host 0.7. 0.7's changes are
additions for add-ons, and only hosts must implement the new methods. - Requires the API by its current name, contenir/contenir-extension-api, where it was contenir/extension-api.
v0.1.1
Changed
- Requires contenir/contenir-cdn
^0.1, the library's name after its repository. 0.1.0 required it ascontenir/cdn,
a name that never reached Packagist. The namespace,Contenir\Cdn\, is unchanged, so nothing else changes.
v0.1.0
The first release. Requires contenir/extension-api ^0.6 and contenir/cdn ^0.1.
Added
- The Cloudflare settings section (Site Settings > Integration > Cloudflare): the zone ID, email and Global API Key
under the CMS plugin's keys (integration.cloudflare.*), a new API token kept in local settings, "When content
changes" (purge everything or nothing) and "Purge files when assets change". The email and Global API Key are a
deprecated fallback while a site has no token. - The
cloudflare:zone-idfield type, which checks the zone ID as it is saved. - The purger the CMS calls, provided as contenir/cdn's
PurgerInterface(Purge\PurgerFactory). While the add-on is
disabled, the CMS purges nothing. - Test connection and Purge everything (with a confirm step) on the section, and the Purge URLs screen.
- A log entry for every purge, including those Cloudflare refuses, with its trigger, scope, count, result and
Cloudflare's request id, under the sourceextension.cloudflare.