Skip to content
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.

1.2.0

Latest
Compare
Choose a tag to compare
@Alorel Alorel released this 11 Feb 22:56
· 38 commits to master since this release
1.2.0
  • [feature]: Explicit initialisation is now optional. If initialise() is not called, the default 'IdCounter' collection will be used.
    • This also means that applyPlugin() will no longer throw if initialisation hasn't been performed yet.
  • [feature]: It's now possible to use the plugin via the schema: schema.plugin(MongooseAutoIncrementID.plugin, {modelName: 'MyModel'});
  • [documentation]: Several typos have been fixed.