npm / odbc
odbc
What changed in odbc 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
3 breaking2 new APIs and options3 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initodbc 210 changes
Breaking changes 3
Support for dynodbc was removed.
Changes API types from classes to interfaces, affecting how TypeScript consumers use these definitions.
Makes CONNECTION_CLOSED_ERROR a static property.
New APIs and options 2
Adds connection.cancel() via SQLCancel so developers can cancel a connection operation.
Adds statement.cancel() via SQLCancel so developers can cancel a statement operation.
Tooling 3
Release builds now include ppc64le Linux binaries, making releases available for that platform.
Adds connected and autocomplete types to the TypeScript definitions.
Adds SQL_TXN_* types to the TypeScript definition.
Fixes and other changes 2
SQL_TINYINT columns are bound as SQL_C_SHORT to support signed values.
Returns after a failed connection in Pool to prevent an unhandled error.