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

Deprecate unused Spree::Config#mails_from #4712

Merged

Conversation

waiting-for-dev
Copy link
Contributor

Summary

Spree::Config#mails_from setting is not used as the default From: field in transactional emails since 2016. However, the preference still existed albeit being unused. It was also included in the generated spree.rb, something that could mislead users.

After this one is accepted, we need to update the solidus demo & solidus example apps.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

  • I have written a thorough PR description.
  • I have kept my commits small and atomic.
  • I have used clear, explanatory commit messages.

The following are not always needed (cross them out if they are not):

  • [ ] I have added automated tests to cover my changes.
  • [ ] I have attached screenshots to demo visual changes.
  • [ ] I have opened a PR to update the guides.
  • [ ] I have updated the readme to account for my changes.

`Spree::Config#mails_from` setting is not used as the default `From:`
field in transactional emails since 2016 [1]. However, the preference
still existed albeit being unused. It was also included in the generated
`spree.rb`, something that could mislead users.

[1] - solidusio@54d12c2
@github-actions github-actions bot added changelog:solidus_api Changes to the solidus_api gem changelog:solidus_core Changes to the solidus_core gem labels Nov 10, 2022
Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

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

Thanks Marc 🎉

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

👍

@waiting-for-dev waiting-for-dev merged commit 6a732e2 into solidusio:master Nov 11, 2022
@waiting-for-dev waiting-for-dev deleted the waiting-for-dev/deprecate_mails_from branch November 11, 2022 05:06
kennyadsl added a commit to nebulab/solidus that referenced this pull request Mar 28, 2023
Please, use Spree::Store#mail_from_address now.

Ref solidusio#4712
kennyadsl added a commit to nebulab/solidus that referenced this pull request Apr 12, 2023
Please, use Spree::Store#mail_from_address now.

Ref solidusio#4712
kennyadsl added a commit to nebulab/solidus that referenced this pull request Apr 14, 2023
Please, use Spree::Store#mail_from_address now.

Ref solidusio#4712
kennyadsl added a commit to nebulab/solidus that referenced this pull request Apr 18, 2023
Please, use Spree::Store#mail_from_address now.

Ref solidusio#4712
kennyadsl added a commit to nebulab/solidus that referenced this pull request Apr 18, 2023
Please, use Spree::Store#mail_from_address now.

Ref solidusio#4712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_api Changes to the solidus_api gem changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants