Skip to content

Latest commit

 

History

History
106 lines (79 loc) · 2.87 KB

File metadata and controls

106 lines (79 loc) · 2.87 KB

0.11.0 (2026-03-28)

Changes

  • update to Moleculer v0.15 compatibility
  • migrate tests from createService(schema, schemaMods) to mixin pattern
  • update minimum Node.js version to 22
  • update moleculer devDependency to ^0.15.0

0.9.3 (2023-07-15)

Changes

  • support virtual field population in mongoose adapter #354

0.9.2 (2023-02-11)

Changes

  • fix constructor signature of MongoDB adapter in TypeScript #346
  • update mongoose to 6.9.0 #347

0.9.0 (2022-10-23)

Changes

support mongoose@6.x.x by @devalexandre in #324


0.8.9 (2020-11-16)

Changes

fix mongoose stuck after broker.stop #233


0.8.8 (2020-09-27)

Changes

fix connection error if there is more than one service #222


0.8.6 (2020-06-18)

Changes

Add support for searchFields parameter #197


0.8.0 (2019-07-07)

Changes

Mongoose connection logic has been changed. No need to update existing codes.


0.7.0 (2018-04-08)

Breaking changes

Dependency mongoose moved to peer dependencies. It means you should install mongoose in your project.

New install script

$ npm install moleculer-db moleculer-db-adapter-mongoose mongoose --save

0.6.0 (2018-03-28)

Breaking changes

  • Update mongoose to v5.0.12
  • Changed constructor signature

Example with connection URI

new MongooseAdapter("mongodb://127.0.0.1/moleculer-db")

Example with URI and options

new MongooseAdapter("mongodb://db-server-hostname/my-db", {
    user: process.env.MONGO_USERNAME,
    pass: process.env.MONGO_PASSWORD
    keepAlive: true
})

0.2.0 (2017-07-06)

Breaking changes

Update methods to moleculer-db v0.2.0

  • findAll renamed to find
  • update renamed to updateMany
  • remove renamed to removeMany