Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Emails] Move email managers from Admin and Shop bundles to CoreBundle #15774

Merged
merged 11 commits into from Feb 2, 2024

Conversation

GSadee
Copy link
Member

@GSadee GSadee commented Jan 26, 2024

Q A
Branch? 1.13
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Related tickets
License MIT

@GSadee GSadee added DX Issues and PRs aimed at improving Developer eXperience. Admin AdminBundle related issues and PRs. Shop ShopBundle related issues and PRs. labels Jan 26, 2024
@GSadee GSadee requested a review from a team as a code owner January 26, 2024 14:35
@probot-autolabeler probot-autolabeler bot added the Maintenance CI configurations, READMEs, releases, etc. label Jan 26, 2024
Copy link

github-actions bot commented Jan 26, 2024

Bunnyshell Preview Environment deleted

Available commands:

  • /bns:deploy to redeploy the environment

@GSadee GSadee force-pushed the SYL-3298-deprecate-email-managers branch 2 times, most recently from 6ad46ee to e2572ba Compare February 2, 2024 11:19
@GSadee GSadee requested a review from a team as a code owner February 2, 2024 12:06
@GSadee GSadee force-pushed the SYL-3298-deprecate-email-managers branch from d20b8c4 to 448a428 Compare February 2, 2024 12:10
@GSadee GSadee force-pushed the SYL-3298-deprecate-email-managers branch from 448a428 to 3038c3e Compare February 2, 2024 12:12
Copy link
Contributor

@NoResponseMate NoResponseMate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing info about services' changes in the upgrade, but it can go with the overall upgrade file cleanup.

@NoResponseMate NoResponseMate merged commit cc81365 into Sylius:1.13 Feb 2, 2024
28 checks passed
@NoResponseMate
Copy link
Contributor

Thank you, @GSadee!

@GSadee GSadee deleted the SYL-3298-deprecate-email-managers branch February 5, 2024 06:09
jakubtobiasz added a commit that referenced this pull request Feb 14, 2024
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | #15774                     |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [Admin] Deprecate ShipmentEmailManager and its interface
  [Shop] Deprecate ContactEmailManager and its interface
  Minor improvements for ShipmentEmailManager
  Extract reset password email sending to a dedicated manager
  Extract account registration email sending to a dedicated manager
  Extract account verification email sending to a dedicated manager
  Use OrderEmailManager in SendOrderConfirmationHandler
  Use ShipmentEmailManager in SendShipmentConfirmationHandler
  Remove obsolete functional tests
  Use ContactEmailManager in SendContactRequestHandler
  [ECS] Apply ecs fixes
  Move shop part of account verification template
  [Upgrade] Mention constructor changes in command handlers
  Unify account verification template naming in Shop and Core bundles
  [Email] Move e-mail sending from SendResetPasswordEmailHandler into ResetPasswordEmailManager
  [ApiBundle] Include resource objects checks in the SendAccountVerificationEmailHandler
  [Test] Move isSwiftmailerTestEnv helper function into trait
  [Email] Change verification email subject path
  [Test] Remove swiftmailer test
  [Test] Use new user verification message id
  [Email] Change translation keys regarding user account verification
  [CoreBundle] Add aliases to the new mailer services
  [Refactor] Place the EmailManager construct arguments after the repository arguments within command handler classes
  Update upgrade api file
  Update upgrade file
GSadee pushed a commit to Sylius/SyliusApiBundle that referenced this pull request Mar 11, 2024
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | Sylius/Sylius#15774                     |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [Admin] Deprecate ShipmentEmailManager and its interface
  [Shop] Deprecate ContactEmailManager and its interface
  Minor improvements for ShipmentEmailManager
  Extract reset password email sending to a dedicated manager
  Extract account registration email sending to a dedicated manager
  Extract account verification email sending to a dedicated manager
  Use OrderEmailManager in SendOrderConfirmationHandler
  Use ShipmentEmailManager in SendShipmentConfirmationHandler
  Remove obsolete functional tests
  Use ContactEmailManager in SendContactRequestHandler
  [ECS] Apply ecs fixes
  Move shop part of account verification template
  [Upgrade] Mention constructor changes in command handlers
  Unify account verification template naming in Shop and Core bundles
  [Email] Move e-mail sending from SendResetPasswordEmailHandler into ResetPasswordEmailManager
  [ApiBundle] Include resource objects checks in the SendAccountVerificationEmailHandler
  [Test] Move isSwiftmailerTestEnv helper function into trait
  [Email] Change verification email subject path
  [Test] Remove swiftmailer test
  [Test] Use new user verification message id
  [Email] Change translation keys regarding user account verification
  [CoreBundle] Add aliases to the new mailer services
  [Refactor] Place the EmailManager construct arguments after the repository arguments within command handler classes
  Update upgrade api file
  Update upgrade file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs. DX Issues and PRs aimed at improving Developer eXperience. Maintenance CI configurations, READMEs, releases, etc. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants