knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.4.9 to 0.4.10
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
2 advisories still affect 0.4.10
- 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
- New
Added forUpdate and forShare for select modes in transactions.
- New
Added
intoas an alias of from, for builder syntax of:insert(value).into(tableName) - Fixed
Fix bug where current query chain type is not copied on clone.
- New
2 other lines we could not sort, mostly version bumps
- 0.4.10
Charset and collate are now added as methods on the schema builder.
- 0.4.10
Internal pool fixes.
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.