common-rod 2.1.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 +1 -1
- package/readme.md +9 -1
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
package/readme.md
CHANGED
|
@@ -385,10 +385,18 @@ change axios from 0.30.0 to 1.13.5
|
|
|
385
385
|
```
|
|
386
386
|
### Fixed
|
|
387
387
|
|
|
388
|
-
[2.
|
|
388
|
+
[2.1.0] - 2026-03-25
|
|
389
389
|
### Added
|
|
390
390
|
### Changed
|
|
391
391
|
```
|
|
392
392
|
update mongodb dependency to version 7.1.1
|
|
393
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
|
+
```
|
|
394
402
|
### Fixed
|