Hi olivier.duclos, I've already done
this "support MongoDB 3.0" stuff here:
https://github.com/alexbyk/mango.
You can at least copy/paste some code and save you time. Because
I've made a little refactoring and going to make more it will be
hard to just merge it with your or other fork (because a lot has
been rewritten in this 3 days). But since your fork doesn't
contain any functional changes, you can just track all of mine,
just before I started to use Dist::ZIlla
In short now Mango:
a) Supports MongoDB 3.0+
b) Supports different auth.mechs via plugins, so doesn't require
external dependencies, but the functionality can be extended with
them
c) Ships with SCRAM-SHA1 authentication plugin and supports
SCRAM-SHA1 authentication with optional dependency.
d) The support of MongoDB < 3.0 was dropped. Supporting both
versions is simple, it requires a few more lines of code. But
because I don't use it and looks like no one is interested in it,
I consider those extra lines a wasting of bytes. But you can
provide it back because of b feature) - just made a plugin that
supports deprecated
MONGODB-CR.
e) Enhances a security. This explains why my fork isn't 100%
backward compatible. But this isn't a problem. I just deleted a
part which I considered as vulnerable. So 99.9% cases will work
without modification, and other 0.1% (if there is that 0.1% which
requires modifications) contains a kind of security problems and
should be fixed in the first place.
I've made a ticked a few days ago in your repo - we can move this
discussion there, check it out