node_revision_delete 2.0.0-rc1

Bug fixes
New features

Contributors (10)

rp7, adriancid, Jons, pick_d, Sharique, Johan den Hollander, guilhermevp, sumit_saini, dharmendraqed42, chakkche

Changelog

Issues: 5 issues resolved.

Changes since 2.0.0-beta1:

Bug

Feature

Task

node_revision_delete 2.0.0-beta1

Bug fixes
New features

Contributors (12)

casaran, joseph.olstad, itamair, vsujeetkumar, smulvih2, mkolar, seanB, vistree, adriancid, hockey2112, dimitriskr, Johan den Hollander

Changelog

Issues: 23 issues resolved.

Changes since 2.0.0-alpha1:

Bug

Feature

Support

Task

node_revision_delete 8.x-1.0-rc7

Bug fixes

Contributors (8)

herved, adriancid, klonos, samit.310@gmail.com, sourabhjain, Eric_A, cleversonr, dshumaker

Changelog

Issues: 9 issues resolved.

Changes since 8.x-1.0-rc6:

Bug

Task

node_revision_delete 2.0.0-alpha2

Bug fixes

Contributors (1)

adriancid

Changelog

Issues: 7 issues resolved.

Changes since 2.0.0-alpha1:

Bug

  • #3336494: Error trying to create a new content type

Task

node_revision_delete 2.0.0-alpha1

New features

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.

node_revision_delete 2.0.x-dev

New features

Development snapshot for branch 2.X.X

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.

node_revision_delete 8.x-1.0-rc6

Bug fixes

Contributors (5)

dshumaker, adriancid, Rajeshreeputra, sudesh.solaskar, sd123

Changelog

Issues: 6 issues resolved.

Changes since 8.x-1.0-rc5:

Bug

Task

node_revision_delete 8.x-1.0-rc5

Bug fixes
New features

Contributors (7)

adriancid, immaculatexavier, Nilesh Chhantbar, Project Update Bot, Robert Ngo, alberto56, Liam Morland

Changelog

Issues: 13 issues resolved.

Changes since 8.x-1.0-rc4:

Bug

Feature

Task

node_revision_delete 8.x-1.0-rc4

Bug fixes
New features

Contributors (12)

Eric_A, seanB, gaards, adriancid, DuneBL, 3CWebDev, Michelle-Buckby, jmoruzi, guilhermevp, marcusvsouza, tsurvuli, mukesh.dev

Changelog

Issues: 6 issues resolved.

Changes since 8.x-1.0-rc3:

Bug

Feature

  • Resolve #3216266 "Allow alter revision candidates"

Task

node_revision_delete 7.x-3.2

Bug fixes

Contributors (3)

adriancid, nelsongrin, piotrsmykaj

Changelog

Issues: 3 issues resolved.

Changes since 7.x-3.1:

Bug

Task

node_revision_delete 8.x-1.0-rc2

New features

Contributors (1)

adriancid

Changelog

Issues: 9 issues resolved.

Changes since 8.x-1.0-rc1:

Feature

Task

  • #3116779 by adriancid: Create unit test for getContentTypeConfig method
  • #3116771 by adriancid: Create unit test for updateTimeMaxNumberConfig method
  • #3118292 by adriancid: Add a helper function for the unit test to get the content type list
  • #3116772 by adriancid: Create unit test for getConfiguredContentTypes method
  • #3116786 by adriancid: Add validation for empty arrays
  • #3116537 by adriancid: Verify in a functional test if only the possible number of revisions is created in the generate revision form
  • #3116486 by adriancid: Verify in a functional test if more than one node is created in the generate revision form
  • #3116292 by adriancid: Verify in a functional test if one node is created in the generate revision form

node_revision_delete 7.x-3.1

Bug fixes
New features

Contributors (3)

yasheshb, adriancid, solideogloria

Changelog

Issues: 5 issues resolved.

Changes since 7.x-3.0:

Bug

Feature

node_revision_delete 8.x-1.0-rc1

Bug fixes
New features

Contributors (5)

adriancid, vidorado, bsztreha, uros.ceh, rick_p

Changelog

Issues: 33 issues resolved.

Changes since 8.x-1.0-beta4:

Bug

Feature

Task

node_revision_delete 7.x-3.0

Bug fixes
New features

Contributors (4)

adriancid, hanoii, izmeez, juampynr

Changelog

Issues: 4 issues resolved.

Changes since 7.x-3.0-rc2:

Bug

Feature

Task

node_revision_delete 7.x-3.0-rc2

Bug fixes

Contributors (2)

adriancid, solideogloria

Changelog

Issues: 2 issues resolved.

Changes since 7.x-3.0-rc1:

Bug

Task

node_revision_delete 7.x-3.0-rc1

Bug fixes
New features

Contributors (4)

slydevil, juampynr, adriancid, ndobromirov

Changelog

Issues: 3 issues resolved.

Changes since 7.x-3.0-beta2:

Bug

Feature

Task

node_revision_delete 8.x-1.0-beta4

Bug fixes
New features

Contributors (7)

ndobromirov, adriancid, RajeevK, apmsooner, davidburns, pdenooijer, Robert Ngo

Changelog

Issues: 19 issues resolved.

Changes since 8.x-1.0-beta3:

Bug

Feature

  • #3093990 by adriancid: Return to the candidates revision pages once you delete revisions
  • #3093974 by adriancid: Hide some table columns on narrow width devices in candidates nodes page
  • #3093962 by adriancid: Hide some table columns on narrow width devices in the content type candidate revisions page
  • #3093960 by adriancid: Hide some table columns on narrow width devices in the module settings page
  • #3093940 by adriancid: Create a form to see all the content types revisions to be deleted

Task

node_revision_delete 7.x-3.0-beta2

Bug fixes
New features

Contributors (13)

colan, adriancid, Robert Ngo, slydevil, diosbelmezquia, kalabro, mmjvb, nicksanta, riddhi.addweb, generalredneck, artematem, helmo, dmitryl

Changelog

Issues: 50 issues resolved.

Changes since 7.x-3.0-beta1:

Bug

Feature

Task

node_revision_delete 8.x-1.0-beta3

New features

Contributors (4)

adriancid, Robert Ngo, colan, hugovk

Changelog

Issues: 24 issues resolved.

Changes since 8.x-1.0-beta2:

Feature

Task

node_revision_delete 8.x-1.0-beta2

Bug fixes
New features

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.

Contributors (1)

adriancid

Changelog

Issues: 18 issues resolved.

Changes since 8.x-1.0-beta1:

Bug

  • #3076558 by adriancid: The newest revisions are deleted and not the oldest
  • #3076222 by adriancid: Delete revisions only if the run now option is checked in the configuration form

Feature

  • #3077450 by adriancid: Add an option to delete the revisions of a specific content type
  • #3077318 by adriancid: Delete revisions when cron runs
  • #3077288 by adriancid: Add a method to have the candidates revisions to delete by quantity
  • #3077255 by adriancid: Add a method in the node_revision_delete service to have all the configured content types
  • #3076704 by adriancid: Create a method to get the content type config with the relative time
  • #3076666 by adriancid: Create a function to return the content type config
  • #3076226 by adriancid: Identify the candidate revisions using the when to delete configuration
  • #3076228 by adriancid: Identify the candidate nodes using the when to delete configuration
  • #3076225 by adriancid: Identify the candidate revisions using the minimum age of revisions to delete
  • #3076227 by adriancid: Identify the candidate nodes using the minimum age of revisions to delete
  • #3076477 by adriancid: Create a function to determine the time value

Task

  • #3077419 by adriancid: Create the batch definition in a new utility class
  • #3077323 by adriancid: Use the getConfiguredContentTypes method in the module configuration form
  • #3076703 by adriancid: Improve the getPreviousRevisions method
  • #3076673 by adriancid: Simplify the getRelativeTime method in the node_revision_delete service
  • #3076653 by adriancid: The functions identifying candidate revisions should have only as an argument the content type

node_revision_delete 8.x-1.0-beta1

Bug fixes
New features

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.

Contributors (13)

adriancid, Robert Ngo, Pasqualle, slydevil, diosbelmezquia, kalabro, mmjvb, nicksanta, riddhi.addweb, Christopher Riley, Berdir, generalredneck, pietpomp

Changelog

Issues: 64 issues resolved.

Changes since 8.x-1.0-alpha4:

Bug

Feature

Task

node_revision_delete 8.x-1.0-alpha4

New features

Summary: 8.x-1.0-alpha4

Contributors: (2) adriancid, artematem

Issues: 24 issues fixed.

Changes since 8.x-1.0-alpha3:

Bug

  • #2948887 by adriancid: NodeRevisionDeleteAdminSettings class constructor is not calling the parent constructor
  • #2941136 by adriancid: Content type configuration is only deleted if you use the content type delete form

Feature

  • #2958602 by adriancid: Replace drupal_set_message() by Messenger service
  • #2948881 by adriancid: Add the docblock to the constructors
  • #2948876 by adriancid: Create an interface to implement it in the node_revision_delete service
  • #2944485 by adriancid: Create the composer.json file
  • #2942235 by adriancid: If the content type is not configured to delete node revisions show the candidates nodes as untracked
  • #2942230 by adriancid: Put the _node_revision_delete_candidates function inside the node_revision_delete service
  • #2942226 by adriancid: Put the _node_revision_delete_delete_content_type_config function inside the node_revision_delete service
  • #2942225 by adriancid: Put the _node_revision_delete_save_content_type_config function inside the node_revision_delete service
  • #2942046 by adriancid: Put the _node_revision_delete_time_string() function inside the node_revision_delete service
  • #2941896 by adriancid: Create the node_revision_delete service
  • #2941747 by adriancid: Put the internal utility functions in another file
  • #2941756 by adriancid: Add the option 'Every time cron runs' for the time frecuency
  • #2936290 by artematem, adriancid: Add an option to delete revisions every hour
  • #2924486 by adriancid: Replace deprecated usage of Drupal::entityManager with a Drupal::entityTypeManager
  • #2913006 by adriancid: Define how many revisions you want to delete per cron run with a number form element

Task

  • #2948879 by adriancid: Visibility must be declared on class and interface methods
  • #2941894 by adriancid: Attach the css for the admin form in the render array
  • #2927935 by adriancid: Data types in @param tags need to be fully namespaced
  • #2927930 by adriancid: Remove validateForm() useless method overriding in NodeRevisionDeleteAdminSettings configuration form
  • #2925354 by adriancid: Remove the functionalities that allows to see the drush commands in the module help page
  • #2924488 by adriancid: Incorrect class property description in ContentTypeConfigurationDeleteForm class
  • #2921622 by adriancid: Change the placeholder @variable to :variable for urls in t() calls

node_revision_delete 8.x-1.0-alpha3

Bug fixes
New features

Changes since 8.x-1.0-alpha2:

  • #2908345 by adriancid: Change the permission name in the module help page
  • #2907680 by adriancid: Add the sticky property to the table shown in the admin page
  • #2900979 by adriancid: Untranslated strings
  • #2900518 by adriancid: Drush command to configure time options for the minimum age to delete revisions
  • #2899740 by adriancid: Drush command to configure time options to know when the revision should be deleted
  • #2899066 by adriancid: Drush command to configure frequency with which to delete revisions while cron is running
  • #2846726 by proconnor15, adriancid: Add option to delete revisions every 2 years while cron runs
  • #2895498 by adriancid: Drush command to get the last time that the node revision delete was made
  • #2892502 by adriancid: Validate that the parameters exists before use it in array_inshift() function
  • #2892441 by adriancid: Change the drush error codes
  • by adriancid: Add a dry-run option
  • by adriancid: Change drush ndr-delete-cron-run command name to nrd-delete-cron-run
  • by adriancid: Create an option group in the content type edit form
  • by adriancid: Create the CHANGELOG.txt file
  • by adriancid: Disable the 'Delete revisions now' option if there not exists candidates nodes with revisions to delete

node_revision_delete 7.x-3.0-beta1

New features

Changes since 7.x-3.0-alpha2:

node_revision_delete 7.x-3.0-alpha2

Bug fixes
New features

Changes since 7.x-3.0-alpha1:

node_revision_delete 8.x-1.0-alpha2

New features

For the moment is only posible create, edit and delete the module configuration.

Changes since 8.x-1.0-alpha1:

  • by adriancid: Drush command to configure how many revisions delete per cron run.
  • by adriancid: Drush command to get how many revisions will be deleted per cron run.
  • by adriancid: Add link to configure page.
  • by adriancid: Keep revisions during a certain time.
  • by adriancid: Delete revision by life time.
  • by adriancid: Update the settings and schema files.
  • by adriancid: Add a config variable to configure the time for the 'when_to_delete' and 'minimun_age_to_delete' variables.
  • by adriancid: Add a config variable to configure the minimum_revisions_to_keep variable.

node_revision_delete 8.x-1.0-alpha1

New features

For the moment is only posible create, edit and delete the module configuration.

  • by adriancid: Create a permission to configure the module settings.
  • by adriancid: Create the settings and schema files.
  • by adriancid: Manage the module configuration.
  • by adriancid: Create the module help page.
  • by adriancid: Create a Confirm Form to delete the content type configuration.
  • by adriancid: Add the configuration options to each content type edit form.
  • by adriancid: Add the 'Limit the amount of revisions for this content type' option in the Publishing option vertical tab.

node_revision_delete 7.x-3.0-alpha1

New features

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.

Know Issues:
#2817669: No awareness of translations (incompatible with entity_translation)

Changes since 7.x-2.7:

  • by adriancid: Change variables to the his new name.
  • by adriancid: Manage the configuration for the 'when_to_delete' and 'minimun_age_to_delete' variables.
  • by adriancid: Create a Confirm Form to delete the content type configuration.
  • by adriancid: Added the operations dropbutton.
  • by adriancid: Added time configurations to the module configuration page.
  • by adriancid: Changed the module configuration page.
  • by adriancid: Add the configuration options to the content type edit form.
  • by adriancid: Update variables to the new format.
  • by adriancid: Starting the port of the Drupal 8 module functionalities.

node_revision_delete 7.x-2.7

Bug fixes
New features

Know Issues:
#2817669: No awareness of translations (incompatible with entity_translation)

Changes since 7.x-2.6:

node_revision_delete 7.x-2.6

Bug fixes

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.

node_revision_delete 7.x-2.5

Bug fixes
New features

New features

  • Faster processing when running the Drush command.
  • Cleaner codebase.
  • Batch API support.
  • Better reporting.

Related issues

node_revision_delete 7.x-3.x-dev

New features

Development snapshot for branch 7.x-3.x.

We are porting the new Drupal 8 functionalities to this branch.

node_revision_delete 7.x-2.3

Bug fixes
New features

General refactoring

  • Moved logic to delete content into a function so it can be shared by cron, run now and Drush.
  • Moved Run Now at the settings from out of the select and maded it a checkbox.
  • Improved reporting at how many items are deleted per run.
  • Created a helper function to return the list of tracked content types.

Bug fixes/Improvements

    node_revision_delete 7.x-2.2

    Small release that simplifies the logic to choose a list of revisions to delete.

    node_revision_delete 7.x-2.1

    Bug fixes
    New features

    node_revision_delete 7.x-1.2-unstable1

    I have added the new functionality in this release by which user can delete the revisions by time. This is currently for testing purpose.

    Subscribe with RSS Subscribe to Releases for Node Revision Delete