Change the 2.0.x branch to be compatible with Drupal <=10.2 to support a smoother update process

Created on 17 September 2024, 3 months ago

Problem/Motivation

Recent updates added in 2.0.4 is not compatible with Drupal 10.2 which is still supported until December 9th.

Systems on 10.2 experience this error:
NOTICE: PHP message: Uncaught PHP Exception Error: "Class "Drupal\Core\Render\Element\FormElementBase" not found" at /opt/drupal/web/modules/contrib/autocomplete_deluxe/src/Element/AutocompleteDeluxeElement.php line 15

RenderElement and FormElement base plugin classes were renamed to RenderElementBase and FormElementBase in Drupal 10.3. Versions before this change will break and will be prevented from receiving future security updates.
https://www.drupal.org/node/3436275 β†’

πŸ“Œ Support Drupal 11 compatibility and drop support for Drupal 8/9 Fixed
πŸ› Autocomplete Deluxe element UI doesn't work for single value field Needs review

Proposed resolution

Create a new major version with the new updates to support Drupal versions 10.3 to 11 and revert the changes so previous versions remain supported.

RenderElement and FormElement base plugin classes are deprecated and renamed to RenderElementBase and FormElementBase β†’
πŸ“Œ Rename RenderElement and FormElement plugin abstract classes to RenderElementBase and FormElementBase Fixed

Better to update to Drupal ^10.3

Having a smoother update process for old sites.

βœ… Released autocomplete_deluxe-2.1.0 β†’

Remaining tasks

  • βœ… File an issue
  • βœ… Addition/Change/Update/Fix
  • βœ… Testing to ensure no regression
  • βž– Automated unit testing coverage
  • βž– Automated functional testing coverage
  • βž– UX/UI designer responsibilities
  • βž– Readability
  • βž– Accessibility
  • βž– Performance
  • βž– Security
  • βž– Documentation
  • βœ… Code review by maintainers
  • βœ… Full testing and approval
  • βœ… Credit contributors
  • βœ… Review with the product owner
  • βœ… Release notes snippet
  • βœ… Release autocomplete_deluxe-2.0.6 β†’

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code (miscellaneous)

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024