Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download purge-8.x-3.0-beta8.tar.gztar.gz
1.17 MB
MD5: 2c83e6c6289f50223771fdf0bee8e500
SHA-1: fb60f300eea09437ef029f91b7a1964e0592b3ed
SHA-256: 0503f26995ef878db744503e62b5ed353ad41b87f6fb77fa15b3e183f1b300de
Download purge-8.x-3.0-beta8.zipzip
1.36 MB
MD5: e822754e5a06a4eeff612f01dc681814
SHA-1: 5b6a53d6adcfa0d4e081edf2563d366fc7205bc4
SHA-256: 1821ff4d6e770f9bd30b8d31e6581a702b9f5e5938696e51fdb459afba829619
Release notes
Actions required after upgrading:
- run
drush cache-rebuild
to prevent getting any discovery exceptions. -
run
drush p-queue-empty
to start off with a clean slate (+clean statistics). - IMPROVED purge_ui's diagnostic report, its colored and visually pretty now.
- APIBREAK Rewrote
Queue\StatsTrackerInterface
from the ground up. - APIBREAK Simplified
Counter\PersistentCounterInterface
andCounterInterface
into one mergedCounterInterface
, and::setWriteCallback
lost its$id
parameter. - NEW
TypeUnsupportedException
, thrown fromInvalidationsService::get()
, this prevents people from adding things to their queue that aren't supported. - NEW
QueueSizeDiagnosticCheck
which warns after 30000 queue items and does a safety shutdown over 10000. - NEW and IMPROVED
drush
commands:- cache-rebuild-external (cre): a shorthand for "drush p-invalidate everything".
- p-processor-add (pradd)
- p-processor-ls (prols -> prls)
- p-processor-lsa (prlsa)
- p-processor-rm (prrm)
- p-queue-stats (pqs): now has much richer output and a
--reset-totals
switch. - p-queue-empty (pqe): no longer resets statistics (hint: it shouldn't).
- p-queuer-add (puadd)
- p-queuer-ls (puls)
- p-queuer-lsa (pulsa)
- p-queuer-rm (purm)
- p-purger-mvu (ppmvu): move a purger UP in the execution order.
- p-purger-mvd (ppmvd): move a purger DOWN in the execution order.
- FIXED
Undefined variable count QueueService:122
- FIXED
DatabaseQueue::createItemMultiple()
call todb_insert()
->$this->connection->insert()
- FIXED Endless queue-loop of invalidations after removing a purger.
-
FIXED drush commands now no longer require a
drush cache-rebuild
to become visible.