2023-01-21
- Locked PHP versions to 8.1 and 8.2
- Added Laravel 10 support
- Dropped Laravel 8 support
2022-12-16
- Added PHP 8.2 support
- Dropped PHP 8.0 support
2022-10-27
- Improved CI
2022-08-01
- Replaced
phpcs/phpcbf
bylaravel/pint
2021-01-24
- Upgraded
spatie/laravel-medialibrary
required version to 10 - Upgraded Laravel required version to 9
- Upgrade PHP required versions to 8.0 and 8.1
2020-11-14
- Added an
Okipa\MediaLibraryExt\Exceptions\CollectionNotFound
exception throw when the given collection is not found in the targeted model.
2020-11-14
- Added PHP 8 support
- Removed Scrutinizer analysis
- Updated PHPCS checker and fixer norm to PSR-12
2020-10-30
- Upgraded
spatie/laravel-medialibrary
required version to 9
2020-09-09
- Added Laravel 8 support
- Dropped Laravel 6 support
2020-09-03
- Fixed bytes conversions in kilobytes and megabytes
2020-03-30
- Followed spatie/media-library upgrade to v8
- Removed fork link from
spatie/laravel-medialibrary
repository - Pulled out the extension from the original package. The extension does now live separately
- Removed configuration use
- Removed deprecated methods
- Renamed methods
- Removed translation files
2020-03-30
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.19.3 release
2020-03-06
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.19.2 release
2020-03-03
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.19.0 release
2020-03-02
- Refactored the translations, you should update them if you use custom translations
- Deprecated the
constraintsLegend
method. UseconstraintsCaption
instead - Deprecated the
dimensionsLegend
method. UsedimensionsCaption
instead - Deprecated the
mimeTypesLegend
method . UsemimeTypesCaption
instead - Deprecated the
mimeTypesValidationConstraints
method. UsemimeTypesValidationRules
instead - Deprecated the
mimesValidationConstraints
method. UsemimesValidationRules
instead - Deprecated the
dimensionValidationConstraints
method. UsedimensionValidationRules
instead - Added a
->sizeCaption()
method to generate the config max file size constraint caption - The max file size caption is now returned by the
->constraintsCaption()
method with the other constraint captions - Added a
->sizeValidationRule()
method to generate the the config max file size validation rule - The max file size validation rule is now returned by the
->validationRules()
method with the other validation rules
2020-02-19
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.18.3 release
2020-02-14
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.18.2 release
2020-01-22
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.18.1 release
2020-01-06
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.18.0 release
2019-12-16
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.17.1 release
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.17.0 release
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.16.2 release
2019-12-11
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.16.1 release
2019-12-04
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.16.0 release
2019-11-27
- The extensions detection from mime types from the
Spatie\MediaLibrary\HasMedia\HasMediaTrait::extensionsFromMimeTypes()
method is now executed bySymfony\Component\Mime\MimeTypes::getExtensions()
(which is far more reliable) - The
mimes
validation is now executed before themimetypes
validation, in order to return a more comprehensible error for end user in case of wrong uploaded file type
2019-11-25
- Fixed mimes extraction from mimes types, in order to remove the duplicated mimes during the constraints and legend generation
2019-10-17
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.14.2 release
2019-10-15
- Fixed the translations publication and overriding as specified on the Laravel documentation: https://laravel.com/docs/packages#translations
2019-09-27
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.14.1 release
2019-09-26
- Added mimes validation generation: https://laravel.com/docs/validation#rule-mimes
- Updated validation process order: mime types and mimes validations now happens before dimensions validation
⚠️ The->validationConstraints()
method does now return an array, rather than a string before⚠️ Removed theCollectionNotFound
exception in order to follow the base package behaviour⚠️ Removed theConversionsNotFound
exception in order to follow the base package behaviour⚠️ Replaced the__('medialibrary.constraint.mimeTypes')
translation bytrans_choice('medialibrary.constraint.types')
translation, in order to provide clearer legends
2019-09-25
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.14.0 release
- you now have to set
version_urls
totrue
in the config file in order to have your image urls versioned
- you now have to set
2019-09-25
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.13.0 release
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.12.4 release
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.12.3 release
2019-09-24
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.12.2 release
2019-09-13
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.12.1 release
2019-09-04
- Implemented https://github.com/spatie/laravel-medialibrary/releases/tag/7.12.0 release
2019-08-27
- Added automatic image file name version for cache busting when
config('medialibrary.image_name_versioning')
is set to true - Fixed missing translations loading in service provider
- Implemented
spatie/laravel-medialibrary:7.10.1
release
2019-08-27
- First extension release