mssql 12.0.0 → 12.1.0

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 (2) hide show
  1. package/bin/mssql +3 -1
  2. package/package.json +1 -1
package/bin/mssql CHANGED
@@ -30,7 +30,8 @@ async function resolveConfig (opts, cfgFile) {
30
30
  const cfg = Object.entries({
31
31
  options: {
32
32
  encrypt: opts.encrypt,
33
- trustServerCertificate: opts.trustServerCertificate
33
+ trustServerCertificate: opts.trustServerCertificate,
34
+ tdsVersion: opts.tdsVersion
34
35
  },
35
36
  user: opts.user,
36
37
  password: opts.password,
@@ -79,6 +80,7 @@ program
79
80
  .option('--password <password>', 'Password for the database connection')
80
81
  .option('--server <server>', 'Server for the database connection')
81
82
  .option('--database <database>', 'Database for the database connection')
83
+ .option('--tds-version <version>', 'TDS version to use for the database connection')
82
84
  .option('--port <port>', 'Port for the database connection', parseInt)
83
85
  .option('--encrypt', 'Use the encrypt option for this connection', false)
84
86
  .option('--trust-server-certificate', 'Trust the server certificate for this connection', false)
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "azure",
22
22
  "node-mssql"
23
23
  ],
24
- "version": "12.0.0",
24
+ "version": "12.1.0",
25
25
  "main": "index.js",
26
26
  "type": "commonjs",
27
27
  "repository": {