Upgrading


1.1.0 -> 1.2.0

If you used title, meta_description and seo variables passed into the view these are now on the $story as $story->title(), $story->metaDescription() and $story->_meta['seo'].

1.0.0 -> 1.1.0

Create a new DefaultAsset class in App\Storyblok as follows:

Asset field types

<?php

namespace App\Storyblok;

use Riclep\Storyblok\Asset;
use Riclep\Storyblok\Traits\CssClasses;

class DefaultAsset extends Asset
{
    use CssClasses;
}

Renamed $meta on Blocks

If you are accessing the $meta property on Blocks or in views then update to use $_meta.