Install
Works with Drupal: ^9.0 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
20.78 KB
MD5: 9147d775bdd5af82bfa2c60c0b0e0b4a
SHA-1: f45d4afa70b6ae09976f4d63da3a4fe8bc3561e3
SHA-256: 9955c29f8dbb61a693b28759e3b39e49089e46d2fcaa521e29b70a5e9fc648a9
Download zip
36.12 KB
MD5: 626fc9b6bb285bc2ad2e6f994a4cadad
SHA-1: 77604367e76df6a0bf06d1aefe2e43fdcb7a0a59
SHA-256: 29e64427548b014f7f56cf7e0ec41d50a761bef4431c9c26706edd41e47102fb
Release notes
This is a complete rewrite
- 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.