knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.20.15 to 0.21.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.21.0
- Breaking0.21.0
Security
1 advisory still affects 0.21.0
- Knex.js has a limited SQL injection vulnerabilityhigh · GHSA-4jv9-3563-23j3
Upgrading to 2.4.0 clears it.
Release by release
- Breaking
Dropped support for Node 8
- Breaking
Breaking upstream change in
pg-query-stream:Changed stream.close to stream.destroy which is the official way to terminate a readable stream. This is a breaking change if you rely on the stream.close method on pg-query-stream...though should be just a find/replace type operation to upgrade as the semantics remain very similar (not exactly the same, since internals are rewritten, but more in line with how streams are "supposed" to behave). - New
Reduce size of lodash in bundle #3804
- Breaking
3 other lines we could not sort, mostly version bumps
- 0.21.0
Updated Tarn.js to a version 3.0.0
- 0.21.0
Updated mkdirp to a version 1.0.4
- 0.21.0
Updated examples to use ES2015 style #3810
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.