kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
0.29.9 is the newest release of 0.15.x.
In short
2 breaking1 new
- Breaking
The
db.migratemodule has been removed. You now need to create an instance of Migrator instead. - Breaking
The new
Generatedinterface removes the need fordb.generatedwhich has now been removed. Simply mark your db-generated columns withGenerated<T>in the table interface and removedb.generated.
Security
1 advisory affects 0.15.0; 0.28.14 fixes them
Release note
New ColumnType and Generated interfaces for defining separate interfaces for
select,insertand update operations. See the example in the readme for more info.
Breaking changes
- Breaking
The
db.migratemodule has been removed. You now need to create an instance of Migrator instead. - Breaking
The new
Generatedinterface removes the need fordb.generatedwhich has now been removed. Simply mark your db-generated columns withGenerated<T>in the table interface and removedb.generated.
Before:
interface Person {
id: number,
first_name: string
}
await db.insertInto('person').values({
id: db.generated,
first_name: 'Jennifer'
})Now:
interface PersonTable {
id: Generated<number>,
first_name: string
}
type Person = Selectable<PersonTable>
await db.insertInto('person').values({
first_name: 'Jennifer'
})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.