Validateur is a functional validations library inspired by Ruby’s ActiveModel.
Validateur 2.0 is a feature release.
Changes Between 1.7.0 and 2.0.0
Validateur 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.
Validator Predicates (Guards)
It is now possible to wrap a validator into a function
that will check a condition before applying the validator.
clojurewerkz.elastisch.aggregation is a new namespace that contains
helper functions that produce various types of aggregations. Just like
clojurewerkz.elastisch.query, all of the functions return maps and
clojurewerkz.elastisch.rest.response/aggregations-from is a new function
that returns aggregations from a search response:
langohr.http/list-enabled-protocols is a new function that lists
the protocols a RabbitMQ installation supports, e.g. "amqp" or "mqtt".
Note that this currently does not include WebSTOMP (due to certain technical decisions
in RabbitMQ Web STOMP plugin).
(require'[clojurewerkz.elastisch.rest.document:asdoc])(doc/analyze"foo bar baz")(doc/analyze"foo bar baz":index"some-index-name")(doc/analyze"foo bar baz":analyzer"whitespace")(doc/analyze"foo bar baz":tokenizer"keyword":filters"lowercase")(doc/analyze"foo bar baz":index"some-index-name":field"some-field-name")
Contributed by Joachim De Beule
Query String Escaping
clojurewerkz.elastisch.query/query-string accepts a new option, :escape-with,
which is a function that performs escaping of special characters in query string
By default clojurewerkz.elastisch.escape/escape-query-string-characters is used.
Contributed by Ben Reinhart (Groupon).
ElasticSearch Native Client Upgrade
Elastisch now depends on ElasticSearch native client version 1.0.1.
clj-http dependency has been upgraded to version 0.9.0.
1.0.0-beta5 is a development milestone release that updates
Reactor to 1.1.0.M1 and includes
a few bug fixes and minor API refinements.
Changes between 1.0.0-beta4 and 1.0.0-beta5
Previously Meltdown instantiated a new Environment per
clojurewerkz.meltdown.reactor/create invocation without
a provided environment. This lead to excessive thread creation
which could eventually exhaust system resources.
Meltdown 1.0.0-beta5 will reuse the same environment for
all created reactors unless its asked to use a specific
clojurewerkz.meltdown.env/environment is a function that returns
a shared environment. To create a completely new environment from
scratch, use clojurewerkz.meltdown.env/create.
clojurewerkz.meltdown.env/shutdown shuts down environments and
all associated dispatchers.
clojurewerkz.meltdown.fn/->filter is a new function that reifies
Reactor filters from Clojure functions.
Changes between 1.0.0-beta3 and 1.0.0-beta4
clojurewerkz.meltdown.streams/fn->predicate are removed, use
Stream operations are now lazier in Reactor. To enforce stream
sources to be drained, use clojurewerkz.meltdown.streams/flush
which accepts a stream or deferred.
Reactor is updated to 1.1.0.M1 which has multiple breaking API
ClojureWerkz Mailer is an
ActionMailer-inspired mailer library for Clojure. It combines
Clostache and a number of its own
features and conventions to make delivering complex template-based
emails as painless as possible.
Why Use Mailer
All the building blocks to make email rendering and delivery easy in
Clojure have been in place for a while, Mailer simply combines them
and brings in some time tested ideas from Action Mailer.