knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.18.x.
In short
1 removed8 new5 fixed1 changed
- Removed
Drop support for Node.js 6 #3227
Security
2 advisories affect 0.18.0; 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.18.0 - 26 June, 2019
Bug fixes
Do not reject promise on transaction rollback (by default only for new, non-callback, style of transactions for now to avoid breaking old code) #3235
New features
Added
doNotRejectOnRollbackoptions for starting transactions, to prevent rejecting promises on rollback for callback-style transactions.Use extension from knexfile for generating migrations unless overriden #3282
Use migrations.extension from config when generating migration #3242
Expose executionPromise for transactors #3297
Bug fixes
Oracle: Updated handling of connection errors for disposal #2608
Fix extension resolution from env configs #3294
Test / internal changes
- Removed
Drop support for Node.js 6 #3227
Remove Babel #3227
Fix comments that were modified by find & replace #3308
Typings
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.