Validateur is a functional validations library inspired by Ruby’s ActiveModel. Validateur 1.6 contains a usability improvement and drops Clojure 1.3 support.

Changes between Validateur 1.5.0 and 1.6.0

Corrected logic in blank/nil validations

Corrected the logic in the allowed-to-be-blank functions to properly allow nil values when allow-nil is true, but allow-blank is false. Previously, both allow-blank and allow-nil had to be set to true to allow nil values due to clojure’s blank? function returning true for nil.

Contributed by Wes Johnson.

Clojure 1.3 No Longer Supported

Clojure 1.3 is no longer supported by Validateur.

Change Log

We recommend all users to upgrade to 1.6.0.

Validateur change log is available on GitHub.

Thank You, Contributors

Wes Johnson contributed key improvements in this release.

Validateur is a ClojureWerkz Project

Validateur is part of the group of libraries known as ClojureWerkz, together with

  • Langohr, a Clojure client for RabbitMQ that embraces the AMQP 0.9.1 model
  • Monger, a Clojure MongoDB client for a more civilized age
  • Elastisch, a minimalistic Clojure client for ElasticSearch
  • Cassaforte, a Clojure Cassandra client built around CQL
  • Neocons, a client for the Neo4J REST API
  • Welle, a Riak client with batteries included
  • Quartzite, a powerful scheduling library

and several others. If you like Validateur, you may also like our other projects.

Let us know what you think on Twitter or on the Clojure mailing list.

About The Author

Michael on behalf of the ClojureWerkz Team