kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
Upgrading kysely From 0.26.1 to 0.26.2
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 8
- new
- 0
- fixes
Security
3 advisories still affect 0.26.2
- 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
- New
Added support for select statements without a
fromclause. The function is called selectNoFrom. The function name was selected after a lot of discussion. The most natural name would just beselect, but new users would find that in a list of autocompletions beforeselectFromand naturally use it when trying to create aselect fromquery. This would be especially true for people coming from knex where aselect fromquery is started using aselectcall. #605 - New
Add object variants of
andandorfunctions. Allows easywhere(eb => eb.and(object))filters. #583 - New
Add support for tuples. See some examples here. #611
- New
Add addPrimaryKeyConstraint for AlterTableBuilder. #639 Thank you @n7olkachev ❤️
- New
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.