Skip to content

Releases: Okanjo/okanjo-app-mongo

v3.0.1

29 Mar 17:14

Choose a tag to compare

Use registerServiceConnector instead of directly pushing service connectors

v3.0.0

19 Mar 22:57

Choose a tag to compare

Node v16 Update!

Notable Changes

  • Mongoose v6! breaking changes
  • MongoDB driver update!
  • Updated all dependencies to latest
  • No longer supports Node v10

Pay extra close attention to options usage in queries. Especially when passing long deprecated exec: false, will cause queries to execute immediately.

v2.2.0

23 Jan 21:29

Choose a tag to compare

  • Bumped dependencies
  • CrudService.js: Allow option to change db service from hard set app.dbs
  • MongoService.js: Adjusted reconnect logic to prevent possible crash
  • Updated docs

v2.1.1

18 Sep 16:53

Choose a tag to compare

  • Fixed minor eslint errors

v2.1.0

18 Sep 16:42

Choose a tag to compare

  • Set useUnifiedTopology:true to avoid deprecation warning in mongo driver
  • Updated dependencies to latest
  • Added missing package-lock.json

v2.0.0

21 Mar 14:35

Choose a tag to compare

Breaking Changes:

  • CrudService: all callback functions return promises. Callbacks are optional.
  • CrudService._find no longer returns a query. use CrudService._buildQuery instead.
  • CrudService._createWithRetry signature has changed (is no longer recursive)
  • CrudService._update no longer returns the isModified flag
  • CrudService._delete no longer returns the isModified flag

Additional Changes:

  • Updated dependencies to latest versions (Mongoose 4 -> 5)
  • Removed Yarn
  • Updated eslint config
  • Updated travis testing environments
  • Updated package release files
  • Mongoose.set('useCreateIndex', true); is done automatically
  • Mongo useNewUrlParser: true is done automatically

v1.0.0

20 Nov 20:59

Choose a tag to compare

Initial public release after 7 internal releases.