npm / tedious
tedious
What changed in tedious 19 to 20, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
2 breaking2 security1 deprecations4 new APIs and options3 performance1 behavior and defaults17 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittedious 2025 changes
Breaking changes 2
The sprintf-js dependency was removed.
Node.js 22 is now the minimum supported version; Node.js 18, 20, and 21 are no longer supported.
Security 2
Passwords are redacted in Login7 payload debug output.
Rejects TLS downgrades when encryption is required, preventing connections from silently using weaker encryption.
Deprecations 1
TDS 7.1 support is deprecated.
New APIs and options 2
Adds support for the COLINFO token.
Adds support for the TABNAME token.
Performance 3
Bulk load rows are serialized with an async generator and coalesced into packet-sized chunks, improving performance.
Parsing of date and time values is faster.
Avoids capturing a stack trace in NotEnoughDataError.
Behavior and default changes 1
The max data type and table-valued parameters can now be streamed from async sources.
Fixes and other changes 14
Sends the PLP terminator when an NVarChar or VarBinary length is missing.
Preserves Unicode across streamed text chunks.
Nagle's algorithm is disabled on the connection socket.
A request can be executed again after it was canceled.
Output parameters are now allowed on prepared statements.
Bulk load serialization errors are now wrapped in InputError.
Token parse failures are surfaced as request errors.
Caps the TLS max send fragment size for connections using encrypt: "strict".
Large DECIMAL/NUMERIC values are serialized without overflow.
SNI is omitted for IP-based hostnames.
Canceled requests are completed when the server does not respond.
Prevents stale errors.
Connection establishment is aborted when the connection is closed.
Prevents a connection from hanging when the Login7 response is interrupted.
tedious 195 changes
New APIs and options 2
Adds the databaseMirroringPartner event handler.
Tedious now supports Azure SQL Database in Microsoft Fabric.
Fixes and other changes 3
The cancel timer is cleared when a connection is cleaned up.
The message stream remains aligned when canceling with a disabled cancel timeout.
The schema is included in TVP type declarations.