Skip to content

Releases: plank/laravel-mediable

5.0.2

23 Oct 02:45
eee4057
Compare
Choose a tag to compare
  • Fixed additional bugs with the MediableCollection::delete() method
  • optimized the execution speed of MediableCollection::delete()

5.0.1

22 Oct 04:02
73b8eaf
Compare
Choose a tag to compare
  • fixed notices generated from collection offset access in MediableCollection::delete()

5.0.0

15 Oct 00:45
1fa77f2
Compare
Choose a tag to compare
  • Added support for creating image variants using the intervention/image library. Variants can be created synchronously in the current process or asychronously as queued jobs. Media records keep track of variants created from them.
  • Fixed Laravel 8+ migration squashing. Database migrations are now loaded from within the package instead of copied to the application's database/migration directory. See UPGRADING.md for steps to avoid conflicts.
  • Directory and filename validation now only allows URL and filesystem safe ASCII characters (alphanumeric plus ., -, _, and / for directories). Will automatically attempt to transliterate UTF-8 accented characters and ligatures into their ASCII equivalent, all other characters will be converted to hyphens.
  • Added Media::stream() method to easily retrieve a PSR-7 compatible Stream.
  • Added support for generating temporary URLs for files hosted on Amazon S3 buckets.

4.4.2

27 Sep 01:57
c52785a
Compare
Choose a tag to compare
  • Fixed a handful of bugs related to using a custom table name when using a custom media class

4.4.1

14 Sep 14:22
87021a6
Compare
Choose a tag to compare
  • Fixed Morph relation when subclassing Media (Thanks @GeoSot!)

4.4.0

09 Sep 03:51
2e7b80f
Compare
Choose a tag to compare
  • Added support for Laravel 8.0
  • Dropping support for Laravel versions < 6.0
  • Dropping support for PHP versions 7.2

4.3.2

17 Aug 02:53
4b1fa66
Compare
Choose a tag to compare
  • Fix composer version constraint of league/flysystem to allow minor version bumps
  • Removed redundant index from the Media table database migration

4.3.1

30 Jul 01:41
8adf84c
Compare
Choose a tag to compare
  • Media::moveToDisk() and Media::copyToDisk() now correctly transfer file visibility to the new disk.

4.3.0

28 Jul 02:56
8e67113
Compare
Choose a tag to compare
  • Added Media::moveToDisk() and Media::copyToDisk() methods.

4.2.3

03 Jun 01:57
7362587
Compare
Choose a tag to compare
  • The Media::$size property is now cast as int, fixing a TypeError. (Thanks @boumanb!)
  • Fixed RemoteUrlAdapter, StreamAdapter, and StreamResourceAdapter potentially returning an incorrect filename and/or extension if the query params of the URL contains certain characters.