The project now depends on org.clojure/clojure version 1.7.0. It is
still compatible with Clojure 1.4 and if your project.clj depends on
a different version, it will be used, but 1.7 is the default now.
Template rendering exceptions now have a better error message.
Contributed by Lei.
build-email and deliver-email now take extra set of template,
data, content-type for alternative email body. This is useful for
supplying alternative plain-text body in addition to main HTML
body of the message.
(build-email {:from "Joe The Robot", :to ["ops@megacorp.internal" "oncall@megacorp.internal"] :subject "Hello!"}
"templates/html_hello.mustache" {:name "Joe"} :text/html
"templates/hello.mustache" {:name "Joe"} :text/plain)Contributed by Lei.
The project now depends on org.clojure/clojure version 1.6.0. It is
still compatible with Clojure 1.4 and if your project.clj depends on
a different version, it will be used, but 1.6 is the default now.
We encourage all users to upgrade to 1.6, it is a drop-in replacement for the majority of projects out there.
Content type now can be provided as a string as well as a (predefined) keyword, e.g.
(build-email {} "templates/hello.mustache" {} "text/html")Contributed by bpr.
build-email and deliver-email now take an additional
argument, content type, which can be specified as :text/html
to generate an HTML email.
Mailer now depends on org.clojure/clojure version 1.5.1. It is
still compatible with Clojure 1.3 and if your project.clj depends on
a different version, it will be used, but 1.5 is the default now.
We encourage all users to upgrade to 1.5, it is a drop-in replacement for the majority of projects out there.
Mailer now depends on Postal 1.11.1.
Mailer now depends on Clostache 1.3.1.