unstale

npm / tedious

tedious

What changed in tedious 3 to 20, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-23.

50 breaking2 security1 deprecations8 new APIs and options3 performance2 behavior and defaults1 tooling20 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

tedious 2027 changes

Breaking changes 2

  • The sprintf-js dependency was removed.

    20.3.6release notes

  • Node.js 22 is now the minimum supported version; Node.js 18, 20, and 21 are no longer supported.

    20.0.0release notes

Security 2

  • Passwords are redacted in Login7 payload debug output.

    20.3.8release notes

  • Rejects TLS downgrades when encryption is required, preventing connections from silently using weaker encryption.

    20.3.7release notes

Deprecations 1

New APIs and options 2

Performance 3

  • Bulk load rows are serialized with an async generator and coalesced into packet-sized chunks, improving performance.

    20.2.3release notes

  • Parsing of date and time values is faster.

    20.0.5release notes

  • Avoids capturing a stack trace in NotEnoughDataError.

    20.0.5release notes

Behavior and default changes 1

  • The max data type and table-valued parameters can now be streamed from async sources.

    20.3.0release notes

Fixes and other changes 16

  • Bulk load errors now include column and row context, making failures easier to identify.

    20.3.10release notes

  • A Binary length of 0 or NaN is resolved from the value.

    20.3.9release notes

  • Sends the PLP terminator when an NVarChar or VarBinary length is missing.

    20.3.5release notes

  • Preserves Unicode across streamed text chunks.

    20.3.4release notes

  • Nagle's algorithm is disabled on the connection socket.

    20.3.3release notes

  • A request can be executed again after it was canceled.

    20.3.2release notes

  • Output parameters are now allowed on prepared statements.

    20.3.1release notes

  • Bulk load serialization errors are now wrapped in InputError.

    20.3.0release notes

  • Token parse failures are surfaced as request errors.

    20.2.2release notes

  • Caps the TLS max send fragment size for connections using encrypt: "strict".

    20.0.7release notes

  • Large DECIMAL/NUMERIC values are serialized without overflow.

    20.0.6release notes

  • SNI is omitted for IP-based hostnames.

    20.0.5release notes

  • Canceled requests are completed when the server does not respond.

    20.0.4release notes

  • Prevents stale errors.

    20.0.3release notes

  • Connection establishment is aborted when the connection is closed.

    20.0.2release notes

  • Prevents a connection from hanging when the Login7 response is interrupted.

    20.0.1release notes

tedious 197 changes

Breaking changes 2

  • AbortSignal handling was cleaned up in a breaking change.

    19.0.0release notes

  • tedious now requires Node.js version 18.17 or later.

    19.0.0release notes

New APIs and options 2

  • Adds the databaseMirroringPartner event handler.

    19.2.0release notes

  • Tedious now supports Azure SQL Database in Microsoft Fabric.

    19.1.0release notes

Fixes and other changes 3

  • The cancel timer is cleared when a connection is cleaned up.

    19.2.2release notes

  • The message stream remains aligned when canceling with a disabled cancel timeout.

    19.2.2release notes

  • The schema is included in TVP type declarations.

    19.2.2release notes

tedious 181 changes

Tooling 1

  • tedious now includes first-party TypeScript definitions, which might differ from those in @types/tedious.

    18.0.0release notes

tedious 171 changes

Breaking changes 1

  • Node.js 16.x and 19.x are no longer supported by tedious.

    17.0.0release notes

tedious 162 changes

Breaking changes 2

tedious 155 changes

Breaking changes 5

  • The default value was removed, and azure-active-directory-password authentication now requires specifying an Azure Application's clientId.

    15.0.0release notes

  • The domain option was removed from azure-active-directory-password authentication and replaced by tenantId.

    15.0.0release notes

  • Node.js 12.x is no longer supported.

    15.0.0release notes

  • The tenantId option replaces domain for azure-active-directory-password authentication.

    15.0.0release notes

  • The default changes from true to false, so encrypted connections may fail if the server certificate cannot be validated against the default CA list.

    9.0.0, 15.0.0release notesrelease notes

tedious 146 changes

Breaking changes 6

  • The addRow method was removed from BulkLoad; pass row data as an Iterable or AsyncIterable instead.

    14.0.0release notes

  • Values for char, nchar, varchar, nvarchar, text, ntext, and uniqueidentifier no longer support automatic type coercion and must be strings.

    14.0.0release notes

  • Constructing a ConnectionError now requires the new keyword.

    14.0.0release notes

  • The getRowStream method was removed from BulkLoad; pass row data as an Iterable or AsyncIterable instead.

    14.0.0release notes

  • Constructing a RequestError now requires the new keyword.

    14.0.0release notes

  • The sspichallenge event was removed from Connection.

    14.0.0release notes

tedious 135 changes

Breaking changes 4

  • The msiEndpoint option is no longer supported for this authentication option.

    13.0.0release notes

  • The msiSecret option is no longer supported for this authentication option.

    13.0.0release notes

  • The msiEndpoint option is no longer supported for this authentication method.

    13.0.0release notes

  • Azure authentication now uses @azure/identity instead of adal-node.

    13.0.0release notes

Behavior and default changes 1

  • Authentication behavior may change when using Azure-specific authentication methods.

    13.0.0release notes

tedious 123 changes

Breaking changes 3

  • Validation of bulk load values is always enabled.

    12.0.0release notes

  • Node.js 10.x is no longer supported; tedious supports only Node.js v12 or newer.

    12.0.0release notes

  • The connection option was removed.

    12.0.0release notes

tedious 111 changes

Breaking changes 1

tedious 103 changes

Breaking changes 2

  • Creating a Connection instance no longer establishes a server connection automatically; call connect or the instance's connect method instead.

    10.0.0release notes

  • The default changes from false to true, enabling BulkLoad parameter validation unless explicitly disabled.

    10.0.0release notes

New APIs and options 1

  • A new helper function provides a way to establish a connection after creating a Connection instance.

    10.0.0release notes

tedious 81 changes

Breaking changes 1

  • Date calculation is independent of timezones and offsets, which can change values written to the database in some edge cases.

    8.0.0release notes

tedious 71 changes

Breaking changes 1

  • The default for enableArithAbort changes to true, affecting how arithmetic, overflow, divide-by-zero, and domain errors are handled and whether transactions are rolled back or execution continues.

    7.0.0release notes

tedious 616 changes

Breaking changes 16

  • The long-deprecated BitN parameter type was removed.

    6.0.0release notes

  • The long-deprecated DateN parameter type was removed.

    6.0.0release notes

  • The long-deprecated DateTime2N parameter type was removed.

    6.0.0release notes

  • The long-deprecated DateTimeOffsetN parameter type was removed.

    6.0.0release notes

  • The long-deprecated DecimalN parameter type was removed.

    6.0.0release notes

  • Support for the deprecated domain authentication option was removed; use the authentication property instead.

    6.0.0release notes

  • Connections are encrypted by default unless encrypt is explicitly set to false; previously, unspecified encrypt fell back to no encryption.

    6.0.0release notes

  • The long-deprecated FloatN parameter type was removed.

    6.0.0release notes

  • The long-deprecated IntN parameter type was removed.

    6.0.0release notes

  • The long-deprecated MoneyN parameter type was removed.

    6.0.0release notes

  • The long-deprecated Null parameter type was removed.

    6.0.0release notes

  • The long-deprecated NumericN parameter type was removed.

    6.0.0release notes

  • Support for the deprecated password authentication option was removed; use the authentication property instead.

    6.0.0release notes

  • The long-deprecated TimeN parameter type was removed.

    6.0.0release notes

  • The long-deprecated UniqueIdentifierN parameter type was removed.

    6.0.0release notes

  • Support for the deprecated userName authentication option was removed; use the authentication property instead.

    6.0.0release notes

tedious 55 changes

Breaking changes 2

New APIs and options 2

  • BulkRequests can now be canceled.

    5.0.0release notes

  • Request-level cancellation methods were added, allowing developers to cancel requests.

    5.0.0release notes

Fixes and other changes 1

  • Socket errors are forwarded to the current request when it is in the SENT_ATTENTION state.

    5.0.0release notes

tedious 42 changes

Breaking changes 1

  • Configuration checks are stricter: deprecated values and types are dropped, many options require values or undefined instead of null, and some options accept actual numbers rather than strings converted to numbers.

    4.0.0release notes

New APIs and options 1

  • Adds a new authentication option to the connection configuration.

    4.0.0release notes

tedious 31 changes

Breaking changes 1

  • Node.js v4.x is no longer supported; upgrade to a newer Node.js version or use an older version of tedious.

    3.0.0release notes