- added
uuidonmediatable - an empty string is now a proper collection name.
getMedia('')will not return media from the default collection anymore (#1697). - add the ability to store conversions on a separate disk
- simplify URL generation. You can now just use the
rootandurlproperties on a configured disk - spatie/pdf-to-image is now a suggestion dependency, removing the need for always having to install ext-imagick
- added
shouldMatchBothExtensionsAndMimeTypestoSpatie\MediaLibrary\ImageGenerators\BaseGenerator - added progress bar on the clean command (#1623)
- the
UrlGeneratorinterface now contains all required methods (#1656) - use PHP 7.4 features where possible
- the namespace has been renamed from
Spatie\MediaLibrarytoSpatie\MediaLibrary. All code whereMediaLibrarywas used is renamed toMediaLibrary - added support for the
loadingattribute (#1667) - conversion files can now be named using the
conversion_file_namerkey in themedia-libraryconfig file (#1636) - improved naming of classes and namespaces.