This repository was archived by the owner on Aug 5, 2025. It is now read-only.
Open
Conversation
3df0033 to
c33d504
Compare
c33d504 to
ba616b6
Compare
ba616b6 to
1b7d262
Compare
Dependency update (patch)
1b7d262 to
de4ecd4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.0->10.0.4Release Notes
tediousjs/node-mssql (mssql)
v10.0.4Compare Source
[fix] revert accidental upgrade of tedious & bigint support (#1665)
v10.0.3Compare Source
[fix] support use of native bigint from tedious (#1664)
v10.0.2Compare Source
[fix] from now _acquire return always a promise to avoid uncatchable exception (#1592)
v10.0.1Compare Source
[perf] use
node:prefix to bypass require.cache call for builtins (#1550)v10.0.0Compare Source
[change] Upgrade tedious to v16 (#1547)
[removed] Removed NodeJS 14 support (#1547)
v9.3.2Compare Source
[fix] Fix bug with msnodesqlv8 connection strings ((#1525)[https://github.com/tediousjs/node-mssql/pull/1525](https://redirect.github.com/tediousjs/node-mssql/pull/1525)5])
v9.3.1Compare Source
Revoked - contained breaking changes
v9.3.0Compare Source
[new] Add AAD connection support to connection strings ((#1461)[https://github.com/tediousjs/node-mssql/pull/1461](https://redirect.github.com/tediousjs/node-mssql/pull/1461)1])
v9.2.1Compare Source
[fix] Fix bug with msnodesqlv8 connection strings ((#1525)[https://github.com/tediousjs/node-mssql/pull/1525](https://redirect.github.com/tediousjs/node-mssql/pull/1525)5])
v9.2.0Compare Source
[new] Use @tediousjs/connection-string library to build msnodesqlv8 connection strings ((#1525)[https://github.com/tediousjs/node-mssql/pull/1525](https://redirect.github.com/tediousjs/node-mssql/pull/1525)5])
v9.1.3Compare Source
[fix] Escape values that are added to the msnodesqlv8 connection string that we construct ((#1479)[https://github.com/tediousjs/node-mssql/pull/1479](https://redirect.github.com/tediousjs/node-mssql/pull/1479)9])
v9.1.2Compare Source
[fix] Support more named instance formats (#1520)
[refactor] Stop using deprecated regex symbols (#1520)
v9.1.1Compare Source
[revert] Add support for AAD authentication via connection string ((#1436)[https://github.com/tediousjs/node-mssql/pull/1436](https://redirect.github.com/tediousjs/node-mssql/pull/1436)6])
v9.1.0Compare Source
[new] Add support for AAD authentication via connection string ((#1436)[https://github.com/tediousjs/node-mssql/pull/1436](https://redirect.github.com/tediousjs/node-mssql/pull/1436)6])
[docs] Update express example ((#1433)[https://github.com/tediousjs/node-mssql/pull/1433](https://redirect.github.com/tediousjs/node-mssql/pull/1433)3])
v9.0.1Compare Source
[fix] fix regression in requestTimout option not accepting
0as a value (#1421)v9.0.0Compare Source
[change] Upgrade tedious to v15 (#1417)
[removed] Removed NodeJS 10 & 12 support (#1417)
v8.1.4Compare Source
[fix] fix regression in requestTimout option not accepting
0as a value (#1421)v8.1.3Compare Source
[fix] requestTimeout correctly resolved (#1398)
[fix] Forcibly deny use of
useColumnNamestedious config option that can be passed in the config object (#1416)v8.1.2Compare Source
[fix] quote identifiers in table constraint declaration (#1397)
v8.1.1Compare Source
[fix] quote identifiers in table primary keys (#1394)
v8.1.0Compare Source
[new] MSSQL CLI tool now accepts some options to allow overriding config file ((#1381][https://github.com/tediousjs/node-mssql/pull/1381](https://redirect.github.com/tediousjs/node-mssql/pull/1381)1))
[fix] nodemsqlv8 driver tests working against Node 10 (#1368)
v8.0.2Compare Source
Merge up missing fixes from v7.3.0
[new] Transaction/PreparedStatements expose the config from their parent connection (#1338)
[fix] Fix inherited request configs from the pool. Specifically stream and arrayRowMode now inherit accurately from the connection config (#1338)
v8.0.1Compare Source
Re-release of v8.0.0
v8.0.0Compare Source
[new] Add table.rows.clear() method to allow for chunking updates (#1094)
[new] Add valueHandler map to store callbacks that are used to process row values (#1356)
[change] msnodesqlv8 driver detects os platform and attempts to pick correct connections string for it ((#1318)[https://github.com/tediousjs/node-mssql/pull/1318](https://redirect.github.com/tediousjs/node-mssql/pull/1318)8])
[change] Updated to latest Tedious 14 ((#1312)[https://github.com/tediousjs/node-mssql/pull/1312](https://redirect.github.com/tediousjs/node-mssql/pull/1312)2])
[change] Errors for bad bulk load parameters have slightly different error messages ((#1318)[https://github.com/tediousjs/node-mssql/pull/1318](https://redirect.github.com/tediousjs/node-mssql/pull/1318)8])
[change] Options provided to the driver via the config.options object will not be overridden with other values if set explicitly ((#1340)[https://github.com/tediousjs/node-mssql/pull/1340](https://redirect.github.com/tediousjs/node-mssql/pull/1340)0])
[change] Duplicate column names will now be presented as an array even if the values are empty ((#1240)[https://github.com/tediousjs/node-mssql/pull/1240](https://redirect.github.com/tediousjs/node-mssql/pull/1240)0])
[change] Update tarn pool dependency ((#1344)[https://github.com/tediousjs/node-mssql/pull/1344](https://redirect.github.com/tediousjs/node-mssql/pull/1344)4])
[removed] Remove connection string parser helpers ((#1342)[https://github.com/tediousjs/node-mssql/pull/1342](https://redirect.github.com/tediousjs/node-mssql/pull/1342)2])
[removed] Remove deprecated pool properties ((#1359)[https://github.com/tediousjs/node-mssql/pull/1359](https://redirect.github.com/tediousjs/node-mssql/pull/1359)9])
v7.3.5Compare Source
[fix] quote identifiers in table constraint declaration (#1397)
v7.3.4Compare Source
[fix] msnodesqlv8.js file was missing from previous release
v7.3.3Compare Source
Duplicate tag
v7.3.2Compare Source
[fix] nodemsqlv8 driver tests working against Node 10 (#1368)
[fix] quote identifiers in table primary keys (#1394)
v7.3.1Compare Source
[fix] Bump debug dependency (#1361)
v7.3.0Compare Source
[new] Transaction/PreparedStatements expose the config from their parent connection (#1338)
[fix] Fix inherited request configs from the pool. Specifically stream and arrayRowMode now inherit accurately from the connection config (#1338)
v7.2.1Compare Source
[fix] Fix issue with bulk insert of dates ((#1298)[https://github.com/tediousjs/node-mssql/pull/1298](https://redirect.github.com/tediousjs/node-mssql/pull/1298)8])
v7.2.0Compare Source
[new] Update Geography field parsing to provide lat/lng props from Geography Point ((#1282)[https://github.com/tediousjs/node-mssql/pull/1282](https://redirect.github.com/tediousjs/node-mssql/pull/1282)2])
[fix] Handle errors when adding rows to bulk operations ((#1264)[https://github.com/tediousjs/node-mssql/pull/1264](https://redirect.github.com/tediousjs/node-mssql/pull/1264)4])
[fix] Input/Output parameter passing fix for msnodesqlv8 driver ((#1275)[https://github.com/tediousjs/node-mssql/pull/1275](https://redirect.github.com/tediousjs/node-mssql/pull/1275)5])
v7.1.3Compare Source
[fix] Request timeout settings now respect value parsed from connection strings ((#1257)[https://github.com/tediousjs/node-mssql/pull/1257](https://redirect.github.com/tediousjs/node-mssql/pull/1257)7)
v7.1.2Compare Source
v7.1.1Compare Source
[fix] Errors from tedious connection creation now cause connection promise to reject ((#1254)[https://github.com/tediousjs/node-mssql/pull/1254](https://redirect.github.com/tediousjs/node-mssql/pull/1254)4])
[fix] Encrypt and transaction binding settings now respect value parsed from connection strings ((#1252)[https://github.com/tediousjs/node-mssql/pull/1252](https://redirect.github.com/tediousjs/node-mssql/pull/1252)2)
v7.1.0Compare Source
[new] Add
parseJSONsupport to query strings[fix] Bump various dependencies for security fixes
v7.0.0Compare Source
[new] Result sets with duplicate keys can now be handled using
request.arrayRowMode(#1130)[new] Requests in stream mode now emit a
rowsaffectedevent (#1213)[new] msnodesqlv8 driver now has detailed error support (#1212)
[new] Connection validation checks before releasing connections from the pool. This can be turned of via
validateConnection: falseconfig option (#1192)[new] UseUTC is now supported on msnodesqlv8 connections (#1222)
[change] Updated to latest Tedious 11
[change] Updated tarnjs to v3
[change] Updated to support latest msnodesqlv8 v2 (#1157)
[change] Piped streams no longer have errors forwarded on to them (#1028)
[change] tedious config option
trustServerCertificatedefaults tofalseif not supplied (#1030)[change] Request.pipe now pipes a true node stream for better support of backpressure (#1078)
[change] drop support for NodeJS < 10 (#1070)
[fix] Ensure line endings are unix style (LF)
[fix] Avoid using deprecated
.inspecton Objects (#1071)[fix] Bump various dependencies for security fixes (#1102)
[fix] Trailing rows from request streams using msnodesqlv8 driver fail to be emitted (#1109)
[fix] Issue with geography v2 parsing resolve (#1138)
[fix] Connection config objects are now deep cloned when stored against a connection pool (#1217)
[removed] Support for connection uri format has been removed (eg:
mssql://user:password@host/?params=values)v6.4.1Compare Source
[fix] Bump debug dependency (#1361)
v6.4.0Compare Source
[new] Transaction/PreparedStatements expose the config from their parent connection
[fix] Fix inherited request configs from the pool. Specifically stream and arrayRowMode now inherit accurately from the connection config (#1338)
v6.3.2Compare Source
[fix] Bump various dependencies for security fixes
v6.3.1Compare Source
[fix] Ensure line endings are unix style (LF)
v6.3.0Compare Source
[new] Result sets with duplicate keys can now be handled using
request.arrayRowMode(#1130)[fix] Issue with geography v2 parsing resolve (#1138)
[fix] Fixed issue where msnodesqlv8 could sometimes terminate queries before all errors has been emitted causing queries to hang (#1145)
v6.2.3Compare Source
[fix] Remove reference to global pool on connection error (#1107)
[fix] Trailing rows from request streams using msnodesqlv8 driver fail to be emitted (#1109)
v6.2.2Compare Source
[fix] Avoid using deprecated
.inspecton Objects (#1071)[fix] Bump various dependencies for security fixes (#1102)
v6.2.1Compare Source
[fix] Bump various dependencies for security fixes
v6.2.0Compare Source
[new] Set default isolationLevel for all transactions (#1005)
[new] sql.Date now is coerced into a date object (#1007)
[fix] Bump acorn dependency for security fix
v6.1.0Compare Source
[new] Add
Request.templatehelper for providing templated strings to queries (#960)[new] Repeat calls to
ConnectionPool.connect()resolve (#941)[new] Stored procedure params are now logged to debug log (#979)
[fix] Repeat calls to
mssql.connect()will now resolve correctly (#986)[fix] Connections are encrypted by default as documented (#977)
[fix] Tagged template literal queries with empty array values now work (#990)
v6.0.1Compare Source
[fix] Fix an issue with connection strings where usernames have url encoded values (#945
v6.0.0Compare Source
[fix] Fixed bug when trying to bulk insert columns that were
NVarChar(MAX)(#901)[fix] Fixed an issue where Object prototype pollution could cause errors (#879)
[fix] Fixed an issue where Request.input didn't validate against 0 parameters being passed (#885)
[new] Implement pause/resume for msnodesqlv8 driver (#877)
[new] Added
healthyflag to the pool to help determine if the pool is safe to use or not (#816)[new] Invalid isolation levels passed to transactions will now throw an error
[new] Duplicate parameter names in queries/stored procedures will now throw an error
[new]
replaceInputandreplaceOutputfunctions added toRequestandPreparedStatementto facilitate replacing existing parameters[new] Calls to the global
connectfunction will return the global connection if it exists[new] Bulk table inserts now attempt to coerce Date objects out of non Date values
[change] Closing the global connection by reference will now cleanup the internally managed globalConnection
[change] Upgraded tedious to v6 (#818 and #933)
[change] Upgraded msnodesqlv8 support to v0.7 (#877)
[change] Remove references to deprecated
TYPES.Nullfrom tedious[change]
options.encryptis now set to true by default[change] Upgraded
debugdependency to v4[change] Config objects are cloned so that the original object is not modified
[change] Replaced pool library (
generic-pool) withtarn.js(#808)[removed] Backoff try strategy for creating connections removed,
tarn.jsbuilt-in retry strategy used insteadv5.1.5Compare Source
[fix] Bump various dependencies for security fixes
v5.1.4Compare Source
[fix] Ensure line endings are unix style (LF)
v5.1.3Compare Source
[fix] Avoid using deprecated
.inspecton Objects (#1071)[fix] Bump various dependencies for security fixes (#1102)
v5.1.2Compare Source
[fix] Bump various dependencies for security fixes
v5.1.1Compare Source
[fix] Bump acorn dependency for security fix
v5.1.0Compare Source
[new] Add readOnlyIntent to connection string parser (#853)
v5.0.6Compare Source
[fix] Ensure callbacks don't block the event loop by executing them with
setImmediate(#855)v5.0.5Compare Source
[fix] Fix an issue where connections that error can deplete the pool (#842)
v5.0.4Compare Source
[fix] Fix a bug where msnodesqlv8 driver could execute callbacks twice (#834)
[fix] npm audit fix on vulnerable dependencies
v5.0.3Compare Source
[fix] Fix a bug with streamed requests that start paused (#833)
v5.0.2Compare Source
[change] Remove references to deprecated
TYPES.Nullfrom tediousv5.0.1Compare Source
[change] Config objects are cloned so that the original object is not modified
v5.0.0Compare Source
[new] Added pause / resume feature to streamed requests (#775)
[new] Added options argument to bulk requests for compatibility with tedious driver
[new] Added a backoff retry strategy for failed connection creation to mitigate issue with
generic-poolconnection creation logic (#806[change] Updated to latest Tedious 4.1.1
[removed] Node.js < 6 is no longer supported
[removed] Support dropped for deprecated tedious configuration values and types
v4.3.9Compare Source
[fix] Bump various dependencies for security fixes
v4.3.8Compare Source
[fix] Bump acorn dependency for security fix
v4.3.7Compare Source
[fix] Fix an issue where connections that error can deplete the pool (#842)
v4.3.6Compare Source
[fix] Fix a bug where msnodesqlv8 driver could execute callbacks twice (#834)
[fix] Bump js-yaml dependency for security fix
v4.3.5Compare Source
[change] Remove references to deprecated
TYPES.Nullfrom tediousv4.3.4Compare Source
[change] Config objects are cloned so that the original object is not modified
v4.3.3Compare Source
[change] Updated to latest generic-pool 3.6.1
v4.3.2: Bump to dependencyCompare Source
v4.3.1Compare Source
generic-poolfixv4.3.0Compare Source
[new] Add beforeConnect handler
[change] Interpret connection timeout in seconds (not milliseconds)
v4.2.3Compare Source
[new] Add info event for execute function
[fix] Fix JSON parsing with empty recordsets
[new] Array / string literal template query preparation fixes
[new] Passing encrypt option from mssql connection options to tedious options
[change] Return the _poolDestroy promise before connecting again
v4.2.2Compare Source
[change] Updated to latest Tedious 2.7.1
v4.2.1Compare Source
[fix] Fix connections in the pool depleting due to unfulfilled Promises and timeouts
[change] Updated to latest Tedious 2.6.4
v4.2.0Compare Source
[new] Added TVP support for msnodesqlv8 driver
[new] Added support for information messages in msnodesqlv8 driver
[new] Added support for request cancellation in msnodesqlv8 driver
[fix] Fixed Tedious deprecation warnings
[fix] Fixed ResourceRequest timed out error
[fix] All query and batch methods now have the same interface
[fix] Fixed msnodesqlv8 issue where the encrypt option was getting ignored
[change] Updated to latest Tedious 2.3.1
v4.1.0Compare Source
[new] Adding support for the MultiSubnetFailover option in connection strings (Paul Kehrer)
[new] Add request timeout support for msnodesqlv8 queries (Michael Parque)
[fix] Fix type inference of non-integer numbers (Andrew Crites)
[fix] Set acquireTimeout on generic pool (Karl Wiggisser)
v4.0.4Compare Source
[fix] Fix auto-closing of idle connections
v4.0.3Compare Source
[fix] Fixed broken CLI & debugging
v4.0.2Compare Source
[fix] Fixed broken JSON parser
v4.0.1Compare Source
[fix] Fixed stream in pipe mode
v4.0.0Compare Source
[new] Completly rewritten to ES6
[new] Library is now compatible with Webpack
[new] Library is ready for async/await
[change] Removed support for < Node.js 4
[change] Removed support for outdated node-tds and msnodesql drivers
[change] Removed require('mssql/nofix') syntax
[change] Removed verbose and debug mode
[change] Removed 'driver' from options
[change] Removed Transaction and Prepared Statement queues
[change] Removed 'multiple' directive
[change] Connection renamed to ConnectionPool
[change] Updated to latest Tedious 2.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.