UT Drupal Kit 3.0.0-beta.6 release notes

Release date - July 14, 2020

Note

This is a beta release for the next major version of the UT Drupal Kit. Betas are good testing targets for developers and site builders who are comfortable reporting (and where possible, fixing) their own bugs. Beta releases are not recommended for non-technical users, nor for production websites.

July 2020 brings the next beta release of the UT Drupal Kit itself as well as new functionality to the News add-on.

Contents

Release summary

UT Drupal Kit kernel

UT Drupal Kit 3.0.0-beta.6 consists largely of bug fixes and minor display enhancements related to consistency. Big strides were made toward Drupal 9 compatibility, though Beta 6 is still based on Drupal 8 (we expect Beta 7, scheduled for release in August, to be fully Drupal 9 compatible).

This release also includes an update from Drupal core 8.8.5 to 8.9.2, and a number of contributed module updates.

Important: Update protocol for Beta 6

Manual scaffolding changes required for existing sites

If you maintain a Drupal Kit site that was installed prior to Beta 6, you will need to manually change your existing composer.json file as described below.

Update core-composer-scaffold

Your top-level composer.json file includes a dependency that is responsible for adding Drupal scaffolding files. It is currently set to require an 8.8 version of those scaffolding files. You will need to manually change this to require 8.9, as shown below:

"drupal/core-composer-scaffold": "8.9.x-dev",

Add composer-patches

In order to prepare for eventual scenarios where code needs to be patched, we have added the Composer Patches plugin to our scaffolding script for new sites. Existing sites should similarly adopt this protocol via the following command:

composer require cweagans/composer-patches:^1.6

Additionally, developers should allow dependencies to apply patches by adding the following to the “extra” section of the composer.json.

"enable-patching": true,

Tip

It may be useful to compare your composer.json file to the current version of the scaffolding file ITS provides: https://github.austin.utexas.edu/eis1-wcs/utdk_scaffold/blob/develop/composer.json

Perform standard update process

The simultaneous update of the Features contributed module with configuration updates via Features means that the site cache should be cleared before running the database updates so that the new Features code is registered. If you fail to do this, you will get an error during the database updates; this can be remedied by simply running the database updates a second time.

See all other standard update steps as described at Updating a site.

News add-on update

The initial alpha release of the News add-on arrived in May 2020. In addition to making the add-on Drupal 9 compatible, this release (1.0.0-alpha.2) ships an initial listing page for News articles. Sites that have already installed alpha.1 can update and then enable the newly available “View - News Listing Page” module. Full documentation: Creating News.

Profile add-on update

This release (1.0.0-alpha.3) consists of minor bugfixes, and makes the add-on Drupal 9 compatible. Full documentation: Creating Profiles.

Note

Note that while the Kit itself is in beta status, the Profile and News add-ons are still in alpha: ITS may still make backwards-compatibility breaking changes. Developers are welcome and encouraged to test alpha releases and provide feedback, but are advised not to use it for production content just yet.

Contributed module updates

The following contributed modules are updated in this release.

All changes since 3.0.0-beta.5.2

UT Drupal Kit kernel

  • Enhancement: Reduce whitespace after last paragraph in Promo Units #1127

  • Task: Update to Drupal 8.9.2 #1168

  • Task: Update contributed #1164

  • Task: Update composer.json to reference drupal-core-recommended 9.x #1117

  • Task: Twig 2 Compatibility #1116

  • Task: Custom code compatibility with Drupal 9 #1115

  • Task: Disable BigPipe by default #959

  • Bugfix: Promo List blue-line appears when no List Headline exists #1126

Forty Acres

  • Enhancement: UT styling for Views “Full” pager element #192

  • Enhancement: Increase font-weight of Promo List Item Headlines #189

  • Bugfix: WYSIWYG link display different between paragraphs and lists #186

  • Bugfix: Radios in Layout Builder modal use Forty Acres large-style rather than admin theme style #180

  • Bugfix: Second-level links in menu block are boldfaced on hover and active state #179

News add-on

  • Enhancement: News article listing - base display #30

  • Bugfix: Pathauto pattern for News article nodes not taking effect on existing sites #27

  • Task: Compatibility with Drupal 9 #25

Profile add-on

  • Enhancement: Add whitespace between tab label outline and body copy #158

  • Task: Add functioning test to verify basic form submission & rendering of node & listing. #62

  • Task: Add class indicating view mode to “Name Only” view mode #151

  • Task: Custom code compatibility with Drupal 9 #156

  • Task: Contrib module compatibility with Drupal 9 #155

  • Bugfix: Unable to update from alpha.1 to alpha.2 #148

  • Bugfix: Outdated documentation link for default display types #154

  • Bugfix: Pathauto pattern not taking effect #157

Qualtrics Filter

  • Task: Drupal 9 compatibility #13