mblayman / homeschool

An app for homeschool planning
MIT License
225 stars 60 forks source link

Bump django-anymail[sendgrid] from 10.3 to 11.0 #1161

Closed dependabot[bot] closed 4 days ago

dependabot[bot] commented 5 days ago

Bumps django-anymail[sendgrid] from 10.3 to 11.0.

Release notes

Sourced from django-anymail[sendgrid]'s releases.

v11.0

  • Breaking changes for Amazon SES; SparkPost (with template_id)
  • New merge_headers feature
  • And more…

Please check the changelog

Changelog

Sourced from django-anymail[sendgrid]'s changelog.

v11.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 &lt;https://anymail.dev/en/stable/esps/sparkpost/#sparkpost-template-limitations&gt;__.

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 &lt;https://anymail.dev/en/stable/sending/anymail_additions/#anymail.message.AnymailMessage.merge_headers&gt;`__.
  (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 &quot;Enterprise accounts only.&quot;)

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 &quot;bounced address&quot;
  (recipients dropped due to earlier bounces) as reject reason ``&quot;bounced&quot;``.
  (Thanks to `@vitaliyf`_.)
</code></pre>
</blockquote>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/anymail/django-anymail/commit/78ccd72fbee30f214e3228dbc10189a1bc9e5f09"><code>78ccd72</code></a> Release 11.0</li>
<li><a href="https://github.com/anymail/django-anymail/commit/567fbb52ab439a083ee1865eb3af66a90ba38be3"><code>567fbb5</code></a> Amazon SES: Fix header encoding problem</li>
<li><a href="https://github.com/anymail/django-anymail/commit/c4b2e08b1688da09dec6da9c4fea509672878a13"><code>c4b2e08</code></a> SparkPost: error on features incompatible with template_id</li>
<li><a href="https://github.com/anymail/django-anymail/commit/5c2f2fd35a0ab24482f1d83cfe4793b62a041b9f"><code>5c2f2fd</code></a> Docs: add notes to esp-feature-matrix</li>
<li><a href="https://github.com/anymail/django-anymail/commit/f355bd533c4e3b2d7c5825421c19530174c032bc"><code>f355bd5</code></a> Docs: new ownership for several ESPs</li>
<li><a href="https://github.com/anymail/django-anymail/commit/faf98c22d73d82f6e35395f04e77a096401ae2ba"><code>faf98c2</code></a> MailerSend: support extra headers</li>
<li><a href="https://github.com/anymail/django-anymail/commit/0776b12331379c9f885cbaa60bb8c53e076ec936"><code>0776b12</code></a> Feature: Implement merge_headers</li>
<li><a href="https://github.com/anymail/django-anymail/commit/6e696b85663cc7c9bd6f1423ccf3b2dea40b786a"><code>6e696b8</code></a> SendGrid: report dropped &quot;Bounced Address&quot; webhook events as reason &quot;bounced&quot;</li>
<li><a href="https://github.com/anymail/django-anymail/commit/0f2eef7300daec47eef4e708721198a1017882bd"><code>0f2eef7</code></a> Amazon SES: support headers with template</li>
<li><a href="https://github.com/anymail/django-anymail/commit/1cdadda1613dba93f335f4b2b1cd2dfccd0b25f9"><code>1cdadda</code></a> Amazon SES: require boto3 with sesv2 support</li>
<li>Additional commits viewable in <a href="https://github.com/anymail/django-anymail/compare/v10.3...v11.0">compare view</a></li>
</ul>
</details>

<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=django-anymail[sendgrid]&package-manager=pip&previous-version=10.3&new-version=11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)