v0.4.2
Breaking Changes
-
heroblock removed:Sayfa.Blocks.Herohas been removed from the built-in block registry. The default home layout no longer renders a hero section — site title and description are already visible in the header, so the hero was redundant.Migration: Replace any
@block.(:hero, ...)calls in custom layouts with content from yourindex.mdbody or implement a custom block. The.home-hero-sectionand.hero-subtitleCSS classes are also removed from the default theme.
Details
- Deleted
lib/sayfa/blocks/hero.ex - Updated
priv/default_theme/layouts/home.html.eex: removed hero section,index.mdcontent now has full top spacing viasection-spacing-lg - Removed
.home-hero-sectionand.hero-subtitlefrom default theme CSS - Block count updated from 17 → 16 throughout docs and scaffolding templates
gen.blockexample updated fromMyApp.Blocks.HerotoMyApp.Blocks.Banner
Full Changelog: v0.4.1...v0.4.2