saintedlama / mongoose-version

Mongoose plugin to save document data versions. Documents are saved to a "versioned" document collection before saving original documents and kept for later use.
BSD 2-Clause "Simplified" License
144 stars 35 forks source link

Fix for array strategy. Use mongoose instance passed. #22

Closed yitomok closed 8 years ago

yitomok commented 8 years ago

This should fix situation using another major version of mongoose and chose array strategy

And I know nothing about npm, could you publish the latest version (at least after the clone-schema change) to npm?

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.7%) to 90.323% when pulling 911a358393a85a9722a66416bd87e4f73ba29fac on yitomok:master into 20d19001f47ec4455661ad6f81a7a21c3936099e on saintedlama:master.

yitomok commented 8 years ago

@saintedlama Can you take some time to look at this PR, thanks!

saintedlama commented 8 years ago

Merged and released as 1.0.0 :tada: