Skip to content

Releases: swoosh/phoenix_swoosh

v1.2.1 πŸš€

07 Jan 21:10
41c2422
Compare
Choose a tag to compare

Changes

Maintenance

  • Relax phoenix_html dependency requirement, allowing ~> 4.0

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0 πŸš€

19 Feb 09:59
b89e19c
Compare
Choose a tag to compare

Changes

✨ Features

πŸ“ Documentation

  • Add documentation for custom extension mapping @jswanner (#292)

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

27 Oct 11:00
3060e64
Compare
Choose a tag to compare

Changes

✨ Features

🧰 Maintenance

New Contributors

  • @dkln made their first contribution in #279

Full Changelog: v1.0.1...v1.1.0

v1.0.1 πŸš€

11 Feb 22:30
03ec4e0
Compare
Choose a tag to compare

Changes

🧰 Maintenance

v1.0.0

21 Nov 21:35
Compare
Choose a tag to compare

1.0.0 - 2021-09-25

Added

The setup within a Phoenix is now referred to as the
classic setup.

1.0 adds the ability for the lib to be used outside Phoenix apps.

A new setup that doesn't involve a sparate view module is added and is called the standalone setup.
Both setups can work outsite Phoenix apps thanks to the recently extracted Phoenix.View.

Standalone setup

# path_to/templates/user_notifier/welcome.html.eex
<div>
  <h1>Welcome to Sample, <%= @name %>!</h1>
</div>
# path_to/notifiers/user_notifier.ex
defmodule Sample.UserNotifier do
  use Phoenix.Swoosh,
    template_root: "path_to/templates",
    template_path: "user_notifier"

  # ... same welcome ...
end

In this setup, the notifier module itself serves as the view module

template_root, template_path and template_namespace
will be passed to Phoenix.View as root, path and namespace.

Layout can be setup the same way as
classic setup.


Changelog prior to 1.0 can be found on 0.3.x branch

Help Phoenix Upgrade

21 Aug 08:44
Compare
Choose a tag to compare
v0.3.4

v0.3.4

v0.3.3 πŸš€

21 Aug 08:37
Compare
Choose a tag to compare

Changes

v0.3.2 πŸš€

13 Oct 01:23
Compare
Choose a tag to compare

Changes

✨ Features

  • Set correct body field depending on template format @wmnnd (#154)

v0.3.1 πŸš€

12 Oct 23:49
Compare
Choose a tag to compare

Changes

🧰 Maintenance

Supports Swoosh v1.0

22 Jul 01:31
Compare
Choose a tag to compare
v0.3.0

update requirements