Skip to content

Releases: plank/laravel-mediable

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.

1.0.1

12 Aug 16:24
Compare
Choose a tag to compare
  • Fixed Mediable relationship not connecting to custom Media subclass defined in config.

1.0.0

04 Aug 20:32
Compare
Choose a tag to compare
  • Added match-all case to media eager load helpers.
  • Mediable::getTagsForMedia() now properly rehydrates media if necessary.
  • Mediable::load() now looks for media that is either the $relationship key or value