---
title: "kysely 0.29.9 Breaking Changes on npm | Since.dev"
description: "What each kysely release removed, renamed or changed: 294 breaking changes in 12 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/kysely
last_updated: 2026-12-04
---

# kysely breaking changes

kysely 0.29.9 (November 12, 2026) is its newest release with breaking changes, 4 of them. The first: Behavior changed migrator. Every breaking API change we have recorded in kysely on npm: 294 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.29.9`, released November 12, 2026. [Source repository](https://github.com/kysely-org/kysely)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.28.18](#v-0-28-18) to [0.29.9](#v-0-29-9): 275 breaking changes in 11 versions.

## kysely 0.29.9 breaking changes

kysely 0.29.9, released November 12, 2026: 4 breaking changes.

- **Behavior changed** `migrator`  

Executed migrations with an invalid timestamp now fail with "corrupted migrations" instead of being sorted arbitrarily. Tables with out-of-order timestamps need a one-time repair query. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.29.9)
- **Signature changed** `AbortedTransactionError.constructor`  

Was constructor(); now constructor(options?: ErrorOptions). [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.9)
- **Signature changed** `JSONPathBuilder.at`  

Passing a second type argument to key() or at() is no longer allowed. Use $castTo\<T>() to override the output type instead. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.9)
- **Signature changed** `JSONPathBuilder.key`  

Passing a second type argument to key() or at() is no longer allowed. Use $castTo\<T>() to override the output type instead. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.9)

## kysely 0.29.8 breaking changes

kysely 0.29.8, released November 1, 2026: 4 breaking changes.

- **Behavior changed**  

Commits that PostgreSQL turns into rollbacks now throw AbortedTransactionError instead of reporting success. Code that relied on a silent successful commit must now handle this error. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.29.8)
- **Signature changed** `PostgresDriver.rollbackTransaction`  

Was rollbackTransaction(connection: DatabaseConnection): Promise\<void>; now rollbackTransaction(connection: PostgresConnection): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.8)
- **Signature changed** `PostgresPoolClient.release`  

Was release(): void; now release(destroy?: boolean): void. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.8)
- **Signature changed** `PostgresQueryResult.command`  

Was command: 'UPDATE' | 'DELETE' | 'INSERT' | 'SELECT' | 'MERGE'; now command: 'UPDATE' | 'DELETE' | 'INSERT' | 'SELECT' | 'MERGE' | 'COMMIT' | 'ROLLBACK'. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.8)

## kysely 0.29.7 breaking changes

kysely 0.29.7, released October 17, 2026: 1 breaking change.

- **Behavior changed**  

Commit, rollback and savepoint commands on controlled transactions now wait for ongoing queries and streams to finish. Code that awaits these commands while a stream is still open must close or exhaust that stream first. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.29.7)

## kysely 0.29.6 breaking changes

kysely 0.29.6, released September 16, 2026: 2 breaking changes.

- **Signature changed** `OnConflictBuilder.doUpdateSet`  

Was doUpdateSet(update: UpdateObjectExpression\<OnConflictDatabase\<DB, TB>, OnConflictTables\<TB>, OnConflictTables\<TB>>): OnConflictUpdateBuilder\<OnConflictDatabase\<DB, TB>, OnConflictTables\<TB>>; now doUpdateSet(update... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.6)
- **Signature changed** `OnConflictDatabase`  

Was type OnConflictDatabase\<DB, TB extends keyof DB> = {\[K in keyof DB | 'excluded'\]: Updateable\<K extends keyof DB ? DB\[K\] : DB\[TB\]>;}; now type OnConflictDatabase\<DB, TB extends keyof DB> = {\[K in keyof DB | 'excluded'\]: K extends keyof... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.6)

## kysely 0.29.5 breaking changes

kysely 0.29.5, released August 10, 2026: 11 breaking changes.

- **Signature changed** `DeleteQueryBuilder.$if`  

Was $if\<O2>(condition: boolean, func: (qb: this) => DeleteQueryBuilder\<any, any, O2>): O2 extends DeleteResult ? DeleteQueryBuilder\<DB, TB, DeleteResult> : O2 extends O & infer E ? DeleteQueryBuilder\<DB, TB, O & Partial\<E>>... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `DeleteQueryBuilder.limit`  

Was limit(limit: ValueExpression\<DB, TB, number>): DeleteQueryBuilder\<DB, TB, O>; now limit\<VE extends ValueExpression\<DB, TB, number>>(limit: VE): DeleteQueryBuilder\<DB, TB, O>. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `JoinBuilder.on`  

Was on(expression: ExpressionOrFactory\<DB, TB, SqlBool>): JoinBuilder\<DB, TB>; now on\<E extends ExpressionOrFactory\<DB, TB, SqlBool>>(expression: E): JoinBuilder\<DB, TB>. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `JoinBuilder.onRef`  

Was onRef(lhs: ReferenceExpression\<DB, TB>, op: ComparisonOperatorExpression, rhs: ReferenceExpression\<DB, TB>): JoinBuilder\<DB, TB>; now onRef\<LRE extends ReferenceExpression\<DB, TB>, RRE extends ReferenceExpression\<DB, TB>>(lhs: LRE, op... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `SelectQueryBuilder.limit`  

Was limit(limit: ValueExpression\<DB, TB, number | bigint | null>): SelectQueryBuilder\<DB, TB, O>; now limit\<VE extends ValueExpression\<DB, TB, number | bigint | null>>(limit: VE): SelectQueryBuilder\<DB, TB, O>. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `SelectQueryBuilder.offset`  

Was offset(offset: ValueExpression\<DB, TB, number | bigint>): SelectQueryBuilder\<DB, TB, O>; now offset\<VE extends ValueExpression\<DB, TB, number | bigint>>(offset: VE): SelectQueryBuilder\<DB, TB, O>. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `SelectQueryBuilderWithFullJoin`  

Was type SelectQueryBuilderWithFullJoin\<DB, TB extends keyof DB, O, TE extends TableExpression\<DB, TB>> = TE extends \`${infer T} as ${infer A}\` ? T extends keyof DB ? OuterJoinedBuilder\<DB, TB, O, A, DB\[T\]> : never : TE extends keyof DB ?... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `SelectQueryBuilderWithInnerJoin`  

Was type SelectQueryBuilderWithInnerJoin\<DB, TB extends keyof DB, O, TE extends TableExpression\<DB, TB>> = TE extends \`${infer T} as ${infer A}\` ? T extends keyof DB ? InnerJoinedBuilder\<DB, TB, O, A, DB\[T\]> : never : TE extends keyof DB ?... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `SelectQueryBuilderWithLeftJoin`  

Was type SelectQueryBuilderWithLeftJoin\<DB, TB extends keyof DB, O, TE extends TableExpression\<DB, TB>> = TE extends \`${infer T} as ${infer A}\` ? T extends keyof DB ? LeftJoinedBuilder\<DB, TB, O, A, DB\[T\]> : never : TE extends keyof DB ?... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)
- **Signature changed** `SelectQueryBuilderWithRightJoin`  

Was type SelectQueryBuilderWithRightJoin\<DB, TB extends keyof DB, O, TE extends TableExpression\<DB, TB>> = TE extends \`${infer T} as ${infer A}\` ? T extends keyof DB ? RightJoinedBuilder\<DB, TB, O, A, DB\[T\]> : never : TE extends keyof DB ?... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.5)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## kysely 0.29.4 breaking changes

kysely 0.29.4, released July 17, 2026: 1 breaking change.

- **Signature changed** `Equals`  

Was type Equals\<T, U> = (\<G>() => G extends T ? 1 : 2) extends \<G>() => G extends U ? 1 : 2 ? true : false; now type Equals\<T, U> = (\<G>() => G extends T ? 1 : 2) extends \<G>() => (G extends U ? 1 : 2) ? true : false. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.4)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### kysely 0.29.3 breaking changes

kysely 0.29.3, released July 5, 2026: 10 breaking changes.

- **Behavior changed**  

Migrations now take session-level advisory locks even when transactions are enabled, which conflicts with PgBouncer transaction pooling. Run migrations over a direct connection or session pooling, or use custom migration locking. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.29.3)
- **Signature changed** `JSONPathBuilder.at`  

Was at\<I extends any\[\] extends O ? number | 'last' | \`#-${number}\` : never, O2 = null | NonNullable\<NonNullable\<O>\[keyof NonNullable\<O> & number\]>>(index: \`${I}\` extends \`${any}.${any}\` | \`#--${any}\` ? never : I)... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.3)

And 8 more in this version.

### kysely 0.29.2 breaking changes

kysely 0.29.2, released May 16, 2026: 1 breaking change.

- **Signature changed** `NarrowPartial`  

Was type NarrowPartial\<O, T> = T extends object ? DrainOuterGeneric<{\[K in keyof O & string\]: K extends keyof T ? T\[K\] extends NotNull ? Exclude\<O\[K\], null> : T\[K\] extends object ? SimplifyDeep\<O\[K\] & NarrowPartial\<O\[K\], T\[K\]>> : T\[K\]... [npmjs.com](https://www.npmjs.com/package/kysely/v/0.29.2)

### kysely 0.29.0 breaking changes

kysely 0.29.0, released May 8, 2026: 234 breaking changes.

- **Removed**  

Requires Node.js or runtime changes not stated in kysely 0.29.0 [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.29.0)
- **Removed**  

The package no longer ships CommonJS files; ES Modules moved from /dist/esm/ to /dist/. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.29.0)

And 232 more in this version.

### kysely 0.28.20 breaking changes

kysely 0.28.20, released November 12, 2026: 3 breaking changes.

- **Behavior changed** `migrateToLatest`  

Migrations are now recorded at max(now, latest + 1ms) under the migration lock. Executed migrations with an invalid timestamp now fail with corrupted migrations, so existing out-of-order timestamps must be repaired with the provided query. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.28.20)
- **Signature changed** `JSONPathBuilder.at`  

Passing a second type argument to at() is no longer supported. Use $castTo\<T>() to override the output type. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.28.20)

And 1 more in this version.

### kysely 0.28.19 breaking changes

kysely 0.28.19, released November 1, 2026: 4 breaking changes.

- **Behavior changed**  

Commits that PostgreSQL turns into rollbacks now throw AbortedTransactionError instead of reporting success. Code that assumed a commit always succeeds must handle this error. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.28.19)
- **Signature changed** `PostgresDriver.rollbackTransaction`  

Was rollbackTransaction(connection: DatabaseConnection): Promise\<void>; now rollbackTransaction(connection: PostgresConnection): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/kysely/v/0.28.19)

And 2 more in this version.

### kysely 0.28.18 breaking changes

kysely 0.28.18, released October 17, 2026: 19 breaking changes.

- **Behavior changed**  

Migrations now take session-level advisory locks even when transactions are enabled, which conflicts with PgBouncer transaction pooling. Run migrations through a direct connection, session pooling, or custom migration locking. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.28.18)
- **Behavior changed**  

Commit, rollback and savepoint commands now wait for running queries and streams to finish. Close or exhaust active streams before awaiting these commands, or code may hang. [github.com](https://github.com/kysely-org/kysely/releases/tag/v0.28.18)

And 17 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
