LearnBoost/mongoose — pull request #1153 by jessedpate (2012-10-10 16:20:02+00:00)
Title: Addition of [optional] options object to doc.set and support for merge. Fix for #1148

While I know that you still support merging objects with set via doc.set({ ... }), adding an optional options object that supports { merge: true } allows additional flexibility to developers.