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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
  3. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "common-rod",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
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.0.0] - 2026-02-16
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