knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.21.21 to 0.95.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 26
- new
- 11
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking0.95.0
Security
1 advisory still affects 0.95.0
- Knex.js has a limited SQL injection vulnerabilityhigh · GHSA-4jv9-3563-23j3
Upgrading to 2.4.0 clears it.
Release by release
- Breaking
Check out the migration guide for other breaking changes.
- New
Add transaction isolation support #4185
- New
Add analytic functions #4188
- New
Change default to not trigger a promise rejection for transactions with a specified handler #4195
- Breaking
11 other lines we could not sort, mostly version bumps
- 0.95.0
Include 'name' property in MigratorConfig #4300
- 0.95.0
Improve join and conflict types #4318
- 0.95.0
Drop global Knex.raw #4180
- 0.95.0
Various internal refactorings #4175 #4177 #4178 #4192
- 0.95.0
Refactor to classes #4190 #4191 #4193 #4210 #4253
- 0.95.0
Move transaction type tests to TSD #4208
- 0.95.0
Clean up destroy logic #4248
- 0.95.0
Colorize code snippets in readme files #4234
- 0.95.0
Documentation cleanup
- 0.95.0
SQLite: Use SQLite "rename column" instead of a DDL helper #4200
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.