Packages

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…

Other targets from 0.20.15Newest 0.x0.95.15Clears its advisory2.4.0Latest3.3.0
  1. 0.20.15yours
  2. 0.21.0target
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

Upgrading to 2.4.0 clears it.

Release by release

  1. 0.21.0

    Migration needed18 Apr 20201 new
    • 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

3 other lines we could not sort, mostly version bumps
  • 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

    0.21.0

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.