knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.11.x.
In short
3 new1 fixed3 changed3 internal
Security
2 advisories affect 0.11.4; 2.4.0 fixes them
- CriticalSQL Injection in knexGHSA-58v4-qwx5-7f59 · 21 Oct 2019Fixed in 0.19.5
- HighKnex.js has a limited SQL injection vulnerabilityGHSA-4jv9-3563-23j3 · 19 Dec 2022Fixed in 2.4.0
Release note
0.11.4 - 22 May, 2016
Bugfix: Inconsistency of
.primary()and.dropPrimary()between dialects #1430Allow using custom Client/Dialect (you can pass your own client in knex config) #1428
Bugfix: Fixed passing undefined fields for insert/update inside transaction #1423
batchInsertwith existing transaction #1354Bugfix: Pooled connections not releasing #1382
Bugfix: Support passing
knex.rawto.whereNot#1402Bugfix: Rename table does not fail anymore even with schema defined #1403
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.