Closed dependabot[bot] closed 1 month ago
Mailer method changed, specs breaking as a result
https://github.com/aws/aws-sdk-rails?tab=readme-ov-file#override-credentials-or-other-client-options
# config/initializers/aws.rb
Aws::Rails.add_action_mailer_delivery_method(:aws_ses) # should switch to :ses or :sesv2 instead
# config/environments/production.rb
config.action_mailer.delivery_method = :aws_ses # same
Info on V1 vs V2: https://aws.amazon.com/blogs/messaging-and-targeting/upgrade-your-email-tech-stack-with-amazon-sesv2-api/#:~:text=Why%20migrate%20to%20Amazon%20SESv2%20API%3F
Logic used to be:
if name == :sesv2
add_delivery_method(name, Aws::Rails::Sesv2Mailer, client_options)
else
add_delivery_method(name, Aws::Rails::SesMailer, client_options)
(now instead requires :ses
or :sesv2
and otherwise performs raise ArgumentError, "Unknown action mailer delivery method: #{name}"
for unknown entries)
so we should probably migrate to :ses
for equal behavior
Bumps aws-sdk-rails from 3.13.0 to 4.0.2.
Release notes
Sourced from aws-sdk-rails's releases.
Changelog
Sourced from aws-sdk-rails's changelog.
Commits
366f1ad
Bumped version to v4.0.2a7810fa
Check if action mailbox config is defined (#135)8ff5279
Consolidate the loading of modules related to AWS SQS ActiveJob (#134)a61a580
Fix rubocopdf84bed
Simplify CI5d8be4f
Added next release section to the changelog. [ci skip]9e2cc76
Bumped version to v4.0.14ba9d91
Require action mailbox engine by default (#132)c1c1e89
Added next release section to the changelog. [ci skip]a641c3a
Bumped version to v4.0.0Dependabot 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 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