knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.12.x.
In short
1 breaking4 new4 fixed7 changed
- Breaking
Ensure that 'client' is provided in knex config object #1822
Security
2 advisories affect 0.12.7; 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.12.7 - 17 Feb, 2017
Accidental Breaking Change
- Breaking
Ensure that 'client' is provided in knex config object #1822
Other Changes
Fixed named bindings to work with queries containing
:-chars #1890Exposed more promise functions #1896
Pass rollback errors to transaction promise in mssql #1885
ONLY keyword support for PostgreSQL (for table inheritance) #1874
Fixed Mssql update with join syntax #1777
Replace migrations and seed for react-native packager #1813
Support knexfile, migration and seeds in TypeScript #1769
Fix float to integer conversion of decimal fields in MSSQL #1781
External authentication capability when using oracledb driver #1716
Fixed MSSQL incorect query build when locks are used #1707
Allow to use
firstmethod as aliased select #1784Alter column for nullability, type and default value #46, #1759
Add more having* methods / join clause on* methods #1674
Compatibility fixes and cleanups #1788, #1792, #1794, #1814, #1857, #1649
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.