Fixed issue that most of the tests would always pass incorrectly
Hardened various tests to check for correct property values
Removed deprecated save methods
Changed to deferred indexing of documents so that only documents will be indexed that have successfully been stored in the database. Furthermore, MongoDB performance is not any longer affected by indexing and no data loss will occur in MongoDB in case that the search index is unavailable
"underscore" has been replaced with "lodash" for better performance and stronger checks
renderMapping function has been refactored and simplified so that it is easier to comprehend and debug
Various bug fixes and stronger checks
Additions:
options can now be supplied to registerModel function, which makes it possible to pass elasticsearch "index settings" for index creation
Tests have been added and documentation has been updated
Breaking change:
"modelname" has been renamed to more standard "modelName"
Changes:
Additions:
Breaking change: