Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
22.34 KB
MD5: 7484a294f0ce189d3de2bb2bce5b97b1
SHA-1: 8a85fd0566bfd79415a4f33f475eb7e66b851ec4
SHA-256: 27a5ac8be63083d7cd8127bdb4f2eff3c470d020629f0c89f2a2b0afadf91bb3
Download zip
33.66 KB
MD5: 830cec14cb245ac4968b8da6efaf1093
SHA-1: 732e80a5850a2902d90e8d3ef165b5de754b9d7c
SHA-256: 95ea0583b516f64332852f3a65d864eeb82605b4b0b1ece9d43fe008676143c2
Release notes
First release of the 6.0.x branch. Contribute now supports Drupal 11.
Requires Drupal ^10.3 || ^11. Support for Drupal 9 and Drupal 10.0–10.2 is dropped. Sites on those versions should stay on 8.x-1.0-beta9.
Why 6.0.0 and not 2.0.0?
There are no 2.x, 3.x, 4.x or 5.x versions of this module. Drupal.org requires a project's first semantically-versioned major to be higher than every existing legacy 8.x-N.x release, and Contribute has 8.x-5.0-beta2 and 8.x-5.0-beta3 releases from 2018, so the semantic-versioning line has to start at 6.0.x. See Release version numbers.
Drupal 11 support
core_version_requirementand thedrupal/coreComposer constraint moved from^9.3 || ^10to^10.3 || ^11.ContributeSettingsFormnow takesTypedConfigManagerInterfaceand passes it toConfigFormBase::__construct(), as required since Drupal 10.2.ContributeSettingsForm::isModal()reads the wrapper format from$request->queryrather thanRequest::get(), which is removed in Symfony 7.
Drupal 12 readiness
CommunityInformationBlockconverted from the@Blockannotation to the#[Block]PHP attribute. The next-major CI jobs are not yet enabled to run, so this is preparation rather than verified Drupal 12 support.
Behaviour changes
- The Drupal.org organization name field no longer autocompletes. It called a Drupal.org endpoint (
entityreference/autocomplete/tags/field_for_customer/…) that no longer exists, so the field had been silently returning no suggestions. Enter the organization name exactly as it appears on Drupal.org. User name autocomplete still works, and now returns no matches instead of throwing when Drupal.org cannot be reached. - Removed
ContributeManager::getPerson(). It called agetPeople()method that does not exist and would have fatalled if invoked; it was not part ofContributeManagerInterface, so no public contract changes.
Fixes
- Three
case 'user';statements inContributeManagerused a semicolon instead of a colon, so theuserbranches ofgetAccount(),getMembership()andgetContribution()fell through. - A malformed
:href_ groupsplaceholder left an unrendered link in the "create a Drupal.org account" message. contribute_install()'s docblock saidhook_uninstall().
Fixes #3612839: [Meta] Make Contribute Drupal 11 ready and prepare for Drupal 12