
Layout Builder Kit 4.0.0, 2026-06-27
-------------------------------------
Changes since 3.0.0-beta2:
- Drupal 12 compatibility. Requires Drupal ^12; use the 3.0.x branch for Drupal
  10/11.
- Replaced hook_event_dispatcher dependency with Drupal core OOP hooks
  (#[Hook] attribute on LayoutBuilderKitHooks class).
- Block plugins converted to #[Block] attribute (replaces @Block annotation).
- Dependency injection via constructor (replaces ::create() static factory).
- RequirementSeverity enum replaces string severity constants in runtime
  requirements.
- All six block plugins (Rich Text, Image, Icon Text, Video, Tab, Render) and
  the Book Navigation block are functionally unchanged — their build() output is
  identical to 3.0.0-beta2 on real production configuration (85/85 render arrays
  matched in a differential test; see D12_RENDER_DIFF.md for the full report).
- End-to-end Playwright test suite added (tests/playwright/) covering all six
  components and the block chooser.
- Fix "Call to protected method t()" — resolved the conflict between
  ContextAwarePluginAssignmentTrait (declares t() abstract protected) and
  StringTranslationTrait (provides it) with an explicit insteadof resolution
  in LBKBaseComponent (issue 3459820). Also fixed on the 3.0.x branch.

Note on HTML output differences when upgrading a site to Drupal 12:
  Some rendered-HTML changes may be visible after a D11→D12 upgrade. None of
  these are caused by LBK. See D12_RENDER_DIFF.md for the full explanation.
  In brief:
  - Drupal core serializes HTML5 void elements differently (<br /> → <br>).
  - Drupal core generates AVIF image derivatives; theme image templates may
    add or remove CSS classes on image elements.
  - The media_embed text filter must be configured on the D12 site for
    <drupal-media> embed tokens to be processed (site configuration concern).

Layout Builder Kit 3.0.0-beta2, 2025-03-22
------------------------------------------
Changes since 3.0.0-beta1:
- Fix settings form (issue 3514048).
- Fix improper config file.

Layout Builder Kit 3.0.0-beta1, 2024-12-02
------------------------------------------
Changes since 2.x:
- Make compatible with Drupal 11.

Layout Builder Kit 2.0.0-alpha2, 2022-12-06
-------------------------------------------
Changes since 2.0.0-alpha1:
- Turns out $events['hook_event_dispatcher.theme'] is needed after all.

Layout Builder Kit 2.0.0-alpha1, 2022-12-05
-------------------------------------------
Changes since 2.0.0-dev (2022-11-16):
- It looked like the ThemeHookEvents::THEME constant wasn't available (see
  https://www.drupal.org/project/layout_builder_kit/issues/3282326) however the problem was transient for me.
  Might still need to use $events['hook_event_dispatcher.theme'][] = ['themeEvent'] but we'll see.

Layout Builder Kit 2.0.0-dev, 2022-11-16
----------------------------------------
Changes since 1.0.0-beta5:
- Hook Event Dispatcher (HED) module requirement updated to ^3
- minimum core compatibility upgraded to 9.3 because HED 3.3+ requires Drupal 9.3+
- not compatible with D10 yet; seems to be a PHP8 incompatibility with a dependency
- Thank you everyone for the contributions:
  - https://www.drupal.org/project/layout_builder_kit/issues/3282326
  - https://www.drupal.org/project/layout_builder_kit/issues/3207914
  - https://www.drupal.org/project/layout_builder_kit/issues/3230053
  - https://www.drupal.org/project/layout_builder_kit/issues/3229103
  - D10 compatibility (https://www.drupal.org/project/layout_builder_kit/issues/3297498)


Layout Builder Kit 1.0.0-beta5, 2020-11-05
------------------------------------------
Changes since 1.0.0-beta4:
- hook_event_dispatcher module updated to 2.2
- default_content module version updated
- old key core removed


Layout Builder Kit 1.0.0-beta4, 2020-07-10
------------------------------------------
Changes since 1.0.0-beta3:
- Video component now works for Taxonomy Terms
- Layout Builder Kit link menu moved to 'Configuration > Content Authoring > Layout Builder Kit'| /admin/config/content |
- Render component now supports Media


Layout Builder Kit 1.0.0-beta3, 2020-03-27
------------------------------------------
Changes since 1.0.0-beta2:
- Added EntityTypeBundleInfo class as a dependency for all components


Layout Builder Kit 1.0.0-beta2, 2020-03-26
------------------------------------
Changes since 1.0.0-beta1:
- Code ready for Drupal 9, core_version_requirement: ^8 || ^9
- All instances for "image_grid" change to "icon_text" in layout_builder_kit.services.yml
- Drupalci.yml file added to indicate Layout Builder Kit is Drupal 9 ready!
- Book module dependency added for Layout Builder Kit Demo module
- Permissions for 'Layout Builder Kit Settings' form changed from 'access administration pages' to 'access layout builder kit components'
- New status check added for Book Navigation Component about Book module as is required for it
- Added new Render component
- Moved getField() out of components and into LBKBaseComponent
