Loading
Issue #3637187: Support Drupal 12 and retain Drupal 11 compatibility
BucketPilot 1.3.3 used APIs deprecated for Drupal 12 and private readonly services that Drupal could not restore after serialization.
This change moves runtime hooks into an injected hook class, updates database fetch modes with earlier Drupal 11 fallbacks, and fixes form/queue service serialization. It includes the history-cleanup fetch missed by Rector, regression coverage, compatible test fixtures and CI server setup.
Validation:
- Local Drupal 11.4.11/PHP 8.4.26 and Drupal 12.0.0-beta2/PHP 8.5.4: 156 passed, 3 optional/live skips each.
- Final GitHub PHP 8.3/8.4/8.5 matrix passed: https://github.com/bash-moniffy/bucketpilot-integration-modules/actions/runs/43719867493
- Final GitLab Composer, composer-lint, PHPCS, PHPStan and PHPUnit passed: https://git.drupalcode.org/project/bucketpilot/-/pipelines/1048931
- Existing optional cspell/eslint/stylelint findings remain; no checks were disabled.
No database update is required. No real project-data uploads were performed.
Merged commit: 61912653 Release: https://www.drupal.org/project/bucketpilot/releases/1.3.4 Issue: https://www.drupal.org/project/bucketpilot/issues/3637187
Edited by Ansam AlDweik