mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-27 14:56:56 -05:00
SendGrid: simplify personalizations processing; stop using "sections"
* Rework and simplify personalizations code (that had grown convoluted through several feature additions). * Stop putting merge_global_data in legacy template "sections"; instead just merge it into individual personalization substitutions like we do for dynamic templates. (The "sections" version didn't add any functionality, had the potential for conflicts with the user's own template section tags, and was needlessly complex.)
This commit is contained in:
@@ -60,6 +60,9 @@ Fixes
|
||||
(but no To addresses). Also, `message.anymail_status.recipients[email]` now includes
|
||||
send status for Cc and Bcc recipients. (Thanks to `@ailionx`_ for reporting the error.)
|
||||
|
||||
* **SendGrid:** With legacy templates, stop (ab)using "sections" for merge_global_data.
|
||||
This avoids potential conflicts with a template's own use of SendGrid section tags.
|
||||
|
||||
|
||||
v5.0
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user