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

Commit e3ea779

Browse files
authored
3.2.4 Release (#629)
1 parent c42faec commit e3ea779

File tree

13 files changed

+272
-184
lines changed

13 files changed

+272
-184
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ php:
1111
- 7.0
1212
env:
1313
- VERSION=HEAD
14-
- VERSION=3.2.3
14+
- VERSION=3.2.4
1515
# The final CI slot should be used to test the update path from the oldest
1616
# available database fixture.
1717
- VERSION=3.0.0

CHANGELOG.md

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 3.2.4
2+
* Updated Lightning Core to 3.5, which:
3+
* Security updated Drupal core to 8.6.6.
4+
* Will automatically clear all persistent caches _before_ running database
5+
updates with Drush 9.
6+
* Updated Lightning API to 3.2, which introduces no user-facing changes.
7+
* Updated Lightning Layout to 1.6, which introduces no user-facing changes.
8+
* Updated Lightning Media to 3.5, which:
9+
* Added a configuration option to control whether newly-created media fields
10+
(i.e., entity reference fields which reference media items) will be
11+
configured to use the media browser by default. (Issue #2945153)
12+
* Made the "Show in media library" field non-translatable by default in every
13+
media type included with Lightning Media. (Issue #3014913)
14+
* Updated Lightning Workflow to 3.3, which:
15+
* Made the time steps in Lightning Scheduler's UI configurable.
16+
(Issue #2981050)
17+
* Fixed a bug in the Moderation History where the users and timestamps didn't
18+
correctly correspond to the actual revisions. (Issue #3022898)
19+
* Updated Moderation Dashboard to its latest stable version.
20+
* Refactored underlying scheduler UI code to be less sensitive to time zones.
21+
* Added project namespaces to all stated dependencies. (Issue #2999322)
22+
* Changes were made to the internal testing infrastructure, but nothing that
23+
will affect users of Lightning.
24+
125
## 3.2.3
226
* Lightning API now defaults to the 2.x branch of the JSON:API module.
327
[See the release notes for the 2.x branch](https://www.drupal.org/project/jsonapi/releases/8.x-2.0-beta1).
@@ -54,7 +78,7 @@
5478
* Lightning API has been update to 2.5, which:
5579
* Updates several of its dependencies that no longer need to be patched or
5680
pinned as a result.
57-
* Is now compatible ith Drupal core 8.6 in addition 8.5.
81+
* Is now compatible with Drupal core 8.6 in addition 8.5.
5882
* Lightning Layout has been updated to 1.3, which has bug fixes and changes to
5983
make it compatible with Drupal core 8.6 in addition to 8.5.
6084
* Lightning Workflow has been updated to 2.2, which includes several bug fixes.
@@ -100,7 +124,7 @@
100124
* Updates Crop API to RC1.
101125
* Modifies any configured Media-related actions to use the new, generic action
102126
plugins provided by core.
103-
* Behat contexts used for testing were moved into the
127+
* Behat contexts used for testing were moved into the
104128
`Acquia\LightningExtension\Context` namespace.
105129

106130
## 3.0.3
@@ -122,11 +146,11 @@
122146
* Reads the previous version from config and, as a result, no longer requires
123147
nor accepts the `version` argument.
124148
* Usage:
125-
149+
126150
```
127151
drush update:lightning
128152
# To run all available configuration updates without any prompting, use:
129-
drush update:lightning --no-inetraction
153+
drush update:lightning --no-interaction
130154
```
131155
* Note: Configuration updates from versions of Lightning < 3.0.0 will not be
132156
run when using the updated command. You should update to the last available
@@ -154,7 +178,7 @@
154178
## 3.0.0
155179
* Lightning's components are no longer bundled with the profile. They are now
156180
packaged as separate components and located alongside other Drupal modules.
157-
(Issue #2925010)
181+
(Issue #2925010)
158182
* The following unused modules have been removed from the build manifest
159183
(Issue #2927527):
160184
* Scheduled Updates
@@ -235,12 +259,12 @@
235259
Console command. (GitHub #462)
236260
* OAuth key pairs:
237261
* Lightning will no longer try to guess where keys should be stored and won't
238-
generate the keys until an administrator triggers that action. (GitHub #445)
262+
generate the keys until an administrator triggers that action. (GitHub #445)
239263
* Key pairs are now generated with 600 permissions. (GitHub #443)
240264
* Better error messages are shown if the system encounters an error when
241265
generating OAuth key pairs. (GitHub #440)
242266
* Lightning no longer patches Drush and therefore has no opinion about which
243-
version of Drush you use in your project. (GitHub #459)
267+
version of Drush you use in your project. (GitHub #459)
244268
* Page manager is no longer included in the codebase. (GitHub #466)
245269
* You can now choose to hide the links to API docs shown on entity bundles via a
246270
config option. (GitHub #435)
@@ -284,7 +308,7 @@
284308
## 2.1.6
285309
* Lightning now provides a Display Plugin for images embedded via CKEditor that
286310
allows editors to select an image style, alt text, and other settings each
287-
time an image is embedded. (Issue #2784699)
311+
time an image is embedded. (Issue #2784699)
288312
* You can now select and insert media items from a single-cardinality media
289313
browser with a double-click. (Issue #2888535)
290314
* Added documentation about the known incompatibility between Workbench
@@ -417,7 +441,7 @@
417441
* Scheduled updates now clearly display what is scheduled to happen and when,
418442
and multiple updates can be created for basic pages. (Issue #2688411)
419443
* Fixed a bug where reverting the layout of a forward revision of a landing page
420-
also reverted the layout of the published version. (Issue #2754649)
444+
also reverted the layout of the published version. (Issue #2754649)
421445
* Fixed a bug where Lightning Media failed to validate file size and dimension
422446
constraints. (Issue #2796683)
423447
* The *.features.yml files were removed from our older features that had them.
@@ -559,7 +583,7 @@
559583
* Most of the configuration previously provided as part of the
560584
Lightning install profile has been moved into Lightning Core.
561585
(#2773519)
562-
* The "publish" and "unpublish" actions have been removed from the
586+
* The "publish" and "unpublish" actions have been removed from the
563587
administrative Content view, because they do not make sense with
564588
Workbench Moderation enabled. (#2705931)
565589
* Fixed a regression caused by changes in Panelizer. (#2790699)
@@ -596,7 +620,7 @@
596620
* Fixed a PHP notice arising from the media asset preview handler. (PR #140)
597621

598622
## 1.02
599-
* Updated core to 8.1.7 (Security Release) and all contrib modules to latest
623+
* Updated core to 8.1.7 (Security Release) and all contrib modules to latest
600624
available releases.
601625
* It's now possible to define which Lightning extensions will be enabled by
602626
listing them in ```lightning.extend.yml```. (#2765627)

UPDATE.md

Lines changed: 41 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,47 +24,47 @@ that is managed by your VCS, you would generally follow these steps:
2424
1. Read the [release notes](https://github.com/acquia/lightning/releases)
2525
for the release to which you are updating, and any other releases between
2626
your current version.
27-
27+
2828
1. Update your codebase, replacing `[LIGHTNING_VERSION]` with the most recent
2929
version of Lightning. For example, `3.1.1`.
30-
30+
3131
```
3232
composer self-update
3333
composer require acquia/lightning:~[LIGHTNING_VERSION] --no-update
3434
composer update acquia/lightning --with-all-dependencies
3535
```
3636
1. Run any database updates.
37-
37+
3838
```
3939
drush cache:rebuild
4040
drush updatedb
4141
```
4242
1. Run any Lightning configuration updates.
43-
43+
4444
```
4545
drush cache:rebuild
4646
drush update:lightning
4747
```
4848
1. Export the new configuration.
4949

50-
50+
5151
```
5252
drush config:export
5353
```
5454
1. Commit the code and configuration changes to your VCS and push them to your
5555
destination environment.
56-
56+
5757
#### On your destination environment.
5858

5959
1. Run any database updates.
60-
60+
6161
```
6262
drush cache:rebuild
6363
drush updatedb
6464
```
6565

6666
1. Import any configuration changes.
67-
67+
6868
```
6969
drush cache:rebuild
7070
drush config:import
@@ -76,33 +76,33 @@ Lightning 2.2.8 including all database updates and migrations. For example, if
7676
you are updating from 2.2.3:
7777

7878
1. Make sure you have the latest version of Composer:
79-
79+
8080
```
8181
composer self-update
8282
```
8383
2. Update your codebase to 2.2.8:
84-
84+
8585
```
8686
composer require acquia/lightning:2.2.8 --no-update
8787
composer update acquia/lightning --with-all-dependencies
8888
```
8989
3. Rebuild Drupal's cache and run database updates:
90-
90+
9191
```
9292
drush cache:rebuild
9393
drush updatedb
9494
```
9595
4. Cleanup cruft from the Media migration:
96-
96+
9797
```
9898
drush pm-uninstall entity media_entity
99-
```
99+
```
100100
5. Follow the "Configuration updates" steps below, starting with
101101
"2.2.3 to 2.2.4".
102102

103103
#### Configuration Management
104104
If you are using configuration management to move your configuration between
105-
development, staging, and production environments, you should export
105+
development, staging, and production environments, you should export
106106
configuration after #5 and deploy.
107107

108108
### Composer
@@ -170,6 +170,29 @@ are currently running 2.2.0 and are trying to update to 2.2.6, you will need to
170170
follow the instructions for updating from 2.2.0 to 2.2.1, then from 2.2.1 to
171171
2.2.2, in that order.
172172

173+
### 3.2.3 to 3.2.4
174+
* Configure the "Show in media library" field of the "Audio file" media type to
175+
be non-translatable.
176+
* Configure the "Show in media library" field of the "Video" media type to be
177+
non-translatable.
178+
* Configure the "Show in media library" field of the "Video file" media type to
179+
be non-translatable.
180+
* If you have the "Moderation history" view installed:
181+
1. Replace the author field, which displays the original creator of the node,
182+
with a new field that displays the author of the revision. This will
183+
require you to add a relationship to the revision author.
184+
2. Replace the creation time field, which displays the time that the node was
185+
originally created, with a new field that displays the time that the
186+
revision was created.
187+
3. Rewrite the content of the "Moderation state" field to this Twig template
188+
code:
189+
```
190+
Set to <strong>{{ moderation_state }}</strong> on {{ revision_timestamp }} by {{ revision_uid }}
191+
```
192+
193+
### 3.2.2 to 3.2.3
194+
There are no manual update steps for this version.
195+
173196
### 3.2.1 to 3.2.2
174197
There are no manual update steps for this version.
175198

@@ -265,7 +288,7 @@ $ composer update acquia/lightning drupal/core --with-all-dependencies
265288
for example), you can "purge" it in the UI, or at the command line by running
266289
`drush lightning:scheduler:purge ENTITY_TYPE_ID`. Purging must be done one
267290
entity type at a time, e.g. `drush lightning:scheduler:purge paragraph`.
268-
291+
269292
Once all entity types have been migrated or purged, the old base fields will
270293
need to be uninstalled. You can perform this clean-up work automatically by
271294
running `drush entity-updates`.
@@ -296,7 +319,7 @@ There are no manual update steps for this version.
296319
There are no manual update steps for this version.
297320

298321
### 3.0.0 to 3.0.1
299-
There are no manual update steps for this version.
322+
There are no manual update steps for this version.
300323

301324
### 2.2.8 to 3.0.0
302325
There are no manual update steps for this version.
@@ -354,7 +377,7 @@ There are no manual update steps for this version.
354377
replaces `lightning_scheduled_updates` in this release.
355378
* Uninstall Scheduled Updates and Lightning Scheduled Updates, and enable the
356379
Lightning Scheduler module.
357-
380+
358381
```
359382
drush pm-uninstall scheduled_updates lightning_scheduled_updates
360383
drush pm-enable lightning_scheduler
@@ -389,7 +412,7 @@ There are no manual update steps for this version.
389412
"Disabled" section and press "Save".
390413

391414
### 2.1.8 to 2.2.0
392-
There are no manual update steps for this version.
415+
There are no manual update steps for this version.
393416

394417
### 2.1.7 to 2.1.8
395418
* Lightning now ships with support for image cropping, using the Image Widget

build-lightning.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ includes[] = drupal-org-core.make
44
projects[lightning][type] = profile
55
projects[lightning][download][type] = git
66
projects[lightning][download][branch] = 8.x-3.x
7-
projects[lightning][download][tag] = 8.x-3.x
7+
projects[lightning][download][tag] = 8.x-3.204

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"require": {
77
"cweagans/composer-patches": "^1.6.4",
88
"drupal-composer/drupal-scaffold": "^2.0.0",
9-
"drupal/lightning_api": "3.x-dev",
10-
"drupal/lightning_core": "3.x-dev",
11-
"drupal/lightning_layout": "1.x-dev",
12-
"drupal/lightning_media": "3.x-dev",
13-
"drupal/lightning_workflow": "3.x-dev",
9+
"drupal/lightning_api": "^3.2",
10+
"drupal/lightning_core": "^3.5",
11+
"drupal/lightning_layout": "^1.6",
12+
"drupal/lightning_media": "^3.5",
13+
"drupal/lightning_workflow": "^3.2",
1414
"oomphinc/composer-installers-extender": "^1.1"
1515
},
1616
"require-dev": {

0 commit comments

Comments
 (0)