knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
1.0.7 is the newest release of 1.x.
In short
6 new6 fixed1 internal
Security
1 advisory affects 1.0.2; 2.4.0 fixes them
- HighKnex.js has a limited SQL injection vulnerabilityGHSA-4jv9-3563-23j3 · 19 Dec 2022Fixed in 2.4.0
Release note
1.0.2 - 02 February, 2022
New features
Support of MATERIALIZED and NOT MATERIALIZED with WITH/CTE #4940
Add raw support in onConflict clause #4960
Alter nullable constraint when alterNullable is set to true #4730
Add alterType parameter for alter function #4967
Support string json in json values #4988
MySQL: Add with clause #4508
Bug fixes
Fix error message for missing migration files #4937
Move deferrable to after on update/on delete #4976
Do not use sys.tables to find if a table exists #2328
PostgreSQL: Fix Order nulls #4989
MySQL: Fix collation when renaming column #2666
SQLite: Same boolean handling in better-sqlite3 as in sqlite3 #4982
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.