knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.14.x.
In short
4 new3 fixed4 changed
Security
2 advisories affect 0.14.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.14.4 - 19 Feb, 2018
Bug fixes
containsUndefined only validate plain objects. Fixes #1898
Add warning when using .returning() in sqlite3. Fixes #1660
Throw an error if .update() results in an empty sql
Removed unnecessary createTableIfNotExist and replaced with createTable
New Features
Allow calling lock procedures (such as forUpdate) outside of transaction. Fixes #2403.
Added test and documentation for Event 'start'
Test / internal changes
Added stress test, which uses TCP proxy to simulate flaky connection #2460
Removed old docker tests, new stress test setup
Removed unused property __cid on the base client
Changed rm to rimraf in 'npm run dev'
Changed babel preset and use latest node as target when running dev
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.