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

3.1.6

Choose a tag to compare

@phenaproxima phenaproxima released this 29 Aug 17:38
· 135 commits to 8.x-3.x since this release
4d6684c

Install

For the best developer experience, install with composer using the following command:

composer create-project acquia/lightning-project MYPROJECT

Or download the attached ZIP archive.

Changelog

  • Lightning API has been updated to 2.6, which updates the OpenAPI module
    suite to 1.0-beta2.
  • Lightning Media has been updated to 2.4, which:
    • Includes a new component providing support for locally hosted audio files.
    • Now supports locally hosted video files.
  • Lightning Workflow has been updated to 2.3, which includes Moderation
    Sidebar.
  • Lightning Layout has been updated to 1.4.
  • Lightning Core has been updated to 2.9.
  • Lightning now includes optional support for comments. (#590)
  • Lightning now installs Pathauto by default. (#588)

Update Steps

  1. Update your codebase:
composer self-update
composer require acquia/lightning:~3.1.6 --no-update
composer update
  1. Run database updates (if required - depending on the version from which you are updating):
drush cache:rebuild
drush updatedb
  1. 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.

Known Issues

OpenAPI's beta2 update split out the openapi_redoc and openapi_swagger_ui modules, previously part of the openapi package, into their own modules. This can cause warnings during and after the update process, like: [warning] The following module is missing from the file system: openapi_redoc bootstrap.inc:268.

To fix this, apply the patch from https://www.drupal.org/project/lightning_api/issues/2996108, preferably before updating:

cd path/to/lightning_api
curl https://www.drupal.org/files/issues/2018-08-30/2996108-2.patch | git apply

You may still see the warning during the update process, but you can ignore that.

If you see the warning after updating, apply the patch as directed above and then run:

drush php:eval "Drupal::keyValue('system.schema')->deleteMultiple(['openapi_redoc', 'openapi_swagger_ui']);"

If you are doing a config sync, edit core.extension.yml before importing, and remove the following lines (under the module key):

openapi_redoc: 0
openapi_swagger_ui: 0