All Versions
94
Latest Version
Avg Release Cycle
17 days
Latest Release
-

Changelog History
Page 10

  • v0.4.0 Changes

    June 25, 2016

    ๐Ÿ‘€ This version contains a couple of breaking changes, mostly due to the introduction of a deliver!/2 (see below):

    • ๐Ÿ›ฐ API-based adapter will now return a slightly different error payload: {:error, {status_code, payload}} instead of {:error, body}
    • deliver/2 will no longer raise if the email validation failed.
    • We now only validate that the From address is present, according to the RFC 5322. This is the lowest common deminotar across all our adapters. This means we will NO longer check that a recipient is present (to, cc, bcc), that the subject is set, or that either of html_body or text_body is set.

    โž• Added

    • โž• Add Sendmail adapter.
    • โž• Add a new deliver!/2 function that will raise in case of an API or SMTP error, or if the email validation failed. In that case a Swoosh.DeliveryError will be raised.
    • โž• Add Logger adapter. This can be useful when you don't want to send real emails but still want to know that the email has been sent sucessfully.
    • โž• Add DKIM support for the SMTP and Sendmail adapter.
    • โž• Add basic integration testing. We are now making real calls to the various providers' API during testing (except Mandrill).

    ๐Ÿ”„ Changed

    • Raise on missing adapter config.
    • ๐Ÿ”จ Refactor Swoosh.Adapters.Local to support configurable storage drivers. For now, only memory storage has been implemented.
    • Generate case-insentitive Message-IDs in Swoosh.Adapters.Local.Storage.Memory. This was previously breaking endpoint with lowercase path rewrite.
    • ๐Ÿšš Move email validation logic to base mailer. We also change the validation to follow the RFC and we now only check that a From email address is set.
    • Bump gen_smtp to 0.11.0.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Show the actual port Plug.Swoosh.MailboxPreview is binding on.
    • โž• Add poison to the list of applications in the mix.exs file.
    • ๐Ÿ– Handle 401 response for Mailgun properly. It's a text response so we don't try to JSON decode it anymore.

    โœ‚ Removed

    • ๐Ÿšš Swoosh.InMemoryMailbox has been removed in favor of Swoosh.Adapters.Local.Storage.Memory. If you were using that โšก๏ธ module directly you will need to update any reference to it.
  • v0.3.0 Changes

    April 20, 2016

    โž• Added

    • โž• Add Swoosh.Email.new/1 function to create Swoosh.Email{} struct.
    • Swoosh.TestAssertions.assert_email_sent/1 now supports asserting on specific email params.

    ๐Ÿ”„ Changed

    • โœ‚ Remove the need for / when setting the Mailgun adapter domain config.
    • Plug.Swoosh.MailboxPreview now formats email fields in a more friendlier way.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Use the sender's name in the From header with the Mailgun adapter.
    • Send custom headers set in %Swoosh.Email{}.headers when using the SMTP adapter.
    • ๐Ÿ‘‰ Use the "Sender" header before the "From" header as the "MAIL FROM" when using the SMTP adapter.
  • v0.2.0 Changes

    March 31, 2016

    โž• Added

    • โž• Add support for runtime configuration using {:system, "ENV_VAR"} tuples
    • โž• Add support for passing config as an argument to deliver/2

    ๐Ÿ”„ Changed

    • Adapters have consistent successful return value ({:ok, term})
    • Only compile Plug.Swoosh.MailboxPreview if Plug is loaded
    • ๐Ÿ˜Œ Relax Poison version requirement (~> 1.5 or ~> 2.0)

    โœ‚ Removed

    • โœ‚ Remove cowboy and plug from the list of applications as they are optional dependencies
  • v0.1.0 Changes

    • ๐ŸŽ‰ Initial version