Make the module compatible with D11

Created on 3 April 2025, 6 days ago

Problem/Motivation

The module is currently only supported till D10.
It does not work on Drupal CMS where Drupal version is 11+.

Steps to reproduce

Install the module on Drupal 11 or Drupal CMS to see error during installation.

./composer.json has been updated
Running composer update drupal/ai_social_posts
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/ai_social_posts ^1.0@beta -> satisfiable by drupal/ai_social_posts[1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4].
    - drupal/ai_social_posts[1.0.0-beta1, ..., 1.0.0-beta4] require drupal/core ^10.0 -> found drupal/core[10.0.0-alpha1, ..., 10.5.x-dev] but the package is fixed to 11.1.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Proposed resolution

NA

Remaining tasks

NA

User interface changes

NA

API changes

NA

Data model changes

NA

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India Vivek Panicker Kolkata

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

Comments & Activities

Production build 0.71.5 2024