knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.10.0 to 0.11.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 5
- new
- 7
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.11.0
Security
2 advisories still affect 0.11.0
- 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
9 other lines we could not sort, mostly version bumps
- 0.11.0
Collate for columns. (MySQL) #1147
- 0.11.0
Exit with error code when appropriate. #1238
- 0.11.0
MSSQL connection accepts
hostas an alias forserverin accordance with other dialects. #1239 - 0.11.0
Throwing callbacks from transactions automatically rolls them back. #1257
- 0.11.0
timestampsaccepts an argument to setNOT NULLand default to current timestamp. - 0.11.0
Wrap index names. #1289
- 0.11.0
renameColumnno longer drops default value or nullability. #1326 - 0.11.0
Update Lodash to 4.6.0 #1242
- 0.11.0
Update Bluebird to 3.3.4 #1279
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.