Releases: plank/laravel-mediable
Releases · plank/laravel-mediable
4.2.2
4.2.1
4.2.0
4.1.0
- Fixed the timing of the beforeSave callback. Now occurs before onDuplicate validation occurs. This allows the callback to be used to determine where to place the file
- The beforeSave callback is now called triggered by the
MediaUploader::replace()
andMediaUploader::import()
methods as well
4.0.1
4.0.0
- changed UrlGenerators to use the underlying filesystemAdapter's url() method
- UrlGenerators no longer throw MediaUrlException when the file does not have public visibility. This removes the need to read IO for files local disks or to make HTTP calls for files on s3 disks.
- Removed LocalUrlGenerator::getPublicPath()
- No longer reading the 'prefix' config of local disks. Value should be included in the 'url' config instead.
3.0.1
3.0.0
- Updated minimum support requirements to PHP 7.2 and Laravel 5.6+.
- Added PHP 7 parameter and return type hints across the board
- Added a new method
getStreamResource()
toSourceAdapterInterface()
, uploader will now attempt to use a stream to reduce memory usage. - Added
delete()
method toMediableCollection
for mass deleting media records and files. - Added support for file visibility on a file-by-file basis.
- Cleaned up test suite.
- fixed a number of docblocks
2.9.0
- The name of the Mediables pivot table is now configurable (Thanks @nadinengland!)