Skip to content

Latest commit

 

History

History
220 lines (150 loc) · 7.65 KB

CHANGELOG.md

File metadata and controls

220 lines (150 loc) · 7.65 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

TBD

3.4.1 - 2022-05-13

Fixed

  • Fix startup error, caused by version parser failing to parse extended build.number generated by CCv2 build process (#6)

Many thanks to @ths-sybit for fixing the issue!

3.4.0 2022-03-28

Added

  • Cleanup SavedValues for delete operations after one month
  • Experimental: Define DB indices to accelerate cleanup queries in CCv2
    The minimum required versions for this feature are: 1905.33, 2005.17, 2011.12, 2105.2
    In case of problems
    • Report an issue in this repository
    • Comment-out the offending type / index in the items.xml

Changed

  • Composite cronjob to cleanup SavedValue / SavedValueEntry
  • ProcessTaskLog cleanup now checks modifiedTime like all the other cleanup jobs

Fixed

  • Custom CMS Version GC job (jdbcVersionGCJob) is now backwards compatible with 2105 and recent patch releases (#3).
    If you are on a more recent Commerce version, the job will do nothing. Please use the improved ootb cleanup instead (introduced with 1905.30, 2005.14, 2011.9).

Upgrade Guide

  • Remove triggers of cronjobs that are now part of a composite job.
  • Remove custom CMS version GC job
REMOVE Trigger; cronJob(code)[unique = true]
;savedValueEntryCleanupCronJob;

# remove custom job
REMOVE Cronjob;code[unique = true]
;jdbcVersionGCCronJob;

3.3.0 - 2021-06-09

Added

  • Retention periods are now configurable via properties (check project.properties for details)

Changed

  • Retention rules and cron jobs that depend on each other are now grouped and executed in the correct order via composite cronjobs

Upgrade Guide

Remove all triggers of cronjobs that are now part of a composite job

REMOVE Trigger; cronJob(code)[unique = true]
; emailMessageCleanupCronJob
; emailAddressCleanupCronJob
; emailAttachmentCleanupCronJob
; cartCleanupCronJob
; anonymousCartCleanupCronJob
; distributedImpexCronJobCleanupCronJob
; distributedImpexJobCleanupCronJob
; distributedImportProcessCleanupCronJob
; importBatchCleanupCronJob
; importBatchContentCleanupCronJob
; businessProcessCleanupCronJob
; failedBusinessProcessCleanupCronJob
; progressBusinessProcessCleanupCronJob
; orphanedTaskConditionCleanupCronJob
; orphanedProcessTaskCleanupCronJob
; orphanedBusinessProcessParameterCleanupCronJob
; orphanedProcessTaskLogCleanupCronJob

3.2.0 - 2021-05-06

Added

3.1.0 - 2021-04-30

Added

  • Cleanup SavedValueEntries

3.0.0 - 2021-04-30

Added

  • Cleanup all BusinessProcess - all BusinessProcesses, regardless of their state, are deleted after 6 months at the latest. Make sure to adjust this to your project requirements!
  • Cleanup potentially orphaned items related to BusinessProcess
  • Aggressive cleanup for cmsVersionGCProcess
  • Cleanup additional generated impex media
  • Cleanup EmailMessage and EmailAddress
  • Cleanup SolrIndexOperation
  • Cleanup all types related to Distributed ImpEx
  • retentionrule-to-impex.groovy - helper script that takes the results of a FlexibleSearchRetentionRule and delete the outdated items via impex. Useful for bulk cleanup.
  • README now documents queries to analyze outdated/stale data

Changed

  • CMS Version Garbage Collection Job

    • renamed to jdbcVersionGCCronJob / jdbcVersionGCJob
    • optimized cleanup logic
    • dynamically determine correct DB table names using the type system
  • Simplify cronjob retention rule (cronJobRule)

  • Cleanup CronJobs now execute between 00:00 - 06:00

  • Longer retention period (4 weeks) for successfully finished BusinessProcess

Fixed

  • CMS Version Garbage Collection Job - job is now abortable for real

Upgrade Guide

  • Delete old CMS Version GC Job definition

    REMOVE CronJob;code[unique=true];job(code)[unique=true]
    ;cmsVersionGCCronJob;cmsVersionGCJob;
    
    REMOVE ServicelayerJob;code[unique=true];springId[unique=true];
    ;cmsVersionGCJob;cmsVersionGCPerformable;
    

2.0.0 - 2021-03-23

Changed

  • Cleanup jobs / retention rules are now imported on-demand based on the extensions the project uses.

Added

1.0.1 - 2020-12-09

Added

  • Bulk cleanup cronjob for log files - useful for a one-time cleanup before the retention job for job logs is enabled

1.0.0 - 2020-11-26

Initial release

Added

  • Cleanup for:

    • CronJobs
    • CronJob Histories
    • Lob Logs / Log Files
    • Impex Media
    • HTTP Sessions
    • Business Processes
    • Carts