knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.14.x.
In short
6 breaking1 removed9 new17 fixed5 changed6 internal
- Breaking
Remove sorting of statements from update queries #2171
- Breaking
Updated allowed operator list with some missing operators and make all to lower case #2239
- Breaking
Use node-mssql 4.0.0 #2029
- Breaking
Support for enum columns to SQlite3 dialect #2055
- Breaking
Better identifier quoting in Sqlite3 #2087
- Breaking
Migration Errors - Display filename of of failed migration #2272
- Removed
Removed filering from allowed configuration settings of mysql2 #2040
Security
2 advisories affect 0.14.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.14.0 - 6 Nov, 2017
Breaking Changes
- Breaking
Remove sorting of statements from update queries #2171
- Breaking
Updated allowed operator list with some missing operators and make all to lower case #2239
- Breaking
Use node-mssql 4.0.0 #2029
- Breaking
Support for enum columns to SQlite3 dialect #2055
- Breaking
Better identifier quoting in Sqlite3 #2087
- Breaking
Migration Errors - Display filename of of failed migration #2272
Other Features
Post processing hook for query result #2261
Build native SQL where binding parameters are dialect specific #2237
Configuration option to allow override identifier wrapping #2217
Implemented select syntax: select({ alias: 'column' }) #2227
Allows to filter seeds and migrations by extensions #2168
Reconnecting after database server disconnect/reconnect + tests #2017
- Removed
Removed filering from allowed configuration settings of mysql2 #2040
Allow raw expressions in query builder aggregate methods #2257
Throw error on non-string table comment #2126
Support for mysql stream query options #2301
Bug fixes
Allow update queries and passing query builder to with statements #2298
Fix escape table name in SQLite columnInfo call #2281
Preventing containsUndefined from going to recursion loop #1711
Fix error caused by call to knex.migrate.currentVersion #2123
Upgraded generic-pool to 3.1.7 (did resolve some memory issues) #2208
Allow using NOT ILIKE operator #2195
Fix postgres searchPath to be case-sensitive #2172
Fix drop of multiple columns in sqlite3 #2107
Fix adding multiple columns in Oracle #2115
Use selected schema when dropping indices in Postgres. #2105
Fix hasTable for MySQL to not do partial matches #2097
Fix setting autoTransaction in batchInsert #2113
Fix connection error propagation when streaming #2199
Fix comments not being applied to increments columns #2243
Fix mssql wrong binding order of queries that combine a limit with select raw or update #2066
Fixed mysql alter table attributes order #2062
Test / internal changes
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.