Update symfony/expression-language to v7 (Compatibility with module_builder)

Created on 20 May 2025, 2 months ago

Problem/Motivation

This module depends on symfony/expression-language:^6.3.

The module module_builder depends on symfony/expression-language:^7:

drupal/module_builder:^4.1drupal-code-builder/drupal-code-builder:^4.5joachim-n/mutable-typed-data:^1.3

drupal/module_builder:^3.34drupal-code-builder/drupal-code-builder:^4.2joachim-n/mutable-typed-data:^1.1.4

This makes the modules incompatible with each other.

The main difference between v6 and v7 of symfony/expression-language is that the in and not in operators now use strict comparison. Additionally, PHP 8.2 is required.

This might need a new major release of this module.

Steps to reproduce

  1. compoer require drupal/field_validation
  2. compoer require drupal/module_builder

Proposed resolution

Update the requirement of symfony/expression-language to ^7.

Remaining tasks

  • Update composer.json
  • Decide whether an update of symfony/expression-language to ^7 needs a new major release.

User interface changes

None.

API changes

See changelog of symfony/expression-language for \Drupal\field_validation\Plugin\Validation\Constraint\ExpressionConstraint.

Data model changes

None.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany tgauges

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