Packages

kysely

0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed

Your version

0.28.18

17 Oct 2026Where it was published

0.29.9 is the newest release of 0.28.x.

In short

12 fixed3 changed8 internal

Release note

Hey 👋

A small batch of bug fixes. Please report any issues. 🤞😰🤞

This maintenance release backports bug fixes and documentation improvements from the 0.29 line.

Controlled transactions get fixes for connection leaks, shared completion state, and commands racing with ongoing queries:

  • Commit, rollback, and savepoint commands now wait for ongoing queries and streams to finish.

  • Close or exhaust active streams before awaiting these commands.

  • A failed rollback now releases the connection and marks the transaction as rolled back.

PostgreSQL and MSSQL now use session-level migration locks, including with disableTransactions: true. PostgreSQL migrations through PgBouncer transaction pooling need a direct connection, session pooling, or custom migration locking.

Bugfixes

  • Allow explicit undefined in Updateable with exactOptionalPropertyTypes.

  • Fix infinite type check recursion

  • Release controlled transaction connection when begin fails

  • Share completion state between controlled transaction handles

  • Release controlled transaction connection when rollback fails

  • Serialize controlled transaction commands with queries

PostgreSQL 🐘 / MSSQL

PostgreSQL 🐘 / SQLite

  • Allow immutable columns in doUpdateSet's where.

On-conflict WHERE predicates now use column select types, including for columns that cannot be updated.

PostgreSQL

SQLite

  • sqlite: Output RETURNING before ORDER BY and LIMIT in delete queries.

MSSQL

  • mssql: Escape jsonBuildObject keys.

  • mssql: Escape JSON in jsonBuildObject

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.