unstale

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 init

@unstale/cli 0.2.1 on npm

tedious 2025 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 14

  • 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 195 changes

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