kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
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
undefinedinUpdateablewithexactOptionalPropertyTypes.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 and MSSQL migrations are not running exclusively when
disableTransactions: true. by @morgan-coded & @igalklebanov
PostgreSQL 🐘 / SQLite
Allow immutable columns in
doUpdateSet'swhere.
On-conflict WHERE predicates now use column select types, including for columns that cannot be updated.
PostgreSQL
postgres: Release the client when destroyed while acquiring a connection by @abebelagua & @igalklebanov
SQLite
sqlite: Output
RETURNINGbeforeORDER BYandLIMITin delete queries.
MSSQL
mssql: Escape
jsonBuildObjectkeys.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.