Skip to content

v2.21.0

Choose a tag to compare

@jasperf jasperf released this 21 Jul 04:05
· 95 commits to main since this release
13eb047

What's Changed

  • Redesign/carousel Rail by @jasperf in #23
  • Fix rail-mode carousel bugs and gate Slick assets by engine by @jasperf in #24

Added

  • Carousel (aludra/carousel) gained an engine attribute (slick default / rail). rail renders a zero-JS CSS scroll-snap track instead of Slick's JS-driven slider. Carousel block bumped to 1.1.0.

Changed

  • patterns/page-homepage.php — the "Our Clients" carousel now uses the rail engine.
  • Slick assets (slick.min.js, slick.css, slick-theme.css) are no longer enqueued on pages where every carousel block uses the rail engine, so a rail-only page loads no jQuery/Slick at all.

Fixed

  • Carousel's frontend view.js no longer throws (and aborts initializing other carousels on the page) when it encounters a rail-mode carousel with no data-slick attribute.

Note: this tag was moved from bd88e8f to 13eb047. The original tag pointed at the PR #23 merge, where the plugin still declared Version: 2.20.0 — the 2.21.0 version bump lived in PR #24. The attached aludra.zip has been rebuilt from the corrected commit.

Full Changelog: v2.20.0...v2.21.0