Releases: GetSimpl/amqp_mailer
Releases · GetSimpl/amqp_mailer
changes to support rails 7
v0.4.0
What's Changed
- Update rake requirement from ~> 10.0 to ~> 13.0 by @dependabot in #6
- adding attachment support to AMQP mailer by @vijay9455 in #8
- Fix 1 by @kash3021 in #13
- minor fix by @kash3021 in #14
New Contributors
- @dependabot made their first contribution in #6
- @vijay9455 made their first contribution in #8
- @kash3021 made their first contribution in #13
Full Changelog: v0.3.0...v0.4.0
Payload changes
- Change format for to addresses
- Support preserve_recipients flag (to send one email per recipients or one email for all recipients)
- Support reply_to
Use normal queue
- use normal/priority queue based on param with falling back to normal
Changed default_value of user_id from "-" to nil
- Changed default_value of user_id from "-" to nil
Parsing X-SIMPL-USER-ID to be sent to notifications-service
- Parsing X-SIMPL-USER-ID to be sent to notifications-service
Replace autoload with require
Merge pull request #4 from GetSimpl/fix/autoload Replace autoload with require
Make instances of DeliveryMethod respond to `settings`
Make DeliveryMethod instances respond to `settings` (#3) Mail::Message expects DeliveryMethod to have a `settings` instance method. Without it, we were getting `NoMethodError`, and sidekiq was triggering the same job repeatedly. Since AmqpMailer's DeliveryMethod doesn't need settings, added a dummy settings method
Fixes
- Remove
activesupport
dependency - Let services set
service_id
Initial release
Gem in usable state. Can be used from GitHub directly. Uses its own amqp publishing logic.