- First commit to issue fork.
- 🇳🇱Netherlands watergate
I've added the module to my Drupal 10 project by running `composer require 'drupal/sendgrid_mailer:^1.1'. However, when trying to enable the module I got: "Unable to install modules: module 'sendgrid_mailer'. Its dependency module 'sendgrid_api' is incompatible with this version of Drupal core.".
The problem is that in `composer.json` the `"drupal/sendgrid_api": "^1.0",` (is required again), while only the 2.0 branch of the SendGrid API module is compatible with Drupal 10.
Was `"drupal/sendgrid_api": "^2.0",` rolled back in https://git.drupalcode.org/project/sendgrid_mailer/-/commit/e8e001e98743... to support Drupal 9 again? If that is the case, I propose to remove the Drupal 10 compatibility from the 1.1.x branch and create a new branch e.g. 1.2.x (or simply 2.x) that is compatible with Drupal 10 (similar to the SendGrid API project).
I've also applied the change as suggested by @larowlan in #10. Although I understand the original comment in the code, the fix should be applied/made in the `PhpMail` class itself.
The changes are pushed to https://git.drupalcode.org/issue/sendgrid_mailer-3289557/-/tree/3289557-... and a merge request can be made once a new branch (i.e., 1.2.x or 2.x) is created.
- Status changed to Needs work
over 1 year ago 8:23am 1 May 2023 - First commit to issue fork.
- @shivam_tiwari opened merge request.
- Status changed to Needs review
over 1 year ago 8:28am 1 May 2023 - Status changed to Closed: outdated
9 days ago 9:25am 10 December 2024 The PR is outdated and module is already compatible with Drupal 10 and using sendgrid_api 2.0 version of the module https://git.drupalcode.org/project/sendgrid_mailer/-/blob/1.1.x/composer...
Closing this issue as outdated.