Packages

knex

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

Your version

3.1.0

7 Dec 2023Where it was published

3.3.0 is the newest release of 3.x.

In short

4 new6 fixed1 changed

Release note

3.1.0 - 8 December, 2023

Bug fixes

  • andWhereNotJsonObject calling wrong function

  • PostgreSQL: Fix error when setting query_timeout

  • MySQL: Missing comments on delete, update and insert

  • MySQL: Fixed issue with bigincrements not working with composite primary key - #5341

Types

  • Add type definitions for orHavingNull and orHavingNotNull

  • Import knex as type in TS migration template

  • Fix conditional constraint error

  • PostgreSQL: Fix typing to reflect pg typing change

New features

  • Add transactor.parentTransaction

  • MySQL: Added implementation for upsert

  • Oracle: Support Object Names Greater than 30 Characters for Oracle DB Versions 12.2 and Greater

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.