unstale

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 init

@unstale/cli on npm

odbc 210 changes

Breaking changes 3

  • Support for dynodbc was removed.

    2.6.0release notes

  • Changes API types from classes to interfaces, affecting how TypeScript consumers use these definitions.

    2.5.0release notes

  • Makes CONNECTION_CLOSED_ERROR a static property.

    2.5.0release notes

New APIs and options 2

  • Adds connection.cancel() via SQLCancel so developers can cancel a connection operation.

    2.6.0release notes

  • Adds statement.cancel() via SQLCancel so developers can cancel a statement operation.

    2.6.0release notes

Tooling 3

  • Release builds now include ppc64le Linux binaries, making releases available for that platform.

    2.6.0release notes

  • Adds connected and autocomplete types to the TypeScript definitions.

    2.5.0release notes

  • Adds SQL_TXN_* types to the TypeScript definition.

    2.5.0release notes

Fixes and other changes 2

  • SQL_TINYINT columns are bound as SQL_C_SHORT to support signed values.

    2.6.0release notes

  • Returns after a failed connection in Pool to prevent an unhandled error.

    2.5.0release notes