knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.16.0 to 0.16.1
1 release in betweenevery note read
- 4
- changes to make
- 0
- advisories fixed
- 26
- new
- 12
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.16.1
- Breaking0.16.1
- Breaking0.16.1
- Breaking0.16.1
Security
2 advisories still affect 0.16.1
- Knex.js has a limited SQL injection vulnerabilityhigh · GHSA-4jv9-3563-23j3
- SQL Injection in knexcritical · GHSA-58v4-qwx5-7f59
Upgrading to 2.4.0 clears them.
Release by release
- Breaking
Use datetime2 for MSSQL datetime + timestamp types. This change is incompatible with MSSQL older than 2008 #2757
- Breaking
Knex.VERSION() method was removed, run "require('knex/package').version" instead #2776
- Breaking
Knex transpilation now targets Node.js 6, meaning it will no longer run on older Node.js versions #2813
- Breaking
Add json type support for SQLite 3.9+ (tested to work with Node package 'sqlite3' 4.0.2+) #2814
- Breaking
4 other lines we could not sort, mostly version bumps
1 internal line (docs, tests, tooling) left out.
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.