kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
Upgrading kysely From 0.27.6 to 0.28.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 10
- changes to make
- 0
- advisories fixed
- 28
- new
- 6
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
- Breaking0.28.0
Security
3 advisories still affect 0.28.0
- Kysely has a MySQL SQL Injection via Insufficient Backslash Escaping in `sql.lit(string)` usage or similar methods that append string literal values into the compiled SQL stringshigh · GHSA-8cpq-38p9-67gx
- Kysely: JSON-path traversal injection via unsanitized path-leg metacharacters in `JSONPathBuilder.key()` / `.at()`high · GHSA-pv5w-4p9q-p3v2
- SQL Injection via unsanitized JSON path keys when ignoring/silencing compilation errors or using `Kysely<any>`.high · GHSA-wmrf-hv6w-mr66
Upgrading to 0.28.17 clears them.
Release by release
- Breaking
InferResultnow outputsInsertResult,UpdateResult,DeleteResult,MergeResult, instead ofInsertResult,UpdateResult,DeleteResult,MergeResult. To get the singular form, usetype Result = InferResult<T>[number]. - Breaking
Some generic/wide usages of
QueryCreator's methods should no longer pass type checks. We never supported these officially. - Breaking
As
preventAwaitis now removed on all builders, you must avoid awaiting builders without callingexecute-like methods on your own. - Breaking
TypeScript versions 4.5 and older are no longer supported. You will get an immediate compilation error telling you to upgrade.
- Breaking
2 other lines we could not sort, mostly version bumps
- 0.28.0
Improve join tests dialect coverage.
- 0.28.0
Minor ci tweaks.
5 internal lines (docs, tests, tooling) left out.
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.