Skip to content
This repository was archived by the owner on Nov 16, 2021. It is now read-only.

4.0.0

Choose a tag to compare

@phenaproxima phenaproxima released this 16 May 15:58
· 118 commits to 8.x-4.x since this release
1b91f77

Install

For the best developer experience and dependency management, install with Composer using the following command: composer create-project acquia/lightning-project MYPROJECT

Changelog

  • Added the Claro administration theme.
  • Security updated Lightning Core to 4.1.0, which updates Drupal core to 8.7.1.
    (SA-CORE-2019-07)
  • Updated Lightning Layout to 2.0.0, which:
    • Uses Layout Builder in place of Panels and Panelizer. However, both modules
      are still shipped with Lightning Layout, allowing you to migrate your
      layouts to Layout Builder manually as needed. An automated migration path
      will eventually be introduced, but until then, any Panelizer/Panels layouts
      you have should continue to work as before. (Issue #2952620)

Update steps

There are no manual update steps for this version. However, there is a known bug in the update path of the Consumers module (packaged with Lightning API) which may cause problems when updating from Drupal 8.6 to 8.7 and updating from an older version of Consumers at the same time. A temporary workaround is
to update the Consumers module to its latest version before updating to Drupal core 8.7. If you have a Composer-based build of Lightning, you can update Consumers like so:

$ composer update drupal/consumers --with-all-dependencies
$ drush updatedb

Once this is done, you should be able to update to Drupal 8.7 without trouble.
See https://www.drupal.org/project/consumers/issues/3052959 for more information
about this bug.

Update your codebase:

composer self-update
composer require acquia/lightning:~4.0.0 --no-update
composer update

Run database updates (if required - depending on the version from which you are updating):

drush cache:rebuild
drush updatedb

Run Lightning configuration updates (if required - depending on the version from which you are updating):

drush cache:rebuild
drush update:lightning

For general update instructions see UPDATE.md.