Problem/Motivation

The 2.x branch supports ^9.3 || ^10 || ^11. To keep this range, it uses APIs that core deprecated (REQUIREMENT_* constants, hook_requirements(), RenderElement), procedural hooks and \Drupal::service() calls. It also has bugs in the settings form, config schema, caching and translation. It has no tests and no GitLab CI.

Proposed resolution

Create a new 3.x branch that requires Drupal ^11.2 and PHP 8.3. Do the work in the child issues below, one MR each. All children land before 3.0.0, so there is only one update path from 2.x.

2.x stays for Drupal 10 sites (and 11.0–11.1).

Why 11.2: RequirementSeverity and hook_runtime_requirements() exist from 11.2. With 11.2 as the minimum, no backwards compatibility code is needed.

Remaining tasks

User interface changes

Settings form fixes (see children). JS messages show as toasts. Screen readers announce server messages.

API changes

Drupal ^11.2 and PHP 8.3 only. IziMessage is no longer a render element class.

Data model changes

Config schema types fixed, with an update hook.

Comments

usingsession created an issue. See original summary.

usingsession’s picture

Issue summary: View changes
usingsession’s picture

Issue summary: View changes
usingsession’s picture

Issue summary: View changes