Skip to content

Releases: RicLeP/laravel-storyblok

2.52.0

16 Mar 15:00
a36671c

Choose a tag to compare

What's Changed

Full Changelog: 2.51.2...2.52.0

2.51.2

20 Nov 09:46

Choose a tag to compare

  • Improved stub generation to check for Bloks in foreach loops
  • Image fields can return orientation - square, landscape or portrait

Full Changelog: 2.51.0...2.51.2

2.51.1

20 Oct 09:06

Choose a tag to compare

Bump Storyblok PHP client in composer.json

Full Changelog: 2.51.0...2.51.1

2.51.0

14 Oct 09:31

Choose a tag to compare

Added fix for TipTap json using hard_break for
tags but renderer expecting hardBreak. This is a clash between TipTap versions which changed the naming conventions.

Full Changelog: 2.50.1...2.51.0

2.50.1

13 Oct 13:43

Choose a tag to compare

Emergency fix for header change in API response for multiple pages: Total -> total. Now checking for both.

Full Changelog: 2.50...2.50.1

2.46.2

13 Oct 14:19

Choose a tag to compare

Emergency fix for header change in API response for multiple pages: Total -> total. Now checking for both.

Full Changelog: 2.46.1...2.46.2

2.50.0

09 Oct 11:54

Choose a tag to compare

Allow overriding the default Field classes with your own by placing them in \App\Storyblok\Fields\Default\ClassName.php and matching the original field name. For example, to replace the standard image Field create \App\Storyblok\Fields\Default\Image.php

Full Changelog: 2.49...2.50.0

2.49.0

08 Oct 22:44

Choose a tag to compare

Fix serialisation issue when caching config, custom TipTap extensions should now be loaded in a service provider.

if (!app()->runningInConsole()) {
    $this->app->booted(function () {
        config([
            'storyblok.tiptap.extensions' => [
                new \Storyblok\Tiptap\Extension\Storyblok(),
                new \Riclep\Storyblok\Support\TipTapFigure(),
            ]
        ]);
    });
}

Full Changelog: 2.48...2.49

2.48.0

08 Oct 16:48

Choose a tag to compare

  • Allow configuration of TipTap extensions loaded into the rich-text renderer.
  • Added support for wrapping images inserted in rich-text in <figure> elements with <figcaption> from the image meta title.
  • Allow transformation of figure images using the Storyblok image service via package configuration

The <figure> element is not enabled by default

// config/storyblok.php
[
...
    'tiptap' => [
        'extensions' => [
            new \Storyblok\Tiptap\Extension\Storyblok(),
            new \Riclep\Storyblok\Support\TipTapFigure(), // use the figure plugin instead of the default img
        ],
        'figure-transformation' => [
            'width' => 100,
            'height' => 100, // set to null to preserve ratio height when scaling
            'filters' => 'filters:quality(80)', // see: https://www.storyblok.com/docs/api/image-service
        ]
    ],
...
]

Full Changelog: 2.47...2.48

2.47.0

02 Sep 09:14

Choose a tag to compare

What's Changed

  • feat(richtext)!: replace richtext-resolver with php-tiptap-extension by @lantiguav in #64

New Contributors

Full Changelog: 2.46.1...2.47