common-rod 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +2 -2
- package/readme.md +16 -0
package/index.js
CHANGED
|
@@ -732,8 +732,8 @@ async function _connectMongodb(appRodSession, mongoConf){
|
|
|
732
732
|
let MongoClient = require('mongodb').MongoClient;
|
|
733
733
|
let opt = mongoConf.connection_string || {};
|
|
734
734
|
Object.assign( opt, {
|
|
735
|
-
useNewUrlParser: true,
|
|
736
|
-
useUnifiedTopology: true,
|
|
735
|
+
// useNewUrlParser: true,
|
|
736
|
+
// useUnifiedTopology: true,
|
|
737
737
|
maxPoolSize: 10,
|
|
738
738
|
serverSelectionTimeoutMS:10000 //timeout for driver connect to mongo
|
|
739
739
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "common-rod",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"express": "^4.17.1",
|
|
20
20
|
"js-yaml": "^3.14.0",
|
|
21
21
|
"lodash": "^4.17.20",
|
|
22
|
-
"mongodb": "^
|
|
22
|
+
"mongodb": "^7.1.1",
|
|
23
23
|
"randomstring": "^1.1.5",
|
|
24
24
|
"swagger-ui-express": "^4.1.4"
|
|
25
25
|
}
|
package/readme.md
CHANGED
|
@@ -383,4 +383,20 @@ change axios from 0.21.4 to 0.30.0
|
|
|
383
383
|
```
|
|
384
384
|
change axios from 0.30.0 to 1.13.5
|
|
385
385
|
```
|
|
386
|
+
### Fixed
|
|
387
|
+
|
|
388
|
+
[2.1.0] - 2026-03-25
|
|
389
|
+
### Added
|
|
390
|
+
### Changed
|
|
391
|
+
```
|
|
392
|
+
update mongodb dependency to version 7.1.1
|
|
393
|
+
```
|
|
394
|
+
### Fixed
|
|
395
|
+
|
|
396
|
+
[2.1.1] - 2026-03-25
|
|
397
|
+
### Added
|
|
398
|
+
### Changed
|
|
399
|
+
```
|
|
400
|
+
Comment out deprecated MongoDB connection options in _connectMongodb function
|
|
401
|
+
```
|
|
386
402
|
### Fixed
|