Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Releases: outl1ne/nova-media-field

1.4.0

13 May 09:51
Compare
Choose a tag to compare

Changed

  • Updated packages

Added

  • Added collection parameter to findFiles request.
    • MediaController@findFiles will now properly use collection to search files.

2.0.0-alpha.5

28 Apr 13:15
Compare
Choose a tag to compare
2.0.0-alpha.5 Pre-release
Pre-release

Fixed 2 instances where config key was invalid when checking if duplication check is enabled.

This release should allow implementing mult-disk support if project requires it. All core logic should
be overrideable.

Added

  • New config option nova-media-field.media_model allows overriding original Media model. New model
    must be extended from the original.

  • Local getDisk method for Media model to use.

2.0.0-alpha.4

20 Apr 07:03
Compare
Choose a tag to compare
2.0.0-alpha.4 Pre-release
Pre-release

Use getDisk method in Media model for URL generators

2.0.0-alpha.3

19 Apr 07:30
Compare
Choose a tag to compare
2.0.0-alpha.3 Pre-release
Pre-release

Fix exception when uploading from index view

2.0.0-alpha.2

14 Apr 06:51
Compare
Choose a tag to compare
2.0.0-alpha.2 Pre-release
Pre-release

Fixes paths for media rows because of breaking change introduced in v2. Replaces public/media/* with media/*.

Added

  • Command media:strip-public-prefix-from-path

Manual changes required

Run command php artisan media:strip-public-prefix-from-path to fix media field "path" column values.

2.0.0-alpha.1

13 Apr 12:32
Compare
Choose a tag to compare
2.0.0-alpha.1 Pre-release
Pre-release

Adds a feature that checks for duplicate media entry by generating has based on first megabyte
of file. This will not work on existing images

This update should allow using any file driver that is supported in Laravel. Please review media config file.

Changed

  • [Breaking change] Storage driver default in nova media field config has been changed from config('filesystems.default') to env('MEDIA_LIBRARY_DRIVER', 'public')
  • [Breaking change] Media model getUrlAttribute, getWebpUrlAttribute and getImageSizesAttribute methods has been fixed by removing URL prefixing.

Updated

  • MediaHandler class createFrom... methods has been updated to support resolve_duplicates. When finding a duplicate
    media item then these methods will return existing instance of that image instead.

Added

  • New file_hash column, will be used to store original file hash to check for duplicates
  • resolve_duplicates key to media field config file. If enabled it will not create a new entry when existing media item is found.

Manual changes required

  • run php artisan migrate to add the new file_hash column
  • default filesystem driver for media field was changed in config file, please review these settings

1.3.11

01 Mar 15:38
Compare
Choose a tag to compare

Changed

  • Fixed help text not being displayed

1.3.10

08 Feb 11:10
Compare
Choose a tag to compare

Changed

  • Fixed Postgres support (thanks to @LINKeRxUA)
  • Make thumbnail larger in media edit view
  • Updated packages

1.3.9

05 Feb 16:34
Compare
Choose a tag to compare

Changed

  • Fixed video thumbnail not showing in add media modal after upload

1.3.8

05 Feb 15:04
Compare
Choose a tag to compare

Added

  • Added video thumbnail generation support

Changed

  • Updated packages