Make Mailgun Header compatible with other Bridges#41380
Make Mailgun Header compatible with other Bridges#41380nicolas-grekas merged 1 commit intosymfony:5.2from
Conversation
|
I think you misunderstand. In 5.0, all headers was prefixed with |
|
I think the issue is, that make the bridge incompatible with all other bridges because headers have to be formatted in a What's if I implement a |
| @@ -137,7 +137,6 @@ private function getPayload(Email $email, Envelope $envelope): array | |||
| } else { | |||
| // fallback to prefix with "h:" to not break BC | |||
I was convinced by the exact same sentence in their doc 😉 |
Nyholm
left a comment
There was a problem hiding this comment.
Thank you.
Are you sure this should be to 5.2 and not 5.3?
|
@Nyholm to me, that's a bugfix. The current deprecation is buggy |
|
Thank you @jderusse. |
This PR was merged into the 5.3 branch. Discussion ---------- [Mailer] Remove deprecation dependency | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Introduced here (5.3) #40643 But removed was not needed because reverted here (5.2) #41380 Commits ------- dc5c28d Remove deprecation dependency
This PR was merged into the 6.4 branch. Discussion ---------- [Mailer] remove useless `@legacy` annotation | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT this was added in #36148 and the deprecation was later on reverted in #41380 Commits ------- 4b6be4a remove useless `@legacy` annotation
This revert deprecating passing a header without the required Mailgun
h:prefix.And makes the bridge compatible with other bridges.
See: