kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
0.29.9 is the newest release of 0.23.x.
In short
2 breaking7 new4 fixed1 changed
- Breaking
Support multiple column operation in
alter tablequery #238. Thank you @naorpeled ❤️ - Breaking
The types are now more strict in some places. If you are using raw
sqlexpressions or theRawBuilderclass, you may need to specify a type for the expression like this:
Security
1 advisory affects 0.23.0; 0.28.14 fixes them
Release note
So many fixes and features in this one. @igalklebanov has been on fire 🔥. Almost all of these are his awesome work.
Fix bug that prevented
ArrayBufferusage withCamelCasePlugin#193. Thank you @igalklebanov ❤️Add
fn.coalescehelper #179. Thank you @igalklebanov ❤️Refactor internals to use the new Expression<T> interface
Allow aggregate functions to return a nullable value #183. Thank you @igalklebanov ❤️
Fix bug with multiple default values in inserts #202. Thank you @igalklebanov ❤️
Support the
exactOptionalPropertyTypestypescript setting #210. Thank you @igalklebanov ❤️Fix migrationKey calculation keeping dot when .mjs #220. Thank you @igalklebanov ❤️
Allow subqueries and raw
sqlin distinctOn #239. Thank you @naorpeled ❤️Support multiple column operation in
alter tablequery #238. Thank you @naorpeled ❤️Add numInsertedOrUpdatedRows to InsertResult #188. Thank you @igalklebanov ❤️
Fix #235. Thank you @tobiasfoerg ❤️
Add
callmethod to create/alter table statement builders #242. Thank you @jacobpgn ❤️Add filter clause support at AggregateFunctionBuilder #208. Thank you @igalklebanov ❤️
Breaking changes
- Breaking
The types are now more strict in some places. If you are using raw
sqlexpressions or theRawBuilderclass, you may need to specify a type for the expression like this:
sql<string>`something`
- Breaking
Following the changes in #238, you can alter multiple columns, and the alterations have moved to a callback:
Before:
await db.schema
.alterTable('person')
.alterColumn('first_name')
.setDataType('text')
.execute();After:
await db.schema
.alterTable('person')
.alterColumn('first_name', (ac) => ac.setDataType('text'))
.execute()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.