Skip to content

mutelife Galeria 3.0.0

Latest

Choose a tag to compare

@keoshi keoshi released this 06 May 18:34
· 1 commit to master since this release
0b858d6

A full rewrite on the modern @wordpress/scripts toolchain. Replaces the cgb-scripts-based 2.x line in place — the plugin slug (mutelife/galeria) is unchanged, and existing posts continue to render until they're re-edited.

What's new

  • Modern toolchain: @wordpress/scripts with --blocks-manifest build, apiVersion: 3
  • Single-block layout under src/mutelife-galeria/
  • New Fortico layout (1 tall + 3 stacked) auto-suggested the first time you insert exactly four images, with an inspector toggle to switch back to auto
  • Default auto layout uses uniform row heights regardless of aspect ratio, on flex with flex-grow proportional to each image's ratio
  • Block-theme variables for gap (--wp--custom--gap--horizontal / --vertical), with sensible fallbacks for classic themes
  • Wide / full alignment supported, defaults to wide

Migration

  • A deprecation in src/mutelife-galeria/deprecated.js recognises v2 saved markup (cgb-scripts era — terco/tercos/fortico-horizontal/unveil/etc.) and migrates the attribute shape on next edit
  • Untouched v2 posts keep rendering through legacy CSS selectors carried in style.scss — no manual intervention needed unless / until you re-edit a gallery

Requirements

  • WordPress 6.8+
  • PHP 7.4+