- added
uuid
onmedia
table - 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
root
andurl
properties on a configured disk - spatie/pdf-to-image is now a suggestion dependency, removing the need for always having to install ext-imagick
- added
shouldMatchBothExtensionsAndMimeTypes
toSpatie\MediaLibrary\ImageGenerators\BaseGenerator
- added progress bar on the clean command (#1623)
- the
UrlGenerator
interface now contains all required methods (#1656) - use PHP 7.4 features where possible
- the namespace has been renamed from
Spatie\MediaLibrary
toSpatie\MediaLibrary
. All code whereMediaLibrary
was used is renamed toMediaLibrary
- added support for the
loading
attribute (#1667) - conversion files can now be named using the
conversion_file_namer
key in themedia-library
config file (#1636) - improved naming of classes and namespaces.