From 00709b0878bb7f1bac393c7784cfc5e48d03f144 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 26 Apr 2024 11:41:48 -0500 Subject: [PATCH 1/2] 2.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8bb7a68de..65ada1479 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sails-mongo", - "version": "2.1.0", + "version": "2.1.1", "description": "Mongo DB adapter for Sails.js/Waterline.", "main": "./lib", "scripts": { From dc056013aa83ce6ec73f9528ee7ad8a58f6dbad3 Mon Sep 17 00:00:00 2001 From: Kelvin Oghenerhoro Omereshone Date: Wed, 21 Aug 2024 17:52:37 +0100 Subject: [PATCH 2/2] feat: add appName to recognized connection options --- lib/private/constants/config-whitelist.constant.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/constants/config-whitelist.constant.js b/lib/private/constants/config-whitelist.constant.js index 533621a61..447d32ede 100644 --- a/lib/private/constants/config-whitelist.constant.js +++ b/lib/private/constants/config-whitelist.constant.js @@ -29,6 +29,6 @@ module.exports = [ 'authMechanism', 'compression', 'fsync', 'readPreferenceTags', 'numberOfRetries', 'auto_reconnect', 'monitorCommands', 'minSize', 'useNewUrlParser', 'useUnifiedTopology', 'localThresholdMS', 'serverSelectionTimeoutMS', 'heartbeatFrequencyMS', 'autoEncryption', - 'driverInfo' + 'driverInfo', 'appName' ];