Skip to content

Latest commit

 

History

History
250 lines (144 loc) · 9.2 KB

CHANGELOG.md

File metadata and controls

250 lines (144 loc) · 9.2 KB

Changelog

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 by laravel/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

👉 See the upgrade guide

2020-03-30

2020-03-06

2020-03-03

2020-03-02

  • Refactored the translations, you should update them if you use custom translations
  • Deprecated the constraintsLegend method. Use constraintsCaption instead
  • Deprecated the dimensionsLegend method. Use dimensionsCaption instead
  • Deprecated the mimeTypesLegendmethod . Use mimeTypesCaption instead
  • Deprecated the mimeTypesValidationConstraintsmethod. Use mimeTypesValidationRules instead
  • Deprecated the mimesValidationConstraintsmethod. Use mimesValidationRules instead
  • Deprecated the dimensionValidationConstraintsmethod. Use dimensionValidationRules 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

2020-02-14

2020-01-22

2020-01-06

2019-12-16

2019-12-11

2019-12-04

2019-11-27

  • The extensions detection from mime types from the Spatie\MediaLibrary\HasMedia\HasMediaTrait::extensionsFromMimeTypes() method is now executed by Symfony\Component\Mime\MimeTypes::getExtensions() (which is far more reliable)
  • The mimes validation is now executed before the mimetypes 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

2019-10-15

2019-09-27

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 the CollectionNotFound exception in order to follow the base package behaviour
  • ⚠️ Removed the ConversionsNotFound exception in order to follow the base package behaviour
  • ⚠️ Replaced the __('medialibrary.constraint.mimeTypes') translation by trans_choice('medialibrary.constraint.types') translation, in order to provide clearer legends

2019-09-25

2019-09-25

2019-09-24

2019-09-13

2019-09-04

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