cookiecutter / cookiecutter-django

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
https://cookiecutter-django.readthedocs.io
BSD 3-Clause "New" or "Revised" License
11.76k stars 2.83k forks source link

Update django-anymail to 11.0 #5163

Closed pyup-bot closed 1 week ago

pyup-bot commented 1 week ago

This PR updates django-anymail[mailgun] from 10.3 to 11.0.

Changelog ### 11.0 ``` ----- *2024-06-23* Breaking changes ~~~~~~~~~~~~~~~~ * **Amazon SES:** Drop support for the Amazon SES v1 API. If your ``EMAIL_BACKEND`` setting uses ``amazon_sesv1``, or if you are upgrading from Anymail 9.x or earlier directly to 11.0 or later, see `Migrating to the SES v2 API <https://anymail.dev/en/stable/esps/amazon_ses/#amazon-ses-v2>`__. (Anymail 10.0 switched to the SES v2 API by default. If your ``EMAIL_BACKEND`` setting has ``amazon_sesv2``, change that to just ``amazon_ses``.) * **SparkPost:** When sending with a ``template_id``, Anymail now raises an error if the message uses features that SparkPost will silently ignore. See `docs <https://anymail.dev/en/stable/esps/sparkpost/#sparkpost-template-limitations>`__. Features ~~~~~~~~ * Add new ``merge_headers`` option for per-recipient headers with batch sends. This can be helpful to send individual *List-Unsubscribe* headers (for example). Supported for all current ESPs *except* MailerSend, Mandrill and Postal. See `docs <https://anymail.dev/en/stable/sending/anymail_additions/#anymail.message.AnymailMessage.merge_headers>`__. (Thanks to `carrerasrodrigo`_ for the idea, and for the base and Amazon SES implementations.) * **Amazon SES:** Allow extra headers, ``metadata``, ``merge_metadata``, and ``tags`` when sending with a ``template_id``. (Requires boto3 v1.34.98 or later.) * **MailerSend:** Allow all extra headers. (Note that MailerSend limits use of this feature to "Enterprise accounts only.") Fixes ~~~~~ * **Amazon SES:** Fix a bug that could result in sending a broken address header if it had a long display name containing both non-ASCII characters and commas. (Thanks to `andresmrm`_ for isolating and reporting the issue.) * **SendGrid:** In the tracking webhook, correctly report "bounced address" (recipients dropped due to earlier bounces) as reject reason ``"bounced"``. (Thanks to `vitaliyf`_.) ```
Links - PyPI: https://pypi.org/project/django-anymail - Changelog: https://data.safetycli.com/changelogs/django-anymail/