Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
7.46 MB
MD5: 5bbfa6db0913001c78a5964c3e925622
SHA-1: f082f35a0999201dc3a1ce86292e8773c730441c
SHA-256: 09507decc2ad91d5bf93c2a7ae6cc28105be3fd7478a197e6bf380df0f18e56f
Download zip
7.95 MB
MD5: 18ab515dbc7b2870e9e8c925cc612a2b
SHA-1: a89d7d4ec72ce107f69b2d0b8f387d0a28548ad6
SHA-256: fa7b2b06ed6632ec16955ee96a0e7d4da83429115fa1ca97492e9de6fc8aab91
Release notes
Fixes the Drupal 10 regression in 1.0.37 that left pages without CSS and JavaScript, and a PHP error on forms whose element id or name is an array. Covers everything since 1.0.37, the last published release. Drupal 10 sites on 1.0.37 should update.
Requirements
- Drupal
^10.1 || ^11 || ^12.
Fixes
- Drupal 10: pages lost their CSS and JavaScript after a cache clear (#3628961: https://www.drupal.org/project/solo/issues/3628961, reported by gruberroland). Solo 1.0.37 used a class at the top of
solo.theme. On Drupal 10, the request that builds the combined CSS and JS files loadssolo.themebefore Drupal can find Solo's classes, so it failed withClass "Drupal\solo\SoloIncludes" not found.solo.themenow loads its include files directly again, as 1.0.36 did. Drupal 11 and 12 were not affected. - "Array to string" and TypeError on some forms (#3630728: https://www.drupal.org/project/solo/issues/3630728, by lpsolit). Checks that an element's
idor#nameis a string were lost when the hooks moved to classes in 1.0.37; they are back.
Documentation
- README and docs: plainer wording and American English.
Tests
- New
ThemeFileIncludesTest:solo.themeuses no Solo class while it loads, and its file list matchesSoloIncludes::FILES. NewArrayAttributeGuardTestfor #3630728. - Checked on Drupal 10.6, 11.4 and 12.0-alpha1.
After updating
Run drush cr. This release adds no database updates.