Packages

knex

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

Upgrading knex From 0.9.0 to 0.10.0

1 release in betweenevery note read

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

Before you upgrade

Tick each one off as you go
  • Breaking0.10.0

Security

2 advisories still affect 0.10.0

Upgrading to 2.4.0 clears them.

Release by release

  1. 0.10.0

    Migration needed15 Feb 201611 new · 2 fixes
    • Breaking

      insert and update now ignore undefined values. Back compatibility is provided through the option useNullAsDefault. #1174, #1043

    • New

      Add countDistinct, avgDistinct and sumDistinct. #1046

    • New

      Add schema.jsonb. Deprecated schema.json(column, true). #991

    • New

      Support binding identifiers with ??. #1103

3 other lines we could not sort, mostly version bumps
  • Global query-error event. #1163

    0.10.0
  • Better support for Mysql2 dialect options. #980

    0.10.0
  • Show also .raw queries in debug output. #1169

    0.10.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.