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.
The settings form has been changed to allow generic defaults for the plugin settings, with the option to override the defaults per node type.
An update hook has been created to migrate any existing settings to the new plugin settings.
We created 3 plugins to basically support the same functionality as the module already did:
Keep a minimum amount of revisions
Keep revisions for a minimum amount of time
Keep drafts for a minimum amount of time
We use a queue worker to call all plugins for a node and determine which revisions can be deleted. The revisions are split per language.
A drush command has been added to add all existing content to the queue and let the queue figure out which revisions can be deleted.
Content is also added to the queue when a new revision is added.
Tests are added for the plugins the module ships with.
A lot of code no longer seemed to be necessary has been removed. If you see anything that you think needs to be added back, or appears to be missing just go and create an issue.
The settings form has been changed to allow generic defaults for the plugin settings, with the option to override the defaults per node type.
An update hook has been created to migrate any existing settings to the new plugin settings.
We created 3 plugins to basically support the same functionality as the module already did:
Keep a minimum amount of revisions
Keep revisions for a minimum amount of time
Keep drafts for a minimum amount of time
We use a queue worker to call all plugins for a node and determine which revisions can be deleted. The revisions are split per language.
A drush command has been added to add all existing content to the queue and let the queue figure out which revisions can be deleted.
Content is also added to the queue when a new revision is added.
Tests are added for the plugins the module ships with.
A lot of code no longer seemed to be necessary has been removed. If you see anything that you think needs to be added back, or appears to be missing just go and create an issue.
The module is fully functional but we need to implement the missing tests (Unit, Kernel, and Functional) and test more the module before the final release. This version has not been tested in multilingual sites.
First beta version with a new submodule (Node Revision Generate), the complete port of the Node Revision Bulk Delete module and the ability to delete revisions using the minimum number of revisions to keep configuration.
This release was made starting from the functionalities presents in the 7.x-2.7 version and the configuration variables presents in the 8.x-1.0-alpha2 version. The new configuration variables are not used at this moment for the node revision deletion. An upgrade path is provided. There is not new drush commands in this release.
Small release discovered after releasing 7.x-2.5 that fixes a non-critical but annoying bug on the report that is generated once Node Revision Delete has finished when using Drush or the Administration Interface to delete old revisions.