Skip to content

v3.0.0 (Kirby 6)

Latest

Choose a tag to compare

@ianhobbs ianhobbs released this 30 Nov 07:55
· 2 commits to main since this release
860680a

Slider Block for Kirby 6. Kirby 5 sites stay on 2.x (composer require ianhobbs/slider-block:^2.0).

Breaking

  • Requires Kirby 6. Composer refuses 3.x next to Kirby 5. A ZIP or git copy on Kirby 5 switches itself off and logs why, rather than breaking the Panel.
  • 1.x names are no longer read. 2.x still read content, config and templates written for 1.x (ianhobbs/kirby-slider-block); 3.0.0 doesn't. See the README's "Coming from 1.x" table for what to rename. Sites already on 2.x names don't need to change anything.

Kirby 6 port

  • The Panel preview is built for Kirby 6's Vue 3 Panel (kirbyup 4), and resolves slide images through the Panel's own file lookup. Kirby 6 hands nested files fields to the Panel as UUIDs, which left the thumbnails blank.
  • The CTA link uses toUrl(), because Kirby 6 removed the url() field method, and the link is now HTML-escaped.
  • The Controls tab gets an icon that exists (settings).

Also

  • Bundles Swiper 14.4.0.

Upgrading from 2.x: upgrade Kirby to 6, then run composer require ianhobbs/slider-block:^3.0.