knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 1.0.2 to 2.4.0
10 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking2.0.0
Security
Fixes 1 advisory affecting 1.0.2
- Knex.js has a limited SQL injection vulnerabilityhigh · GHSA-4jv9-3563-23j3
Release by release
9 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
3 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.