Packages

knex

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

Upgrading knex From 2.2.0 to 2.4.0

2 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.2.0Newest 2.x2.5.1Latest3.3.0
  1. 2.2.0yours
  2. 2.3.0
  3. 2.4.0target

Security

Fixes 1 advisory affecting 2.2.0

Release by release

  1. 2.4.0

    6 Jan 20234 new · 4 fixes
    • New

      Support partial unique indexes #5316

    • New

      Make compiling SQL in error message optional #5282

    • New

      MySQL: Add assertion for basic where clause not to be object or array #1227

    • New

      Add missing type for 'expirationChecker' on PgConnectionConfig #5334

  2. 2.3.0

    31 Aug 20223 new · 2 fixes
    • New

      PostgreSQL: Explicit jsonb support for custom pg clients #5201

    • New

      SQLite: Support returning with sqlite3 and better-sqlite3 #5285

    • New

      MSSQL: Implement mapBinding mssql dialect option #5292

    • Fixed

      Fix WhereJsonObject withCompositeTableType #5306

    • Fixed

      Fix AnalyticFunction type #5304

2 other lines we could not sort, mostly version bumps
  • Update types for TS 4.8 #5279

    2.3.0
  • Infer specific column value type in aggregations #5297

    2.3.0

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.