mailjet / MailjetSwiftMailer

A SwiftMailer transport implementation for Mailjet
MIT License
26 stars 24 forks source link

Swiftmailer 6 compatibility #4

Closed clement-michelet closed 7 years ago

clement-michelet commented 7 years ago

Swiftmailer 6 has been released since may. It drops some supports and requires PHP7. symfony/swiftmailer-bundle@3 requires swiftmailer/swiftmailer@6.

Is there any plan to add support for Swiftmailer 6 ?

latanasov commented 7 years ago

Hi @clement-michelet for the moment you can use our Swiftmailer 6 branch. It is definitively in our plans to soon merge it and maintain it as the main Swiftmailer version.

clement-michelet commented 7 years ago

Hi @latanasov ! I'll test that. I close this issue.

Metrakit commented 6 years ago

Hi. Any news for merge the Swiftmailer 6 ? thanks.

samail commented 5 years ago

Hi, I raise the topic, any news ? Thanks

alexsegura commented 5 years ago

+1, getting Composer conflicts like this:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install symfony/swiftmailer-bundle v3.2.4
    - Conclusion: don't install symfony/swiftmailer-bundle v3.2.3
    - Conclusion: don't install symfony/swiftmailer-bundle v3.2.2
    - Conclusion: don't install symfony/swiftmailer-bundle v3.2.1
    - Conclusion: remove swiftmailer/swiftmailer v5.4.12
    - Conclusion: don't install swiftmailer/swiftmailer v6.1.0|keep swiftmailer/swiftmailer v5.4.12
    - Conclusion: don't install swiftmailer/swiftmailer v6.1.1|keep swiftmailer/swiftmailer v5.4.12
    - Conclusion: don't install swiftmailer/swiftmailer v6.1.2|keep swiftmailer/swiftmailer v5.4.12
    - Conclusion: don't install swiftmailer/swiftmailer v6.1.3|keep swiftmailer/swiftmailer v5.4.12
    - Installation request for symfony/swiftmailer-bundle ^3.2 -> satisfiable by symfony/swiftmailer-bundle[v3.2.0, v3.2.1, v3.2.2, v3.2.3, v3.2.4].
    - mailjet/mailjet-swiftmailer 1.0.6 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - mailjet/mailjet-swiftmailer 1.0.6 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - mailjet/mailjet-swiftmailer 1.0.5 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - mailjet/mailjet-swiftmailer 1.0.4 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - mailjet/mailjet-swiftmailer 1.0.3 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - mailjet/mailjet-swiftmailer 1.0.2 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - mailjet/mailjet-swiftmailer 1.0.1 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - mailjet/mailjet-swiftmailer 1.0.0 requires swiftmailer/swiftmailer ~5.4 -> satisfiable by swiftmailer/swiftmailer[v5.4.12, v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.2, v5.4.3, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8, v5.4.9].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.0].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.1].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.10].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.11].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.12].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.2].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.3].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.4].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.5].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.6].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.7].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.8].
    - Can only install one of: swiftmailer/swiftmailer[v6.0.1, v5.4.9].
    - symfony/swiftmailer-bundle v3.2.0 requires swiftmailer/swiftmailer ^6.0.1 -> satisfiable by swiftmailer/swiftmailer[v6.0.1, v6.0.2, v6.1.0, v6.1.1, v6.1.2, v6.1.3].
    - Conclusion: don't install swiftmailer/swiftmailer v6.0.2
    - Installation request for mailjet/mailjet-swiftmailer ^1.0 -> satisfiable by mailjet/mailjet-swiftmailer[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6].

Current workaround seems to do this, but it's not reliable

"require": {
    "symfony/swiftmailer-bundle": "^3.2",
    "mailjet/mailjet-swiftmailer": "dev-upgradeToSwiftmailer6"
}
bertoost commented 5 years ago

When is this getting merged? It's so not a good practice to add minimum-stability to your project composer.json..