v0.8
Breaking changes
-
All backends: Rename all Anymail backends to just
EmailBackend
, matching Django's naming convention. E.g., you should update:
EMAIL_BACKEND = "anymail.backends.mailgun.MailgunBackend" # old
to:
EMAIL_BACKEND = "anymail.backends.mailgun.EmailBackend" # new
The old names still work, but will issue a DeprecationWarning and will be removed in some future release (Apologies for this change; the old naming was a holdover from Djrill, and I wanted to establish consistency with other Django EmailBackends before Anymail 1.0. See #49.)
-
SendGrid: Update SendGrid backend to their newer Web API v3. This should be a transparent change for most projects. Exceptions: if you use SendGrid username/password auth, Anymail's
esp_extra
with "x-smtpapi", or multiple Reply-To addresses, please review the porting notes.The SendGrid v2 EmailBackend remains available if you prefer it, but is no longer the default.
Other changes
- Mandrill: Fix bug in webhook signature validation when using basic auth via the WEBHOOK_AUTHORIZATION setting. (If you were using the MANDRILL_WEBHOOK_URL setting to work around this problem, you should be able to remove it. See #48.)
- Test on Django 1.11 prerelease, including under Python 3.6.