Skip to content

Releases: plank/laravel-mediable

2.4.8

18 Aug 17:28
Compare
Choose a tag to compare
  • Added Laravel 5.5 package autodiscovery
  • Fixed bugs due to methods renamed in Laravel 5.5

2.4.7

04 May 20:18
Compare
Choose a tag to compare
  • Added missing use statements.

2.4.6

04 May 20:10
Compare
Choose a tag to compare
  • Fixed composer notation usage.

2.4.5

04 May 19:59
Compare
Choose a tag to compare
  • Added fallback extension guesser to various SourceAdapters for cases where file path does not include extension (e.g. tmp files).

2.4.4

08 Mar 20:40
Compare
Choose a tag to compare
  • Fixed allowed extension checking failing due to case mismatch

2.4.3

15 Feb 18:11
Compare
Choose a tag to compare
  • Restored Laravel 5.2 compatibility
  • S3UrlGenerator now generates the url directly with S3 client, instead of with the FilesystemAdapter::url() method, which was only added in Laravel 5.2.15
  • Added fallback for wherePivotIn() used in eager loading, which was only added in Laravel 5.3

2.4.2

13 Feb 00:42
Compare
Choose a tag to compare
  • Fixed issues cause by Laravel 5.4 backwards-compatibility breaks
  • Increased laravel minumum version to 5.3, which is the minimum that works with the current implementation. Will attempt to restore support for older versions in an upcoming release.

2.4.1

30 Dec 17:33
Compare
Choose a tag to compare
  • The onDuplicateDelete action of the MediaUploader now manually deletes the Media record and the file on disk, instead of depending on the record existing to clean its own file.

2.4.0

10 Dec 18:20
Compare
Choose a tag to compare
  • Added support for raw content strings to MediaUploader (Thanks @sebdesign)
  • Added support for stream resources to MediaUploader (Thanks @sebdesign)
  • Added support for PSR-7 StreamInterface objects to MediaUploader (Thanks @sebdesign)
  • All SourceAdapters now properly adhere to the described interface.
  • Refactored test suite for speed.

2.3.0

17 Nov 16:16
Compare
Choose a tag to compare
  • Separated MediaUploadException into a number of subclasses for more granular exception handling (Thanks @sebdesign!).
  • Added HandlesMediaUploadExceptions trait for converting MediaUploadExceptions into HttpException with appropriate error codes (Thanks @sebdesign).