Skip to content

Releases: plank/laravel-mediable

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).

2.2.3

13 Nov 15:09
Compare
Choose a tag to compare
  • Fixed SQL escaping issue in Mediable::getOrderValueForTags.

2.2.2

07 Oct 21:07
Compare
Choose a tag to compare
  • Fixed Media::scopeForPathOnDisk not working when path does not contain a directory (Thanks @geidelguerra!)

2.2.1

05 Oct 19:04
Compare
Choose a tag to compare
  • Fixed typo in MediaUploader OnDuplicateError behaviour (Thanks @geidelguerra!)

2.2.0

30 Sep 15:43
Compare
Choose a tag to compare
  • Added handling for symlinked local disks
  • fixed minor issue where variable could be undefined.

2.1.0

25 Sep 03:24
Compare
Choose a tag to compare
  • Added means of removing order by from media relation query.
  • Fixed multiple media passed to attachMedia() or syncMedia() receiving the same order value.
  • Fixed issue with ONLY_FULL_GROUP_BY (MySQL 5.6.5+).
  • Reworked attachMedia() to optimize the number of executed queries.

2.0.0

17 Sep 18:41
Compare
Choose a tag to compare
  • Mediable models now remember the order in which Media is attached to each tag.
  • Renamed a few MediaUploader methods.
  • Facilitated setting MediaUploader on-duplicate behaviour. Thanks @jdhmtl.
  • MediaUploader can now generate filenames using hash of file contents. Thanks @geidelguerra!
  • Added import() and update() methods to MediaUploader.

1.1.1

16 Aug 14:29
Compare
Choose a tag to compare

Published migration file now uses dynamic timestamp

1.1.0

14 Aug 20:24
Compare
Choose a tag to compare
  • Added behaviour for detaching mediable relationships when Media or Mediable models are deleted or soft deleted.