knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.17.6 to 2.4.0
78 releases in betweennotes for 76
Counted from 76 of 78 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking1.0.0
- Breaking0.95.0
- Breaking0.21.0
- Breaking0.21.0
- Breaking0.20.11
- Breaking0.20.11
Security
Fixes 2 advisories affecting 0.17.6
- Knex.js has a limited SQL injection vulnerabilityhigh · GHSA-4jv9-3563-23j3
- SQL Injection in knexcritical · GHSA-58v4-qwx5-7f59
Release by release
93 other lines we could not sort, mostly version bumps
- 2.3.0
Update types for TS 4.8 #5279
- 2.3.0
Infer specific column value type in aggregations #5297
- 2.2.0
Update raw query bind parameter type #5208
- 2.1.0
Update type definitions for pg connection #5139
- 2.0.0
Migrate Husky from 4 to 7 #5137
- 2.0.0
Migrate Jake to 10.8.5 #5138
- 1.0.5
Make default generic parameters of
Knexmatch the generic parameter types ofknex#5021 - 1.0.5
Update knex types for TS 4.7 #5095
- 1.0.4
createTableLike callback should be optional #5055
- 1.0.0
Returning method types #4881
6 internal lines (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.