kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
0.29.9 is the newest release of 0.25.x.
In short
4 new1 fixed7 changed
Security
1 advisory affects 0.25.0; 0.28.14 fixes them
Release note
Large amount of contributions from many awesome people in this one, but one definitely stands out:
Using his sorcerous knowledge of the typescript compiler internals @schusovskoy was able to significantly reduce the possibility of the notorious Type instantiation is excessively deep and possibly infinite compiler error throughout Kysely. Check out the PR here #483 🧙. In our typing tests, we were able to at least double the complexity of the troublesome queries without hitting slowdowns or compiler errors. In some cases the issue seems to have gone away completely.
Simply amazing work. Thank you so much @schusovskoy ❤️
Other fixes and improvements in no particular order:
Add new
case when then endbuilder #404. Thanks @igalklebanov ❤️Allow specifying column sort order when creating indexes #375. Thanks @igalklebanov ❤️
Add
$narrowTypehelper for narrowing the query output type #380. Thanks @igalklebanov ❤️Make subquery selections nullable by default #420
Add
aggmethod to expression builder for arbitrary aggregate function calls #417 @igalklebanov ❤️The
$ifmethod should no longer cause performance issues or excessively deep types
In addition to this there were small fixes from multiple awesome people including:
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.