Packages

knex

3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed

Upgrading knex From 0.16.0 to 0.16.1

1 release in betweenevery note read

Other targets from 0.16.0Newest 0.x0.95.15Clears its 2 advisories2.4.0Latest3.3.0
  1. 0.16.0yours
  2. 0.16.1target

Before you upgrade

Tick each one off as you go
  • Breaking0.16.1
  • Breaking0.16.1
  • Breaking0.16.1
  • Breaking0.16.1

Security

2 advisories still affect 0.16.1

Upgrading to 2.4.0 clears them.

Release by release

  1. 0.16.1

    Migration needed9 Dec 201826 new · 12 fixes
    • Breaking

      Use datetime2 for MSSQL datetime + timestamp types. This change is incompatible with MSSQL older than 2008 #2757

    • Breaking

      Knex.VERSION() method was removed, run "require('knex/package').version" instead #2776

    • Breaking

      Knex transpilation now targets Node.js 6, meaning it will no longer run on older Node.js versions #2813

    • Breaking

      Add json type support for SQLite 3.9+ (tested to work with Node package 'sqlite3' 4.0.2+) #2814

4 other lines we could not sort, mostly version bumps
  • Separate migration generator #2786

    0.16.1
  • Cleanup based on analysis by lgtm.com #2870

    0.16.1
  • Execute tests on Node.js 11 #2873

    0.16.1
  • Version upgrade guide #2894

    0.16.1

1 internal line (docs, tests, tooling) left out.

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.