unstale

npm / mssql

mssql

What changed in mssql 11 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

7 breaking4 security7 new APIs and options1 behavior and defaults45 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

mssql 1263 changes

Breaking changes 6

  • Requests are rejected when their errors do not end the batch.

    12.7.5release notes

  • Adds support for tedious 20 and removes the TVP schema workaround.

    12.7.0release notes

  • Node.js >=18.19.0 is now required to use this release.

    12.4.0release notes

  • Prepared-statement tracing channels are now nested under the ps namespace.

    12.4.0release notes

  • The msnodesqlv8 driver now treats bigint as a string.

    12.2.3release notes

  • Removes the default value from the CLI flag, so the TDS version is no longer supplied by default.

    12.1.0release notes

Security 4

New APIs and options 7

  • Requests can now set their own requestTimeout instead of relying only on the configured timeout.

    12.5.0release notes

  • The CHANNELS constant is exported from the public API so developers can access diagnostics channel names.

    12.4.0release notes

  • Connection creation, destruction, and abort now emit diagnostics events.

    12.4.0release notes

  • Adds a socket-level pool validation mode.

    12.3.0release notes

  • You can provide a specific config.driver for msnodesqlv8.

    12.2.0release notes

  • Adds the --tds-version flag to the CLI so developers can specify the TDS version.

    12.1.0release notes

  • Prepares the tedious connection pool to receive tdsVersion, allowing the TDS version to be passed through.

    12.1.0release notes

Behavior and default changes 1

  • Tracing channel coverage now includes the callback API.

    12.4.0release notes

Fixes and other changes 45

mssql 111 changes

Breaking changes 1

  • Rejects type metadata that escapes a parameter declaration.

    11.0.2release notes