Liking cljdoc? Tell your friends :D

Changes Between 1.2.0 and 1.3.0

Clojure 1.7 By Default

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.

Changes Between 1.1.0 and 1.2.0

Improved Template Rendering Exceptions

Template rendering exceptions now have a better error message.

Contributed by Lei.

Changes Between 1.0.0 and 1.1.0

Support for alternative email bodies

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.

Clojure 1.6 By Default

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 as a String

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.

Changes Between 1.0.0-alpha3 and 1.0.0

HTML Email Templates

build-email and deliver-email now take an additional argument, content type, which can be specified as :text/html to generate an HTML email.

Clojure 1.5 By Default

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.

Postal Upgrade

Mailer now depends on Postal 1.11.1.

Clostache Upgrade

Mailer now depends on Clostache 1.3.1.

Can you improve this documentation? These fine people already did:
Michael Klishin & Lei
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close