knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.95.15 to 1.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 4
- changes to make
- 0
- advisories fixed
- 24
- new
- 7
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
Security
1 advisory still affects 1.0.0
- Knex.js has a limited SQL injection vulnerabilityhigh · GHSA-4jv9-3563-23j3
Upgrading to 2.4.0 clears it.
Release by release
- Breaking
Dropped support for Node 10;
- Breaking
Replaced unsupported
sqlite3driver with@vscode/sqlite3; - Breaking
Changed data structure from
RETURNINGoperation to be consistent withSELECT; - Breaking
Changed Migrator to return list of migrations as objects consistently.
- Breaking
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.