Releases: brickyang/egg-mongo-native
Releases · brickyang/egg-mongo-native
2018-12-15, Version 3.3.0
2018-05-10, Version 3.2.0
Notable changes
- lib/mongo.js: fix options error when make mongo url
2018-04-07, Version 3.1.0
Notable changes
- index.d.ts: add interface EggAggConfig & fix some typo
2018-01-23, Version 3.0.0-rc
Dependencies Update
- mongodb: 3.0.1
- @types/mongodb: 3.0.3
BREAKING CHANGES
- insertOne: return
insertedIdof typeObjectIDinstead ofstring - insertMany: return
insertedIdsof typeArray<ObjectID>instead ofArray<string> - find: use parameter
args.predictioninstead ofargs.predict - find: can return cursor now (with parameter
returnCursor, default tofalse) - aggregate: parameter
pipelineis now a property ofargsto keep the same pattern with other functions
2018-01-23, Version 2.3.0
Notable changes
- aggregate: support
args.pipelineparameter (recommend), parameterpipelineis deprecated and will not be supported in version 3.x
2018-01-21, Version 2.2.0
Notable changes
- add
.aggregate(name, pipeline) - add
index.d.ts
2017-12-11, Version 2.1.0
Notable changes
- support replica set uri
2017-12-10, Version 2.0.0
Notable changes
- support Egg 2