If you are using the default package webhook handler this functionality has changed to use Laravel events. Make sure you register this in your
use Riclep\Storyblok\Events\StoryblokPublished; use Riclep\Storyblok\Listeners\ClearCache; /** * The event listener mappings for the application. * * @var array */ protected $listen = [ StoryblokPublished::class => [ ClearCache::class, ], StoryblokUnpublished::class => [ ClearCache::class ] ];
The updated image transformation service requires you to define a transformer in the Storyblok config file. The default transformer is
Riclep\Storyblok\Support\ImageTransformers\Storyblok which uses the new image service URLs. To use your own set the config
meta() width and height details have been removed from image fields as each transformer will offer different features. Image field contains a
height() methods which will check the transformer for values or the image if not transformed.
Two config keys have been renamed with underscores for consistency:
live_element. The package template files have been updated but any custom files will need amending.
To enable live preview support include the latest
laravel-storyblok::editor-bridge in your view and adding the required wrapping element and configuration options.
Legacy image fields are now converted to Image classes.
$casts property on Blocks has been renamed to
$_casts to reduce the likelihood of clashing with field names.