knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.14.x.
In short
4 new8 fixed1 changed2 internal
Security
2 advisories affect 0.14.3; 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.3 - 8 Feb, 2018
Bug fixes
Use tarn as pool instead of generic-pool which has been given various problems #2450
Fixed mysql issue where add columns failed if using both after and collate #2432
CLI sets exit-code 1 if the command supplied was not parseable #2358
Set toNative() to be not enumerable #2388
Fixed a bug when using .returning (OUTPUT) in an update query with joins in MSSQL #2399
Better error message when running migrations fail before even starting run migrations #2373
Read oracle's UV_THREADPOOL_SIZE env variable correctly #2372
Added decimal variable precision / scale support #2353
New Features
Added queryContext to schema and query builders #2314
Added redshift dialect #2233
Added warning when one uses .createTableIfNotExist and deprecated it from docs #2458
Test / internal changes
Disable oracledb tests from non LTS nodes #2407
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.