# What changed in odbc

> 10 changes in odbc 2 from its official release notes, upgrade guides and advisories: 3 breaking, 2 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/odbc/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## odbc 2

### Breaking changes

- Support for dynodbc was removed. (2.6.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.6.0)
- Changes API types from classes to interfaces, affecting how TypeScript consumers use these definitions. (2.5.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.5.0)
- Makes CONNECTION_CLOSED_ERROR a static property. (2.5.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.5.0)

### New APIs and options

- Adds connection.cancel() via SQLCancel so developers can cancel a connection operation. (2.6.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.6.0)
- Adds statement.cancel() via SQLCancel so developers can cancel a statement operation. (2.6.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.6.0)

### Tooling

- Release builds now include ppc64le Linux binaries, making releases available for that platform. (2.6.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.6.0)
- Adds connected and autocomplete types to the TypeScript definitions. (2.5.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.5.0)
- Adds SQL_TXN_* types to the TypeScript definition. (2.5.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.5.0)

### Fixes and other changes

- SQL_TINYINT columns are bound as SQL_C_SHORT to support signed values. (2.6.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.6.0)
- Returns after a failed connection in Pool to prevent an unhandled error. (2.5.0) — [release notes](https://github.com/IBM/node-odbc/releases/tag/v2.5.0)
