

# Release notes

## 4.0.0.0
<a name="odbc-v4-driver-release-4-0-0-0"></a>

Version `4.0.0.0` adds DuckDB support and continues to support engine version 3.

New functionality includes automatic routing for the workgroup engine and result storage, the `EngineVersion` parameter, managed-result Arrow streaming, DuckDB type conversion, and engine-specific SQL escape processing.

This version adds DSN query timeouts and execution cancellation, supports wide type reporting through the Unicode-types option, and changes the polling defaults described in the migration guide.

Result metadata distinguishes views from tables, and Arrow write results can supply the affected-row count through `SQLRowCount`.

For compatibility changes and required configuration checks, see [Migrate from ODBC 2.x](odbc-v4-driver-migrating.md).