Packages

knex

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

Your version

0.21.13

11 Dec 2020Where it was published

0.95.15 is the newest release of 0.21.x.

In short

6 new7 fixed1 changed

Security

1 advisory affects 0.21.13; 2.4.0 fixes them

Release note

0.21.13 - 12 December, 2020

New features

  • SQLite: Add support for dropForeign #4092

  • Add support for WHERE clauses to "upsert" queries #4148

Bug fixes

  • MSSQL: Avoid connection getting stuck on socket hangup #4157

  • Oracle: Support specifying non-default DB port #4147

  • Oracle: Support inserts with only default values (empty body) #4092

  • CLI: Fix irregular seed file execution order #4156

  • Fix performance of asyncStackTraces with enable-source-maps node flag #4154

Typings

  • PostgreSQL: Add support for application_name #4153

  • Fix types for insert to allow array #4105

  • Add types for userParams and withUserParams #4119

  • Added type for withKeyName #4139

  • Fix batchInsert definitions #4131

  • Fix types for WhereIn signature (value or query builder) #3863

  • Add types for connection config of mysql2 driver #4144

Test / internal changes

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.