Skip to content

Releases: plank/laravel-mediable

4.2.2

14 May 02:58
0635190
Compare
Choose a tag to compare
  • Fix bug with package auto-discovery with PHP 7.4
  • Fix issue caused by a bug with doctrine/inflector 1.4.0

4.2.1

11 Mar 01:13
9c0d0aa
Compare
Choose a tag to compare
  • Replaced usage of the getClientSize() method deprecated in Symphony 4.1 with getSize()

4.2.0

07 Mar 01:57
078beb6
Compare
Choose a tag to compare
  • Added support for Laravel 7.0

4.1.0

29 Feb 21:17
2456af4
Compare
Choose a tag to compare
  • 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() and MediaUploader::import() methods as well

4.0.1

18 Feb 15:44
b19c591
Compare
Choose a tag to compare
  • Added support for the new Symfony MimeTypes class in favor of the deprecated ExtensionGuesser (Thanks @crishoj!)

4.0.0

11 Oct 19:45
ca1cc54
Compare
Choose a tag to compare
  • 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

18 Sep 14:45
a322bc9
Compare
Choose a tag to compare
  • Fixed public visibility not being respected when generating URLs for local files that are not in the webroot.

3.0.0

16 Sep 23:41
f6a1653
Compare
Choose a tag to compare
  • 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() to SourceAdapterInterface(), uploader will now attempt to use a stream to reduce memory usage.
  • Added delete() method to MediableCollection 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

23 Mar 02:02
Compare
Choose a tag to compare
  • The name of the Mediables pivot table is now configurable (Thanks @nadinengland!)

2.8.2

08 Mar 14:17
Compare
Choose a tag to compare
  • Fix windows paths pattern (Thanks @aalyusuf!)