github webplusmultimedia/filament-json-media v5.4.0

latest release: v5.4.1
4 hours ago

What's Changed

Features

  • New gallery-json-media:clean command: deletes the thumbnails whose image is missing and, for the models declared in the new maintenance.models config, the files that no record uses, with their thumbnails
    • --dry-run lists the files to delete, --force deletes them without confirmation, --disk chooses the disks
    • never touches a file outside the root_directory, and the soft deleted records keep their files
  • New gallery-json-media:regenerate command: renders every existing thumbnail again from its image, with the same size and format, after a change of quality or of driver

Other

  • The empty filament-json-media command is removed

Upgrade notes

  • To clean the files no record uses, declare the json media fields of your models in maintenance.models. Declare all of them: the other files of the root_directory are deleted

Full Changelog: v5.3.0...v5.4.0

Don't miss a new filament-json-media release

NewReleases is sending notifications on new releases.