kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
Upgrading kysely From 0.27.6 to 0.28.17
18 releases in betweenevery note read
Reading releases, release notes and advisories…
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
Fixes 3 advisories affecting 0.27.6
- 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
- 0.28.17
Further harden JSON path
.key(...)and.at(...)against SQL injections and exfiltrations.
Release by release
- Security
Further harden JSON path
.key(...)and.at(...)against SQL injections and exfiltrations.
- Security
- New
Add openssf scorecard.
- Fixed
FilterObjectallows any defined value when query context has no tables (TBisnever).
- New
- New
Add
NonDehydrateable<T>to allow opt-out from dehydration in JSON functions/helpers. - Fixed
PostgreSQL introspector unnecessarily slow in result processing. by @igalklebanov & @rubenferreira97
- New
- Fixed
Missing
sideEffects: falsein rootpackage.jsonresulting in bigger bundles in various bundlers. - Fixed
Insertableallows non-objects when a table has no required columns. - Fixed
ON COMMITclause not being output when using.as(query)inCREATE TABLEqueries.
- Fixed
- New
mysql: Update types for
mysql2@v3.18.2support #1722 - Fixed
eb.ref(col, '->$').key(key)is injectable.
- New
- Fixed
Prevent re-use of finished trx outside callback
- Fixed
Returning needs to come before order by in sqlite for an update..where query.
- Fixed
- New
Add
ExtractColumnTypeandDrainOuterGenerictype exports - Fixed
$narrowTypecompilation errors whencomposite: true. - Fixed
executeTakeFirstcompilation error when composite. - Fixed
with/withRecursivecompilation errors when composite. - Fixed
Migrator attempts to create custom migration schema even if it exists and fails on dialects that don't support
if not exists. - Fixed
returningcompilation errors whencomposite.
- New
6 other lines we could not sort, mostly version bumps
- 0.28.14
Bump deno kysely dependency.
- 0.28.9
Publish to jsr.
- 0.28.6
Pnpm 10.16.
- 0.28.3
Delete .renovaterc.json
- 0.28.0
Improve join tests dialect coverage.
- 0.28.0
Minor ci tweaks.
71 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.