swoosh v1.1.0 Release Notes
Release Date: 2020-11-08 // over 3 years ago-
Highlights
The Recipient Protocol enables you to easily make your structs compatible
with Swoosh functions.defmodule MyUser do@derive {Swoosh.Email.Recipient, name: :name, address: :email} defstruct [:name, :email, :other\_props]end
Now you can directly pass
%MyUser{}
tofrom
,to
,cc
,bcc
, etc.
๐ SeeSwoosh.Email.Recipient
for more details.๐ฑ โจ Features
- โ integrate Recipient into Email @princemaple (#545)
- ๐ use Recipient @princemaple (#544)
- โ add Recipient protocol @princemaple (#543)
๐ง ๐งฐ Maintenance
- โฌ๏ธ Bump plug_cowboy from 2.4.0 to 2.4.1 @dependabot (#546)
๐ ๐ Documentation
- โ Add section about Recipient protocol in README @princemaple (#547)