Repository navigation
4.0.0
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)
- Uses Layout Builder in place of Panels and Panelizer. However, both modules
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.