Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download purge-8.x-3.0-beta5.tar.gztar.gz 1.16 MB
MD5: 74cddbdec8a954051e93f6e40a3c68ec
SHA-1: 73eaba7d9039f6d8ae53eba39fdc41feede35866
SHA-256: 63ddf0684f4c59a60041252c192960112e9e06ba5f4d2f6838b7197c2733d604
Download purge-8.x-3.0-beta5.zipzip 1.34 MB
MD5: e9fc18318c86ff6d19411a6a1b39942c
SHA-1: de3a1ba6d14b2d4c45e34e4d19d1c5ea0bed5090
SHA-256: 1a1922cc73d7a15d25c0b454f47e4fe3d8afc190ac8a511971fae7abbba6e9f3

Release notes

Hereby I'm happy to release version 8.x-3.0-beta5 of the Purge module, a project in development for over two years and getting closer to the point where it can be used in production environments. Usage statistics have rapidly climbed in the last couple of weeks and brought us into the 500 installations range, which is quite high for a beta module.

Although several users have reported to use it in production, I would like to stress that my confidence isn't strong enough to recommend everybody to do this. Please be also warned that - as part of the beta series - some inconveniences, API breakage or upgrade requirements might still occur in following versions. Obviously this is kept to an absolute minimum, as stability goes above everything else.

I would like to thank everybody involved in testing, contributing and providing feedback - without you this project would remain beta forever!

Thanks,
Niels

Regressions and/or upgrade impact

  • This upgrade empties your queue, please run drush p-queue-empty.
  • Issue #2692523: the Purge-Cache-Tags header has been dropped, and moves to the purge_purger_http project (as a submodule). The reasoning here is clear and in line with the strategy of the purge module for the future: HTTP headers are implementation details and the responsibility of purger modules, not a core task (and technology-assumption) for the core project. Users who need customized configurations, already likely use the generic HTTP purger while others will use submodules that already introduce their own headers (and remove them too).

New Features

  • New diagnostic check: \Drupal\purge\Plugin\Purge\DiagnosticCheck\MaxAgeCheck.
  • New diagnostic check: \Drupal\purge\Plugin\Purge\DiagnosticCheck\PageCacheCheck.
  • Issue #2791387 by nielsvm: A new configurable block "Purge this page" has been added to allow administrators to quickly purge by URL, path or clear "everything". Alternatively, the block can also be configured to queue the items instead of direct execution.
  • TagsHeaderInterface now also extends ContainerFactoryPluginInterface in order for create:: injection support.

Fixes / Improvements

  • All tests pass on local machine: 4430 passes, 0f, 0e (testing with d.o testbot continues.).
  • Compliance with pareview.sh reviews improved massively (but isn't done yet).
  • The "page cache maximum age" dropdown on the performance tab, contains a lot more serious options now.
  • Improved ::testIteration() tests on KernelServiceTestBase derivatives, by introducing assertIterator().
  • Issue #2706567 by lahoosascoots, nielsvm, arknoll: QueuerService and ProcessorsService assumes there are plugins in CMI.
  • Tests\Queue\PluginTestBase now tests the paging logic of queue plugins.
  • Issue #2795131 has rewritten the entire database queue backend, which now automatically deploys a new database table purge_queue. Please note that upgrading users will see their queues wiped out and are required to run drush p-queue-empty to also reset queue statistics.
  • Issue #2744215 by nielsvm: diagnostic errors will now get logged for new installations, old installations will need to check "error" for the "diagnostics" log channel in their logging configurations.
  • Issue #2755019 by neerajsingh, nielsvm: Remove @file tag docblock
  • Issue #2787993 by slasher13, nielsvm: Allowed memory size of 268435456 bytes exhausted
  • Issue #2724217 by davidwbarratt, TravisCarden, nielsvm: Incompatibility with Monolog
  • Issue #2744135 by joshi.rohit100, davidwbarratt, nielsvm: PurgerCapacityDataInterface::hasRuntimeMeasurement() further clarified.
Created by: nielsvm
Created on: 7 Sep 2016 at 07:37 UTC
Last updated: 26 Oct 2016 at 12:23 UTC
Bug fixes
New features

Other releases