- Bugfix: Fix a potential installation issue. @see processwire/processwire-issues#1462
- Feature: Asset versions are now saved with WireCache::expireNever instead of WireCache::expireReserved, allowing it to be deleted using $cache->deleteAll() calls.
- Bugfix: Fix saved asset versions expiring after one day when generated implicitly using CacheControlTools::getAssetVersion. Asset versions will now be correctly saved without an expiration time.
- Docs: Fix grammar mistake in the module configuration. fixes issue #2
- Milestone: First stable release!
- Feature: Added experimental ProCache integration. The module now has an additional option to clear the ProCache during the default action. This uses $procache->clearAll().
- Docs: Added documentation and usage examples for the new methods added in the previous release.
- Feature: The process page only displays actions the current user can execute, both in the setup menu and on the process page itself.
- Feature: Added a static method
ProcessCacheControl::canUseModule
to check if a user has access to the module. This should be used before instantiating the module to avoid errors. - Feature: Added new helper methods to check if a user can execute a specific action and get all actions a user can execute.
- Feature: Added a helper method to get the URL of the process page, or the URL that executes a specific action.
- Feature: Added a helper method to check if an action exists.
- Feature: Added a clear success message through the system messages system after an action is executed on the Process page.
- Refactor: If a non-existent action is requested on the process page (through a GET-parameter), the module will display an warning message instead of throwing an error.
- Refactor / Bugfix: The
CacheControlTools
class is now a ProcessWire module as well and is installed alongside the main module. This was necessary because theProcessCacheControl
module restricts access through the module system, so it couldn't be instantiated during requests from unprivileged users at all.- Note that the CacheControlTools has changed to the ProcessWire namespace. Before:
\ProcessWire\ProcessCacheControl\CacheControlTools
| Now:ProcessWire\CacheControlTools
- The documentation has been updated accordingly.
- Note that the CacheControlTools has changed to the ProcessWire namespace. Before:
- Refactor: The module is no longer autoloaded for every request.
- Docs: Added installation instructions to the README.
- Bugfix: Removed a trailing comma after the last argument in a function call that was preventing installation on PHP<=7.3 (issue on Github).
Initial public beta release with a functional "Clear all caches" cache action, a simple interface to trigger actions and view the action log, and an developer API to add new actions, trigger actions and perform cache management tasks.