Repository navigation
Changed
-
Behaviour change on update:
retention.daysnow defaults to 365. WithoutACTIVITY_RETENTION_DAYSset,activity:prunedeletes every entry older than 365 days at its next run (before, an unset value pruned nothing by age). Check withphp artisan activity:prune --dry-runfirst. If you publishedconfig/activity.phpearlier, it still readsenv('ACTIVITY_RETENTION_DAYS')without a default and keeps everything until you change it toenv('ACTIVITY_RETENTION_DAYS', 365)(or re-publish). To keep everything on a fresh install, set'days' => nullin the publishedconfig/activity.php. -
A window of 0 or less is refused.
activity:pruneexits with an error and deletes nothing when the global window,--days, or any per-event-type window is below 1 or not a number, whatever it came from.subDays(0)is "now", which would delete the whole store. -
Known gap, not changed here:
retention.anonymize_after_daysis still stored per brand whileactivity:anonymizeworks across the whole store. -
Retention:
retention.daysis one value for the whole installation, not per brand.activity:prunealready deleted across every brand by that single number, while the Settings page stored a separate value per brand that nothing read. The field is removed from the Settings page; the page now says where the value lives (config/activity.php). Set it there withACTIVITY_RETENTION_DAYSor by editing the published config. -
Retention, upgrading: no migration. Rows that an earlier release stored for
retention.daysinbrand_settingsare no longer read and can be deleted by hand.
Fixed
activity:pruneno longer shortens or lengthens its window depending on which brand the run starts under.