Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.16 KB

File metadata and controls

47 lines (28 loc) · 1.16 KB

Upgrade Guide

From 1.1.x to 1.2.x

Breaking changes if you extend components

  • Group: Method itemComponentParams has been removed
  • Group: New method commonTraits added
  • Group: New partial view item-component added
  • Property savedFileDisk can be null and is null by default

New features

  • Support for wire:model on Livewire Upload Handler components
  • New option showTemporaryFileWarning (temporary file warning is no longer shown by default)

Exceptions

  • New exception MediaCollectionNotRegisteredException when media collection is not registered

Fixes

  • HandleMediaFromRequest: single item must have "tmpName" or "id"

If you published views

Republish the group.blade.php view:

php artisan vendor:publish --tag=livewire-upload-handler:views --force

From 1.0.x to 1.1.x

Breaking changes if you extend components

  • Group: Method saveItemOrder becomes saveFileOrder (file id is passed directly instead of itemId)

If you published views

Republish the group.blade.php view:

php artisan vendor:publish --tag=livewire-upload-handler:views --force