Changelog

All notable changes to Lean CMS are documented here.

The format follows Keep a Changelog and this project adheres to Semantic Versioning.

The full, up-to-date changelog is always available on GitHub: CHANGELOG.md on GitHub


Unreleased

0.1.0 — 2026-02-21

Added

  • Initial gem extraction from CAS application
  • Rails Engine (LeanCms::Engine) — no isolate_namespace, drop-in for existing namespace :lean_cms routes
  • 9 content types: text, rich_text, image, boolean, url, color, dropdown, cards, bullets
  • In-context editing with hover-activated section overlays (cms_editable_section)
  • Inline field editing with undo (editable_content)
  • LeanCms::CardsSectionComponent — card grid renderer with drag-to-reorder editor
  • LeanCms::BulletsSectionComponent — bullet list renderer with inline editor
  • LeanCms::EditableContentComponent — field wrapper with inline edit controls
  • LeanCms::SectionComponent — caching section wrapper with edit overlay
  • Helper API: page_content, page_content_html, page_content_image_url, page_content?, page_section, page_structure, page_cards, page_bullets
  • cms_editable_section and cms_settings_section helpers (now part of LeanCms::PageContentHelper)
  • cards_section and bullets_section component shorthand helpers
  • CMS admin panel: dashboard, page contents editor, posts (blog + portfolio), settings, users, form submissions, notifications, activity log
  • LeanCms::Setting — key-value store with caching; site phone, email, address, business hours, in-context editing toggle
  • Content locking for safe database sync workflow
  • lean_cms:sync rake task suite — pull, push, stage, start, finish, lock, unlock, status
  • LeanCms::SyncHelper — SQLite database sync helper between local and production
  • lean_cms:load_structure — seeds content from config/lean_cms_structure.yml
  • lean_cms:stats — prints content field counts by page
  • Stimulus controllers: cms-sticky-overlay, inline-edit, inline-edit-toggle, cards-editor, settings-inline-edit-sync, settings-override
  • cms_edit_controls.css — styles for in-context editing overlays
  • Pundit policies: PageContentPolicy, PostPolicy, SettingPolicy, LeanCms::ApplicationPolicy
  • PaperTrail integration on PageContent, Post, Setting
  • rails generate lean_cms:install — installs initializer, mounts engine, runs migrations
  • rails generate lean_cms:demo — full starter kit: Home, About, Contact pages demonstrating all 9 content types