How is Monger Licensed?

Starting with version 1.6, Monger is double-licesned under the [Eclipse Public License 1.0]( (the same as Clojure) and Apache Public License.

Earlier versions are licensed under the [Eclipse Public License 1.0](

What Clojure Versions Are Supported?

Monger requires Clojure 1.4+.

What MongoDB Versions Are Supported?

Monger tries to use the most recent MongoDB Java driver available under the hood and thus supports MongoDB 2.0 and later versions. Please note that some features may be specific to MongoDB 2.2, 2.4 or other releases.

Why Not Contribute to [insert an existing Clojure MongoDB driver name]?

There is one MongoDB client for Clojure that has been around since 2009. So, why create another one? Monger authors wanted a client that will

  • Support most of MongoDB 2.0+ features but only those that really matter.
  • Be well documented.
  • Be well tested.
  • Be maintained, do not carry technical debt from 2009 forever.
  • Target Clojure 1.3.0 and later from the ground up.
  • Integrate with libraries like, clojure.core.cache and clj-time (Joda Time).
  • Provide support for unit testing: factories/fixtures DSL, collection cleaner functions, clojure.test integration and so on.
  • Support URI connections to be friendly to Heroku and other PaaS providers.
  • Integrate usage of JavaScript files and ClojureScript (as soon as ClojureScript compiler is ready for embedding).

We could not see how we could do this by contributing to an existing library with certain technical debt accumulated over 2+ years and many existing applications depending on its APIs not changing in any significant way. In August 2011 when Monger was started, it wasn't yet time to make CongoMongo move all the way to Clojure 1.3.0 (which was in alpha-beta release stage at the time).

Tell Us What You Think!

Please take a moment to tell us what you think about this guide on Twitter or the Monger mailing list

Let us know what was unclear or what has not been covered. Maybe you do not like the guide style or grammar or discover spelling mistakes. Reader feedback is key to making the documentation better.

comments powered by Disqus