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

Commit

Permalink
4.1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
phenaproxima committed Dec 4, 2019
1 parent cf12485 commit be9536a
Show file tree
Hide file tree
Showing 10 changed files with 306 additions and 282 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
global:
- ORCA_SUT_NAME=acquia/lightning
- ORCA_SUT_BRANCH=8.x-4.x
- ORCA_VERSION=master
- ORCA_VERSION=lightning
- ORCA_PACKAGES_CONFIG_ALTER=../lightning/tests/packages_alter.yml
- ORCA_FIXTURE_PROFILE=lightning
- ORCA_TELEMETRY_ENABLE=TRUE
Expand All @@ -27,23 +27,20 @@ matrix:
# Standard ORCA jobs.
- { name: "Static code analysis", env: ORCA_JOB=STATIC_CODE_ANALYSIS }
- { name: "Deprecated code scan", env: ORCA_JOB=DEPRECATED_CODE_SCAN_SUT }
# Re-enable these jobs when Drupal 8.8 is the "current" version of core.
# - { name: "Isolated test w/ recommended package versions", env: ORCA_JOB=ISOLATED_RECOMMENDED }
# - { name: "Integrated test w/ recommended package versions", env: ORCA_JOB=INTEGRATED_RECOMMENDED }
# Lightning 4.x is incompatible with Drupal Core 8.6.
- { name: "Isolated test w/ recommended package versions", env: ORCA_JOB=ISOLATED_RECOMMENDED }
- { name: "Integrated test w/ recommended package versions", env: ORCA_JOB=INTEGRATED_RECOMMENDED }
# @todo Uncomment this job once Drupal 8.7 is the "previous" version.
# - { name: "Integrated test w/ recommended package versions & previous minor release of Drupal core", env: ORCA_JOB=CORE_PREVIOUS }
# - { name: "Isolated test w/ dev package versions", env: ORCA_JOB=ISOLATED_DEV }
# - { name: "Integrated test w/ dev package versions", env: ORCA_JOB=INTEGRATED_DEV }
- { name: "Isolated test w/ dev package versions", env: ORCA_JOB=ISOLATED_DEV }
- { name: "Integrated test w/ dev package versions", env: ORCA_JOB=INTEGRATED_DEV }
- { name: "Integrated test w/ dev package versions & next minor dev version of Drupal core", env: ORCA_JOB=CORE_NEXT }
# - { name: "Contrib: Deprecated code scan", env: ORCA_JOB=DEPRECATED_CODE_SCAN_CONTRIB }
# Custom job.
# @todo Add 3.x fixtures once Lightning Layout 2.x is stable and a migration
# path from Panels and Panelizer exists.
allow_failures:
- env: ORCA_JOB=INTEGRATED_DEV
# Allow this to fail when Drupal 8.8 is the "current" version.
# - env: ORCA_JOB=CORE_NEXT
- env: ORCA_JOB=CORE_NEXT
- env: ORCA_JOB=DEPRECATED_CODE_SCAN_CONTRIB

before_install:
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## 4.1.0
* Updated Lightning Workflow to 3.14:
* Made Lightning Workflow compatible any installation profile.
(Issue #3089223)
* Fixed a bug where Lightning Scheduler's JavaScript libraries were not
properly declared as external. (Issue #3089153)
* Updated Lightning Core to 5.0:
* Updated Drupal core to 8.8.0.
* Fixed all known deprecations. (Issue #3096212)
* Updated Metatag to 1.10.
* Updated Pathauto to 1.6.
* Fixed an incompatibility between Lightning Page and Lightning Workflow
3.14 and later.
* Updated Lightning Layout to 2.4:
* Fixed an incompatibility between Lightning Landing Page and Lightning
Workflow 3.14 and later.
* Updated Lightning API to 4.4.
* Updated Lightning Media to 3.14.

## 4.1.0-beta1
* Updated Lightning Core to 5.0-beta1:
* Updated Drupal core to 8.8.0-beta1.
Expand Down
37 changes: 25 additions & 12 deletions UPDATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,17 @@ are currently running 2.2.0 and are trying to update to 2.2.6, you will need to
follow the instructions for updating from 2.2.0 to 2.2.1, then from 2.2.1 to
2.2.2, in that order.

## 4.1.0-beta1 to 4.1.0
There are no manual update steps for this version.

## 4.0.5 to 4.1.0-beta1
There are no manual update steps for this version.

## 4.0.4 to 4.0.5
* If you would like to enable support for autosave on your site, install the
Autosave Form and Conflict modules.
* If you would like to enable improved redirect handling, install the Redirect module.
* If you would like to enable improved redirect handling, install the Redirect
module.

## 4.0.3 to 4.0.4
There are no manual update steps for this version.
Expand All @@ -161,11 +165,12 @@ There are no manual update steps for this version.
There are no manual update steps for this version.

### 3.3.1 to 4.0.0
Lightning 4.0.0 includes Lightning Layout 2.0, which uses Layout Builder in place
of Panels and Panelizer. However, both modules are still packaged with Lightning
Layout, allowing you to migrate your layouts manually to Layout Builder 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.
Lightning 4.0.0 includes Lightning Layout 2.0, which uses Layout Builder in
place of Panels and Panelizer. However, both modules are still packaged with
Lightning Layout, allowing you to migrate your layouts manually to Layout
Builder 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.

## 3.3.0 to 3.3.1
There are no manual update steps for this version.
Expand Down Expand Up @@ -214,8 +219,11 @@ There are no manual update steps for this version.
at the command line with Drush (or, if you have Devel installed, at the
`/devel/php` path) to do it:
```
drush php:eval "entity_load('entity_browser', 'media_browser')->createDuplicate()->setName('ckeditor_media_browser')
>setLabel('Media browser (CKEditor)')->save();"
drush php:eval "entity_load('entity_browser', 'media_browser')
->createDuplicate()
->setName('ckeditor_media_browser')
->setLabel('Media browser (CKEditor)')
->save();"
```
2. Configure the "Media browser" embed button to use the duplicate you just
created.
Expand All @@ -226,7 +234,10 @@ drush php:eval "entity_load('entity_browser', 'media_browser')->createDuplicate(
command line with Drush, as in this example, or at `/devel/php` if you have
Devel installed):
```
drush php:eval "Drupal::service('lightning.content_roles')->grantPermissions('creator', 'use ckeditor_media_browser entity browser pages');"
drush php:eval "Drupal::service('lightning.content_roles')
->grantPermissions('creator', [
'use ckeditor_media_browser entity browser pages',
]);"
```
5. Edit the pre-existing media browser -- _not_ the duplicate -- to use the
Modal display plugin. Leave the "Width" and "Height" options empty to make
Expand All @@ -253,7 +264,8 @@ There are no manual update steps for this version.
3. Rewrite the content of the "Moderation state" field to this Twig template
code:
```
Set to <strong>{{ moderation_state }}</strong> on {{ revision_timestamp }} by {{ revision_uid }}
Set to <strong>{{ moderation_state }}</strong> on
{{ revision_timestamp }} by {{ revision_uid }}
```

### 3.2.2 to 3.2.3
Expand Down Expand Up @@ -576,8 +588,9 @@ There are no manual update steps for this version.

**Note:**
There is a known issue with Metatag version 8.x-1.1 where you might need to
clear your site's cache after updating. See [Metatag 8.x-1.1 Release notes][metatag8.x-1.1]
and this [related issue][2882954].
clear your site's cache after updating. See
[Metatag 8.x-1.1 Release notes][metatag8.x-1.1] and this
[related issue][2882954].

As per our Dependency Constraint Policy, Lightning doesn't pin to a specific
version of Metatag, so depending on your your setup, Metatag is likely to be
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"cweagans/composer-patches": "^1.6.4",
"drupal-composer/drupal-scaffold": "^2.0.0",
"drupal/lightning_api": "^4.4",
"drupal/lightning_core": "^5.0-beta3",
"drupal/lightning_core": "^5.0",
"drupal/lightning_layout": "^2.4",
"drupal/lightning_media": "^3.14",
"drupal/lightning_workflow": "^3.14",
Expand Down
Loading

0 comments on commit be9536a

Please sign in to comment.